Skip to main content
Glama

Weather & Stock MCP Server

by Jeetinida
es.regexp.dot-all.js1.01 kB
'use strict'; var DESCRIPTORS = require('../internals/descriptors'); var UNSUPPORTED_DOT_ALL = require('../internals/regexp-unsupported-dot-all'); var classof = require('../internals/classof-raw'); var defineBuiltInAccessor = require('../internals/define-built-in-accessor'); var getInternalState = require('../internals/internal-state').get; var RegExpPrototype = RegExp.prototype; var $TypeError = TypeError; // `RegExp.prototype.dotAll` getter // https://tc39.es/ecma262/#sec-get-regexp.prototype.dotall if (DESCRIPTORS && UNSUPPORTED_DOT_ALL) { defineBuiltInAccessor(RegExpPrototype, 'dotAll', { configurable: true, get: function dotAll() { if (this === RegExpPrototype) return; // We can't use InternalStateModule.getterFor because // we don't add metadata for regexps created by a literal. if (classof(this) === 'RegExp') { return !!getInternalState(this).dotAll; } throw new $TypeError('Incompatible receiver, RegExp required'); } }); }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Jeetinida/stocknews-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server