Commit 6b91c4a7 authored by Rosanny Sihombing's avatar Rosanny Sihombing
Browse files

delete and ignore node_modules

parent 22482a26
"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;
\ No newline at end of file
{
"_from": "@babel/plugin-transform-runtime@^7.4.0",
"_id": "@babel/plugin-transform-runtime@7.6.2",
"_inBundle": false,
"_integrity": "sha512-cqULw/QB4yl73cS5Y0TZlQSjDvNkzDbu0FurTZyHlJpWE5T3PCMdnyV+xXoH1opr1ldyHODe3QAX3OMAii5NxA==",
"_location": "/@babel/plugin-transform-runtime",
"_phantomChildren": {},
"_requested": {
"type": "range",
"registry": true,
"raw": "@babel/plugin-transform-runtime@^7.4.0",
"name": "@babel/plugin-transform-runtime",
"escapedName": "@babel%2fplugin-transform-runtime",
"scope": "@babel",
"rawSpec": "^7.4.0",
"saveSpec": null,
"fetchSpec": "^7.4.0"
},
"_requiredBy": [
"/@vue/babel-preset-app"
],
"_resolved": "https://registry.npmjs.org/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.6.2.tgz",
"_shasum": "2669f67c1fae0ae8d8bf696e4263ad52cb98b6f8",
"_spec": "@babel/plugin-transform-runtime@^7.4.0",
"_where": "C:\\Work\\OneDrive - bwstaff\\M4_Lab\\TV3\\NewVersion01\\LAFJLBmf939XYm5gj\\dev\\node_modules\\@vue\\babel-preset-app",
"bundleDependencies": false,
"dependencies": {
"@babel/helper-module-imports": "^7.0.0",
"@babel/helper-plugin-utils": "^7.0.0",
"resolve": "^1.8.1",
"semver": "^5.5.1"
},
"deprecated": false,
"description": "Externalise references to helpers and builtins, automatically polyfilling your code without polluting globals",
"devDependencies": {
"@babel/core": "^7.6.2",
"@babel/helper-plugin-test-runner": "^7.0.0",
"@babel/helpers": "^7.6.2",
"@babel/preset-env": "^7.6.2",
"@babel/runtime": "^7.6.2",
"@babel/template": "^7.6.0",
"@babel/types": "7.0.0-beta.53"
},
"gitHead": "b9cb4af953afb1a5aeed9b18526192ab15bb45c1",
"keywords": [
"babel-plugin"
],
"license": "MIT",
"main": "lib/index.js",
"name": "@babel/plugin-transform-runtime",
"peerDependencies": {
"@babel/core": "^7.0.0-0"
},
"publishConfig": {
"access": "public"
},
"repository": {
"type": "git",
"url": "https://github.com/babel/babel/tree/master/packages/babel-plugin-transform-runtime"
},
"version": "7.6.2"
}
MIT License
Copyright (c) 2014-2018 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.
# @babel/plugin-transform-shorthand-properties
> Compile ES2015 shorthand properties to ES5
See our website [@babel/plugin-transform-shorthand-properties](https://babeljs.io/docs/en/next/babel-plugin-transform-shorthand-properties.html) for more information.
## Install
Using npm:
```sh
npm install --save-dev @babel/plugin-transform-shorthand-properties
```
or using yarn:
```sh
yarn add @babel/plugin-transform-shorthand-properties --dev
```
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
function _helperPluginUtils() {
const data = require("@babel/helper-plugin-utils");
_helperPluginUtils = function () {
return data;
};
return data;
}
function _core() {
const data = require("@babel/core");
_core = function () {
return data;
};
return data;
}
var _default = (0, _helperPluginUtils().declare)(api => {
api.assertVersion(7);
return {
name: "transform-shorthand-properties",
visitor: {
ObjectMethod(path) {
const {
node
} = path;
if (node.kind === "method") {
const func = _core().types.functionExpression(null, node.params, node.body, node.generator, node.async);
func.returnType = node.returnType;
path.replaceWith(_core().types.objectProperty(node.key, func, node.computed));
}
},
ObjectProperty({
node
}) {
if (node.shorthand) {
node.shorthand = false;
}
}
}
};
});
exports.default = _default;
\ No newline at end of file
{
"_from": "@babel/plugin-transform-shorthand-properties@^7.2.0",
"_id": "@babel/plugin-transform-shorthand-properties@7.2.0",
"_inBundle": false,
"_integrity": "sha512-QP4eUM83ha9zmYtpbnyjTLAGKQritA5XW/iG9cjtuOI8s1RuL/3V6a3DeSHfKutJQ+ayUfeZJPcnCYEQzaPQqg==",
"_location": "/@babel/plugin-transform-shorthand-properties",
"_phantomChildren": {},
"_requested": {
"type": "range",
"registry": true,
"raw": "@babel/plugin-transform-shorthand-properties@^7.2.0",
"name": "@babel/plugin-transform-shorthand-properties",
"escapedName": "@babel%2fplugin-transform-shorthand-properties",
"scope": "@babel",
"rawSpec": "^7.2.0",
"saveSpec": null,
"fetchSpec": "^7.2.0"
},
"_requiredBy": [
"/@babel/preset-env"
],
"_resolved": "https://registry.npmjs.org/@babel/plugin-transform-shorthand-properties/-/plugin-transform-shorthand-properties-7.2.0.tgz",
"_shasum": "6333aee2f8d6ee7e28615457298934a3b46198f0",
"_spec": "@babel/plugin-transform-shorthand-properties@^7.2.0",
"_where": "C:\\Work\\OneDrive - bwstaff\\M4_Lab\\TV3\\NewVersion01\\LAFJLBmf939XYm5gj\\dev\\node_modules\\@babel\\preset-env",
"bundleDependencies": false,
"dependencies": {
"@babel/helper-plugin-utils": "^7.0.0"
},
"deprecated": false,
"description": "Compile ES2015 shorthand properties to ES5",
"devDependencies": {
"@babel/core": "^7.2.0",
"@babel/helper-plugin-test-runner": "^7.0.0"
},
"keywords": [
"babel-plugin"
],
"license": "MIT",
"main": "lib/index.js",
"name": "@babel/plugin-transform-shorthand-properties",
"peerDependencies": {
"@babel/core": "^7.0.0-0"
},
"publishConfig": {
"access": "public"
},
"repository": {
"type": "git",
"url": "https://github.com/babel/babel/tree/master/packages/babel-plugin-transform-shorthand-properties"
},
"version": "7.2.0"
}
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.
# @babel/plugin-transform-spread
> Compile ES2015 spread to ES5
See our website [@babel/plugin-transform-spread](https://babeljs.io/docs/en/next/babel-plugin-transform-spread.html) for more information.
## Install
Using npm:
```sh
npm install --save-dev @babel/plugin-transform-spread
```
or using yarn:
```sh
yarn add @babel/plugin-transform-spread --dev
```
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
function _helperPluginUtils() {
const data = require("@babel/helper-plugin-utils");
_helperPluginUtils = function () {
return data;
};
return data;
}
function _core() {
const data = require("@babel/core");
_core = function () {
return data;
};
return data;
}
var _default = (0, _helperPluginUtils().declare)((api, options) => {
api.assertVersion(7);
const {
loose
} = options;
function getSpreadLiteral(spread, scope) {
if (loose && !_core().types.isIdentifier(spread.argument, {
name: "arguments"
})) {
return spread.argument;
} else {
return scope.toArray(spread.argument, true);
}
}
function hasSpread(nodes) {
for (let i = 0; i < nodes.length; i++) {
if (_core().types.isSpreadElement(nodes[i])) {
return true;
}
}
return false;
}
function push(_props, nodes) {
if (!_props.length) return _props;
nodes.push(_core().types.arrayExpression(_props));
return [];
}
function build(props, scope) {
const nodes = [];
let _props = [];
for (const prop of props) {
if (_core().types.isSpreadElement(prop)) {
_props = push(_props, nodes);
nodes.push(getSpreadLiteral(prop, scope));
} else {
_props.push(prop);
}
}
push(_props, nodes);
return nodes;
}
return {
name: "transform-spread",
visitor: {
ArrayExpression(path) {
const {
node,
scope
} = path;
const elements = node.elements;
if (!hasSpread(elements)) return;
const nodes = build(elements, scope);
let first = nodes[0];
if (nodes.length === 1 && first !== elements[0].argument) {
path.replaceWith(first);
return;
}
if (!_core().types.isArrayExpression(first)) {
first = _core().types.arrayExpression([]);
} else {
nodes.shift();
}
path.replaceWith(_core().types.callExpression(_core().types.memberExpression(first, _core().types.identifier("concat")), nodes));
},
CallExpression(path) {
const {
node,
scope
} = path;
const args = node.arguments;
if (!hasSpread(args)) return;
const calleePath = path.get("callee");
if (calleePath.isSuper()) return;
let contextLiteral = scope.buildUndefinedNode();
node.arguments = [];
let nodes;
if (args.length === 1 && args[0].argument.name === "arguments") {
nodes = [args[0].argument];
} else {
nodes = build(args, scope);
}
const first = nodes.shift();
if (nodes.length) {
node.arguments.push(_core().types.callExpression(_core().types.memberExpression(first, _core().types.identifier("concat")), nodes));
} else {
node.arguments.push(first);
}
const callee = node.callee;
if (calleePath.isMemberExpression()) {
const temp = scope.maybeGenerateMemoised(callee.object);
if (temp) {
callee.object = _core().types.assignmentExpression("=", temp, callee.object);
contextLiteral = temp;
} else {
contextLiteral = _core().types.cloneNode(callee.object);
}
_core().types.appendToMemberExpression(callee, _core().types.identifier("apply"));
} else {
node.callee = _core().types.memberExpression(node.callee, _core().types.identifier("apply"));
}
if (_core().types.isSuper(contextLiteral)) {
contextLiteral = _core().types.thisExpression();
}
node.arguments.unshift(_core().types.cloneNode(contextLiteral));
},
NewExpression(path) {
const {
node,
scope
} = path;
let args = node.arguments;
if (!hasSpread(args)) return;
const nodes = build(args, scope);
const first = nodes.shift();
if (nodes.length) {
args = _core().types.callExpression(_core().types.memberExpression(first, _core().types.identifier("concat")), nodes);
} else {
args = first;
}
path.replaceWith(_core().types.callExpression(path.hub.addHelper("construct"), [node.callee, args]));
}
}
};
});
exports.default = _default;
\ No newline at end of file
{
"_from": "@babel/plugin-transform-spread@^7.2.0",
"_id": "@babel/plugin-transform-spread@7.6.2",
"_inBundle": false,
"_integrity": "sha512-DpSvPFryKdK1x+EDJYCy28nmAaIMdxmhot62jAXF/o99iA33Zj2Lmcp3vDmz+MUh0LNYVPvfj5iC3feb3/+PFg==",
"_location": "/@babel/plugin-transform-spread",
"_phantomChildren": {},
"_requested": {
"type": "range",
"registry": true,
"raw": "@babel/plugin-transform-spread@^7.2.0",
"name": "@babel/plugin-transform-spread",
"escapedName": "@babel%2fplugin-transform-spread",
"scope": "@babel",
"rawSpec": "^7.2.0",
"saveSpec": null,
"fetchSpec": "^7.2.0"
},
"_requiredBy": [
"/@babel/preset-env"
],
"_resolved": "https://registry.npmjs.org/@babel/plugin-transform-spread/-/plugin-transform-spread-7.6.2.tgz",
"_shasum": "fc77cf798b24b10c46e1b51b1b88c2bf661bb8dd",
"_spec": "@babel/plugin-transform-spread@^7.2.0",
"_where": "C:\\Work\\OneDrive - bwstaff\\M4_Lab\\TV3\\NewVersion01\\LAFJLBmf939XYm5gj\\dev\\node_modules\\@babel\\preset-env",
"bundleDependencies": false,
"dependencies": {
"@babel/helper-plugin-utils": "^7.0.0"
},
"deprecated": false,
"description": "Compile ES2015 spread to ES5",
"devDependencies": {
"@babel/core": "^7.6.2",
"@babel/helper-plugin-test-runner": "^7.0.0"
},
"gitHead": "b9cb4af953afb1a5aeed9b18526192ab15bb45c1",
"keywords": [
"babel-plugin"
],
"license": "MIT",
"main": "lib/index.js",
"name": "@babel/plugin-transform-spread",
"peerDependencies": {
"@babel/core": "^7.0.0-0"
},
"publishConfig": {
"access": "public"
},
"repository": {
"type": "git",
"url": "https://github.com/babel/babel/tree/master/packages/babel-plugin-transform-spread"
},
"version": "7.6.2"
}
MIT License
Copyright (c) 2014-2018 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.
# @babel/plugin-transform-sticky-regex
> Compile ES2015 sticky regex to an ES5 RegExp constructor
See our website [@babel/plugin-transform-sticky-regex](https://babeljs.io/docs/en/next/babel-plugin-transform-sticky-regex.html) for more information.
## Install
Using npm:
```sh
npm install --save-dev @babel/plugin-transform-sticky-regex
```
or using yarn:
```sh
yarn add @babel/plugin-transform-sticky-regex --dev
```
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
function _helperPluginUtils() {
const data = require("@babel/helper-plugin-utils");
_helperPluginUtils = function () {
return data;
};
return data;
}
function regex() {
const data = _interopRequireWildcard(require("@babel/helper-regex"));
regex = function () {
return data;
};
return data;
}
function _core() {
const data = require("@babel/core");
_core = function () {
return data;
};
return data;
}
function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = Object.defineProperty && Object.getOwnPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : {}; if (desc.get || desc.set) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } } newObj.default = obj; return newObj; } }
var _default = (0, _helperPluginUtils().declare)(api => {
api.assertVersion(7);
return {
name: "transform-sticky-regex",
visitor: {
RegExpLiteral(path) {
const {
node
} = path;
if (!regex().is(node, "y")) return;
path.replaceWith(_core().types.newExpression(_core().types.identifier("RegExp"), [_core().types.stringLiteral(node.pattern), _core().types.stringLiteral(node.flags)]));
}
}
};
});
exports.default = _default;
\ No newline at end of file
{
"_from": "@babel/plugin-transform-sticky-regex@^7.2.0",
"_id": "@babel/plugin-transform-sticky-regex@7.2.0",
"_inBundle": false,
"_integrity": "sha512-KKYCoGaRAf+ckH8gEL3JHUaFVyNHKe3ASNsZ+AlktgHevvxGigoIttrEJb8iKN03Q7Eazlv1s6cx2B2cQ3Jabw==",
"_location": "/@babel/plugin-transform-sticky-regex",
"_phantomChildren": {},
"_requested": {
"type": "range",
"registry": true,
"raw": "@babel/plugin-transform-sticky-regex@^7.2.0",
"name": "@babel/plugin-transform-sticky-regex",
"escapedName": "@babel%2fplugin-transform-sticky-regex",
"scope": "@babel",
"rawSpec": "^7.2.0",
"saveSpec": null,
"fetchSpec": "^7.2.0"
},
"_requiredBy": [
"/@babel/preset-env"
],
"_resolved": "https://registry.npmjs.org/@babel/plugin-transform-sticky-regex/-/plugin-transform-sticky-regex-7.2.0.tgz",
"_shasum": "a1e454b5995560a9c1e0d537dfc15061fd2687e1",
"_spec": "@babel/plugin-transform-sticky-regex@^7.2.0",
"_where": "C:\\Work\\OneDrive - bwstaff\\M4_Lab\\TV3\\NewVersion01\\LAFJLBmf939XYm5gj\\dev\\node_modules\\@babel\\preset-env",
"bundleDependencies": false,
"dependencies": {
"@babel/helper-plugin-utils": "^7.0.0",
"@babel/helper-regex": "^7.0.0"
},
"deprecated": false,
"description": "Compile ES2015 sticky regex to an ES5 RegExp constructor",
"devDependencies": {
"@babel/core": "^7.2.0",
"@babel/helper-plugin-test-runner": "^7.0.0"
},
"keywords": [
"babel-plugin"
],
"license": "MIT",
"main": "lib/index.js",
"name": "@babel/plugin-transform-sticky-regex",
"peerDependencies": {
"@babel/core": "^7.0.0-0"
},
"publishConfig": {
"access": "public"
},
"repository": {
"type": "git",
"url": "https://github.com/babel/babel/tree/master/packages/babel-plugin-transform-sticky-regex"
},
"version": "7.2.0"
}
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.
# @babel/plugin-transform-template-literals
> Compile ES2015 template literals to ES5
See our website [@babel/plugin-transform-template-literals](https://babeljs.io/docs/en/next/babel-plugin-transform-template-literals.html) for more information.
## Install
Using npm:
```sh
npm install --save-dev @babel/plugin-transform-template-literals
```
or using yarn:
```sh
yarn add @babel/plugin-transform-template-literals --dev
```
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
function _helperPluginUtils() {
const data = require("@babel/helper-plugin-utils");
_helperPluginUtils = function () {
return data;
};
return data;
}
function _core() {
const data = require("@babel/core");
_core = function () {
return data;
};
return data;
}
var _default = (0, _helperPluginUtils().declare)((api, options) => {
api.assertVersion(7);
const {
loose
} = options;
let helperName = "taggedTemplateLiteral";
if (loose) helperName += "Loose";
function buildConcatCallExpressions(items) {
let avail = true;
return items.reduce(function (left, right) {
let canBeInserted = _core().types.isLiteral(right);
if (!canBeInserted && avail) {
canBeInserted = true;
avail = false;
}
if (canBeInserted && _core().types.isCallExpression(left)) {
left.arguments.push(right);
return left;
}
return _core().types.callExpression(_core().types.memberExpression(left, _core().types.identifier("concat")), [right]);
});
}
return {
name: "transform-template-literals",
visitor: {
TaggedTemplateExpression(path) {
const {
node
} = path;
const {
quasi
} = node;
const strings = [];
const raws = [];
let isStringsRawEqual = true;
for (const elem of quasi.quasis) {
const {
raw,
cooked
} = elem.value;
const value = cooked == null ? path.scope.buildUndefinedNode() : _core().types.stringLiteral(cooked);
strings.push(value);
raws.push(_core().types.stringLiteral(raw));
if (raw !== cooked) {
isStringsRawEqual = false;
}
}
const scope = path.scope.getProgramParent();
const templateObject = scope.generateUidIdentifier("templateObject");
const helperId = this.addHelper(helperName);
const callExpressionInput = [_core().types.arrayExpression(strings)];
if (!isStringsRawEqual) {
callExpressionInput.push(_core().types.arrayExpression(raws));
}
const lazyLoad = _core().template.ast`
function ${templateObject}() {
const data = ${_core().types.callExpression(helperId, callExpressionInput)};
${templateObject} = function() { return data };
return data;
}
`;
scope.path.unshiftContainer("body", lazyLoad);
path.replaceWith(_core().types.callExpression(node.tag, [_core().types.callExpression(_core().types.cloneNode(templateObject), []), ...quasi.expressions]));
},
TemplateLiteral(path) {
const nodes = [];
const expressions = path.get("expressions");
let index = 0;
for (const elem of path.node.quasis) {
if (elem.value.cooked) {
nodes.push(_core().types.stringLiteral(elem.value.cooked));
}
if (index < expressions.length) {
const expr = expressions[index++];
const node = expr.node;
if (!_core().types.isStringLiteral(node, {
value: ""
})) {
nodes.push(node);
}
}
}
const considerSecondNode = !loose || !_core().types.isStringLiteral(nodes[1]);
if (!_core().types.isStringLiteral(nodes[0]) && considerSecondNode) {
nodes.unshift(_core().types.stringLiteral(""));
}
let root = nodes[0];
if (loose) {
for (let i = 1; i < nodes.length; i++) {
root = _core().types.binaryExpression("+", root, nodes[i]);
}
} else if (nodes.length > 1) {
root = buildConcatCallExpressions(nodes);
}
path.replaceWith(root);
}
}
};
});
exports.default = _default;
\ No newline at end of file
{
"_from": "@babel/plugin-transform-template-literals@^7.2.0",
"_id": "@babel/plugin-transform-template-literals@7.4.4",
"_inBundle": false,
"_integrity": "sha512-mQrEC4TWkhLN0z8ygIvEL9ZEToPhG5K7KDW3pzGqOfIGZ28Jb0POUkeWcoz8HnHvhFy6dwAT1j8OzqN8s804+g==",
"_location": "/@babel/plugin-transform-template-literals",
"_phantomChildren": {},
"_requested": {
"type": "range",
"registry": true,
"raw": "@babel/plugin-transform-template-literals@^7.2.0",
"name": "@babel/plugin-transform-template-literals",
"escapedName": "@babel%2fplugin-transform-template-literals",
"scope": "@babel",
"rawSpec": "^7.2.0",
"saveSpec": null,
"fetchSpec": "^7.2.0"
},
"_requiredBy": [
"/@babel/preset-env"
],
"_resolved": "https://registry.npmjs.org/@babel/plugin-transform-template-literals/-/plugin-transform-template-literals-7.4.4.tgz",
"_shasum": "9d28fea7bbce637fb7612a0750989d8321d4bcb0",
"_spec": "@babel/plugin-transform-template-literals@^7.2.0",
"_where": "C:\\Work\\OneDrive - bwstaff\\M4_Lab\\TV3\\NewVersion01\\LAFJLBmf939XYm5gj\\dev\\node_modules\\@babel\\preset-env",
"bundleDependencies": false,
"dependencies": {
"@babel/helper-annotate-as-pure": "^7.0.0",
"@babel/helper-plugin-utils": "^7.0.0"
},
"deprecated": false,
"description": "Compile ES2015 template literals to ES5",
"devDependencies": {
"@babel/core": "^7.4.4",
"@babel/helper-plugin-test-runner": "^7.0.0"
},
"gitHead": "2c88694388831b1e5b88e4bbed6781eb2be1edba",
"keywords": [
"babel-plugin"
],
"license": "MIT",
"main": "lib/index.js",
"name": "@babel/plugin-transform-template-literals",
"peerDependencies": {
"@babel/core": "^7.0.0-0"
},
"publishConfig": {
"access": "public"
},
"repository": {
"type": "git",
"url": "https://github.com/babel/babel/tree/master/packages/babel-plugin-transform-template-literals"
},
"version": "7.4.4"
}
MIT License
Copyright (c) 2014-2018 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.
# @babel/plugin-transform-typeof-symbol
> This transformer wraps all typeof expressions with a method that replicates native behaviour. (ie. returning “symbol” for symbols)
See our website [@babel/plugin-transform-typeof-symbol](https://babeljs.io/docs/en/next/babel-plugin-transform-typeof-symbol.html) for more information.
## Install
Using npm:
```sh
npm install --save-dev @babel/plugin-transform-typeof-symbol
```
or using yarn:
```sh
yarn add @babel/plugin-transform-typeof-symbol --dev
```
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment