mirror of
https://github.com/idanoo/GoScrobble
synced 2025-07-01 21:52:19 +00:00
0.2.0 - Mid migration
This commit is contained in:
parent
139e6a915e
commit
7e38fdbd7d
42393 changed files with 5358157 additions and 62 deletions
22
web/node_modules/@babel/plugin-transform-runtime/LICENSE
generated
vendored
Normal file
22
web/node_modules/@babel/plugin-transform-runtime/LICENSE
generated
vendored
Normal file
|
@ -0,0 +1,22 @@
|
|||
MIT License
|
||||
|
||||
Copyright (c) 2014-present Sebastian McKenzie and other contributors
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining
|
||||
a copy of this software and associated documentation files (the
|
||||
"Software"), to deal in the Software without restriction, including
|
||||
without limitation the rights to use, copy, modify, merge, publish,
|
||||
distribute, sublicense, and/or sell copies of the Software, and to
|
||||
permit persons to whom the Software is furnished to do so, subject to
|
||||
the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be
|
||||
included in all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
||||
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
||||
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
||||
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
19
web/node_modules/@babel/plugin-transform-runtime/README.md
generated
vendored
Normal file
19
web/node_modules/@babel/plugin-transform-runtime/README.md
generated
vendored
Normal file
|
@ -0,0 +1,19 @@
|
|||
# @babel/plugin-transform-runtime
|
||||
|
||||
> Externalise references to helpers and builtins, automatically polyfilling your code without polluting globals
|
||||
|
||||
See our website [@babel/plugin-transform-runtime](https://babeljs.io/docs/en/next/babel-plugin-transform-runtime.html) for more information.
|
||||
|
||||
## Install
|
||||
|
||||
Using npm:
|
||||
|
||||
```sh
|
||||
npm install --save-dev @babel/plugin-transform-runtime
|
||||
```
|
||||
|
||||
or using yarn:
|
||||
|
||||
```sh
|
||||
yarn add @babel/plugin-transform-runtime --dev
|
||||
```
|
11
web/node_modules/@babel/plugin-transform-runtime/lib/get-runtime-path/browser.js
generated
vendored
Normal file
11
web/node_modules/@babel/plugin-transform-runtime/lib/get-runtime-path/browser.js
generated
vendored
Normal file
|
@ -0,0 +1,11 @@
|
|||
"use strict";
|
||||
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.default = _default;
|
||||
|
||||
function _default(moduleName, dirname, absoluteRuntime) {
|
||||
if (absoluteRuntime === false) return moduleName;
|
||||
throw new Error("The 'absoluteRuntime' option is not supported when using @babel/standalone.");
|
||||
}
|
32
web/node_modules/@babel/plugin-transform-runtime/lib/get-runtime-path/index.js
generated
vendored
Normal file
32
web/node_modules/@babel/plugin-transform-runtime/lib/get-runtime-path/index.js
generated
vendored
Normal file
|
@ -0,0 +1,32 @@
|
|||
"use strict";
|
||||
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.default = _default;
|
||||
|
||||
var _path = _interopRequireDefault(require("path"));
|
||||
|
||||
var _resolve = _interopRequireDefault(require("resolve"));
|
||||
|
||||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
||||
|
||||
function _default(moduleName, dirname, absoluteRuntime) {
|
||||
if (absoluteRuntime === false) return moduleName;
|
||||
return resolveAbsoluteRuntime(moduleName, _path.default.resolve(dirname, absoluteRuntime === true ? "." : absoluteRuntime));
|
||||
}
|
||||
|
||||
function resolveAbsoluteRuntime(moduleName, dirname) {
|
||||
try {
|
||||
return _path.default.dirname(_resolve.default.sync(`${moduleName}/package.json`, {
|
||||
basedir: dirname
|
||||
})).replace(/\\/g, "/");
|
||||
} catch (err) {
|
||||
if (err.code !== "MODULE_NOT_FOUND") throw err;
|
||||
throw Object.assign(new Error(`Failed to resolve "${moduleName}" relative to "${dirname}"`), {
|
||||
code: "BABEL_RUNTIME_NOT_FOUND",
|
||||
runtime: moduleName,
|
||||
dirname
|
||||
});
|
||||
}
|
||||
}
|
32
web/node_modules/@babel/plugin-transform-runtime/lib/helpers.js
generated
vendored
Normal file
32
web/node_modules/@babel/plugin-transform-runtime/lib/helpers.js
generated
vendored
Normal file
|
@ -0,0 +1,32 @@
|
|||
"use strict";
|
||||
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.hasMinVersion = hasMinVersion;
|
||||
exports.typeAnnotationToString = typeAnnotationToString;
|
||||
|
||||
var _semver = _interopRequireDefault(require("semver"));
|
||||
|
||||
var _core = require("@babel/core");
|
||||
|
||||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
||||
|
||||
function hasMinVersion(minVersion, runtimeVersion) {
|
||||
if (!runtimeVersion) return true;
|
||||
if (_semver.default.valid(runtimeVersion)) runtimeVersion = `^${runtimeVersion}`;
|
||||
return !_semver.default.intersects(`<${minVersion}`, runtimeVersion) && !_semver.default.intersects(`>=8.0.0`, runtimeVersion);
|
||||
}
|
||||
|
||||
function typeAnnotationToString(node) {
|
||||
switch (node.type) {
|
||||
case "GenericTypeAnnotation":
|
||||
if (_core.types.isIdentifier(node.id, {
|
||||
name: "Array"
|
||||
})) return "array";
|
||||
break;
|
||||
|
||||
case "StringTypeAnnotation":
|
||||
return "string";
|
||||
}
|
||||
}
|
316
web/node_modules/@babel/plugin-transform-runtime/lib/index.js
generated
vendored
Normal file
316
web/node_modules/@babel/plugin-transform-runtime/lib/index.js
generated
vendored
Normal file
|
@ -0,0 +1,316 @@
|
|||
"use strict";
|
||||
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.default = void 0;
|
||||
|
||||
var _helperPluginUtils = require("@babel/helper-plugin-utils");
|
||||
|
||||
var _helperModuleImports = require("@babel/helper-module-imports");
|
||||
|
||||
var _core = require("@babel/core");
|
||||
|
||||
var _runtimeCorejs2Definitions = _interopRequireDefault(require("./runtime-corejs2-definitions"));
|
||||
|
||||
var _runtimeCorejs3Definitions = _interopRequireDefault(require("./runtime-corejs3-definitions"));
|
||||
|
||||
var _helpers = require("./helpers");
|
||||
|
||||
var _getRuntimePath = _interopRequireDefault(require("./get-runtime-path"));
|
||||
|
||||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
||||
|
||||
function supportsStaticESM(caller) {
|
||||
return !!(caller == null ? void 0 : caller.supportsStaticESM);
|
||||
}
|
||||
|
||||
var _default = (0, _helperPluginUtils.declare)((api, options, dirname) => {
|
||||
api.assertVersion(7);
|
||||
const {
|
||||
corejs,
|
||||
helpers: useRuntimeHelpers = true,
|
||||
regenerator: useRuntimeRegenerator = true,
|
||||
useESModules = false,
|
||||
version: runtimeVersion = "7.0.0-beta.0",
|
||||
absoluteRuntime = false
|
||||
} = options;
|
||||
let proposals = false;
|
||||
let rawVersion;
|
||||
|
||||
if (typeof corejs === "object" && corejs !== null) {
|
||||
rawVersion = corejs.version;
|
||||
proposals = Boolean(corejs.proposals);
|
||||
} else {
|
||||
rawVersion = corejs;
|
||||
}
|
||||
|
||||
const corejsVersion = rawVersion ? Number(rawVersion) : false;
|
||||
|
||||
if (![false, 2, 3].includes(corejsVersion)) {
|
||||
throw new Error(`The \`core-js\` version must be false, 2 or 3, but got ${JSON.stringify(rawVersion)}.`);
|
||||
}
|
||||
|
||||
if (proposals && (!corejsVersion || corejsVersion < 3)) {
|
||||
throw new Error("The 'proposals' option is only supported when using 'corejs: 3'");
|
||||
}
|
||||
|
||||
if (typeof useRuntimeRegenerator !== "boolean") {
|
||||
throw new Error("The 'regenerator' option must be undefined, or a boolean.");
|
||||
}
|
||||
|
||||
if (typeof useRuntimeHelpers !== "boolean") {
|
||||
throw new Error("The 'helpers' option must be undefined, or a boolean.");
|
||||
}
|
||||
|
||||
if (typeof useESModules !== "boolean" && useESModules !== "auto") {
|
||||
throw new Error("The 'useESModules' option must be undefined, or a boolean, or 'auto'.");
|
||||
}
|
||||
|
||||
if (typeof absoluteRuntime !== "boolean" && typeof absoluteRuntime !== "string") {
|
||||
throw new Error("The 'absoluteRuntime' option must be undefined, a boolean, or a string.");
|
||||
}
|
||||
|
||||
if (typeof runtimeVersion !== "string") {
|
||||
throw new Error(`The 'version' option must be a version string.`);
|
||||
}
|
||||
|
||||
function has(obj, key) {
|
||||
return Object.prototype.hasOwnProperty.call(obj, key);
|
||||
}
|
||||
|
||||
function hasMapping(methods, name) {
|
||||
return has(methods, name) && (proposals || methods[name].stable);
|
||||
}
|
||||
|
||||
function hasStaticMapping(object, method) {
|
||||
return has(StaticProperties, object) && hasMapping(StaticProperties[object], method);
|
||||
}
|
||||
|
||||
function isNamespaced(path) {
|
||||
const binding = path.scope.getBinding(path.node.name);
|
||||
if (!binding) return false;
|
||||
return binding.path.isImportNamespaceSpecifier();
|
||||
}
|
||||
|
||||
function maybeNeedsPolyfill(path, methods, name) {
|
||||
if (isNamespaced(path.get("object"))) return false;
|
||||
if (!methods[name].types) return true;
|
||||
const typeAnnotation = path.get("object").getTypeAnnotation();
|
||||
const type = (0, _helpers.typeAnnotationToString)(typeAnnotation);
|
||||
if (!type) return true;
|
||||
return methods[name].types.some(name => name === type);
|
||||
}
|
||||
|
||||
function resolvePropertyName(path, computed) {
|
||||
const {
|
||||
node
|
||||
} = path;
|
||||
if (!computed) return node.name;
|
||||
if (path.isStringLiteral()) return node.value;
|
||||
const result = path.evaluate();
|
||||
return result.value;
|
||||
}
|
||||
|
||||
if (has(options, "useBuiltIns")) {
|
||||
if (options.useBuiltIns) {
|
||||
throw new Error("The 'useBuiltIns' option has been removed. The @babel/runtime " + "module now uses builtins by default.");
|
||||
} else {
|
||||
throw new Error("The 'useBuiltIns' option has been removed. Use the 'corejs'" + "option to polyfill with `core-js` via @babel/runtime.");
|
||||
}
|
||||
}
|
||||
|
||||
if (has(options, "polyfill")) {
|
||||
if (options.polyfill === false) {
|
||||
throw new Error("The 'polyfill' option has been removed. The @babel/runtime " + "module now skips polyfilling by default.");
|
||||
} else {
|
||||
throw new Error("The 'polyfill' option has been removed. Use the 'corejs'" + "option to polyfill with `core-js` via @babel/runtime.");
|
||||
}
|
||||
}
|
||||
|
||||
if (has(options, "moduleName")) {
|
||||
throw new Error("The 'moduleName' option has been removed. @babel/transform-runtime " + "no longer supports arbitrary runtimes. If you were using this to " + "set an absolute path for Babel's standard runtimes, please use the " + "'absoluteRuntime' option.");
|
||||
}
|
||||
|
||||
const esModules = useESModules === "auto" ? api.caller(supportsStaticESM) : useESModules;
|
||||
const injectCoreJS2 = corejsVersion === 2;
|
||||
const injectCoreJS3 = corejsVersion === 3;
|
||||
const injectCoreJS = corejsVersion !== false;
|
||||
const moduleName = injectCoreJS3 ? "@babel/runtime-corejs3" : injectCoreJS2 ? "@babel/runtime-corejs2" : "@babel/runtime";
|
||||
const corejsRoot = injectCoreJS3 && !proposals ? "core-js-stable" : "core-js";
|
||||
const {
|
||||
BuiltIns,
|
||||
StaticProperties,
|
||||
InstanceProperties
|
||||
} = (injectCoreJS2 ? _runtimeCorejs2Definitions.default : _runtimeCorejs3Definitions.default)(runtimeVersion);
|
||||
const HEADER_HELPERS = ["interopRequireWildcard", "interopRequireDefault"];
|
||||
const modulePath = (0, _getRuntimePath.default)(moduleName, dirname, absoluteRuntime);
|
||||
return {
|
||||
name: "transform-runtime",
|
||||
|
||||
pre(file) {
|
||||
if (useRuntimeHelpers) {
|
||||
file.set("helperGenerator", name => {
|
||||
if (file.availableHelper && !file.availableHelper(name, runtimeVersion)) {
|
||||
return;
|
||||
}
|
||||
|
||||
const isInteropHelper = HEADER_HELPERS.indexOf(name) !== -1;
|
||||
const blockHoist = isInteropHelper && !(0, _helperModuleImports.isModule)(file.path) ? 4 : undefined;
|
||||
const helpersDir = esModules && file.path.node.sourceType === "module" ? "helpers/esm" : "helpers";
|
||||
return this.addDefaultImport(`${modulePath}/${helpersDir}/${name}`, name, blockHoist);
|
||||
});
|
||||
}
|
||||
|
||||
const cache = new Map();
|
||||
|
||||
this.addDefaultImport = (source, nameHint, blockHoist) => {
|
||||
const cacheKey = (0, _helperModuleImports.isModule)(file.path);
|
||||
const key = `${source}:${nameHint}:${cacheKey || ""}`;
|
||||
let cached = cache.get(key);
|
||||
|
||||
if (cached) {
|
||||
cached = _core.types.cloneNode(cached);
|
||||
} else {
|
||||
cached = (0, _helperModuleImports.addDefault)(file.path, source, {
|
||||
importedInterop: "uncompiled",
|
||||
nameHint,
|
||||
blockHoist
|
||||
});
|
||||
cache.set(key, cached);
|
||||
}
|
||||
|
||||
return cached;
|
||||
};
|
||||
},
|
||||
|
||||
visitor: {
|
||||
ReferencedIdentifier(path) {
|
||||
const {
|
||||
node,
|
||||
parent,
|
||||
scope
|
||||
} = path;
|
||||
const {
|
||||
name
|
||||
} = node;
|
||||
|
||||
if (name === "regeneratorRuntime" && useRuntimeRegenerator) {
|
||||
path.replaceWith(this.addDefaultImport(`${modulePath}/regenerator`, "regeneratorRuntime"));
|
||||
return;
|
||||
}
|
||||
|
||||
if (!injectCoreJS) return;
|
||||
if (_core.types.isMemberExpression(parent)) return;
|
||||
if (!hasMapping(BuiltIns, name)) return;
|
||||
if (scope.getBindingIdentifier(name)) return;
|
||||
path.replaceWith(this.addDefaultImport(`${modulePath}/${corejsRoot}/${BuiltIns[name].path}`, name));
|
||||
},
|
||||
|
||||
CallExpression(path) {
|
||||
if (!injectCoreJS) return;
|
||||
const {
|
||||
node
|
||||
} = path;
|
||||
const {
|
||||
callee
|
||||
} = node;
|
||||
if (!_core.types.isMemberExpression(callee)) return;
|
||||
const {
|
||||
object
|
||||
} = callee;
|
||||
const propertyName = resolvePropertyName(path.get("callee.property"), callee.computed);
|
||||
|
||||
if (injectCoreJS3 && !hasStaticMapping(object.name, propertyName)) {
|
||||
if (hasMapping(InstanceProperties, propertyName) && maybeNeedsPolyfill(path.get("callee"), InstanceProperties, propertyName)) {
|
||||
let context1, context2;
|
||||
|
||||
if (_core.types.isIdentifier(object)) {
|
||||
context1 = object;
|
||||
context2 = _core.types.cloneNode(object);
|
||||
} else {
|
||||
context1 = path.scope.generateDeclaredUidIdentifier("context");
|
||||
context2 = _core.types.assignmentExpression("=", _core.types.cloneNode(context1), object);
|
||||
}
|
||||
|
||||
node.callee = _core.types.memberExpression(_core.types.callExpression(this.addDefaultImport(`${modulePath}/${corejsRoot}/instance/${InstanceProperties[propertyName].path}`, `${propertyName}InstanceProperty`), [context2]), _core.types.identifier("call"));
|
||||
node.arguments.unshift(context1);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
if (node.arguments.length) return;
|
||||
if (!callee.computed) return;
|
||||
|
||||
if (!path.get("callee.property").matchesPattern("Symbol.iterator")) {
|
||||
return;
|
||||
}
|
||||
|
||||
path.replaceWith(_core.types.callExpression(this.addDefaultImport(`${modulePath}/core-js/get-iterator`, "getIterator"), [object]));
|
||||
},
|
||||
|
||||
BinaryExpression(path) {
|
||||
if (!injectCoreJS) return;
|
||||
if (path.node.operator !== "in") return;
|
||||
if (!path.get("left").matchesPattern("Symbol.iterator")) return;
|
||||
path.replaceWith(_core.types.callExpression(this.addDefaultImport(`${modulePath}/core-js/is-iterable`, "isIterable"), [path.node.right]));
|
||||
},
|
||||
|
||||
MemberExpression: {
|
||||
enter(path) {
|
||||
if (!injectCoreJS) return;
|
||||
if (!path.isReferenced()) return;
|
||||
if (path.parentPath.isUnaryExpression({
|
||||
operator: "delete"
|
||||
})) return;
|
||||
const {
|
||||
node
|
||||
} = path;
|
||||
const {
|
||||
object
|
||||
} = node;
|
||||
if (!_core.types.isReferenced(object, node)) return;
|
||||
|
||||
if (!injectCoreJS2 && node.computed && path.get("property").matchesPattern("Symbol.iterator")) {
|
||||
path.replaceWith(_core.types.callExpression(this.addDefaultImport(`${modulePath}/core-js/get-iterator-method`, "getIteratorMethod"), [object]));
|
||||
return;
|
||||
}
|
||||
|
||||
const objectName = object.name;
|
||||
const propertyName = resolvePropertyName(path.get("property"), node.computed);
|
||||
|
||||
if (path.scope.getBindingIdentifier(objectName) || !hasStaticMapping(objectName, propertyName)) {
|
||||
if (injectCoreJS3 && hasMapping(InstanceProperties, propertyName) && maybeNeedsPolyfill(path, InstanceProperties, propertyName)) {
|
||||
path.replaceWith(_core.types.callExpression(this.addDefaultImport(`${modulePath}/${corejsRoot}/instance/${InstanceProperties[propertyName].path}`, `${propertyName}InstanceProperty`), [object]));
|
||||
}
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
path.replaceWith(this.addDefaultImport(`${modulePath}/${corejsRoot}/${StaticProperties[objectName][propertyName].path}`, `${objectName}$${propertyName}`));
|
||||
},
|
||||
|
||||
exit(path) {
|
||||
if (!injectCoreJS) return;
|
||||
if (!path.isReferenced()) return;
|
||||
if (path.node.computed) return;
|
||||
const {
|
||||
node
|
||||
} = path;
|
||||
const {
|
||||
object
|
||||
} = node;
|
||||
const {
|
||||
name
|
||||
} = object;
|
||||
if (!hasMapping(BuiltIns, name)) return;
|
||||
if (path.scope.getBindingIdentifier(name)) return;
|
||||
path.replaceWith(_core.types.memberExpression(this.addDefaultImport(`${modulePath}/${corejsRoot}/${BuiltIns[name].path}`, name), node.property));
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
};
|
||||
});
|
||||
|
||||
exports.default = _default;
|
400
web/node_modules/@babel/plugin-transform-runtime/lib/runtime-corejs2-definitions.js
generated
vendored
Normal file
400
web/node_modules/@babel/plugin-transform-runtime/lib/runtime-corejs2-definitions.js
generated
vendored
Normal file
|
@ -0,0 +1,400 @@
|
|||
"use strict";
|
||||
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.default = void 0;
|
||||
|
||||
var _helpers = require("./helpers");
|
||||
|
||||
var _default = runtimeVersion => {
|
||||
const includeMathModule = (0, _helpers.hasMinVersion)("7.0.1", runtimeVersion);
|
||||
return {
|
||||
BuiltIns: {
|
||||
Symbol: {
|
||||
stable: true,
|
||||
path: "symbol"
|
||||
},
|
||||
Promise: {
|
||||
stable: true,
|
||||
path: "promise"
|
||||
},
|
||||
Map: {
|
||||
stable: true,
|
||||
path: "map"
|
||||
},
|
||||
WeakMap: {
|
||||
stable: true,
|
||||
path: "weak-map"
|
||||
},
|
||||
Set: {
|
||||
stable: true,
|
||||
path: "set"
|
||||
},
|
||||
WeakSet: {
|
||||
stable: true,
|
||||
path: "weak-set"
|
||||
},
|
||||
setImmediate: {
|
||||
stable: true,
|
||||
path: "set-immediate"
|
||||
},
|
||||
clearImmediate: {
|
||||
stable: true,
|
||||
path: "clear-immediate"
|
||||
},
|
||||
parseFloat: {
|
||||
stable: true,
|
||||
path: "parse-float"
|
||||
},
|
||||
parseInt: {
|
||||
stable: true,
|
||||
path: "parse-int"
|
||||
}
|
||||
},
|
||||
StaticProperties: Object.assign({
|
||||
Array: {
|
||||
from: {
|
||||
stable: true,
|
||||
path: "array/from"
|
||||
},
|
||||
isArray: {
|
||||
stable: true,
|
||||
path: "array/is-array"
|
||||
},
|
||||
of: {
|
||||
stable: true,
|
||||
path: "array/of"
|
||||
}
|
||||
},
|
||||
JSON: {
|
||||
stringify: {
|
||||
stable: true,
|
||||
path: "json/stringify"
|
||||
}
|
||||
},
|
||||
Object: {
|
||||
assign: {
|
||||
stable: true,
|
||||
path: "object/assign"
|
||||
},
|
||||
create: {
|
||||
stable: true,
|
||||
path: "object/create"
|
||||
},
|
||||
defineProperties: {
|
||||
stable: true,
|
||||
path: "object/define-properties"
|
||||
},
|
||||
defineProperty: {
|
||||
stable: true,
|
||||
path: "object/define-property"
|
||||
},
|
||||
entries: {
|
||||
stable: true,
|
||||
path: "object/entries"
|
||||
},
|
||||
freeze: {
|
||||
stable: true,
|
||||
path: "object/freeze"
|
||||
},
|
||||
getOwnPropertyDescriptor: {
|
||||
stable: true,
|
||||
path: "object/get-own-property-descriptor"
|
||||
},
|
||||
getOwnPropertyDescriptors: {
|
||||
stable: true,
|
||||
path: "object/get-own-property-descriptors"
|
||||
},
|
||||
getOwnPropertyNames: {
|
||||
stable: true,
|
||||
path: "object/get-own-property-names"
|
||||
},
|
||||
getOwnPropertySymbols: {
|
||||
stable: true,
|
||||
path: "object/get-own-property-symbols"
|
||||
},
|
||||
getPrototypeOf: {
|
||||
stable: true,
|
||||
path: "object/get-prototype-of"
|
||||
},
|
||||
isExtensible: {
|
||||
stable: true,
|
||||
path: "object/is-extensible"
|
||||
},
|
||||
isFrozen: {
|
||||
stable: true,
|
||||
path: "object/is-frozen"
|
||||
},
|
||||
isSealed: {
|
||||
stable: true,
|
||||
path: "object/is-sealed"
|
||||
},
|
||||
is: {
|
||||
stable: true,
|
||||
path: "object/is"
|
||||
},
|
||||
keys: {
|
||||
stable: true,
|
||||
path: "object/keys"
|
||||
},
|
||||
preventExtensions: {
|
||||
stable: true,
|
||||
path: "object/prevent-extensions"
|
||||
},
|
||||
seal: {
|
||||
stable: true,
|
||||
path: "object/seal"
|
||||
},
|
||||
setPrototypeOf: {
|
||||
stable: true,
|
||||
path: "object/set-prototype-of"
|
||||
},
|
||||
values: {
|
||||
stable: true,
|
||||
path: "object/values"
|
||||
}
|
||||
}
|
||||
}, includeMathModule ? {
|
||||
Math: {
|
||||
acosh: {
|
||||
stable: true,
|
||||
path: "math/acosh"
|
||||
},
|
||||
asinh: {
|
||||
stable: true,
|
||||
path: "math/asinh"
|
||||
},
|
||||
atanh: {
|
||||
stable: true,
|
||||
path: "math/atanh"
|
||||
},
|
||||
cbrt: {
|
||||
stable: true,
|
||||
path: "math/cbrt"
|
||||
},
|
||||
clz32: {
|
||||
stable: true,
|
||||
path: "math/clz32"
|
||||
},
|
||||
cosh: {
|
||||
stable: true,
|
||||
path: "math/cosh"
|
||||
},
|
||||
expm1: {
|
||||
stable: true,
|
||||
path: "math/expm1"
|
||||
},
|
||||
fround: {
|
||||
stable: true,
|
||||
path: "math/fround"
|
||||
},
|
||||
hypot: {
|
||||
stable: true,
|
||||
path: "math/hypot"
|
||||
},
|
||||
imul: {
|
||||
stable: true,
|
||||
path: "math/imul"
|
||||
},
|
||||
log10: {
|
||||
stable: true,
|
||||
path: "math/log10"
|
||||
},
|
||||
log1p: {
|
||||
stable: true,
|
||||
path: "math/log1p"
|
||||
},
|
||||
log2: {
|
||||
stable: true,
|
||||
path: "math/log2"
|
||||
},
|
||||
sign: {
|
||||
stable: true,
|
||||
path: "math/sign"
|
||||
},
|
||||
sinh: {
|
||||
stable: true,
|
||||
path: "math/sinh"
|
||||
},
|
||||
tanh: {
|
||||
stable: true,
|
||||
path: "math/tanh"
|
||||
},
|
||||
trunc: {
|
||||
stable: true,
|
||||
path: "math/trunc"
|
||||
}
|
||||
}
|
||||
} : {}, {
|
||||
Symbol: {
|
||||
for: {
|
||||
stable: true,
|
||||
path: "symbol/for"
|
||||
},
|
||||
hasInstance: {
|
||||
stable: true,
|
||||
path: "symbol/has-instance"
|
||||
},
|
||||
isConcatSpreadable: {
|
||||
stable: true,
|
||||
path: "symbol/is-concat-spreadable"
|
||||
},
|
||||
iterator: {
|
||||
stable: true,
|
||||
path: "symbol/iterator"
|
||||
},
|
||||
keyFor: {
|
||||
stable: true,
|
||||
path: "symbol/key-for"
|
||||
},
|
||||
match: {
|
||||
stable: true,
|
||||
path: "symbol/match"
|
||||
},
|
||||
replace: {
|
||||
stable: true,
|
||||
path: "symbol/replace"
|
||||
},
|
||||
search: {
|
||||
stable: true,
|
||||
path: "symbol/search"
|
||||
},
|
||||
species: {
|
||||
stable: true,
|
||||
path: "symbol/species"
|
||||
},
|
||||
split: {
|
||||
stable: true,
|
||||
path: "symbol/split"
|
||||
},
|
||||
toPrimitive: {
|
||||
stable: true,
|
||||
path: "symbol/to-primitive"
|
||||
},
|
||||
toStringTag: {
|
||||
stable: true,
|
||||
path: "symbol/to-string-tag"
|
||||
},
|
||||
unscopables: {
|
||||
stable: true,
|
||||
path: "symbol/unscopables"
|
||||
}
|
||||
},
|
||||
String: {
|
||||
at: {
|
||||
stable: true,
|
||||
path: "string/at"
|
||||
},
|
||||
fromCodePoint: {
|
||||
stable: true,
|
||||
path: "string/from-code-point"
|
||||
},
|
||||
raw: {
|
||||
stable: true,
|
||||
path: "string/raw"
|
||||
}
|
||||
},
|
||||
Number: {
|
||||
EPSILON: {
|
||||
stable: true,
|
||||
path: "number/epsilon"
|
||||
},
|
||||
isFinite: {
|
||||
stable: true,
|
||||
path: "number/is-finite"
|
||||
},
|
||||
isInteger: {
|
||||
stable: true,
|
||||
path: "number/is-integer"
|
||||
},
|
||||
isNaN: {
|
||||
stable: true,
|
||||
path: "number/is-nan"
|
||||
},
|
||||
isSafeInteger: {
|
||||
stable: true,
|
||||
path: "number/is-safe-integer"
|
||||
},
|
||||
MAX_SAFE_INTEGER: {
|
||||
stable: true,
|
||||
path: "number/max-safe-integer"
|
||||
},
|
||||
MIN_SAFE_INTEGER: {
|
||||
stable: true,
|
||||
path: "number/min-safe-integer"
|
||||
},
|
||||
parseFloat: {
|
||||
stable: true,
|
||||
path: "number/parse-float"
|
||||
},
|
||||
parseInt: {
|
||||
stable: true,
|
||||
path: "number/parse-int"
|
||||
}
|
||||
},
|
||||
Reflect: {
|
||||
apply: {
|
||||
stable: true,
|
||||
path: "reflect/apply"
|
||||
},
|
||||
construct: {
|
||||
stable: true,
|
||||
path: "reflect/construct"
|
||||
},
|
||||
defineProperty: {
|
||||
stable: true,
|
||||
path: "reflect/define-property"
|
||||
},
|
||||
deleteProperty: {
|
||||
stable: true,
|
||||
path: "reflect/delete-property"
|
||||
},
|
||||
getOwnPropertyDescriptor: {
|
||||
stable: true,
|
||||
path: "reflect/get-own-property-descriptor"
|
||||
},
|
||||
getPrototypeOf: {
|
||||
stable: true,
|
||||
path: "reflect/get-prototype-of"
|
||||
},
|
||||
get: {
|
||||
stable: true,
|
||||
path: "reflect/get"
|
||||
},
|
||||
has: {
|
||||
stable: true,
|
||||
path: "reflect/has"
|
||||
},
|
||||
isExtensible: {
|
||||
stable: true,
|
||||
path: "reflect/is-extensible"
|
||||
},
|
||||
ownKeys: {
|
||||
stable: true,
|
||||
path: "reflect/own-keys"
|
||||
},
|
||||
preventExtensions: {
|
||||
stable: true,
|
||||
path: "reflect/prevent-extensions"
|
||||
},
|
||||
setPrototypeOf: {
|
||||
stable: true,
|
||||
path: "reflect/set-prototype-of"
|
||||
},
|
||||
set: {
|
||||
stable: true,
|
||||
path: "reflect/set"
|
||||
}
|
||||
},
|
||||
Date: {
|
||||
now: {
|
||||
stable: true,
|
||||
path: "date/now"
|
||||
}
|
||||
}
|
||||
})
|
||||
};
|
||||
};
|
||||
|
||||
exports.default = _default;
|
710
web/node_modules/@babel/plugin-transform-runtime/lib/runtime-corejs3-definitions.js
generated
vendored
Normal file
710
web/node_modules/@babel/plugin-transform-runtime/lib/runtime-corejs3-definitions.js
generated
vendored
Normal file
|
@ -0,0 +1,710 @@
|
|||
"use strict";
|
||||
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.default = void 0;
|
||||
|
||||
var _default = () => {
|
||||
return {
|
||||
BuiltIns: {
|
||||
AggregateError: {
|
||||
stable: false,
|
||||
path: "aggregate-error"
|
||||
},
|
||||
Map: {
|
||||
stable: true,
|
||||
path: "map"
|
||||
},
|
||||
Observable: {
|
||||
stable: false,
|
||||
path: "observable"
|
||||
},
|
||||
Promise: {
|
||||
stable: true,
|
||||
path: "promise"
|
||||
},
|
||||
Set: {
|
||||
stable: true,
|
||||
path: "set"
|
||||
},
|
||||
Symbol: {
|
||||
stable: true,
|
||||
path: "symbol"
|
||||
},
|
||||
URL: {
|
||||
stable: true,
|
||||
path: "url"
|
||||
},
|
||||
URLSearchParams: {
|
||||
stable: true,
|
||||
path: "url-search-params"
|
||||
},
|
||||
WeakMap: {
|
||||
stable: true,
|
||||
path: "weak-map"
|
||||
},
|
||||
WeakSet: {
|
||||
stable: true,
|
||||
path: "weak-set"
|
||||
},
|
||||
clearImmediate: {
|
||||
stable: true,
|
||||
path: "clear-immediate"
|
||||
},
|
||||
compositeKey: {
|
||||
stable: false,
|
||||
path: "composite-key"
|
||||
},
|
||||
compositeSymbol: {
|
||||
stable: false,
|
||||
path: "composite-symbol"
|
||||
},
|
||||
globalThis: {
|
||||
stable: false,
|
||||
path: "global-this"
|
||||
},
|
||||
parseFloat: {
|
||||
stable: true,
|
||||
path: "parse-float"
|
||||
},
|
||||
parseInt: {
|
||||
stable: true,
|
||||
path: "parse-int"
|
||||
},
|
||||
queueMicrotask: {
|
||||
stable: true,
|
||||
path: "queue-microtask"
|
||||
},
|
||||
setImmediate: {
|
||||
stable: true,
|
||||
path: "set-immediate"
|
||||
},
|
||||
setInterval: {
|
||||
stable: true,
|
||||
path: "set-interval"
|
||||
},
|
||||
setTimeout: {
|
||||
stable: true,
|
||||
path: "set-timeout"
|
||||
}
|
||||
},
|
||||
StaticProperties: {
|
||||
Array: {
|
||||
from: {
|
||||
stable: true,
|
||||
path: "array/from"
|
||||
},
|
||||
isArray: {
|
||||
stable: true,
|
||||
path: "array/is-array"
|
||||
},
|
||||
of: {
|
||||
stable: true,
|
||||
path: "array/of"
|
||||
}
|
||||
},
|
||||
Date: {
|
||||
now: {
|
||||
stable: true,
|
||||
path: "date/now"
|
||||
}
|
||||
},
|
||||
JSON: {
|
||||
stringify: {
|
||||
stable: true,
|
||||
path: "json/stringify"
|
||||
}
|
||||
},
|
||||
Math: {
|
||||
DEG_PER_RAD: {
|
||||
stable: false,
|
||||
path: "math/deg-per-rad"
|
||||
},
|
||||
RAD_PER_DEG: {
|
||||
stable: false,
|
||||
path: "math/rad-per-deg"
|
||||
},
|
||||
acosh: {
|
||||
stable: true,
|
||||
path: "math/acosh"
|
||||
},
|
||||
asinh: {
|
||||
stable: true,
|
||||
path: "math/asinh"
|
||||
},
|
||||
atanh: {
|
||||
stable: true,
|
||||
path: "math/atanh"
|
||||
},
|
||||
cbrt: {
|
||||
stable: true,
|
||||
path: "math/cbrt"
|
||||
},
|
||||
clamp: {
|
||||
stable: false,
|
||||
path: "math/clamp"
|
||||
},
|
||||
clz32: {
|
||||
stable: true,
|
||||
path: "math/clz32"
|
||||
},
|
||||
cosh: {
|
||||
stable: true,
|
||||
path: "math/cosh"
|
||||
},
|
||||
degrees: {
|
||||
stable: false,
|
||||
path: "math/degrees"
|
||||
},
|
||||
expm1: {
|
||||
stable: true,
|
||||
path: "math/expm1"
|
||||
},
|
||||
fround: {
|
||||
stable: true,
|
||||
path: "math/fround"
|
||||
},
|
||||
fscale: {
|
||||
stable: false,
|
||||
path: "math/fscale"
|
||||
},
|
||||
hypot: {
|
||||
stable: true,
|
||||
path: "math/hypot"
|
||||
},
|
||||
iaddh: {
|
||||
stable: false,
|
||||
path: "math/iaddh"
|
||||
},
|
||||
imul: {
|
||||
stable: true,
|
||||
path: "math/imul"
|
||||
},
|
||||
imulh: {
|
||||
stable: false,
|
||||
path: "math/imulh"
|
||||
},
|
||||
isubh: {
|
||||
stable: false,
|
||||
path: "math/isubh"
|
||||
},
|
||||
log10: {
|
||||
stable: true,
|
||||
path: "math/log10"
|
||||
},
|
||||
log1p: {
|
||||
stable: true,
|
||||
path: "math/log1p"
|
||||
},
|
||||
log2: {
|
||||
stable: true,
|
||||
path: "math/log2"
|
||||
},
|
||||
radians: {
|
||||
stable: false,
|
||||
path: "math/radians"
|
||||
},
|
||||
scale: {
|
||||
stable: false,
|
||||
path: "math/scale"
|
||||
},
|
||||
seededPRNG: {
|
||||
stable: false,
|
||||
path: "math/seeded-prng"
|
||||
},
|
||||
sign: {
|
||||
stable: true,
|
||||
path: "math/sign"
|
||||
},
|
||||
signbit: {
|
||||
stable: false,
|
||||
path: "math/signbit"
|
||||
},
|
||||
sinh: {
|
||||
stable: true,
|
||||
path: "math/sinh"
|
||||
},
|
||||
tanh: {
|
||||
stable: true,
|
||||
path: "math/tanh"
|
||||
},
|
||||
trunc: {
|
||||
stable: true,
|
||||
path: "math/trunc"
|
||||
},
|
||||
umulh: {
|
||||
stable: false,
|
||||
path: "math/umulh"
|
||||
}
|
||||
},
|
||||
Number: {
|
||||
EPSILON: {
|
||||
stable: true,
|
||||
path: "number/epsilon"
|
||||
},
|
||||
MAX_SAFE_INTEGER: {
|
||||
stable: true,
|
||||
path: "number/max-safe-integer"
|
||||
},
|
||||
MIN_SAFE_INTEGER: {
|
||||
stable: true,
|
||||
path: "number/min-safe-integer"
|
||||
},
|
||||
fromString: {
|
||||
stable: false,
|
||||
path: "number/from-string"
|
||||
},
|
||||
isFinite: {
|
||||
stable: true,
|
||||
path: "number/is-finite"
|
||||
},
|
||||
isInteger: {
|
||||
stable: true,
|
||||
path: "number/is-integer"
|
||||
},
|
||||
isNaN: {
|
||||
stable: true,
|
||||
path: "number/is-nan"
|
||||
},
|
||||
isSafeInteger: {
|
||||
stable: true,
|
||||
path: "number/is-safe-integer"
|
||||
},
|
||||
parseFloat: {
|
||||
stable: true,
|
||||
path: "number/parse-float"
|
||||
},
|
||||
parseInt: {
|
||||
stable: true,
|
||||
path: "number/parse-int"
|
||||
}
|
||||
},
|
||||
Object: {
|
||||
assign: {
|
||||
stable: true,
|
||||
path: "object/assign"
|
||||
},
|
||||
create: {
|
||||
stable: true,
|
||||
path: "object/create"
|
||||
},
|
||||
defineProperties: {
|
||||
stable: true,
|
||||
path: "object/define-properties"
|
||||
},
|
||||
defineProperty: {
|
||||
stable: true,
|
||||
path: "object/define-property"
|
||||
},
|
||||
entries: {
|
||||
stable: true,
|
||||
path: "object/entries"
|
||||
},
|
||||
freeze: {
|
||||
stable: true,
|
||||
path: "object/freeze"
|
||||
},
|
||||
fromEntries: {
|
||||
stable: true,
|
||||
path: "object/from-entries"
|
||||
},
|
||||
getOwnPropertyDescriptor: {
|
||||
stable: true,
|
||||
path: "object/get-own-property-descriptor"
|
||||
},
|
||||
getOwnPropertyDescriptors: {
|
||||
stable: true,
|
||||
path: "object/get-own-property-descriptors"
|
||||
},
|
||||
getOwnPropertyNames: {
|
||||
stable: true,
|
||||
path: "object/get-own-property-names"
|
||||
},
|
||||
getOwnPropertySymbols: {
|
||||
stable: true,
|
||||
path: "object/get-own-property-symbols"
|
||||
},
|
||||
getPrototypeOf: {
|
||||
stable: true,
|
||||
path: "object/get-prototype-of"
|
||||
},
|
||||
isExtensible: {
|
||||
stable: true,
|
||||
path: "object/is-extensible"
|
||||
},
|
||||
isFrozen: {
|
||||
stable: true,
|
||||
path: "object/is-frozen"
|
||||
},
|
||||
isSealed: {
|
||||
stable: true,
|
||||
path: "object/is-sealed"
|
||||
},
|
||||
is: {
|
||||
stable: true,
|
||||
path: "object/is"
|
||||
},
|
||||
keys: {
|
||||
stable: true,
|
||||
path: "object/keys"
|
||||
},
|
||||
preventExtensions: {
|
||||
stable: true,
|
||||
path: "object/prevent-extensions"
|
||||
},
|
||||
seal: {
|
||||
stable: true,
|
||||
path: "object/seal"
|
||||
},
|
||||
setPrototypeOf: {
|
||||
stable: true,
|
||||
path: "object/set-prototype-of"
|
||||
},
|
||||
values: {
|
||||
stable: true,
|
||||
path: "object/values"
|
||||
}
|
||||
},
|
||||
Reflect: {
|
||||
apply: {
|
||||
stable: true,
|
||||
path: "reflect/apply"
|
||||
},
|
||||
construct: {
|
||||
stable: true,
|
||||
path: "reflect/construct"
|
||||
},
|
||||
defineMetadata: {
|
||||
stable: false,
|
||||
path: "reflect/define-metadata"
|
||||
},
|
||||
defineProperty: {
|
||||
stable: true,
|
||||
path: "reflect/define-property"
|
||||
},
|
||||
deleteMetadata: {
|
||||
stable: false,
|
||||
path: "reflect/delete-metadata"
|
||||
},
|
||||
deleteProperty: {
|
||||
stable: true,
|
||||
path: "reflect/delete-property"
|
||||
},
|
||||
getMetadata: {
|
||||
stable: false,
|
||||
path: "reflect/get-metadata"
|
||||
},
|
||||
getMetadataKeys: {
|
||||
stable: false,
|
||||
path: "reflect/get-metadata-keys"
|
||||
},
|
||||
getOwnMetadata: {
|
||||
stable: false,
|
||||
path: "reflect/get-own-metadata"
|
||||
},
|
||||
getOwnMetadataKeys: {
|
||||
stable: false,
|
||||
path: "reflect/get-own-metadata-keys"
|
||||
},
|
||||
getOwnPropertyDescriptor: {
|
||||
stable: true,
|
||||
path: "reflect/get-own-property-descriptor"
|
||||
},
|
||||
getPrototypeOf: {
|
||||
stable: true,
|
||||
path: "reflect/get-prototype-of"
|
||||
},
|
||||
get: {
|
||||
stable: true,
|
||||
path: "reflect/get"
|
||||
},
|
||||
has: {
|
||||
stable: true,
|
||||
path: "reflect/has"
|
||||
},
|
||||
hasMetadata: {
|
||||
stable: false,
|
||||
path: "reflect/has-metadata"
|
||||
},
|
||||
hasOwnMetadata: {
|
||||
stable: false,
|
||||
path: "reflect/has-own-metadata"
|
||||
},
|
||||
isExtensible: {
|
||||
stable: true,
|
||||
path: "reflect/is-extensible"
|
||||
},
|
||||
metadata: {
|
||||
stable: false,
|
||||
path: "reflect/metadata"
|
||||
},
|
||||
ownKeys: {
|
||||
stable: true,
|
||||
path: "reflect/own-keys"
|
||||
},
|
||||
preventExtensions: {
|
||||
stable: true,
|
||||
path: "reflect/prevent-extensions"
|
||||
},
|
||||
set: {
|
||||
stable: true,
|
||||
path: "reflect/set"
|
||||
},
|
||||
setPrototypeOf: {
|
||||
stable: true,
|
||||
path: "reflect/set-prototype-of"
|
||||
}
|
||||
},
|
||||
String: {
|
||||
fromCodePoint: {
|
||||
stable: true,
|
||||
path: "string/from-code-point"
|
||||
},
|
||||
raw: {
|
||||
stable: true,
|
||||
path: "string/raw"
|
||||
}
|
||||
},
|
||||
Symbol: {
|
||||
asyncIterator: {
|
||||
stable: true,
|
||||
path: "symbol/async-iterator"
|
||||
},
|
||||
dispose: {
|
||||
stable: false,
|
||||
path: "symbol/dispose"
|
||||
},
|
||||
for: {
|
||||
stable: true,
|
||||
path: "symbol/for"
|
||||
},
|
||||
hasInstance: {
|
||||
stable: true,
|
||||
path: "symbol/has-instance"
|
||||
},
|
||||
isConcatSpreadable: {
|
||||
stable: true,
|
||||
path: "symbol/is-concat-spreadable"
|
||||
},
|
||||
iterator: {
|
||||
stable: true,
|
||||
path: "symbol/iterator"
|
||||
},
|
||||
keyFor: {
|
||||
stable: true,
|
||||
path: "symbol/key-for"
|
||||
},
|
||||
match: {
|
||||
stable: true,
|
||||
path: "symbol/match"
|
||||
},
|
||||
observable: {
|
||||
stable: false,
|
||||
path: "symbol/observable"
|
||||
},
|
||||
patternMatch: {
|
||||
stable: false,
|
||||
path: "symbol/pattern-match"
|
||||
},
|
||||
replace: {
|
||||
stable: true,
|
||||
path: "symbol/replace"
|
||||
},
|
||||
search: {
|
||||
stable: true,
|
||||
path: "symbol/search"
|
||||
},
|
||||
species: {
|
||||
stable: true,
|
||||
path: "symbol/species"
|
||||
},
|
||||
split: {
|
||||
stable: true,
|
||||
path: "symbol/split"
|
||||
},
|
||||
toPrimitive: {
|
||||
stable: true,
|
||||
path: "symbol/to-primitive"
|
||||
},
|
||||
toStringTag: {
|
||||
stable: true,
|
||||
path: "symbol/to-string-tag"
|
||||
},
|
||||
unscopables: {
|
||||
stable: true,
|
||||
path: "symbol/unscopables"
|
||||
}
|
||||
}
|
||||
},
|
||||
InstanceProperties: {
|
||||
at: {
|
||||
stable: false,
|
||||
path: "at"
|
||||
},
|
||||
bind: {
|
||||
stable: true,
|
||||
path: "bind"
|
||||
},
|
||||
codePointAt: {
|
||||
stable: true,
|
||||
path: "code-point-at"
|
||||
},
|
||||
codePoints: {
|
||||
stable: false,
|
||||
path: "code-points"
|
||||
},
|
||||
concat: {
|
||||
stable: true,
|
||||
path: "concat",
|
||||
types: ["array"]
|
||||
},
|
||||
copyWithin: {
|
||||
stable: true,
|
||||
path: "copy-within"
|
||||
},
|
||||
endsWith: {
|
||||
stable: true,
|
||||
path: "ends-with"
|
||||
},
|
||||
entries: {
|
||||
stable: true,
|
||||
path: "entries"
|
||||
},
|
||||
every: {
|
||||
stable: true,
|
||||
path: "every"
|
||||
},
|
||||
fill: {
|
||||
stable: true,
|
||||
path: "fill"
|
||||
},
|
||||
filter: {
|
||||
stable: true,
|
||||
path: "filter"
|
||||
},
|
||||
find: {
|
||||
stable: true,
|
||||
path: "find"
|
||||
},
|
||||
findIndex: {
|
||||
stable: true,
|
||||
path: "find-index"
|
||||
},
|
||||
flags: {
|
||||
stable: true,
|
||||
path: "flags"
|
||||
},
|
||||
flatMap: {
|
||||
stable: true,
|
||||
path: "flat-map"
|
||||
},
|
||||
flat: {
|
||||
stable: true,
|
||||
path: "flat"
|
||||
},
|
||||
forEach: {
|
||||
stable: true,
|
||||
path: "for-each"
|
||||
},
|
||||
includes: {
|
||||
stable: true,
|
||||
path: "includes"
|
||||
},
|
||||
indexOf: {
|
||||
stable: true,
|
||||
path: "index-of"
|
||||
},
|
||||
keys: {
|
||||
stable: true,
|
||||
path: "keys"
|
||||
},
|
||||
lastIndexOf: {
|
||||
stable: true,
|
||||
path: "last-index-of"
|
||||
},
|
||||
map: {
|
||||
stable: true,
|
||||
path: "map"
|
||||
},
|
||||
matchAll: {
|
||||
stable: false,
|
||||
path: "match-all"
|
||||
},
|
||||
padEnd: {
|
||||
stable: true,
|
||||
path: "pad-end"
|
||||
},
|
||||
padStart: {
|
||||
stable: true,
|
||||
path: "pad-start"
|
||||
},
|
||||
reduce: {
|
||||
stable: true,
|
||||
path: "reduce"
|
||||
},
|
||||
reduceRight: {
|
||||
stable: true,
|
||||
path: "reduce-right"
|
||||
},
|
||||
repeat: {
|
||||
stable: true,
|
||||
path: "repeat"
|
||||
},
|
||||
replaceAll: {
|
||||
stable: false,
|
||||
path: "replace-all"
|
||||
},
|
||||
reverse: {
|
||||
stable: true,
|
||||
path: "reverse"
|
||||
},
|
||||
slice: {
|
||||
stable: true,
|
||||
path: "slice"
|
||||
},
|
||||
some: {
|
||||
stable: true,
|
||||
path: "some"
|
||||
},
|
||||
sort: {
|
||||
stable: true,
|
||||
path: "sort"
|
||||
},
|
||||
splice: {
|
||||
stable: true,
|
||||
path: "splice"
|
||||
},
|
||||
startsWith: {
|
||||
stable: true,
|
||||
path: "starts-with"
|
||||
},
|
||||
trim: {
|
||||
stable: true,
|
||||
path: "trim"
|
||||
},
|
||||
trimEnd: {
|
||||
stable: true,
|
||||
path: "trim-end"
|
||||
},
|
||||
trimLeft: {
|
||||
stable: true,
|
||||
path: "trim-left"
|
||||
},
|
||||
trimRight: {
|
||||
stable: true,
|
||||
path: "trim-right"
|
||||
},
|
||||
trimStart: {
|
||||
stable: true,
|
||||
path: "trim-start"
|
||||
},
|
||||
values: {
|
||||
stable: true,
|
||||
path: "values"
|
||||
}
|
||||
}
|
||||
};
|
||||
};
|
||||
|
||||
exports.default = _default;
|
1
web/node_modules/@babel/plugin-transform-runtime/node_modules/.bin/semver
generated
vendored
Symbolic link
1
web/node_modules/@babel/plugin-transform-runtime/node_modules/.bin/semver
generated
vendored
Symbolic link
|
@ -0,0 +1 @@
|
|||
../semver/bin/semver
|
39
web/node_modules/@babel/plugin-transform-runtime/node_modules/semver/CHANGELOG.md
generated
vendored
Normal file
39
web/node_modules/@babel/plugin-transform-runtime/node_modules/semver/CHANGELOG.md
generated
vendored
Normal file
|
@ -0,0 +1,39 @@
|
|||
# changes log
|
||||
|
||||
## 5.7
|
||||
|
||||
* Add `minVersion` method
|
||||
|
||||
## 5.6
|
||||
|
||||
* Move boolean `loose` param to an options object, with
|
||||
backwards-compatibility protection.
|
||||
* Add ability to opt out of special prerelease version handling with
|
||||
the `includePrerelease` option flag.
|
||||
|
||||
## 5.5
|
||||
|
||||
* Add version coercion capabilities
|
||||
|
||||
## 5.4
|
||||
|
||||
* Add intersection checking
|
||||
|
||||
## 5.3
|
||||
|
||||
* Add `minSatisfying` method
|
||||
|
||||
## 5.2
|
||||
|
||||
* Add `prerelease(v)` that returns prerelease components
|
||||
|
||||
## 5.1
|
||||
|
||||
* Add Backus-Naur for ranges
|
||||
* Remove excessively cute inspection methods
|
||||
|
||||
## 5.0
|
||||
|
||||
* Remove AMD/Browserified build artifacts
|
||||
* Fix ltr and gtr when using the `*` range
|
||||
* Fix for range `*` with a prerelease identifier
|
15
web/node_modules/@babel/plugin-transform-runtime/node_modules/semver/LICENSE
generated
vendored
Normal file
15
web/node_modules/@babel/plugin-transform-runtime/node_modules/semver/LICENSE
generated
vendored
Normal file
|
@ -0,0 +1,15 @@
|
|||
The ISC License
|
||||
|
||||
Copyright (c) Isaac Z. Schlueter and Contributors
|
||||
|
||||
Permission to use, copy, modify, and/or distribute this software for any
|
||||
purpose with or without fee is hereby granted, provided that the above
|
||||
copyright notice and this permission notice appear in all copies.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
||||
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
||||
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
|
||||
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
||||
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
||||
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
|
||||
IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
412
web/node_modules/@babel/plugin-transform-runtime/node_modules/semver/README.md
generated
vendored
Normal file
412
web/node_modules/@babel/plugin-transform-runtime/node_modules/semver/README.md
generated
vendored
Normal file
|
@ -0,0 +1,412 @@
|
|||
semver(1) -- The semantic versioner for npm
|
||||
===========================================
|
||||
|
||||
## Install
|
||||
|
||||
```bash
|
||||
npm install --save semver
|
||||
````
|
||||
|
||||
## Usage
|
||||
|
||||
As a node module:
|
||||
|
||||
```js
|
||||
const semver = require('semver')
|
||||
|
||||
semver.valid('1.2.3') // '1.2.3'
|
||||
semver.valid('a.b.c') // null
|
||||
semver.clean(' =v1.2.3 ') // '1.2.3'
|
||||
semver.satisfies('1.2.3', '1.x || >=2.5.0 || 5.0.0 - 7.2.3') // true
|
||||
semver.gt('1.2.3', '9.8.7') // false
|
||||
semver.lt('1.2.3', '9.8.7') // true
|
||||
semver.minVersion('>=1.0.0') // '1.0.0'
|
||||
semver.valid(semver.coerce('v2')) // '2.0.0'
|
||||
semver.valid(semver.coerce('42.6.7.9.3-alpha')) // '42.6.7'
|
||||
```
|
||||
|
||||
As a command-line utility:
|
||||
|
||||
```
|
||||
$ semver -h
|
||||
|
||||
A JavaScript implementation of the https://semver.org/ specification
|
||||
Copyright Isaac Z. Schlueter
|
||||
|
||||
Usage: semver [options] <version> [<version> [...]]
|
||||
Prints valid versions sorted by SemVer precedence
|
||||
|
||||
Options:
|
||||
-r --range <range>
|
||||
Print versions that match the specified range.
|
||||
|
||||
-i --increment [<level>]
|
||||
Increment a version by the specified level. Level can
|
||||
be one of: major, minor, patch, premajor, preminor,
|
||||
prepatch, or prerelease. Default level is 'patch'.
|
||||
Only one version may be specified.
|
||||
|
||||
--preid <identifier>
|
||||
Identifier to be used to prefix premajor, preminor,
|
||||
prepatch or prerelease version increments.
|
||||
|
||||
-l --loose
|
||||
Interpret versions and ranges loosely
|
||||
|
||||
-p --include-prerelease
|
||||
Always include prerelease versions in range matching
|
||||
|
||||
-c --coerce
|
||||
Coerce a string into SemVer if possible
|
||||
(does not imply --loose)
|
||||
|
||||
Program exits successfully if any valid version satisfies
|
||||
all supplied ranges, and prints all satisfying versions.
|
||||
|
||||
If no satisfying versions are found, then exits failure.
|
||||
|
||||
Versions are printed in ascending order, so supplying
|
||||
multiple versions to the utility will just sort them.
|
||||
```
|
||||
|
||||
## Versions
|
||||
|
||||
A "version" is described by the `v2.0.0` specification found at
|
||||
<https://semver.org/>.
|
||||
|
||||
A leading `"="` or `"v"` character is stripped off and ignored.
|
||||
|
||||
## Ranges
|
||||
|
||||
A `version range` is a set of `comparators` which specify versions
|
||||
that satisfy the range.
|
||||
|
||||
A `comparator` is composed of an `operator` and a `version`. The set
|
||||
of primitive `operators` is:
|
||||
|
||||
* `<` Less than
|
||||
* `<=` Less than or equal to
|
||||
* `>` Greater than
|
||||
* `>=` Greater than or equal to
|
||||
* `=` Equal. If no operator is specified, then equality is assumed,
|
||||
so this operator is optional, but MAY be included.
|
||||
|
||||
For example, the comparator `>=1.2.7` would match the versions
|
||||
`1.2.7`, `1.2.8`, `2.5.3`, and `1.3.9`, but not the versions `1.2.6`
|
||||
or `1.1.0`.
|
||||
|
||||
Comparators can be joined by whitespace to form a `comparator set`,
|
||||
which is satisfied by the **intersection** of all of the comparators
|
||||
it includes.
|
||||
|
||||
A range is composed of one or more comparator sets, joined by `||`. A
|
||||
version matches a range if and only if every comparator in at least
|
||||
one of the `||`-separated comparator sets is satisfied by the version.
|
||||
|
||||
For example, the range `>=1.2.7 <1.3.0` would match the versions
|
||||
`1.2.7`, `1.2.8`, and `1.2.99`, but not the versions `1.2.6`, `1.3.0`,
|
||||
or `1.1.0`.
|
||||
|
||||
The range `1.2.7 || >=1.2.9 <2.0.0` would match the versions `1.2.7`,
|
||||
`1.2.9`, and `1.4.6`, but not the versions `1.2.8` or `2.0.0`.
|
||||
|
||||
### Prerelease Tags
|
||||
|
||||
If a version has a prerelease tag (for example, `1.2.3-alpha.3`) then
|
||||
it will only be allowed to satisfy comparator sets if at least one
|
||||
comparator with the same `[major, minor, patch]` tuple also has a
|
||||
prerelease tag.
|
||||
|
||||
For example, the range `>1.2.3-alpha.3` would be allowed to match the
|
||||
version `1.2.3-alpha.7`, but it would *not* be satisfied by
|
||||
`3.4.5-alpha.9`, even though `3.4.5-alpha.9` is technically "greater
|
||||
than" `1.2.3-alpha.3` according to the SemVer sort rules. The version
|
||||
range only accepts prerelease tags on the `1.2.3` version. The
|
||||
version `3.4.5` *would* satisfy the range, because it does not have a
|
||||
prerelease flag, and `3.4.5` is greater than `1.2.3-alpha.7`.
|
||||
|
||||
The purpose for this behavior is twofold. First, prerelease versions
|
||||
frequently are updated very quickly, and contain many breaking changes
|
||||
that are (by the author's design) not yet fit for public consumption.
|
||||
Therefore, by default, they are excluded from range matching
|
||||
semantics.
|
||||
|
||||
Second, a user who has opted into using a prerelease version has
|
||||
clearly indicated the intent to use *that specific* set of
|
||||
alpha/beta/rc versions. By including a prerelease tag in the range,
|
||||
the user is indicating that they are aware of the risk. However, it
|
||||
is still not appropriate to assume that they have opted into taking a
|
||||
similar risk on the *next* set of prerelease versions.
|
||||
|
||||
Note that this behavior can be suppressed (treating all prerelease
|
||||
versions as if they were normal versions, for the purpose of range
|
||||
matching) by setting the `includePrerelease` flag on the options
|
||||
object to any
|
||||
[functions](https://github.com/npm/node-semver#functions) that do
|
||||
range matching.
|
||||
|
||||
#### Prerelease Identifiers
|
||||
|
||||
The method `.inc` takes an additional `identifier` string argument that
|
||||
will append the value of the string as a prerelease identifier:
|
||||
|
||||
```javascript
|
||||
semver.inc('1.2.3', 'prerelease', 'beta')
|
||||
// '1.2.4-beta.0'
|
||||
```
|
||||
|
||||
command-line example:
|
||||
|
||||
```bash
|
||||
$ semver 1.2.3 -i prerelease --preid beta
|
||||
1.2.4-beta.0
|
||||
```
|
||||
|
||||
Which then can be used to increment further:
|
||||
|
||||
```bash
|
||||
$ semver 1.2.4-beta.0 -i prerelease
|
||||
1.2.4-beta.1
|
||||
```
|
||||
|
||||
### Advanced Range Syntax
|
||||
|
||||
Advanced range syntax desugars to primitive comparators in
|
||||
deterministic ways.
|
||||
|
||||
Advanced ranges may be combined in the same way as primitive
|
||||
comparators using white space or `||`.
|
||||
|
||||
#### Hyphen Ranges `X.Y.Z - A.B.C`
|
||||
|
||||
Specifies an inclusive set.
|
||||
|
||||
* `1.2.3 - 2.3.4` := `>=1.2.3 <=2.3.4`
|
||||
|
||||
If a partial version is provided as the first version in the inclusive
|
||||
range, then the missing pieces are replaced with zeroes.
|
||||
|
||||
* `1.2 - 2.3.4` := `>=1.2.0 <=2.3.4`
|
||||
|
||||
If a partial version is provided as the second version in the
|
||||
inclusive range, then all versions that start with the supplied parts
|
||||
of the tuple are accepted, but nothing that would be greater than the
|
||||
provided tuple parts.
|
||||
|
||||
* `1.2.3 - 2.3` := `>=1.2.3 <2.4.0`
|
||||
* `1.2.3 - 2` := `>=1.2.3 <3.0.0`
|
||||
|
||||
#### X-Ranges `1.2.x` `1.X` `1.2.*` `*`
|
||||
|
||||
Any of `X`, `x`, or `*` may be used to "stand in" for one of the
|
||||
numeric values in the `[major, minor, patch]` tuple.
|
||||
|
||||
* `*` := `>=0.0.0` (Any version satisfies)
|
||||
* `1.x` := `>=1.0.0 <2.0.0` (Matching major version)
|
||||
* `1.2.x` := `>=1.2.0 <1.3.0` (Matching major and minor versions)
|
||||
|
||||
A partial version range is treated as an X-Range, so the special
|
||||
character is in fact optional.
|
||||
|
||||
* `""` (empty string) := `*` := `>=0.0.0`
|
||||
* `1` := `1.x.x` := `>=1.0.0 <2.0.0`
|
||||
* `1.2` := `1.2.x` := `>=1.2.0 <1.3.0`
|
||||
|
||||
#### Tilde Ranges `~1.2.3` `~1.2` `~1`
|
||||
|
||||
Allows patch-level changes if a minor version is specified on the
|
||||
comparator. Allows minor-level changes if not.
|
||||
|
||||
* `~1.2.3` := `>=1.2.3 <1.(2+1).0` := `>=1.2.3 <1.3.0`
|
||||
* `~1.2` := `>=1.2.0 <1.(2+1).0` := `>=1.2.0 <1.3.0` (Same as `1.2.x`)
|
||||
* `~1` := `>=1.0.0 <(1+1).0.0` := `>=1.0.0 <2.0.0` (Same as `1.x`)
|
||||
* `~0.2.3` := `>=0.2.3 <0.(2+1).0` := `>=0.2.3 <0.3.0`
|
||||
* `~0.2` := `>=0.2.0 <0.(2+1).0` := `>=0.2.0 <0.3.0` (Same as `0.2.x`)
|
||||
* `~0` := `>=0.0.0 <(0+1).0.0` := `>=0.0.0 <1.0.0` (Same as `0.x`)
|
||||
* `~1.2.3-beta.2` := `>=1.2.3-beta.2 <1.3.0` Note that prereleases in
|
||||
the `1.2.3` version will be allowed, if they are greater than or
|
||||
equal to `beta.2`. So, `1.2.3-beta.4` would be allowed, but
|
||||
`1.2.4-beta.2` would not, because it is a prerelease of a
|
||||
different `[major, minor, patch]` tuple.
|
||||
|
||||
#### Caret Ranges `^1.2.3` `^0.2.5` `^0.0.4`
|
||||
|
||||
Allows changes that do not modify the left-most non-zero digit in the
|
||||
`[major, minor, patch]` tuple. In other words, this allows patch and
|
||||
minor updates for versions `1.0.0` and above, patch updates for
|
||||
versions `0.X >=0.1.0`, and *no* updates for versions `0.0.X`.
|
||||
|
||||
Many authors treat a `0.x` version as if the `x` were the major
|
||||
"breaking-change" indicator.
|
||||
|
||||
Caret ranges are ideal when an author may make breaking changes
|
||||
between `0.2.4` and `0.3.0` releases, which is a common practice.
|
||||
However, it presumes that there will *not* be breaking changes between
|
||||
`0.2.4` and `0.2.5`. It allows for changes that are presumed to be
|
||||
additive (but non-breaking), according to commonly observed practices.
|
||||
|
||||
* `^1.2.3` := `>=1.2.3 <2.0.0`
|
||||
* `^0.2.3` := `>=0.2.3 <0.3.0`
|
||||
* `^0.0.3` := `>=0.0.3 <0.0.4`
|
||||
* `^1.2.3-beta.2` := `>=1.2.3-beta.2 <2.0.0` Note that prereleases in
|
||||
the `1.2.3` version will be allowed, if they are greater than or
|
||||
equal to `beta.2`. So, `1.2.3-beta.4` would be allowed, but
|
||||
`1.2.4-beta.2` would not, because it is a prerelease of a
|
||||
different `[major, minor, patch]` tuple.
|
||||
* `^0.0.3-beta` := `>=0.0.3-beta <0.0.4` Note that prereleases in the
|
||||
`0.0.3` version *only* will be allowed, if they are greater than or
|
||||
equal to `beta`. So, `0.0.3-pr.2` would be allowed.
|
||||
|
||||
When parsing caret ranges, a missing `patch` value desugars to the
|
||||
number `0`, but will allow flexibility within that value, even if the
|
||||
major and minor versions are both `0`.
|
||||
|
||||
* `^1.2.x` := `>=1.2.0 <2.0.0`
|
||||
* `^0.0.x` := `>=0.0.0 <0.1.0`
|
||||
* `^0.0` := `>=0.0.0 <0.1.0`
|
||||
|
||||
A missing `minor` and `patch` values will desugar to zero, but also
|
||||
allow flexibility within those values, even if the major version is
|
||||
zero.
|
||||
|
||||
* `^1.x` := `>=1.0.0 <2.0.0`
|
||||
* `^0.x` := `>=0.0.0 <1.0.0`
|
||||
|
||||
### Range Grammar
|
||||
|
||||
Putting all this together, here is a Backus-Naur grammar for ranges,
|
||||
for the benefit of parser authors:
|
||||
|
||||
```bnf
|
||||
range-set ::= range ( logical-or range ) *
|
||||
logical-or ::= ( ' ' ) * '||' ( ' ' ) *
|
||||
range ::= hyphen | simple ( ' ' simple ) * | ''
|
||||
hyphen ::= partial ' - ' partial
|
||||
simple ::= primitive | partial | tilde | caret
|
||||
primitive ::= ( '<' | '>' | '>=' | '<=' | '=' ) partial
|
||||
partial ::= xr ( '.' xr ( '.' xr qualifier ? )? )?
|
||||
xr ::= 'x' | 'X' | '*' | nr
|
||||
nr ::= '0' | ['1'-'9'] ( ['0'-'9'] ) *
|
||||
tilde ::= '~' partial
|
||||
caret ::= '^' partial
|
||||
qualifier ::= ( '-' pre )? ( '+' build )?
|
||||
pre ::= parts
|
||||
build ::= parts
|
||||
parts ::= part ( '.' part ) *
|
||||
part ::= nr | [-0-9A-Za-z]+
|
||||
```
|
||||
|
||||
## Functions
|
||||
|
||||
All methods and classes take a final `options` object argument. All
|
||||
options in this object are `false` by default. The options supported
|
||||
are:
|
||||
|
||||
- `loose` Be more forgiving about not-quite-valid semver strings.
|
||||
(Any resulting output will always be 100% strict compliant, of
|
||||
course.) For backwards compatibility reasons, if the `options`
|
||||
argument is a boolean value instead of an object, it is interpreted
|
||||
to be the `loose` param.
|
||||
- `includePrerelease` Set to suppress the [default
|
||||
behavior](https://github.com/npm/node-semver#prerelease-tags) of
|
||||
excluding prerelease tagged versions from ranges unless they are
|
||||
explicitly opted into.
|
||||
|
||||
Strict-mode Comparators and Ranges will be strict about the SemVer
|
||||
strings that they parse.
|
||||
|
||||
* `valid(v)`: Return the parsed version, or null if it's not valid.
|
||||
* `inc(v, release)`: Return the version incremented by the release
|
||||
type (`major`, `premajor`, `minor`, `preminor`, `patch`,
|
||||
`prepatch`, or `prerelease`), or null if it's not valid
|
||||
* `premajor` in one call will bump the version up to the next major
|
||||
version and down to a prerelease of that major version.
|
||||
`preminor`, and `prepatch` work the same way.
|
||||
* If called from a non-prerelease version, the `prerelease` will work the
|
||||
same as `prepatch`. It increments the patch version, then makes a
|
||||
prerelease. If the input version is already a prerelease it simply
|
||||
increments it.
|
||||
* `prerelease(v)`: Returns an array of prerelease components, or null
|
||||
if none exist. Example: `prerelease('1.2.3-alpha.1') -> ['alpha', 1]`
|
||||
* `major(v)`: Return the major version number.
|
||||
* `minor(v)`: Return the minor version number.
|
||||
* `patch(v)`: Return the patch version number.
|
||||
* `intersects(r1, r2, loose)`: Return true if the two supplied ranges
|
||||
or comparators intersect.
|
||||
* `parse(v)`: Attempt to parse a string as a semantic version, returning either
|
||||
a `SemVer` object or `null`.
|
||||
|
||||
### Comparison
|
||||
|
||||
* `gt(v1, v2)`: `v1 > v2`
|
||||
* `gte(v1, v2)`: `v1 >= v2`
|
||||
* `lt(v1, v2)`: `v1 < v2`
|
||||
* `lte(v1, v2)`: `v1 <= v2`
|
||||
* `eq(v1, v2)`: `v1 == v2` This is true if they're logically equivalent,
|
||||
even if they're not the exact same string. You already know how to
|
||||
compare strings.
|
||||
* `neq(v1, v2)`: `v1 != v2` The opposite of `eq`.
|
||||
* `cmp(v1, comparator, v2)`: Pass in a comparison string, and it'll call
|
||||
the corresponding function above. `"==="` and `"!=="` do simple
|
||||
string comparison, but are included for completeness. Throws if an
|
||||
invalid comparison string is provided.
|
||||
* `compare(v1, v2)`: Return `0` if `v1 == v2`, or `1` if `v1` is greater, or `-1` if
|
||||
`v2` is greater. Sorts in ascending order if passed to `Array.sort()`.
|
||||
* `rcompare(v1, v2)`: The reverse of compare. Sorts an array of versions
|
||||
in descending order when passed to `Array.sort()`.
|
||||
* `diff(v1, v2)`: Returns difference between two versions by the release type
|
||||
(`major`, `premajor`, `minor`, `preminor`, `patch`, `prepatch`, or `prerelease`),
|
||||
or null if the versions are the same.
|
||||
|
||||
### Comparators
|
||||
|
||||
* `intersects(comparator)`: Return true if the comparators intersect
|
||||
|
||||
### Ranges
|
||||
|
||||
* `validRange(range)`: Return the valid range or null if it's not valid
|
||||
* `satisfies(version, range)`: Return true if the version satisfies the
|
||||
range.
|
||||
* `maxSatisfying(versions, range)`: Return the highest version in the list
|
||||
that satisfies the range, or `null` if none of them do.
|
||||
* `minSatisfying(versions, range)`: Return the lowest version in the list
|
||||
that satisfies the range, or `null` if none of them do.
|
||||
* `minVersion(range)`: Return the lowest version that can possibly match
|
||||
the given range.
|
||||
* `gtr(version, range)`: Return `true` if version is greater than all the
|
||||
versions possible in the range.
|
||||
* `ltr(version, range)`: Return `true` if version is less than all the
|
||||
versions possible in the range.
|
||||
* `outside(version, range, hilo)`: Return true if the version is outside
|
||||
the bounds of the range in either the high or low direction. The
|
||||
`hilo` argument must be either the string `'>'` or `'<'`. (This is
|
||||
the function called by `gtr` and `ltr`.)
|
||||
* `intersects(range)`: Return true if any of the ranges comparators intersect
|
||||
|
||||
Note that, since ranges may be non-contiguous, a version might not be
|
||||
greater than a range, less than a range, *or* satisfy a range! For
|
||||
example, the range `1.2 <1.2.9 || >2.0.0` would have a hole from `1.2.9`
|
||||
until `2.0.0`, so the version `1.2.10` would not be greater than the
|
||||
range (because `2.0.1` satisfies, which is higher), nor less than the
|
||||
range (since `1.2.8` satisfies, which is lower), and it also does not
|
||||
satisfy the range.
|
||||
|
||||
If you want to know if a version satisfies or does not satisfy a
|
||||
range, use the `satisfies(version, range)` function.
|
||||
|
||||
### Coercion
|
||||
|
||||
* `coerce(version)`: Coerces a string to semver if possible
|
||||
|
||||
This aims to provide a very forgiving translation of a non-semver string to
|
||||
semver. It looks for the first digit in a string, and consumes all
|
||||
remaining characters which satisfy at least a partial semver (e.g., `1`,
|
||||
`1.2`, `1.2.3`) up to the max permitted length (256 characters). Longer
|
||||
versions are simply truncated (`4.6.3.9.2-alpha2` becomes `4.6.3`). All
|
||||
surrounding text is simply ignored (`v3.4 replaces v3.3.1` becomes
|
||||
`3.4.0`). Only text which lacks digits will fail coercion (`version one`
|
||||
is not valid). The maximum length for any semver component considered for
|
||||
coercion is 16 characters; longer components will be ignored
|
||||
(`10000000000000000.4.7.4` becomes `4.7.4`). The maximum value for any
|
||||
semver component is `Number.MAX_SAFE_INTEGER || (2**53 - 1)`; higher value
|
||||
components are invalid (`9999999999999999.4.7.4` is likely invalid).
|
160
web/node_modules/@babel/plugin-transform-runtime/node_modules/semver/bin/semver
generated
vendored
Executable file
160
web/node_modules/@babel/plugin-transform-runtime/node_modules/semver/bin/semver
generated
vendored
Executable file
|
@ -0,0 +1,160 @@
|
|||
#!/usr/bin/env node
|
||||
// Standalone semver comparison program.
|
||||
// Exits successfully and prints matching version(s) if
|
||||
// any supplied version is valid and passes all tests.
|
||||
|
||||
var argv = process.argv.slice(2)
|
||||
|
||||
var versions = []
|
||||
|
||||
var range = []
|
||||
|
||||
var inc = null
|
||||
|
||||
var version = require('../package.json').version
|
||||
|
||||
var loose = false
|
||||
|
||||
var includePrerelease = false
|
||||
|
||||
var coerce = false
|
||||
|
||||
var identifier
|
||||
|
||||
var semver = require('../semver')
|
||||
|
||||
var reverse = false
|
||||
|
||||
var options = {}
|
||||
|
||||
main()
|
||||
|
||||
function main () {
|
||||
if (!argv.length) return help()
|
||||
while (argv.length) {
|
||||
var a = argv.shift()
|
||||
var indexOfEqualSign = a.indexOf('=')
|
||||
if (indexOfEqualSign !== -1) {
|
||||
a = a.slice(0, indexOfEqualSign)
|
||||
argv.unshift(a.slice(indexOfEqualSign + 1))
|
||||
}
|
||||
switch (a) {
|
||||
case '-rv': case '-rev': case '--rev': case '--reverse':
|
||||
reverse = true
|
||||
break
|
||||
case '-l': case '--loose':
|
||||
loose = true
|
||||
break
|
||||
case '-p': case '--include-prerelease':
|
||||
includePrerelease = true
|
||||
break
|
||||
case '-v': case '--version':
|
||||
versions.push(argv.shift())
|
||||
break
|
||||
case '-i': case '--inc': case '--increment':
|
||||
switch (argv[0]) {
|
||||
case 'major': case 'minor': case 'patch': case 'prerelease':
|
||||
case 'premajor': case 'preminor': case 'prepatch':
|
||||
inc = argv.shift()
|
||||
break
|
||||
default:
|
||||
inc = 'patch'
|
||||
break
|
||||
}
|
||||
break
|
||||
case '--preid':
|
||||
identifier = argv.shift()
|
||||
break
|
||||
case '-r': case '--range':
|
||||
range.push(argv.shift())
|
||||
break
|
||||
case '-c': case '--coerce':
|
||||
coerce = true
|
||||
break
|
||||
case '-h': case '--help': case '-?':
|
||||
return help()
|
||||
default:
|
||||
versions.push(a)
|
||||
break
|
||||
}
|
||||
}
|
||||
|
||||
var options = { loose: loose, includePrerelease: includePrerelease }
|
||||
|
||||
versions = versions.map(function (v) {
|
||||
return coerce ? (semver.coerce(v) || { version: v }).version : v
|
||||
}).filter(function (v) {
|
||||
return semver.valid(v)
|
||||
})
|
||||
if (!versions.length) return fail()
|
||||
if (inc && (versions.length !== 1 || range.length)) { return failInc() }
|
||||
|
||||
for (var i = 0, l = range.length; i < l; i++) {
|
||||
versions = versions.filter(function (v) {
|
||||
return semver.satisfies(v, range[i], options)
|
||||
})
|
||||
if (!versions.length) return fail()
|
||||
}
|
||||
return success(versions)
|
||||
}
|
||||
|
||||
function failInc () {
|
||||
console.error('--inc can only be used on a single version with no range')
|
||||
fail()
|
||||
}
|
||||
|
||||
function fail () { process.exit(1) }
|
||||
|
||||
function success () {
|
||||
var compare = reverse ? 'rcompare' : 'compare'
|
||||
versions.sort(function (a, b) {
|
||||
return semver[compare](a, b, options)
|
||||
}).map(function (v) {
|
||||
return semver.clean(v, options)
|
||||
}).map(function (v) {
|
||||
return inc ? semver.inc(v, inc, options, identifier) : v
|
||||
}).forEach(function (v, i, _) { console.log(v) })
|
||||
}
|
||||
|
||||
function help () {
|
||||
console.log(['SemVer ' + version,
|
||||
'',
|
||||
'A JavaScript implementation of the https://semver.org/ specification',
|
||||
'Copyright Isaac Z. Schlueter',
|
||||
'',
|
||||
'Usage: semver [options] <version> [<version> [...]]',
|
||||
'Prints valid versions sorted by SemVer precedence',
|
||||
'',
|
||||
'Options:',
|
||||
'-r --range <range>',
|
||||
' Print versions that match the specified range.',
|
||||
'',
|
||||
'-i --increment [<level>]',
|
||||
' Increment a version by the specified level. Level can',
|
||||
' be one of: major, minor, patch, premajor, preminor,',
|
||||
" prepatch, or prerelease. Default level is 'patch'.",
|
||||
' Only one version may be specified.',
|
||||
'',
|
||||
'--preid <identifier>',
|
||||
' Identifier to be used to prefix premajor, preminor,',
|
||||
' prepatch or prerelease version increments.',
|
||||
'',
|
||||
'-l --loose',
|
||||
' Interpret versions and ranges loosely',
|
||||
'',
|
||||
'-p --include-prerelease',
|
||||
' Always include prerelease versions in range matching',
|
||||
'',
|
||||
'-c --coerce',
|
||||
' Coerce a string into SemVer if possible',
|
||||
' (does not imply --loose)',
|
||||
'',
|
||||
'Program exits successfully if any valid version satisfies',
|
||||
'all supplied ranges, and prints all satisfying versions.',
|
||||
'',
|
||||
'If no satisfying versions are found, then exits failure.',
|
||||
'',
|
||||
'Versions are printed in ascending order, so supplying',
|
||||
'multiple versions to the utility will just sort them.'
|
||||
].join('\n'))
|
||||
}
|
28
web/node_modules/@babel/plugin-transform-runtime/node_modules/semver/package.json
generated
vendored
Normal file
28
web/node_modules/@babel/plugin-transform-runtime/node_modules/semver/package.json
generated
vendored
Normal file
|
@ -0,0 +1,28 @@
|
|||
{
|
||||
"name": "semver",
|
||||
"version": "5.7.1",
|
||||
"description": "The semantic version parser used by npm.",
|
||||
"main": "semver.js",
|
||||
"scripts": {
|
||||
"test": "tap",
|
||||
"preversion": "npm test",
|
||||
"postversion": "npm publish",
|
||||
"postpublish": "git push origin --all; git push origin --tags"
|
||||
},
|
||||
"devDependencies": {
|
||||
"tap": "^13.0.0-rc.18"
|
||||
},
|
||||
"license": "ISC",
|
||||
"repository": "https://github.com/npm/node-semver",
|
||||
"bin": {
|
||||
"semver": "./bin/semver"
|
||||
},
|
||||
"files": [
|
||||
"bin",
|
||||
"range.bnf",
|
||||
"semver.js"
|
||||
],
|
||||
"tap": {
|
||||
"check-coverage": true
|
||||
}
|
||||
}
|
16
web/node_modules/@babel/plugin-transform-runtime/node_modules/semver/range.bnf
generated
vendored
Normal file
16
web/node_modules/@babel/plugin-transform-runtime/node_modules/semver/range.bnf
generated
vendored
Normal file
|
@ -0,0 +1,16 @@
|
|||
range-set ::= range ( logical-or range ) *
|
||||
logical-or ::= ( ' ' ) * '||' ( ' ' ) *
|
||||
range ::= hyphen | simple ( ' ' simple ) * | ''
|
||||
hyphen ::= partial ' - ' partial
|
||||
simple ::= primitive | partial | tilde | caret
|
||||
primitive ::= ( '<' | '>' | '>=' | '<=' | '=' ) partial
|
||||
partial ::= xr ( '.' xr ( '.' xr qualifier ? )? )?
|
||||
xr ::= 'x' | 'X' | '*' | nr
|
||||
nr ::= '0' | [1-9] ( [0-9] ) *
|
||||
tilde ::= '~' partial
|
||||
caret ::= '^' partial
|
||||
qualifier ::= ( '-' pre )? ( '+' build )?
|
||||
pre ::= parts
|
||||
build ::= parts
|
||||
parts ::= part ( '.' part ) *
|
||||
part ::= nr | [-0-9A-Za-z]+
|
1483
web/node_modules/@babel/plugin-transform-runtime/node_modules/semver/semver.js
generated
vendored
Normal file
1483
web/node_modules/@babel/plugin-transform-runtime/node_modules/semver/semver.js
generated
vendored
Normal file
File diff suppressed because it is too large
Load diff
43
web/node_modules/@babel/plugin-transform-runtime/package.json
generated
vendored
Normal file
43
web/node_modules/@babel/plugin-transform-runtime/package.json
generated
vendored
Normal file
|
@ -0,0 +1,43 @@
|
|||
{
|
||||
"name": "@babel/plugin-transform-runtime",
|
||||
"version": "7.12.1",
|
||||
"description": "Externalise references to helpers and builtins, automatically polyfilling your code without polluting globals",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/babel/babel.git",
|
||||
"directory": "packages/babel-plugin-transform-runtime"
|
||||
},
|
||||
"license": "MIT",
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"main": "lib/index.js",
|
||||
"keywords": [
|
||||
"babel-plugin"
|
||||
],
|
||||
"browser": {
|
||||
"./lib/get-runtime-path/index.js": "./lib/get-runtime-path/browser.js",
|
||||
"./src/get-runtime-path/index.js": "./src/get-runtime-path/browser.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@babel/helper-module-imports": "^7.12.1",
|
||||
"@babel/helper-plugin-utils": "^7.10.4",
|
||||
"resolve": "^1.8.1",
|
||||
"semver": "^5.5.1"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@babel/core": "^7.0.0-0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.12.1",
|
||||
"@babel/helper-plugin-test-runner": "7.10.4",
|
||||
"@babel/helpers": "^7.12.1",
|
||||
"@babel/plugin-transform-typeof-symbol": "^7.12.1",
|
||||
"@babel/preset-env": "^7.12.1",
|
||||
"@babel/runtime": "^7.12.1",
|
||||
"@babel/runtime-corejs3": "^7.12.1",
|
||||
"@babel/template": "7.10.4",
|
||||
"@babel/types": "^7.12.1",
|
||||
"make-dir": "^2.1.0"
|
||||
}
|
||||
}
|
7
web/node_modules/@babel/plugin-transform-runtime/src/get-runtime-path/browser.js
generated
vendored
Normal file
7
web/node_modules/@babel/plugin-transform-runtime/src/get-runtime-path/browser.js
generated
vendored
Normal file
|
@ -0,0 +1,7 @@
|
|||
export default function (moduleName, dirname, absoluteRuntime) {
|
||||
if (absoluteRuntime === false) return moduleName;
|
||||
|
||||
throw new Error(
|
||||
"The 'absoluteRuntime' option is not supported when using @babel/standalone.",
|
||||
);
|
||||
}
|
30
web/node_modules/@babel/plugin-transform-runtime/src/get-runtime-path/index.js
generated
vendored
Normal file
30
web/node_modules/@babel/plugin-transform-runtime/src/get-runtime-path/index.js
generated
vendored
Normal file
|
@ -0,0 +1,30 @@
|
|||
import path from "path";
|
||||
import resolve from "resolve";
|
||||
|
||||
export default function (moduleName, dirname, absoluteRuntime) {
|
||||
if (absoluteRuntime === false) return moduleName;
|
||||
|
||||
return resolveAbsoluteRuntime(
|
||||
moduleName,
|
||||
path.resolve(dirname, absoluteRuntime === true ? "." : absoluteRuntime),
|
||||
);
|
||||
}
|
||||
|
||||
function resolveAbsoluteRuntime(moduleName: string, dirname: string) {
|
||||
try {
|
||||
return path
|
||||
.dirname(resolve.sync(`${moduleName}/package.json`, { basedir: dirname }))
|
||||
.replace(/\\/g, "/");
|
||||
} catch (err) {
|
||||
if (err.code !== "MODULE_NOT_FOUND") throw err;
|
||||
|
||||
throw Object.assign(
|
||||
new Error(`Failed to resolve "${moduleName}" relative to "${dirname}"`),
|
||||
{
|
||||
code: "BABEL_RUNTIME_NOT_FOUND",
|
||||
runtime: moduleName,
|
||||
dirname,
|
||||
},
|
||||
);
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue