init
This commit is contained in:
12
node_modules/@babel/preset-env/data/built-in-modules.json
generated
vendored
Normal file
12
node_modules/@babel/preset-env/data/built-in-modules.json
generated
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"es6.module": {
|
||||
"edge": "16",
|
||||
"firefox": "60",
|
||||
"chrome": "61",
|
||||
"safari": "10.1",
|
||||
"opera": "48",
|
||||
"ios_saf": "10.3",
|
||||
"and_chr": "71",
|
||||
"and_ff": "64"
|
||||
}
|
||||
}
|
4
node_modules/@babel/preset-env/data/built-ins.json.js
generated
vendored
Normal file
4
node_modules/@babel/preset-env/data/built-ins.json.js
generated
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
// TODO: Remove in Babel 8
|
||||
// https://github.com/vuejs/vue-cli/issues/3671
|
||||
|
||||
module.exports = require("./corejs2-built-ins.json");
|
335
node_modules/@babel/preset-env/data/corejs2-built-in-features.js
generated
vendored
Normal file
335
node_modules/@babel/preset-env/data/corejs2-built-in-features.js
generated
vendored
Normal file
@@ -0,0 +1,335 @@
|
||||
const typedArrayMethods = [
|
||||
"typed arrays / %TypedArray%.from",
|
||||
"typed arrays / %TypedArray%.of",
|
||||
"typed arrays / %TypedArray%.prototype.subarray",
|
||||
"typed arrays / %TypedArray%.prototype.join",
|
||||
"typed arrays / %TypedArray%.prototype.indexOf",
|
||||
"typed arrays / %TypedArray%.prototype.lastIndexOf",
|
||||
"typed arrays / %TypedArray%.prototype.slice",
|
||||
"typed arrays / %TypedArray%.prototype.every",
|
||||
"typed arrays / %TypedArray%.prototype.filter",
|
||||
"typed arrays / %TypedArray%.prototype.forEach",
|
||||
"typed arrays / %TypedArray%.prototype.map",
|
||||
"typed arrays / %TypedArray%.prototype.reduce",
|
||||
"typed arrays / %TypedArray%.prototype.reduceRight",
|
||||
"typed arrays / %TypedArray%.prototype.reverse",
|
||||
"typed arrays / %TypedArray%.prototype.some",
|
||||
"typed arrays / %TypedArray%.prototype.sort",
|
||||
"typed arrays / %TypedArray%.prototype.copyWithin",
|
||||
"typed arrays / %TypedArray%.prototype.find",
|
||||
"typed arrays / %TypedArray%.prototype.findIndex",
|
||||
"typed arrays / %TypedArray%.prototype.fill",
|
||||
"typed arrays / %TypedArray%.prototype.keys",
|
||||
"typed arrays / %TypedArray%.prototype.values",
|
||||
"typed arrays / %TypedArray%.prototype.entries",
|
||||
"typed arrays / %TypedArray%.prototype[Symbol.iterator]",
|
||||
"typed arrays / %TypedArray%[Symbol.species]",
|
||||
];
|
||||
|
||||
const es = {
|
||||
// compat-table missing babel6 mapping
|
||||
// "es6.array.concat": {
|
||||
// features: [
|
||||
// "well-known symbols / Symbol.isConcatSpreadable",
|
||||
// "well-known symbols / Symbol.species, Array.prototype.concat",
|
||||
// ]
|
||||
// },
|
||||
"es6.array.copy-within": "Array.prototype methods / Array.prototype.copyWithin",
|
||||
"es6.array.every": "Array methods / Array.prototype.every",
|
||||
"es6.array.fill": "Array.prototype methods / Array.prototype.fill",
|
||||
"es6.array.filter": {
|
||||
features: [
|
||||
"Array methods / Array.prototype.filter",
|
||||
// compat-table missing babel6 mapping
|
||||
// "well-known symbols / Symbol.species, Array.prototype.filter",
|
||||
],
|
||||
},
|
||||
"es6.array.find": "Array.prototype methods / Array.prototype.find",
|
||||
"es6.array.find-index": "Array.prototype methods / Array.prototype.findIndex",
|
||||
"es7.array.flat-map": "Array.prototype.{flat, flatMap} / Array.prototype.flatMap",
|
||||
"es6.array.for-each": "Array methods / Array.prototype.forEach",
|
||||
"es6.array.from": "Array static methods / Array.from",
|
||||
"es7.array.includes": "Array.prototype.includes",
|
||||
"es6.array.index-of": "Array methods / Array.prototype.indexOf",
|
||||
"es6.array.is-array": "Array methods / Array.isArray",
|
||||
// "es.array.join": "", required tests for that
|
||||
"es6.array.iterator": {
|
||||
features: [
|
||||
"Array.prototype methods / Array.prototype.keys",
|
||||
// can use Symbol.iterator, not implemented in many environments
|
||||
// "Array.prototype methods / Array.prototype.values",
|
||||
"Array.prototype methods / Array.prototype.entries",
|
||||
],
|
||||
},
|
||||
"es6.array.last-index-of": "Array methods / Array.prototype.lastIndexOf",
|
||||
"es6.array.map": {
|
||||
features: [
|
||||
"Array methods / Array.prototype.map",
|
||||
// compat-table missing babel6 mapping
|
||||
// "well-known symbols / Symbol.species, Array.prototype.map",
|
||||
],
|
||||
},
|
||||
"es6.array.of": "Array static methods / Array.of",
|
||||
"es6.array.reduce": "Array methods / Array.prototype.reduce",
|
||||
"es6.array.reduce-right": "Array methods / Array.prototype.reduceRight",
|
||||
// compat-table missing babel6 mapping
|
||||
// "es6.array.slice": "well-known symbols / Symbol.species, Array.prototype.slice",
|
||||
"es6.array.some": "Array methods / Array.prototype.some",
|
||||
"es6.array.sort": "Array methods / Array.prototype.sort",
|
||||
"es6.array.species": "Array static methods / Array[Symbol.species]",
|
||||
// compat-table missing babel6 mapping
|
||||
//"es6.array.splice": "well-known symbols / Symbol.species, Array.prototype.splice",
|
||||
|
||||
"es6.date.now": "Date methods / Date.now",
|
||||
"es6.date.to-iso-string": "Date methods / Date.prototype.toISOString",
|
||||
"es6.date.to-json": "Date methods / Date.prototype.toJSON",
|
||||
"es6.date.to-primitive": "Date.prototype[Symbol.toPrimitive]",
|
||||
"es6.date.to-string": "miscellaneous / Invalid Date",
|
||||
|
||||
"es6.function.bind": "Function.prototype.bind",
|
||||
"es6.function.has-instance": "well-known symbols / Symbol.hasInstance",
|
||||
"es6.function.name": {
|
||||
features: [
|
||||
"function \"name\" property / function statements",
|
||||
"function \"name\" property / function expressions",
|
||||
],
|
||||
},
|
||||
|
||||
"es6.map": "Map",
|
||||
|
||||
"es6.math.acosh": "Math methods / Math.acosh",
|
||||
"es6.math.asinh": "Math methods / Math.asinh",
|
||||
"es6.math.atanh": "Math methods / Math.atanh",
|
||||
"es6.math.cbrt": "Math methods / Math.cbrt",
|
||||
"es6.math.clz32": "Math methods / Math.clz32",
|
||||
"es6.math.cosh": "Math methods / Math.cosh",
|
||||
"es6.math.expm1": "Math methods / Math.expm1",
|
||||
"es6.math.fround": "Math methods / Math.fround",
|
||||
"es6.math.hypot": "Math methods / Math.hypot",
|
||||
"es6.math.imul": "Math methods / Math.imul",
|
||||
"es6.math.log1p": "Math methods / Math.log1p",
|
||||
"es6.math.log10": "Math methods / Math.log10",
|
||||
"es6.math.log2": "Math methods / Math.log2",
|
||||
"es6.math.sign": "Math methods / Math.sign",
|
||||
"es6.math.sinh": "Math methods / Math.sinh",
|
||||
"es6.math.tanh": "Math methods / Math.tanh",
|
||||
"es6.math.trunc": "Math methods / Math.trunc",
|
||||
|
||||
"es6.number.constructor": {
|
||||
features: [
|
||||
"octal and binary literals / octal supported by Number()",
|
||||
"octal and binary literals / binary supported by Number()",
|
||||
],
|
||||
},
|
||||
"es6.number.epsilon": "Number properties / Number.EPSILON",
|
||||
"es6.number.is-finite": "Number properties / Number.isFinite",
|
||||
"es6.number.is-integer": "Number properties / Number.isInteger",
|
||||
"es6.number.is-nan": "Number properties / Number.isNaN",
|
||||
"es6.number.is-safe-integer": "Number properties / Number.isSafeInteger",
|
||||
"es6.number.max-safe-integer": "Number properties / Number.MAX_SAFE_INTEGER",
|
||||
"es6.number.min-safe-integer": "Number properties / Number.MIN_SAFE_INTEGER",
|
||||
"es6.number.parse-float": "Number properties / Number.parseFloat",
|
||||
"es6.number.parse-int": "Number properties / Number.parseInt",
|
||||
|
||||
"es6.object.assign": {
|
||||
features: ["Object static methods / Object.assign", "Symbol"],
|
||||
},
|
||||
"es6.object.create": "Object static methods / Object.create",
|
||||
"es7.object.define-getter": {
|
||||
features: [
|
||||
"Object.prototype getter/setter methods / __defineGetter__",
|
||||
"Object.prototype getter/setter methods / __defineGetter__, symbols",
|
||||
"Object.prototype getter/setter methods / __defineGetter__, ToObject(this)",
|
||||
],
|
||||
},
|
||||
"es7.object.define-setter": {
|
||||
features: [
|
||||
"Object.prototype getter/setter methods / __defineSetter__",
|
||||
"Object.prototype getter/setter methods / __defineSetter__, symbols",
|
||||
"Object.prototype getter/setter methods / __defineSetter__, ToObject(this)",
|
||||
],
|
||||
},
|
||||
"es6.object.define-property": "Object static methods / Object.defineProperty",
|
||||
"es6.object.define-properties": "Object static methods / Object.defineProperties",
|
||||
"es7.object.entries": "Object static methods / Object.entries",
|
||||
"es6.object.freeze": "Object static methods accept primitives / Object.freeze",
|
||||
"es6.object.get-own-property-descriptor": "Object static methods accept primitives / Object.getOwnPropertyDescriptor",
|
||||
"es7.object.get-own-property-descriptors": "Object static methods / Object.getOwnPropertyDescriptors",
|
||||
"es6.object.get-own-property-names": "Object static methods accept primitives / Object.getOwnPropertyNames",
|
||||
"es6.object.get-prototype-of": "Object static methods accept primitives / Object.getPrototypeOf",
|
||||
"es7.object.lookup-getter": {
|
||||
features: [
|
||||
"Object.prototype getter/setter methods / __lookupGetter__",
|
||||
"Object.prototype getter/setter methods / __lookupGetter__, prototype chain",
|
||||
"Object.prototype getter/setter methods / __lookupGetter__, symbols",
|
||||
"Object.prototype getter/setter methods / __lookupGetter__, ToObject(this)",
|
||||
"Object.prototype getter/setter methods / __lookupGetter__, data properties can shadow accessors",
|
||||
],
|
||||
},
|
||||
"es7.object.lookup-setter": {
|
||||
features: [
|
||||
"Object.prototype getter/setter methods / __lookupSetter__",
|
||||
"Object.prototype getter/setter methods / __lookupSetter__, prototype chain",
|
||||
"Object.prototype getter/setter methods / __lookupSetter__, symbols",
|
||||
"Object.prototype getter/setter methods / __lookupSetter__, ToObject(this)",
|
||||
"Object.prototype getter/setter methods / __lookupSetter__, data properties can shadow accessors",
|
||||
],
|
||||
},
|
||||
"es6.object.prevent-extensions": "Object static methods accept primitives / Object.preventExtensions",
|
||||
"es6.object.to-string": "well-known symbols / Symbol.toStringTag",
|
||||
"es6.object.is": "Object static methods / Object.is",
|
||||
"es6.object.is-frozen": "Object static methods accept primitives / Object.isFrozen",
|
||||
"es6.object.is-sealed": "Object static methods accept primitives / Object.isSealed",
|
||||
"es6.object.is-extensible": "Object static methods accept primitives / Object.isExtensible",
|
||||
"es6.object.keys": "Object static methods accept primitives / Object.keys",
|
||||
"es6.object.seal": "Object static methods accept primitives / Object.seal",
|
||||
"es6.object.set-prototype-of": "Object static methods / Object.setPrototypeOf",
|
||||
"es7.object.values": "Object static methods / Object.values",
|
||||
|
||||
"es6.promise": {
|
||||
features: [
|
||||
// required unhandled rejection tracking tests
|
||||
"Promise",
|
||||
"well-known symbols / Symbol.species, Promise.prototype.then",
|
||||
],
|
||||
},
|
||||
"es7.promise.finally": "Promise.prototype.finally",
|
||||
|
||||
"es6.reflect.apply": "Reflect / Reflect.apply",
|
||||
"es6.reflect.construct": "Reflect / Reflect.construct",
|
||||
"es6.reflect.define-property": "Reflect / Reflect.defineProperty",
|
||||
"es6.reflect.delete-property": "Reflect / Reflect.deleteProperty",
|
||||
"es6.reflect.get": "Reflect / Reflect.get",
|
||||
"es6.reflect.get-own-property-descriptor": "Reflect / Reflect.getOwnPropertyDescriptor",
|
||||
"es6.reflect.get-prototype-of": "Reflect / Reflect.getPrototypeOf",
|
||||
"es6.reflect.has": "Reflect / Reflect.has",
|
||||
"es6.reflect.is-extensible": "Reflect / Reflect.isExtensible",
|
||||
"es6.reflect.own-keys": "Reflect / Reflect.ownKeys",
|
||||
"es6.reflect.prevent-extensions": "Reflect / Reflect.preventExtensions",
|
||||
"es6.reflect.set": "Reflect / Reflect.set",
|
||||
"es6.reflect.set-prototype-of": "Reflect / Reflect.setPrototypeOf",
|
||||
|
||||
"es6.regexp.constructor": {
|
||||
features: [
|
||||
"miscellaneous / RegExp constructor can alter flags",
|
||||
"well-known symbols / Symbol.match, RegExp constructor",
|
||||
],
|
||||
},
|
||||
"es6.regexp.flags": "RegExp.prototype properties / RegExp.prototype.flags",
|
||||
"es6.regexp.match": "RegExp.prototype properties / RegExp.prototype[Symbol.match]",
|
||||
"es6.regexp.replace": "RegExp.prototype properties / RegExp.prototype[Symbol.replace]",
|
||||
"es6.regexp.split": "RegExp.prototype properties / RegExp.prototype[Symbol.split]",
|
||||
"es6.regexp.search": "RegExp.prototype properties / RegExp.prototype[Symbol.search]",
|
||||
"es6.regexp.to-string": "miscellaneous / RegExp.prototype.toString generic and uses \"flags\" property",
|
||||
|
||||
// This is explicit due to prevent the stage-1 Set proposals under the
|
||||
// category "Set methods" from being included.
|
||||
"es6.set": {
|
||||
features: [
|
||||
"Set / basic functionality",
|
||||
"Set / constructor arguments",
|
||||
"Set / constructor requires new",
|
||||
"Set / constructor accepts null",
|
||||
"Set / constructor invokes add",
|
||||
"Set / iterator closing",
|
||||
"Set / Set.prototype.add returns this",
|
||||
"Set / -0 key converts to +0",
|
||||
"Set / Set.prototype.size",
|
||||
"Set / Set.prototype.delete",
|
||||
"Set / Set.prototype.clear",
|
||||
"Set / Set.prototype.forEach",
|
||||
"Set / Set.prototype.keys",
|
||||
"Set / Set.prototype.values",
|
||||
"Set / Set.prototype.entries",
|
||||
"Set / Set.prototype[Symbol.iterator]",
|
||||
"Set / Set.prototype isn't an instance",
|
||||
"Set / Set iterator prototype chain",
|
||||
"Set / Set[Symbol.species]",
|
||||
],
|
||||
},
|
||||
|
||||
"es6.symbol": {
|
||||
features: [
|
||||
"Symbol",
|
||||
"Object static methods / Object.getOwnPropertySymbols",
|
||||
"well-known symbols / Symbol.hasInstance",
|
||||
"well-known symbols / Symbol.isConcatSpreadable",
|
||||
"well-known symbols / Symbol.iterator",
|
||||
"well-known symbols / Symbol.match",
|
||||
"well-known symbols / Symbol.replace",
|
||||
"well-known symbols / Symbol.search",
|
||||
"well-known symbols / Symbol.species",
|
||||
"well-known symbols / Symbol.split",
|
||||
"well-known symbols / Symbol.toPrimitive",
|
||||
"well-known symbols / Symbol.toStringTag",
|
||||
"well-known symbols / Symbol.unscopables",
|
||||
],
|
||||
},
|
||||
"es7.symbol.async-iterator": "Asynchronous Iterators",
|
||||
|
||||
"es6.string.anchor": "String.prototype HTML methods",
|
||||
"es6.string.big": "String.prototype HTML methods",
|
||||
"es6.string.blink": "String.prototype HTML methods",
|
||||
"es6.string.bold": "String.prototype HTML methods",
|
||||
"es6.string.code-point-at": "String.prototype methods / String.prototype.codePointAt",
|
||||
"es6.string.ends-with": "String.prototype methods / String.prototype.endsWith",
|
||||
"es6.string.fixed": "String.prototype HTML methods",
|
||||
"es6.string.fontcolor": "String.prototype HTML methods",
|
||||
"es6.string.fontsize": "String.prototype HTML methods",
|
||||
"es6.string.from-code-point": "String static methods / String.fromCodePoint",
|
||||
"es6.string.includes": "String.prototype methods / String.prototype.includes",
|
||||
"es6.string.italics": "String.prototype HTML methods",
|
||||
"es6.string.iterator": "String.prototype methods / String.prototype[Symbol.iterator]",
|
||||
"es6.string.link": "String.prototype HTML methods",
|
||||
// "String.prototype methods / String.prototype.normalize" not implemented
|
||||
"es7.string.pad-start": "String padding / String.prototype.padStart",
|
||||
"es7.string.pad-end": "String padding / String.prototype.padEnd",
|
||||
"es6.string.raw": "String static methods / String.raw",
|
||||
"es6.string.repeat": "String.prototype methods / String.prototype.repeat",
|
||||
"es6.string.small": "String.prototype HTML methods",
|
||||
"es6.string.starts-with": "String.prototype methods / String.prototype.startsWith",
|
||||
"es6.string.strike": "String.prototype HTML methods",
|
||||
"es6.string.sub": "String.prototype HTML methods",
|
||||
"es6.string.sup": "String.prototype HTML methods",
|
||||
"es6.string.trim": "String properties and methods / String.prototype.trim",
|
||||
"es7.string.trim-left": "string trimming / String.prototype.trimStart",
|
||||
"es7.string.trim-right": "string trimming / String.prototype.trimEnd",
|
||||
|
||||
"es6.typed.array-buffer": "typed arrays / ArrayBuffer[Symbol.species]",
|
||||
"es6.typed.data-view": "typed arrays / DataView",
|
||||
"es6.typed.int8-array": {
|
||||
features: ["typed arrays / Int8Array"].concat(typedArrayMethods),
|
||||
},
|
||||
"es6.typed.uint8-array": {
|
||||
features: ["typed arrays / Uint8Array"].concat(typedArrayMethods),
|
||||
},
|
||||
"es6.typed.uint8-clamped-array": {
|
||||
features: ["typed arrays / Uint8ClampedArray"].concat(typedArrayMethods),
|
||||
},
|
||||
"es6.typed.int16-array": {
|
||||
features: ["typed arrays / Int16Array"].concat(typedArrayMethods),
|
||||
},
|
||||
"es6.typed.uint16-array": {
|
||||
features: ["typed arrays / Uint16Array"].concat(typedArrayMethods),
|
||||
},
|
||||
"es6.typed.int32-array": {
|
||||
features: ["typed arrays / Int32Array"].concat(typedArrayMethods),
|
||||
},
|
||||
"es6.typed.uint32-array": {
|
||||
features: ["typed arrays / Uint32Array"].concat(typedArrayMethods),
|
||||
},
|
||||
"es6.typed.float32-array": {
|
||||
features: ["typed arrays / Float32Array"].concat(typedArrayMethods),
|
||||
},
|
||||
"es6.typed.float64-array": {
|
||||
features: ["typed arrays / Float64Array"].concat(typedArrayMethods),
|
||||
},
|
||||
|
||||
"es6.weak-map": "WeakMap",
|
||||
|
||||
"es6.weak-set": "WeakSet",
|
||||
};
|
||||
|
||||
const proposals = require("./shipped-proposals").builtIns;
|
||||
|
||||
module.exports = Object.assign({}, es, proposals);
|
1657
node_modules/@babel/preset-env/data/corejs2-built-ins.json
generated
vendored
Normal file
1657
node_modules/@babel/preset-env/data/corejs2-built-ins.json
generated
vendored
Normal file
File diff suppressed because it is too large
Load Diff
108
node_modules/@babel/preset-env/data/plugin-features.js
generated
vendored
Normal file
108
node_modules/@babel/preset-env/data/plugin-features.js
generated
vendored
Normal file
@@ -0,0 +1,108 @@
|
||||
const es = {
|
||||
"transform-template-literals": {
|
||||
features: ["template literals"],
|
||||
},
|
||||
"transform-literals": {
|
||||
features: ["Unicode code point escapes"],
|
||||
},
|
||||
"transform-function-name": {
|
||||
features: ['function "name" property'],
|
||||
},
|
||||
"transform-arrow-functions": {
|
||||
features: ["arrow functions"],
|
||||
},
|
||||
"transform-block-scoped-functions": {
|
||||
features: ["block-level function declaration"],
|
||||
},
|
||||
"transform-classes": {
|
||||
features: ["class", "super"],
|
||||
},
|
||||
"transform-object-super": {
|
||||
features: ["super"],
|
||||
},
|
||||
"transform-shorthand-properties": {
|
||||
features: ["object literal extensions / shorthand properties"],
|
||||
},
|
||||
"transform-duplicate-keys": {
|
||||
features: ["miscellaneous / duplicate property names in strict mode"],
|
||||
},
|
||||
"transform-computed-properties": {
|
||||
features: ["object literal extensions / computed properties"],
|
||||
},
|
||||
"transform-for-of": {
|
||||
features: ["for..of loops"],
|
||||
},
|
||||
"transform-sticky-regex": {
|
||||
features: [
|
||||
'RegExp "y" and "u" flags / "y" flag, lastIndex',
|
||||
'RegExp "y" and "u" flags / "y" flag',
|
||||
],
|
||||
},
|
||||
|
||||
// We want to apply this prior to unicode regex so that "." and "u"
|
||||
// are properly handled.
|
||||
//
|
||||
// Ref: https://github.com/babel/babel/pull/7065#issuecomment-395959112
|
||||
"transform-dotall-regex": "s (dotAll) flag for regular expressions",
|
||||
|
||||
"transform-unicode-regex": {
|
||||
features: [
|
||||
'RegExp "y" and "u" flags / "u" flag, case folding',
|
||||
'RegExp "y" and "u" flags / "u" flag, Unicode code point escapes',
|
||||
'RegExp "y" and "u" flags / "u" flag, non-BMP Unicode characters',
|
||||
'RegExp "y" and "u" flags / "u" flag',
|
||||
],
|
||||
},
|
||||
|
||||
"transform-spread": {
|
||||
features: "spread syntax for iterable objects",
|
||||
},
|
||||
"transform-parameters": {
|
||||
features: [
|
||||
"default function parameters",
|
||||
"rest parameters",
|
||||
"destructuring, parameters / defaults, arrow function",
|
||||
],
|
||||
},
|
||||
"transform-destructuring": {
|
||||
features: [
|
||||
"destructuring, assignment",
|
||||
"destructuring, declarations",
|
||||
],
|
||||
},
|
||||
"transform-block-scoping": {
|
||||
features: ["const", "let"],
|
||||
},
|
||||
"transform-typeof-symbol": {
|
||||
features: ["Symbol / typeof support"],
|
||||
},
|
||||
"transform-new-target": {
|
||||
features: ["new.target"],
|
||||
},
|
||||
"transform-regenerator": {
|
||||
features: ["generators"],
|
||||
},
|
||||
|
||||
"transform-exponentiation-operator": {
|
||||
features: ["exponentiation (**) operator"],
|
||||
},
|
||||
|
||||
"transform-async-to-generator": {
|
||||
features: ["async functions"],
|
||||
},
|
||||
|
||||
"proposal-async-generator-functions": "Asynchronous Iterators",
|
||||
"proposal-object-rest-spread": "object rest/spread properties",
|
||||
"proposal-unicode-property-regex": "RegExp Unicode Property Escapes",
|
||||
|
||||
"proposal-json-strings": "JSON superset",
|
||||
"proposal-optional-catch-binding": "optional catch binding",
|
||||
"transform-named-capturing-groups-regex": "RegExp named capture groups",
|
||||
"transform-member-expression-literals": "Object/array literal extensions / Reserved words as property names",
|
||||
"transform-property-literals": "Object/array literal extensions / Reserved words as property names",
|
||||
"transform-reserved-words": "Miscellaneous / Unreserved words",
|
||||
};
|
||||
|
||||
const proposals = require("./shipped-proposals").features;
|
||||
|
||||
module.exports = Object.assign({}, es, proposals);
|
347
node_modules/@babel/preset-env/data/plugins.json
generated
vendored
Normal file
347
node_modules/@babel/preset-env/data/plugins.json
generated
vendored
Normal file
@@ -0,0 +1,347 @@
|
||||
{
|
||||
"transform-template-literals": {
|
||||
"chrome": "41",
|
||||
"edge": "13",
|
||||
"firefox": "34",
|
||||
"node": "4",
|
||||
"samsung": "3.4",
|
||||
"opera": "28",
|
||||
"electron": "0.24"
|
||||
},
|
||||
"transform-literals": {
|
||||
"chrome": "44",
|
||||
"edge": "12",
|
||||
"firefox": "53",
|
||||
"safari": "9",
|
||||
"node": "4",
|
||||
"ios": "9",
|
||||
"samsung": "4",
|
||||
"opera": "31",
|
||||
"electron": "0.31"
|
||||
},
|
||||
"transform-function-name": {
|
||||
"chrome": "51",
|
||||
"firefox": "53",
|
||||
"safari": "10",
|
||||
"node": "6.5",
|
||||
"ios": "10",
|
||||
"samsung": "5",
|
||||
"opera": "38",
|
||||
"electron": "1.2"
|
||||
},
|
||||
"transform-arrow-functions": {
|
||||
"chrome": "47",
|
||||
"edge": "13",
|
||||
"firefox": "45",
|
||||
"safari": "10",
|
||||
"node": "6",
|
||||
"ios": "10",
|
||||
"samsung": "5",
|
||||
"opera": "34",
|
||||
"electron": "0.36"
|
||||
},
|
||||
"transform-block-scoped-functions": {
|
||||
"chrome": "41",
|
||||
"edge": "12",
|
||||
"firefox": "46",
|
||||
"safari": "10",
|
||||
"node": "4",
|
||||
"ie": "11",
|
||||
"ios": "10",
|
||||
"samsung": "3.4",
|
||||
"opera": "28",
|
||||
"electron": "0.24"
|
||||
},
|
||||
"transform-classes": {
|
||||
"chrome": "46",
|
||||
"edge": "13",
|
||||
"firefox": "45",
|
||||
"safari": "10",
|
||||
"node": "5",
|
||||
"ios": "10",
|
||||
"samsung": "5",
|
||||
"opera": "33",
|
||||
"electron": "0.36"
|
||||
},
|
||||
"transform-object-super": {
|
||||
"chrome": "46",
|
||||
"edge": "13",
|
||||
"firefox": "45",
|
||||
"safari": "10",
|
||||
"node": "5",
|
||||
"ios": "10",
|
||||
"samsung": "5",
|
||||
"opera": "33",
|
||||
"electron": "0.36"
|
||||
},
|
||||
"transform-shorthand-properties": {
|
||||
"chrome": "43",
|
||||
"edge": "12",
|
||||
"firefox": "33",
|
||||
"safari": "9",
|
||||
"node": "4",
|
||||
"ios": "9",
|
||||
"samsung": "4",
|
||||
"opera": "30",
|
||||
"electron": "0.29"
|
||||
},
|
||||
"transform-duplicate-keys": {
|
||||
"chrome": "42",
|
||||
"edge": "12",
|
||||
"firefox": "34",
|
||||
"safari": "9",
|
||||
"node": "4",
|
||||
"ios": "9",
|
||||
"samsung": "3.4",
|
||||
"opera": "29",
|
||||
"electron": "0.27"
|
||||
},
|
||||
"transform-computed-properties": {
|
||||
"chrome": "44",
|
||||
"edge": "12",
|
||||
"firefox": "34",
|
||||
"safari": "7.1",
|
||||
"node": "4",
|
||||
"ios": "8",
|
||||
"samsung": "4",
|
||||
"opera": "31",
|
||||
"electron": "0.31"
|
||||
},
|
||||
"transform-for-of": {
|
||||
"chrome": "51",
|
||||
"edge": "15",
|
||||
"firefox": "53",
|
||||
"safari": "10",
|
||||
"node": "6.5",
|
||||
"ios": "10",
|
||||
"samsung": "5",
|
||||
"opera": "38",
|
||||
"electron": "1.2"
|
||||
},
|
||||
"transform-sticky-regex": {
|
||||
"chrome": "49",
|
||||
"edge": "13",
|
||||
"firefox": "3",
|
||||
"safari": "10",
|
||||
"node": "6",
|
||||
"ios": "10",
|
||||
"samsung": "5",
|
||||
"opera": "36",
|
||||
"electron": "1"
|
||||
},
|
||||
"transform-dotall-regex": {
|
||||
"chrome": "62",
|
||||
"safari": "11.1",
|
||||
"node": "8.10",
|
||||
"ios": "11.3",
|
||||
"samsung": "8.2",
|
||||
"opera": "49",
|
||||
"electron": "3.1"
|
||||
},
|
||||
"transform-unicode-regex": {
|
||||
"chrome": "50",
|
||||
"edge": "13",
|
||||
"firefox": "46",
|
||||
"safari": "12",
|
||||
"node": "6",
|
||||
"ios": "12",
|
||||
"samsung": "5",
|
||||
"opera": "37",
|
||||
"electron": "1.1"
|
||||
},
|
||||
"transform-spread": {
|
||||
"chrome": "46",
|
||||
"edge": "13",
|
||||
"firefox": "36",
|
||||
"safari": "10",
|
||||
"node": "5",
|
||||
"ios": "10",
|
||||
"samsung": "5",
|
||||
"opera": "33",
|
||||
"electron": "0.36"
|
||||
},
|
||||
"transform-parameters": {
|
||||
"chrome": "49",
|
||||
"edge": "18",
|
||||
"firefox": "53",
|
||||
"safari": "10",
|
||||
"node": "6",
|
||||
"ios": "10",
|
||||
"samsung": "5",
|
||||
"opera": "36",
|
||||
"electron": "1"
|
||||
},
|
||||
"transform-destructuring": {
|
||||
"chrome": "51",
|
||||
"edge": "15",
|
||||
"firefox": "53",
|
||||
"safari": "10",
|
||||
"node": "6.5",
|
||||
"ios": "10",
|
||||
"samsung": "5",
|
||||
"opera": "38",
|
||||
"electron": "1.2"
|
||||
},
|
||||
"transform-block-scoping": {
|
||||
"chrome": "49",
|
||||
"edge": "14",
|
||||
"firefox": "51",
|
||||
"safari": "10.1",
|
||||
"node": "6",
|
||||
"ios": "10.3",
|
||||
"samsung": "5",
|
||||
"opera": "36",
|
||||
"electron": "1"
|
||||
},
|
||||
"transform-typeof-symbol": {
|
||||
"chrome": "38",
|
||||
"edge": "12",
|
||||
"firefox": "36",
|
||||
"safari": "9",
|
||||
"node": "0.12",
|
||||
"ios": "9",
|
||||
"samsung": "3",
|
||||
"opera": "25",
|
||||
"electron": "0.2"
|
||||
},
|
||||
"transform-new-target": {
|
||||
"chrome": "46",
|
||||
"edge": "14",
|
||||
"firefox": "41",
|
||||
"safari": "10",
|
||||
"node": "5",
|
||||
"ios": "10",
|
||||
"samsung": "5",
|
||||
"opera": "33",
|
||||
"electron": "0.36"
|
||||
},
|
||||
"transform-regenerator": {
|
||||
"chrome": "50",
|
||||
"edge": "13",
|
||||
"firefox": "53",
|
||||
"safari": "10",
|
||||
"node": "6",
|
||||
"ios": "10",
|
||||
"samsung": "5",
|
||||
"opera": "37",
|
||||
"electron": "1.1"
|
||||
},
|
||||
"transform-exponentiation-operator": {
|
||||
"chrome": "52",
|
||||
"edge": "14",
|
||||
"firefox": "52",
|
||||
"safari": "10.1",
|
||||
"node": "7",
|
||||
"ios": "10.3",
|
||||
"samsung": "6.2",
|
||||
"opera": "39",
|
||||
"electron": "1.3"
|
||||
},
|
||||
"transform-async-to-generator": {
|
||||
"chrome": "55",
|
||||
"edge": "15",
|
||||
"firefox": "52",
|
||||
"safari": "11",
|
||||
"node": "7.6",
|
||||
"ios": "11",
|
||||
"samsung": "6.2",
|
||||
"opera": "42",
|
||||
"electron": "1.6"
|
||||
},
|
||||
"proposal-async-generator-functions": {
|
||||
"chrome": "63",
|
||||
"firefox": "57",
|
||||
"safari": "12",
|
||||
"node": "10",
|
||||
"ios": "12",
|
||||
"samsung": "8.2",
|
||||
"opera": "50",
|
||||
"electron": "3.1"
|
||||
},
|
||||
"proposal-object-rest-spread": {
|
||||
"chrome": "60",
|
||||
"firefox": "55",
|
||||
"safari": "11.1",
|
||||
"node": "8.3",
|
||||
"ios": "11.3",
|
||||
"samsung": "8.2",
|
||||
"opera": "47",
|
||||
"electron": "2.1"
|
||||
},
|
||||
"proposal-unicode-property-regex": {
|
||||
"chrome": "64",
|
||||
"safari": "11.1",
|
||||
"node": "10",
|
||||
"ios": "11.3",
|
||||
"opera": "51",
|
||||
"electron": "3.1"
|
||||
},
|
||||
"proposal-json-strings": {
|
||||
"chrome": "66",
|
||||
"firefox": "62",
|
||||
"safari": "12",
|
||||
"node": "10",
|
||||
"ios": "12",
|
||||
"opera": "53",
|
||||
"electron": "3.1"
|
||||
},
|
||||
"proposal-optional-catch-binding": {
|
||||
"chrome": "66",
|
||||
"firefox": "58",
|
||||
"safari": "11.1",
|
||||
"node": "10",
|
||||
"ios": "11.3",
|
||||
"opera": "53",
|
||||
"electron": "3.1"
|
||||
},
|
||||
"transform-named-capturing-groups-regex": {
|
||||
"chrome": "64",
|
||||
"safari": "11.1",
|
||||
"node": "10",
|
||||
"ios": "11.3",
|
||||
"opera": "51",
|
||||
"electron": "3.1"
|
||||
},
|
||||
"transform-member-expression-literals": {
|
||||
"chrome": "7",
|
||||
"opera": "12",
|
||||
"edge": "12",
|
||||
"firefox": "2",
|
||||
"safari": "5.1",
|
||||
"node": "0.10",
|
||||
"ie": "9",
|
||||
"android": "4",
|
||||
"ios": "6",
|
||||
"phantom": "2",
|
||||
"samsung": "2.1",
|
||||
"electron": "5"
|
||||
},
|
||||
"transform-property-literals": {
|
||||
"chrome": "7",
|
||||
"opera": "12",
|
||||
"edge": "12",
|
||||
"firefox": "2",
|
||||
"safari": "5.1",
|
||||
"node": "0.10",
|
||||
"ie": "9",
|
||||
"android": "4",
|
||||
"ios": "6",
|
||||
"phantom": "2",
|
||||
"samsung": "2.1",
|
||||
"electron": "5"
|
||||
},
|
||||
"transform-reserved-words": {
|
||||
"chrome": "13",
|
||||
"opera": "10.50",
|
||||
"edge": "12",
|
||||
"firefox": "2",
|
||||
"safari": "3.1",
|
||||
"node": "0.10",
|
||||
"ie": "9",
|
||||
"android": "4.4",
|
||||
"ios": "6",
|
||||
"phantom": "2",
|
||||
"samsung": "2.1",
|
||||
"electron": "0.2"
|
||||
}
|
||||
}
|
14
node_modules/@babel/preset-env/data/shipped-proposals.js
generated
vendored
Normal file
14
node_modules/@babel/preset-env/data/shipped-proposals.js
generated
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
// These mappings represent the syntax proposals that have been
|
||||
// shipped by browsers, and are enabled by the `shippedProposals` option.
|
||||
|
||||
const proposalPlugins = {};
|
||||
|
||||
const pluginSyntaxMap = new Map([
|
||||
["proposal-async-generator-functions", "syntax-async-generators"],
|
||||
["proposal-object-rest-spread", "syntax-object-rest-spread"],
|
||||
["proposal-optional-catch-binding", "syntax-optional-catch-binding"],
|
||||
["proposal-unicode-property-regex", null],
|
||||
["proposal-json-strings", "syntax-json-strings"],
|
||||
]);
|
||||
|
||||
module.exports = { proposalPlugins, pluginSyntaxMap };
|
3
node_modules/@babel/preset-env/data/unreleased-labels.js
generated
vendored
Normal file
3
node_modules/@babel/preset-env/data/unreleased-labels.js
generated
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
module.exports = {
|
||||
safari: "tp",
|
||||
};
|
Reference in New Issue
Block a user