Compare commits
14 Commits
v7.0.0-rc.
...
v7.0.0-rc.
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
814c564c45 | ||
|
|
7a104e3e1d | ||
|
|
b98799557a | ||
|
|
1ac46a256d | ||
|
|
50d3c09883 | ||
|
|
508bfad55a | ||
|
|
130814342a | ||
|
|
e0ee0570be | ||
|
|
edbffda091 | ||
|
|
72ee1816a4 | ||
|
|
e875fc7bc1 | ||
|
|
524d847763 | ||
|
|
5899940156 | ||
|
|
595240f071 |
2
Makefile
2
Makefile
@@ -118,7 +118,7 @@ publish:
|
||||
make clone-license
|
||||
# not using lerna independent mode atm, so only update packages that have changed since we use ^
|
||||
# --only-explicit-updates
|
||||
./node_modules/.bin/lerna publish --force-publish=* --exact --skip-temp-tag
|
||||
./node_modules/.bin/lerna publish --force-publish=* --skip-temp-tag
|
||||
make clean
|
||||
|
||||
bootstrap: clean-all
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@babel/plugin-codemod-object-assign-to-object-spread",
|
||||
"version": "7.0.0-rc.3",
|
||||
"version": "7.0.0-rc.4",
|
||||
"description": "Transforms Object.assign into object spread syntax",
|
||||
"repository": "https://github.com/babel/babel/tree/master/codemods/babel-plugin-codemod-object-assign-to-object-spread",
|
||||
"license": "MIT",
|
||||
@@ -10,14 +10,14 @@
|
||||
"@babel/plugin"
|
||||
],
|
||||
"dependencies": {
|
||||
"@babel/plugin-syntax-object-rest-spread": "7.0.0-rc.3"
|
||||
"@babel/plugin-syntax-object-rest-spread": "^7.0.0-rc.4"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@babel/core": "^7.0.0-0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "7.0.0-rc.3",
|
||||
"@babel/helper-plugin-test-runner": "7.0.0-rc.3"
|
||||
"@babel/core": "^7.0.0-rc.4",
|
||||
"@babel/helper-plugin-test-runner": "^7.0.0-rc.4"
|
||||
},
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@babel/plugin-codemod-optional-catch-binding",
|
||||
"version": "7.0.0-rc.3",
|
||||
"version": "7.0.0-rc.4",
|
||||
"description": "Remove unused catch bindings",
|
||||
"repository": "https://github.com/babel/babel/tree/master/codemods/babel-plugin-codemod-remove-unused-catch-binding",
|
||||
"license": "MIT",
|
||||
@@ -10,13 +10,13 @@
|
||||
"@babel/plugin"
|
||||
],
|
||||
"dependencies": {
|
||||
"@babel/plugin-syntax-optional-catch-binding": "7.0.0-rc.3"
|
||||
"@babel/plugin-syntax-optional-catch-binding": "^7.0.0-rc.4"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@babel/core": "^7.0.0-0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "7.0.0-rc.3",
|
||||
"@babel/helper-plugin-test-runner": "7.0.0-rc.3"
|
||||
"@babel/core": "^7.0.0-rc.4",
|
||||
"@babel/helper-plugin-test-runner": "^7.0.0-rc.4"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"lerna": "2.11.0",
|
||||
"version": "7.0.0-rc.3",
|
||||
"version": "7.0.0-rc.4",
|
||||
"changelog": {
|
||||
"repo": "babel/babel",
|
||||
"cacheDir": ".changelog",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@babel/cli",
|
||||
"version": "7.0.0-rc.3",
|
||||
"version": "7.0.0-rc.4",
|
||||
"description": "Babel command line.",
|
||||
"author": "Sebastian McKenzie <sebmck@gmail.com>",
|
||||
"homepage": "https://babeljs.io/",
|
||||
@@ -33,8 +33,8 @@
|
||||
"@babel/core": "^7.0.0-0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "7.0.0-rc.3",
|
||||
"@babel/helper-fixtures": "7.0.0-rc.3"
|
||||
"@babel/core": "^7.0.0-rc.4",
|
||||
"@babel/helper-fixtures": "^7.0.0-rc.4"
|
||||
},
|
||||
"bin": {
|
||||
"babel": "./bin/babel.js",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@babel/code-frame",
|
||||
"version": "7.0.0-rc.3",
|
||||
"version": "7.0.0-rc.4",
|
||||
"description": "Generate errors that contain a code frame that point to source locations.",
|
||||
"author": "Sebastian McKenzie <sebmck@gmail.com>",
|
||||
"homepage": "https://babeljs.io/",
|
||||
@@ -8,7 +8,7 @@
|
||||
"repository": "https://github.com/babel/babel/tree/master/packages/babel-code-frame",
|
||||
"main": "lib/index.js",
|
||||
"dependencies": {
|
||||
"@babel/highlight": "7.0.0-rc.3"
|
||||
"@babel/highlight": "^7.0.0-rc.4"
|
||||
},
|
||||
"devDependencies": {
|
||||
"chalk": "^2.0.0",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@babel/core",
|
||||
"version": "7.0.0-rc.3",
|
||||
"version": "7.0.0-rc.4",
|
||||
"description": "Babel compiler core.",
|
||||
"main": "lib/index.js",
|
||||
"author": "Sebastian McKenzie <sebmck@gmail.com>",
|
||||
@@ -30,13 +30,13 @@
|
||||
"./lib/transform-file.js": "./lib/transform-file-browser.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@babel/code-frame": "7.0.0-rc.3",
|
||||
"@babel/generator": "7.0.0-rc.3",
|
||||
"@babel/helpers": "7.0.0-rc.3",
|
||||
"@babel/parser": "7.0.0-rc.3",
|
||||
"@babel/template": "7.0.0-rc.3",
|
||||
"@babel/traverse": "7.0.0-rc.3",
|
||||
"@babel/types": "7.0.0-rc.3",
|
||||
"@babel/code-frame": "^7.0.0-rc.4",
|
||||
"@babel/generator": "^7.0.0-rc.4",
|
||||
"@babel/helpers": "^7.0.0-rc.4",
|
||||
"@babel/parser": "^7.0.0-rc.4",
|
||||
"@babel/template": "^7.0.0-rc.4",
|
||||
"@babel/traverse": "^7.0.0-rc.4",
|
||||
"@babel/types": "^7.0.0-rc.4",
|
||||
"convert-source-map": "^1.1.0",
|
||||
"debug": "^3.1.0",
|
||||
"json5": "^0.5.0",
|
||||
@@ -46,7 +46,7 @@
|
||||
"source-map": "^0.5.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/helper-transform-fixture-test-runner": "7.0.0-rc.3",
|
||||
"@babel/register": "7.0.0-rc.3"
|
||||
"@babel/helper-transform-fixture-test-runner": "^7.0.0-rc.4",
|
||||
"@babel/register": "^7.0.0-rc.4"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -365,7 +365,7 @@ function throwUnknownError(loc: OptionPath) {
|
||||
// eslint-disable-next-line max-len
|
||||
const unknownOptErr = `Unknown option: ${msg(
|
||||
loc,
|
||||
)}. Check out http://babeljs.io/docs/usage/options/ for more information about options.`;
|
||||
)}. Check out https://babeljs.io/docs/en/babel-core/#options for more information about options.`;
|
||||
|
||||
throw new ReferenceError(unknownOptErr);
|
||||
}
|
||||
|
||||
@@ -91,14 +91,18 @@ export default function normalizeFile(
|
||||
});
|
||||
}
|
||||
|
||||
function parser(pluginPasses, options, code) {
|
||||
function parser(
|
||||
pluginPasses: PluginPasses,
|
||||
{ parserOpts, highlightCode = true, filename = "unknown" }: Object,
|
||||
code: string,
|
||||
) {
|
||||
try {
|
||||
const results = [];
|
||||
for (const plugins of pluginPasses) {
|
||||
for (const plugin of plugins) {
|
||||
const { parserOverride } = plugin;
|
||||
if (parserOverride) {
|
||||
const ast = parserOverride(code, options.parserOpts, parse);
|
||||
const ast = parserOverride(code, parserOpts, parse);
|
||||
|
||||
if (ast !== undefined) results.push(ast);
|
||||
}
|
||||
@@ -106,7 +110,7 @@ function parser(pluginPasses, options, code) {
|
||||
}
|
||||
|
||||
if (results.length === 0) {
|
||||
return parse(code, options.parserOpts);
|
||||
return parse(code, parserOpts);
|
||||
} else if (results.length === 1) {
|
||||
if (typeof results[0].then === "function") {
|
||||
throw new Error(
|
||||
@@ -136,15 +140,16 @@ function parser(pluginPasses, options, code) {
|
||||
column: loc.column + 1,
|
||||
},
|
||||
},
|
||||
options,
|
||||
{
|
||||
highlightCode,
|
||||
},
|
||||
);
|
||||
if (missingPlugin) {
|
||||
err.message =
|
||||
`${options.filename || "unknown"}: ` +
|
||||
`${filename}: ` +
|
||||
generateMissingPluginMessage(missingPlugin[0], loc, codeFrame);
|
||||
} else {
|
||||
err.message =
|
||||
`${options.filename || "unknown"}: ${err.message}\n\n` + codeFrame;
|
||||
err.message = `${filename}: ${err.message}\n\n` + codeFrame;
|
||||
}
|
||||
err.code = "BABEL_PARSE_ERROR";
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@babel/generator",
|
||||
"version": "7.0.0-rc.3",
|
||||
"version": "7.0.0-rc.4",
|
||||
"description": "Turns an AST into code.",
|
||||
"author": "Sebastian McKenzie <sebmck@gmail.com>",
|
||||
"homepage": "https://babeljs.io/",
|
||||
@@ -11,14 +11,14 @@
|
||||
"lib"
|
||||
],
|
||||
"dependencies": {
|
||||
"@babel/types": "7.0.0-rc.3",
|
||||
"@babel/types": "^7.0.0-rc.4",
|
||||
"jsesc": "^2.5.1",
|
||||
"lodash": "^4.17.10",
|
||||
"source-map": "^0.5.0",
|
||||
"trim-right": "^1.0.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/helper-fixtures": "7.0.0-rc.3",
|
||||
"@babel/parser": "7.0.0-rc.3"
|
||||
"@babel/helper-fixtures": "^7.0.0-rc.4",
|
||||
"@babel/parser": "^7.0.0-rc.4"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
{
|
||||
"name": "@babel/helper-annotate-as-pure",
|
||||
"version": "7.0.0-rc.3",
|
||||
"version": "7.0.0-rc.4",
|
||||
"description": "Helper function to annotate paths and nodes with #__PURE__ comment",
|
||||
"repository": "https://github.com/babel/babel/tree/master/packages/babel-helper-annotate-as-pure",
|
||||
"license": "MIT",
|
||||
"main": "lib/index.js",
|
||||
"dependencies": {
|
||||
"@babel/types": "7.0.0-rc.3"
|
||||
"@babel/types": "^7.0.0-rc.4"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "@babel/helper-bindify-decorators",
|
||||
"version": "7.0.0-rc.3",
|
||||
"version": "7.0.0-rc.4",
|
||||
"description": "Helper function to bindify decorators",
|
||||
"repository": "https://github.com/babel/babel/tree/master/packages/babel-helper-bindify-decorators",
|
||||
"license": "MIT",
|
||||
"main": "lib/index.js",
|
||||
"dependencies": {
|
||||
"@babel/traverse": "7.0.0-rc.3",
|
||||
"@babel/types": "7.0.0-rc.3"
|
||||
"@babel/traverse": "^7.0.0-rc.4",
|
||||
"@babel/types": "^7.0.0-rc.4"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "@babel/helper-builder-binary-assignment-operator-visitor",
|
||||
"version": "7.0.0-rc.3",
|
||||
"version": "7.0.0-rc.4",
|
||||
"description": "Helper function to build binary assignment operator visitors",
|
||||
"repository": "https://github.com/babel/babel/tree/master/packages/babel-helper-builder-binary-assignment-operator-visitor",
|
||||
"license": "MIT",
|
||||
"main": "lib/index.js",
|
||||
"dependencies": {
|
||||
"@babel/helper-explode-assignable-expression": "7.0.0-rc.3",
|
||||
"@babel/types": "7.0.0-rc.3"
|
||||
"@babel/helper-explode-assignable-expression": "^7.0.0-rc.4",
|
||||
"@babel/types": "^7.0.0-rc.4"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "@babel/helper-builder-react-jsx",
|
||||
"version": "7.0.0-rc.3",
|
||||
"version": "7.0.0-rc.4",
|
||||
"description": "Helper function to build react jsx",
|
||||
"repository": "https://github.com/babel/babel/tree/master/packages/babel-helper-builder-react-jsx",
|
||||
"license": "MIT",
|
||||
"main": "lib/index.js",
|
||||
"dependencies": {
|
||||
"@babel/types": "7.0.0-rc.3",
|
||||
"@babel/types": "^7.0.0-rc.4",
|
||||
"esutils": "^2.0.0"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
{
|
||||
"name": "@babel/helper-call-delegate",
|
||||
"version": "7.0.0-rc.3",
|
||||
"version": "7.0.0-rc.4",
|
||||
"description": "Helper function to call delegate",
|
||||
"repository": "https://github.com/babel/babel/tree/master/packages/babel-helper-call-delegate",
|
||||
"license": "MIT",
|
||||
"main": "lib/index.js",
|
||||
"dependencies": {
|
||||
"@babel/helper-hoist-variables": "7.0.0-rc.3",
|
||||
"@babel/traverse": "7.0.0-rc.3",
|
||||
"@babel/types": "7.0.0-rc.3"
|
||||
"@babel/helper-hoist-variables": "^7.0.0-rc.4",
|
||||
"@babel/traverse": "^7.0.0-rc.4",
|
||||
"@babel/types": "^7.0.0-rc.4"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
{
|
||||
"name": "@babel/helper-define-map",
|
||||
"version": "7.0.0-rc.3",
|
||||
"version": "7.0.0-rc.4",
|
||||
"description": "Helper function to define a map",
|
||||
"repository": "https://github.com/babel/babel/tree/master/packages/babel-helper-define-map",
|
||||
"license": "MIT",
|
||||
"main": "lib/index.js",
|
||||
"dependencies": {
|
||||
"@babel/helper-function-name": "7.0.0-rc.3",
|
||||
"@babel/types": "7.0.0-rc.3",
|
||||
"@babel/helper-function-name": "^7.0.0-rc.4",
|
||||
"@babel/types": "^7.0.0-rc.4",
|
||||
"lodash": "^4.17.10"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "@babel/helper-explode-assignable-expression",
|
||||
"version": "7.0.0-rc.3",
|
||||
"version": "7.0.0-rc.4",
|
||||
"description": "Helper function to explode an assignable expression",
|
||||
"repository": "https://github.com/babel/babel/tree/master/packages/babel-helper-explode-assignable-expression",
|
||||
"license": "MIT",
|
||||
"main": "lib/index.js",
|
||||
"dependencies": {
|
||||
"@babel/traverse": "7.0.0-rc.3",
|
||||
"@babel/types": "7.0.0-rc.3"
|
||||
"@babel/traverse": "^7.0.0-rc.4",
|
||||
"@babel/types": "^7.0.0-rc.4"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
{
|
||||
"name": "@babel/helper-explode-class",
|
||||
"version": "7.0.0-rc.3",
|
||||
"version": "7.0.0-rc.4",
|
||||
"description": "Helper function to explode class",
|
||||
"repository": "https://github.com/babel/babel/tree/master/packages/babel-helper-explode-class",
|
||||
"license": "MIT",
|
||||
"main": "lib/index.js",
|
||||
"dependencies": {
|
||||
"@babel/helper-bindify-decorators": "7.0.0-rc.3",
|
||||
"@babel/traverse": "7.0.0-rc.3",
|
||||
"@babel/types": "7.0.0-rc.3"
|
||||
"@babel/helper-bindify-decorators": "^7.0.0-rc.4",
|
||||
"@babel/traverse": "^7.0.0-rc.4",
|
||||
"@babel/types": "^7.0.0-rc.4"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@babel/helper-fixtures",
|
||||
"version": "7.0.0-rc.3",
|
||||
"version": "7.0.0-rc.4",
|
||||
"description": "Helper function to support fixtures",
|
||||
"author": "Sebastian McKenzie <sebmck@gmail.com>",
|
||||
"license": "MIT",
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
{
|
||||
"name": "@babel/helper-function-name",
|
||||
"version": "7.0.0-rc.3",
|
||||
"version": "7.0.0-rc.4",
|
||||
"description": "Helper function to change the property 'name' of every function",
|
||||
"repository": "https://github.com/babel/babel/tree/master/packages/babel-helper-function-name",
|
||||
"license": "MIT",
|
||||
"main": "lib/index.js",
|
||||
"dependencies": {
|
||||
"@babel/helper-get-function-arity": "7.0.0-rc.3",
|
||||
"@babel/template": "7.0.0-rc.3",
|
||||
"@babel/types": "7.0.0-rc.3"
|
||||
"@babel/helper-get-function-arity": "^7.0.0-rc.4",
|
||||
"@babel/template": "^7.0.0-rc.4",
|
||||
"@babel/types": "^7.0.0-rc.4"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
{
|
||||
"name": "@babel/helper-get-function-arity",
|
||||
"version": "7.0.0-rc.3",
|
||||
"version": "7.0.0-rc.4",
|
||||
"description": "Helper function to get function arity",
|
||||
"repository": "https://github.com/babel/babel/tree/master/packages/babel-helper-get-function-arity",
|
||||
"license": "MIT",
|
||||
"main": "lib/index.js",
|
||||
"dependencies": {
|
||||
"@babel/types": "7.0.0-rc.3"
|
||||
"@babel/types": "^7.0.0-rc.4"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
{
|
||||
"name": "@babel/helper-hoist-variables",
|
||||
"version": "7.0.0-rc.3",
|
||||
"version": "7.0.0-rc.4",
|
||||
"description": "Helper function to hoist variables",
|
||||
"repository": "https://github.com/babel/babel/tree/master/packages/babel-helper-hoist-variables",
|
||||
"license": "MIT",
|
||||
"main": "lib/index.js",
|
||||
"dependencies": {
|
||||
"@babel/types": "7.0.0-rc.3"
|
||||
"@babel/types": "^7.0.0-rc.4"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "@babel/helper-member-expression-to-functions",
|
||||
"version": "7.0.0-rc.3",
|
||||
"version": "7.0.0-rc.4",
|
||||
"description": "Helper function to replace certain member expressions with function calls",
|
||||
"repository": "https://github.com/babel/babel/tree/master/packages/babel-helper-member-expression-to-functions",
|
||||
"license": "MIT",
|
||||
"main": "lib/index.js",
|
||||
"author": "Justin Ridgewell <justin@ridgewell.name>",
|
||||
"dependencies": {
|
||||
"@babel/types": "7.0.0-rc.3"
|
||||
"@babel/types": "^7.0.0-rc.4"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@babel/helper-module-imports",
|
||||
"version": "7.0.0-rc.3",
|
||||
"version": "7.0.0-rc.4",
|
||||
"description": "Babel helper functions for inserting module loads",
|
||||
"author": "Logan Smyth <loganfsmyth@gmail.com>",
|
||||
"homepage": "https://babeljs.io/",
|
||||
@@ -8,9 +8,9 @@
|
||||
"repository": "https://github.com/babel/babel/tree/master/packages/babel-helper-module-imports",
|
||||
"main": "lib/index.js",
|
||||
"dependencies": {
|
||||
"@babel/types": "7.0.0-rc.3"
|
||||
"@babel/types": "^7.0.0-rc.4"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "7.0.0-rc.3"
|
||||
"@babel/core": "^7.0.0-rc.4"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@babel/helper-module-transforms",
|
||||
"version": "7.0.0-rc.3",
|
||||
"version": "7.0.0-rc.4",
|
||||
"description": "Babel helper functions for implementing ES6 module transformations",
|
||||
"author": "Logan Smyth <loganfsmyth@gmail.com>",
|
||||
"homepage": "https://babeljs.io/",
|
||||
@@ -8,11 +8,11 @@
|
||||
"repository": "https://github.com/babel/babel/tree/master/packages/babel-helper-module-transforms",
|
||||
"main": "lib/index.js",
|
||||
"dependencies": {
|
||||
"@babel/helper-module-imports": "7.0.0-rc.3",
|
||||
"@babel/helper-simple-access": "7.0.0-rc.3",
|
||||
"@babel/helper-split-export-declaration": "7.0.0-rc.3",
|
||||
"@babel/template": "7.0.0-rc.3",
|
||||
"@babel/types": "7.0.0-rc.3",
|
||||
"@babel/helper-module-imports": "^7.0.0-rc.4",
|
||||
"@babel/helper-simple-access": "^7.0.0-rc.4",
|
||||
"@babel/helper-split-export-declaration": "^7.0.0-rc.4",
|
||||
"@babel/template": "^7.0.0-rc.4",
|
||||
"@babel/types": "^7.0.0-rc.4",
|
||||
"lodash": "^4.17.10"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
{
|
||||
"name": "@babel/helper-optimise-call-expression",
|
||||
"version": "7.0.0-rc.3",
|
||||
"version": "7.0.0-rc.4",
|
||||
"description": "Helper function to optimise call expression",
|
||||
"repository": "https://github.com/babel/babel/tree/master/packages/babel-helper-optimise-call-expression",
|
||||
"license": "MIT",
|
||||
"main": "lib/index.js",
|
||||
"dependencies": {
|
||||
"@babel/types": "7.0.0-rc.3"
|
||||
"@babel/types": "^7.0.0-rc.4"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
{
|
||||
"name": "@babel/helper-plugin-test-runner",
|
||||
"version": "7.0.0-rc.3",
|
||||
"version": "7.0.0-rc.4",
|
||||
"description": "Helper function to support test runner",
|
||||
"repository": "https://github.com/babel/babel/tree/master/packages/babel-helper-plugin-test-runner",
|
||||
"license": "MIT",
|
||||
"main": "lib/index.js",
|
||||
"dependencies": {
|
||||
"@babel/helper-transform-fixture-test-runner": "7.0.0-rc.3"
|
||||
"@babel/helper-transform-fixture-test-runner": "^7.0.0-rc.4"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@babel/helper-plugin-utils",
|
||||
"version": "7.0.0-rc.3",
|
||||
"version": "7.0.0-rc.4",
|
||||
"description": "General utilities for plugins to use",
|
||||
"author": "Logan Smyth <loganfsmyth@gmail.com>",
|
||||
"homepage": "https://babeljs.io/",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@babel/helper-regex",
|
||||
"version": "7.0.0-rc.3",
|
||||
"version": "7.0.0-rc.4",
|
||||
"description": "Helper function to check for literal RegEx",
|
||||
"repository": "https://github.com/babel/babel/tree/master/packages/babel-helper-regex",
|
||||
"license": "MIT",
|
||||
|
||||
@@ -1,15 +1,15 @@
|
||||
{
|
||||
"name": "@babel/helper-remap-async-to-generator",
|
||||
"version": "7.0.0-rc.3",
|
||||
"version": "7.0.0-rc.4",
|
||||
"description": "Helper function to remap async functions to generators",
|
||||
"repository": "https://github.com/babel/babel/tree/master/packages/babel-helper-remap-async-to-generator",
|
||||
"license": "MIT",
|
||||
"main": "lib/index.js",
|
||||
"dependencies": {
|
||||
"@babel/helper-annotate-as-pure": "7.0.0-rc.3",
|
||||
"@babel/helper-wrap-function": "7.0.0-rc.3",
|
||||
"@babel/template": "7.0.0-rc.3",
|
||||
"@babel/traverse": "7.0.0-rc.3",
|
||||
"@babel/types": "7.0.0-rc.3"
|
||||
"@babel/helper-annotate-as-pure": "^7.0.0-rc.4",
|
||||
"@babel/helper-wrap-function": "^7.0.0-rc.4",
|
||||
"@babel/template": "^7.0.0-rc.4",
|
||||
"@babel/traverse": "^7.0.0-rc.4",
|
||||
"@babel/types": "^7.0.0-rc.4"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
{
|
||||
"name": "@babel/helper-replace-supers",
|
||||
"version": "7.0.0-rc.3",
|
||||
"version": "7.0.0-rc.4",
|
||||
"description": "Helper function to replace supers",
|
||||
"repository": "https://github.com/babel/babel/tree/master/packages/babel-helper-replace-supers",
|
||||
"license": "MIT",
|
||||
"main": "lib/index.js",
|
||||
"dependencies": {
|
||||
"@babel/helper-member-expression-to-functions": "7.0.0-rc.3",
|
||||
"@babel/helper-optimise-call-expression": "7.0.0-rc.3",
|
||||
"@babel/traverse": "7.0.0-rc.3",
|
||||
"@babel/types": "7.0.0-rc.3"
|
||||
"@babel/helper-member-expression-to-functions": "^7.0.0-rc.4",
|
||||
"@babel/helper-optimise-call-expression": "^7.0.0-rc.4",
|
||||
"@babel/traverse": "^7.0.0-rc.4",
|
||||
"@babel/types": "^7.0.0-rc.4"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@babel/helper-simple-access",
|
||||
"version": "7.0.0-rc.3",
|
||||
"version": "7.0.0-rc.4",
|
||||
"description": "Babel helper for ensuring that access to a given value is performed through simple accesses",
|
||||
"author": "Logan Smyth <loganfsmyth@gmail.com>",
|
||||
"homepage": "https://babeljs.io/",
|
||||
@@ -8,7 +8,7 @@
|
||||
"repository": "https://github.com/babel/babel/tree/master/packages/babel-helper-simple-access",
|
||||
"main": "lib/index.js",
|
||||
"dependencies": {
|
||||
"@babel/template": "7.0.0-rc.3",
|
||||
"@babel/types": "7.0.0-rc.3"
|
||||
"@babel/template": "^7.0.0-rc.4",
|
||||
"@babel/types": "^7.0.0-rc.4"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
{
|
||||
"name": "@babel/helper-split-export-declaration",
|
||||
"version": "7.0.0-rc.3",
|
||||
"version": "7.0.0-rc.4",
|
||||
"description": "",
|
||||
"repository": "https://github.com/babel/babel/tree/master/packages/babel-helper-split-export-declaration",
|
||||
"license": "MIT",
|
||||
"main": "lib/index.js",
|
||||
"dependencies": {
|
||||
"@babel/types": "7.0.0-rc.3"
|
||||
"@babel/types": "^7.0.0-rc.4"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@babel/helper-transform-fixture-test-runner",
|
||||
"version": "7.0.0-rc.3",
|
||||
"version": "7.0.0-rc.4",
|
||||
"description": "Transform test runner for @babel/helper-fixtures module",
|
||||
"author": "Sebastian McKenzie <sebmck@gmail.com>",
|
||||
"homepage": "https://babeljs.io/",
|
||||
@@ -8,10 +8,10 @@
|
||||
"repository": "https://github.com/babel/babel/tree/master/packages/babel-helper-transform-fixture-test-runner",
|
||||
"main": "lib/index.js",
|
||||
"dependencies": {
|
||||
"@babel/code-frame": "7.0.0-rc.3",
|
||||
"@babel/core": "7.0.0-rc.3",
|
||||
"@babel/helper-fixtures": "7.0.0-rc.3",
|
||||
"@babel/polyfill": "7.0.0-rc.3",
|
||||
"@babel/code-frame": "^7.0.0-rc.4",
|
||||
"@babel/core": "^7.0.0-rc.4",
|
||||
"@babel/helper-fixtures": "^7.0.0-rc.4",
|
||||
"@babel/polyfill": "^7.0.0-rc.4",
|
||||
"jest": "^22.4.2",
|
||||
"jest-diff": "^22.4.0",
|
||||
"lodash": "^4.17.10",
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
{
|
||||
"name": "@babel/helper-wrap-function",
|
||||
"version": "7.0.0-rc.3",
|
||||
"version": "7.0.0-rc.4",
|
||||
"description": "Helper to wrap functions inside a function call.",
|
||||
"repository": "https://github.com/babel/babel/tree/master/packages/babel-helper-wrap-function",
|
||||
"license": "MIT",
|
||||
"main": "lib/index.js",
|
||||
"dependencies": {
|
||||
"@babel/helper-function-name": "7.0.0-rc.3",
|
||||
"@babel/template": "7.0.0-rc.3",
|
||||
"@babel/traverse": "7.0.0-rc.3",
|
||||
"@babel/types": "7.0.0-rc.3"
|
||||
"@babel/helper-function-name": "^7.0.0-rc.4",
|
||||
"@babel/template": "^7.0.0-rc.4",
|
||||
"@babel/traverse": "^7.0.0-rc.4",
|
||||
"@babel/types": "^7.0.0-rc.4"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@babel/helpers",
|
||||
"version": "7.0.0-rc.3",
|
||||
"version": "7.0.0-rc.4",
|
||||
"description": "Collection of helper functions used by Babel transforms.",
|
||||
"author": "Sebastian McKenzie <sebmck@gmail.com>",
|
||||
"homepage": "https://babeljs.io/",
|
||||
@@ -8,11 +8,11 @@
|
||||
"repository": "https://github.com/babel/babel/tree/master/packages/babel-helpers",
|
||||
"main": "lib/index.js",
|
||||
"dependencies": {
|
||||
"@babel/template": "7.0.0-rc.3",
|
||||
"@babel/traverse": "7.0.0-rc.3",
|
||||
"@babel/types": "7.0.0-rc.3"
|
||||
"@babel/template": "^7.0.0-rc.4",
|
||||
"@babel/traverse": "^7.0.0-rc.4",
|
||||
"@babel/types": "^7.0.0-rc.4"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/helper-plugin-test-runner": "7.0.0-rc.3"
|
||||
"@babel/helper-plugin-test-runner": "^7.0.0-rc.4"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@babel/highlight",
|
||||
"version": "7.0.0-rc.3",
|
||||
"version": "7.0.0-rc.4",
|
||||
"description": "Syntax highlight JavaScript strings for output in terminals.",
|
||||
"author": "suchipi <me@suchipi.com>",
|
||||
"homepage": "https://babeljs.io/",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@babel/node",
|
||||
"version": "7.0.0-rc.3",
|
||||
"version": "7.0.0-rc.4",
|
||||
"description": "Babel command line",
|
||||
"author": "Sebastian McKenzie <sebmck@gmail.com>",
|
||||
"homepage": "https://babeljs.io/",
|
||||
@@ -16,8 +16,8 @@
|
||||
"compiler"
|
||||
],
|
||||
"dependencies": {
|
||||
"@babel/polyfill": "7.0.0-rc.3",
|
||||
"@babel/register": "7.0.0-rc.3",
|
||||
"@babel/polyfill": "^7.0.0-rc.4",
|
||||
"@babel/register": "^7.0.0-rc.4",
|
||||
"commander": "^2.8.1",
|
||||
"fs-readdir-recursive": "^1.0.0",
|
||||
"lodash": "^4.17.10",
|
||||
@@ -28,8 +28,8 @@
|
||||
"@babel/core": "^7.0.0-0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "7.0.0-rc.3",
|
||||
"@babel/helper-fixtures": "7.0.0-rc.3"
|
||||
"@babel/core": "^7.0.0-rc.4",
|
||||
"@babel/helper-fixtures": "^7.0.0-rc.4"
|
||||
},
|
||||
"bin": {
|
||||
"babel-node": "./bin/babel-node.js"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@babel/parser",
|
||||
"version": "7.0.0-rc.3",
|
||||
"version": "7.0.0-rc.4",
|
||||
"description": "A JavaScript parser",
|
||||
"author": "Sebastian McKenzie <sebmck@gmail.com>",
|
||||
"homepage": "https://babeljs.io/",
|
||||
@@ -23,7 +23,7 @@
|
||||
"node": ">=6.0.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/helper-fixtures": "7.0.0-rc.3",
|
||||
"@babel/helper-fixtures": "^7.0.0-rc.4",
|
||||
"charcodes": "0.1.0",
|
||||
"unicode-11.0.0": "^0.7.7"
|
||||
},
|
||||
|
||||
@@ -16,7 +16,7 @@ import {
|
||||
lineBreak,
|
||||
lineBreakG,
|
||||
isNewLine,
|
||||
nonASCIIwhitespace,
|
||||
isWhitespace,
|
||||
} from "../util/whitespace";
|
||||
import State from "./state";
|
||||
|
||||
@@ -110,18 +110,6 @@ export class Token {
|
||||
|
||||
// ## Tokenizer
|
||||
|
||||
function codePointToString(code: number): string {
|
||||
// UTF-16 Decoding
|
||||
if (code <= 0xffff) {
|
||||
return String.fromCharCode(code);
|
||||
} else {
|
||||
return String.fromCharCode(
|
||||
((code - 0x10000) >> 10) + 0xd800,
|
||||
((code - 0x10000) & 1023) + 0xdc00,
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
export default class Tokenizer extends LocationParser {
|
||||
// Forward-declarations
|
||||
// parser/util.js
|
||||
@@ -226,7 +214,7 @@ export default class Tokenizer extends LocationParser {
|
||||
if (curContext.override) {
|
||||
curContext.override(this);
|
||||
} else {
|
||||
this.readToken(this.fullCharCodeAtPos());
|
||||
this.readToken(this.input.codePointAt(this.state.pos));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -240,14 +228,6 @@ export default class Tokenizer extends LocationParser {
|
||||
}
|
||||
}
|
||||
|
||||
fullCharCodeAtPos(): number {
|
||||
const code = this.input.charCodeAt(this.state.pos);
|
||||
if (code <= 0xd7ff || code >= 0xe000) return code;
|
||||
|
||||
const next = this.input.charCodeAt(this.state.pos + 1);
|
||||
return (code << 10) + next - 0x35fdc00;
|
||||
}
|
||||
|
||||
pushComment(
|
||||
block: boolean,
|
||||
text: string,
|
||||
@@ -331,11 +311,6 @@ export default class Tokenizer extends LocationParser {
|
||||
loop: while (this.state.pos < this.input.length) {
|
||||
const ch = this.input.charCodeAt(this.state.pos);
|
||||
switch (ch) {
|
||||
case charCodes.space:
|
||||
case charCodes.nonBreakingSpace:
|
||||
++this.state.pos;
|
||||
break;
|
||||
|
||||
case charCodes.carriageReturn:
|
||||
if (
|
||||
this.input.charCodeAt(this.state.pos + 1) === charCodes.lineFeed
|
||||
@@ -367,11 +342,7 @@ export default class Tokenizer extends LocationParser {
|
||||
break;
|
||||
|
||||
default:
|
||||
if (
|
||||
(ch > charCodes.backSpace && ch < charCodes.shiftOut) ||
|
||||
(ch >= charCodes.oghamSpaceMark &&
|
||||
nonASCIIwhitespace.test(String.fromCharCode(ch)))
|
||||
) {
|
||||
if (isWhitespace(ch)) {
|
||||
++this.state.pos;
|
||||
} else {
|
||||
break loop;
|
||||
@@ -667,7 +638,7 @@ export default class Tokenizer extends LocationParser {
|
||||
} else {
|
||||
this.raise(
|
||||
this.state.pos,
|
||||
`Unexpected character '${codePointToString(code)}'`,
|
||||
`Unexpected character '${String.fromCodePoint(code)}'`,
|
||||
);
|
||||
}
|
||||
|
||||
@@ -829,7 +800,7 @@ export default class Tokenizer extends LocationParser {
|
||||
|
||||
this.raise(
|
||||
this.state.pos,
|
||||
`Unexpected character '${codePointToString(code)}'`,
|
||||
`Unexpected character '${String.fromCodePoint(code)}'`,
|
||||
);
|
||||
}
|
||||
|
||||
@@ -871,7 +842,7 @@ export default class Tokenizer extends LocationParser {
|
||||
|
||||
while (this.state.pos < this.input.length) {
|
||||
const char = this.input[this.state.pos];
|
||||
const charCode = this.fullCharCodeAtPos();
|
||||
const charCode = this.input.codePointAt(this.state.pos);
|
||||
|
||||
if (VALID_REGEX_FLAGS.indexOf(char) > -1) {
|
||||
if (mods.indexOf(char) > -1) {
|
||||
@@ -983,7 +954,7 @@ export default class Tokenizer extends LocationParser {
|
||||
}
|
||||
}
|
||||
|
||||
if (isIdentifierStart(this.fullCharCodeAtPos())) {
|
||||
if (isIdentifierStart(this.input.codePointAt(this.state.pos))) {
|
||||
this.raise(this.state.pos, "Identifier directly after number");
|
||||
}
|
||||
|
||||
@@ -1039,7 +1010,7 @@ export default class Tokenizer extends LocationParser {
|
||||
}
|
||||
}
|
||||
|
||||
if (isIdentifierStart(this.fullCharCodeAtPos())) {
|
||||
if (isIdentifierStart(this.input.codePointAt(this.state.pos))) {
|
||||
this.raise(this.state.pos, "Identifier directly after number");
|
||||
}
|
||||
|
||||
@@ -1208,7 +1179,7 @@ export default class Tokenizer extends LocationParser {
|
||||
}
|
||||
case charCodes.lowercaseU: {
|
||||
const code = this.readCodePoint(throwOnInvalid);
|
||||
return code === null ? null : codePointToString(code);
|
||||
return code === null ? null : String.fromCodePoint(code);
|
||||
}
|
||||
case charCodes.lowercaseT:
|
||||
return "\t";
|
||||
@@ -1286,7 +1257,7 @@ export default class Tokenizer extends LocationParser {
|
||||
first = true,
|
||||
chunkStart = this.state.pos;
|
||||
while (this.state.pos < this.input.length) {
|
||||
const ch = this.fullCharCodeAtPos();
|
||||
const ch = this.input.codePointAt(this.state.pos);
|
||||
if (isIdentifierChar(ch)) {
|
||||
this.state.pos += ch <= 0xffff ? 1 : 2;
|
||||
} else if (this.state.isIterator && ch === charCodes.atSign) {
|
||||
@@ -1312,7 +1283,7 @@ export default class Tokenizer extends LocationParser {
|
||||
}
|
||||
|
||||
// $FlowFixMe
|
||||
word += codePointToString(esc);
|
||||
word += String.fromCodePoint(esc);
|
||||
chunkStart = this.state.pos;
|
||||
} else {
|
||||
break;
|
||||
|
||||
@@ -66,18 +66,12 @@ export class TokenType {
|
||||
}
|
||||
}
|
||||
|
||||
class KeywordTokenType extends TokenType {
|
||||
constructor(name: string, options: TokenOptions = {}) {
|
||||
options.keyword = name;
|
||||
|
||||
super(name, options);
|
||||
}
|
||||
function KeywordTokenType(keyword: string, options: TokenOptions = {}) {
|
||||
return new TokenType(keyword, { ...options, keyword });
|
||||
}
|
||||
|
||||
export class BinopTokenType extends TokenType {
|
||||
constructor(name: string, prec: number) {
|
||||
super(name, { beforeExpr, binop: prec });
|
||||
}
|
||||
function BinopTokenType(name: string, binop: number) {
|
||||
return new TokenType(name, { beforeExpr, binop });
|
||||
}
|
||||
|
||||
export const types: { [name: string]: TokenType } = {
|
||||
|
||||
@@ -39,16 +39,14 @@ export class SourceLocation {
|
||||
// into.
|
||||
|
||||
export function getLineInfo(input: string, offset: number): Position {
|
||||
for (let line = 1, cur = 0; ; ) {
|
||||
lineBreakG.lastIndex = cur;
|
||||
const match = lineBreakG.exec(input);
|
||||
if (match && match.index < offset) {
|
||||
++line;
|
||||
cur = match.index + match[0].length;
|
||||
} else {
|
||||
return new Position(line, offset - cur);
|
||||
}
|
||||
let line = 1;
|
||||
let lineStart = 0;
|
||||
let match;
|
||||
lineBreakG.lastIndex = 0;
|
||||
while ((match = lineBreakG.exec(input)) && match.index < offset) {
|
||||
line++;
|
||||
lineStart = lineBreakG.lastIndex;
|
||||
}
|
||||
// istanbul ignore next
|
||||
throw new Error("Unreachable");
|
||||
|
||||
return new Position(line, offset - lineStart);
|
||||
}
|
||||
|
||||
@@ -1,13 +1,53 @@
|
||||
// @flow
|
||||
|
||||
import * as charCodes from "charcodes";
|
||||
|
||||
// Matches a whole line break (where CRLF is considered a single
|
||||
// line break). Used to count lines.
|
||||
|
||||
export const lineBreak = /\r\n?|\n|\u2028|\u2029/;
|
||||
export const lineBreakG = new RegExp(lineBreak.source, "g");
|
||||
|
||||
// https://tc39.github.io/ecma262/#sec-line-terminators
|
||||
export function isNewLine(code: number): boolean {
|
||||
return code === 10 || code === 13 || code === 0x2028 || code === 0x2029;
|
||||
switch (code) {
|
||||
case charCodes.lineFeed:
|
||||
case charCodes.carriageReturn:
|
||||
case charCodes.lineSeparator:
|
||||
case charCodes.paragraphSeparator:
|
||||
return true;
|
||||
|
||||
default:
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
export const nonASCIIwhitespace = /[\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff]/;
|
||||
// https://tc39.github.io/ecma262/#sec-white-space
|
||||
export function isWhitespace(code: number): boolean {
|
||||
switch (code) {
|
||||
case 0x0009: // CHARACTER TABULATION
|
||||
case 0x000b: // LINE TABULATION
|
||||
case 0x000c: // FORM FEED
|
||||
case charCodes.space:
|
||||
case charCodes.nonBreakingSpace:
|
||||
case charCodes.oghamSpaceMark:
|
||||
case 0x2000: // EN QUAD
|
||||
case 0x2001: // EM QUAD
|
||||
case 0x2002: // EN SPACE
|
||||
case 0x2003: // EM SPACE
|
||||
case 0x2004: // THREE-PER-EM SPACE
|
||||
case 0x2005: // FOUR-PER-EM SPACE
|
||||
case 0x2006: // SIX-PER-EM SPACE
|
||||
case 0x2007: // FIGURE SPACE
|
||||
case 0x2008: // PUNCTUATION SPACE
|
||||
case 0x2009: // THIN SPACE
|
||||
case 0x200a: // HAIR SPACE
|
||||
case 0x202f: // NARROW NO-BREAK SPACE
|
||||
case 0x205f: // MEDIUM MATHEMATICAL SPACE
|
||||
case 0x3000: // IDEOGRAPHIC SPACE
|
||||
case 0xfeff: // ZERO WIDTH NO-BREAK SPACE
|
||||
return true;
|
||||
|
||||
default:
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@babel/plugin-external-helpers",
|
||||
"version": "7.0.0-rc.3",
|
||||
"version": "7.0.0-rc.4",
|
||||
"description": "This plugin contains helper functions that’ll be placed at the top of the generated code",
|
||||
"repository": "https://github.com/babel/babel/tree/master/packages/babel-plugin-external-helpers",
|
||||
"license": "MIT",
|
||||
@@ -9,13 +9,13 @@
|
||||
"babel-plugin"
|
||||
],
|
||||
"dependencies": {
|
||||
"@babel/helper-plugin-utils": "7.0.0-rc.3"
|
||||
"@babel/helper-plugin-utils": "^7.0.0-rc.4"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@babel/core": "^7.0.0-0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "7.0.0-rc.3",
|
||||
"@babel/helper-plugin-test-runner": "7.0.0-rc.3"
|
||||
"@babel/core": "^7.0.0-rc.4",
|
||||
"@babel/helper-plugin-test-runner": "^7.0.0-rc.4"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4,7 +4,18 @@ import { types as t } from "@babel/core";
|
||||
export default declare((api, options) => {
|
||||
api.assertVersion(7);
|
||||
|
||||
const { helperVersion = "7.0.0-beta.0" } = options;
|
||||
const { helperVersion = "7.0.0-beta.0", whitelist = false } = options;
|
||||
|
||||
if (
|
||||
whitelist !== false &&
|
||||
(!Array.isArray(whitelist) || whitelist.some(w => typeof w !== "string"))
|
||||
) {
|
||||
throw new Error(
|
||||
".whitelist must be undefined, false, or an array of strings",
|
||||
);
|
||||
}
|
||||
|
||||
const helperWhitelist = whitelist ? new Set(whitelist) : null;
|
||||
|
||||
return {
|
||||
pre(file) {
|
||||
@@ -19,6 +30,12 @@ export default declare((api, options) => {
|
||||
return;
|
||||
}
|
||||
|
||||
// babelCore.buildExternalHelpers() allows a whitelist of helpers that
|
||||
// will be inserted into the external helpers list. That same whitelist
|
||||
// should be passed into the plugin here in that case, so that we can
|
||||
// avoid referencing 'babelHelpers.XX' when the helper does not exist.
|
||||
if (helperWhitelist && !helperWhitelist.has(name)) return;
|
||||
|
||||
return t.memberExpression(
|
||||
t.identifier("babelHelpers"),
|
||||
t.identifier(name),
|
||||
|
||||
3
packages/babel-plugin-external-helpers/test/fixtures/opts/whitelist/input.js
vendored
Normal file
3
packages/babel-plugin-external-helpers/test/fixtures/opts/whitelist/input.js
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
class Foo {
|
||||
method(){}
|
||||
}
|
||||
8
packages/babel-plugin-external-helpers/test/fixtures/opts/whitelist/options.json
vendored
Normal file
8
packages/babel-plugin-external-helpers/test/fixtures/opts/whitelist/options.json
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"plugins": [
|
||||
["external-helpers", {
|
||||
"whitelist": ["createClass"]
|
||||
}],
|
||||
"transform-classes"
|
||||
]
|
||||
}
|
||||
17
packages/babel-plugin-external-helpers/test/fixtures/opts/whitelist/output.js
vendored
Normal file
17
packages/babel-plugin-external-helpers/test/fixtures/opts/whitelist/output.js
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
||||
|
||||
let Foo =
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
"use strict";
|
||||
|
||||
function Foo() {
|
||||
_classCallCheck(this, Foo);
|
||||
}
|
||||
|
||||
babelHelpers.createClass(Foo, [{
|
||||
key: "method",
|
||||
value: function method() {}
|
||||
}]);
|
||||
return Foo;
|
||||
}();
|
||||
3
packages/babel-plugin-external-helpers/test/index.js
Normal file
3
packages/babel-plugin-external-helpers/test/index.js
Normal file
@@ -0,0 +1,3 @@
|
||||
import runner from "@babel/helper-plugin-test-runner";
|
||||
|
||||
runner(__dirname);
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@babel/plugin-proposal-async-generator-functions",
|
||||
"version": "7.0.0-rc.3",
|
||||
"version": "7.0.0-rc.4",
|
||||
"description": "Turn async generator functions into ES2015 generators",
|
||||
"repository": "https://github.com/babel/babel/tree/master/packages/babel-plugin-proposal-async-generator-functions",
|
||||
"license": "MIT",
|
||||
@@ -9,15 +9,15 @@
|
||||
"babel-plugin"
|
||||
],
|
||||
"dependencies": {
|
||||
"@babel/helper-plugin-utils": "7.0.0-rc.3",
|
||||
"@babel/helper-remap-async-to-generator": "7.0.0-rc.3",
|
||||
"@babel/plugin-syntax-async-generators": "7.0.0-rc.3"
|
||||
"@babel/helper-plugin-utils": "^7.0.0-rc.4",
|
||||
"@babel/helper-remap-async-to-generator": "^7.0.0-rc.4",
|
||||
"@babel/plugin-syntax-async-generators": "^7.0.0-rc.4"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@babel/core": "^7.0.0-0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "7.0.0-rc.3",
|
||||
"@babel/helper-plugin-test-runner": "7.0.0-rc.3"
|
||||
"@babel/core": "^7.0.0-rc.4",
|
||||
"@babel/helper-plugin-test-runner": "^7.0.0-rc.4"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@babel/plugin-proposal-class-properties",
|
||||
"version": "7.0.0-rc.3",
|
||||
"version": "7.0.0-rc.4",
|
||||
"description": "This plugin transforms static class properties as well as properties declared with the property initializer syntax",
|
||||
"repository": "https://github.com/babel/babel/tree/master/packages/babel-plugin-proposal-class-properties",
|
||||
"license": "MIT",
|
||||
@@ -9,18 +9,18 @@
|
||||
"babel-plugin"
|
||||
],
|
||||
"dependencies": {
|
||||
"@babel/helper-function-name": "7.0.0-rc.3",
|
||||
"@babel/helper-member-expression-to-functions": "7.0.0-rc.3",
|
||||
"@babel/helper-optimise-call-expression": "7.0.0-rc.3",
|
||||
"@babel/helper-plugin-utils": "7.0.0-rc.3",
|
||||
"@babel/helper-replace-supers": "7.0.0-rc.3",
|
||||
"@babel/plugin-syntax-class-properties": "7.0.0-rc.3"
|
||||
"@babel/helper-function-name": "^7.0.0-rc.4",
|
||||
"@babel/helper-member-expression-to-functions": "^7.0.0-rc.4",
|
||||
"@babel/helper-optimise-call-expression": "^7.0.0-rc.4",
|
||||
"@babel/helper-plugin-utils": "^7.0.0-rc.4",
|
||||
"@babel/helper-replace-supers": "^7.0.0-rc.4",
|
||||
"@babel/plugin-syntax-class-properties": "^7.0.0-rc.4"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@babel/core": "^7.0.0-0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "7.0.0-rc.3",
|
||||
"@babel/helper-plugin-test-runner": "7.0.0-rc.3"
|
||||
"@babel/core": "^7.0.0-rc.4",
|
||||
"@babel/helper-plugin-test-runner": "^7.0.0-rc.4"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@babel/plugin-proposal-decorators",
|
||||
"version": "7.0.0-rc.3",
|
||||
"version": "7.0.0-rc.4",
|
||||
"author": "Logan Smyth <loganfsmyth@gmail.com>",
|
||||
"license": "MIT",
|
||||
"description": "Compile class and object decorators to ES5",
|
||||
@@ -12,14 +12,14 @@
|
||||
"decorators"
|
||||
],
|
||||
"dependencies": {
|
||||
"@babel/helper-plugin-utils": "7.0.0-rc.3",
|
||||
"@babel/plugin-syntax-decorators": "7.0.0-rc.3"
|
||||
"@babel/helper-plugin-utils": "^7.0.0-rc.4",
|
||||
"@babel/plugin-syntax-decorators": "^7.0.0-rc.4"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@babel/core": "^7.0.0-0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "7.0.0-rc.3",
|
||||
"@babel/helper-plugin-test-runner": "7.0.0-rc.3"
|
||||
"@babel/core": "^7.0.0-rc.4",
|
||||
"@babel/helper-plugin-test-runner": "^7.0.0-rc.4"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@babel/plugin-proposal-do-expressions",
|
||||
"version": "7.0.0-rc.3",
|
||||
"version": "7.0.0-rc.4",
|
||||
"description": "Compile do expressions to ES5",
|
||||
"repository": "https://github.com/babel/babel/tree/master/packages/babel-plugin-proposal-do-expressions",
|
||||
"license": "MIT",
|
||||
@@ -9,14 +9,14 @@
|
||||
"babel-plugin"
|
||||
],
|
||||
"dependencies": {
|
||||
"@babel/helper-plugin-utils": "7.0.0-rc.3",
|
||||
"@babel/plugin-syntax-do-expressions": "7.0.0-rc.3"
|
||||
"@babel/helper-plugin-utils": "^7.0.0-rc.4",
|
||||
"@babel/plugin-syntax-do-expressions": "^7.0.0-rc.4"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@babel/core": "^7.0.0-0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "7.0.0-rc.3",
|
||||
"@babel/helper-plugin-test-runner": "7.0.0-rc.3"
|
||||
"@babel/core": "^7.0.0-rc.4",
|
||||
"@babel/helper-plugin-test-runner": "^7.0.0-rc.4"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@babel/plugin-proposal-export-default-from",
|
||||
"version": "7.0.0-rc.3",
|
||||
"version": "7.0.0-rc.4",
|
||||
"description": "Compile export default to ES2015",
|
||||
"repository": "https://github.com/babel/babel/tree/master/packages/babel-plugin-proposal-export-default-from",
|
||||
"license": "MIT",
|
||||
@@ -9,14 +9,14 @@
|
||||
"babel-plugin"
|
||||
],
|
||||
"dependencies": {
|
||||
"@babel/helper-plugin-utils": "7.0.0-rc.3",
|
||||
"@babel/plugin-syntax-export-default-from": "7.0.0-rc.3"
|
||||
"@babel/helper-plugin-utils": "^7.0.0-rc.4",
|
||||
"@babel/plugin-syntax-export-default-from": "^7.0.0-rc.4"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@babel/core": "^7.0.0-0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "7.0.0-rc.3",
|
||||
"@babel/helper-plugin-test-runner": "7.0.0-rc.3"
|
||||
"@babel/core": "^7.0.0-rc.4",
|
||||
"@babel/helper-plugin-test-runner": "^7.0.0-rc.4"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@babel/plugin-proposal-export-namespace-from",
|
||||
"version": "7.0.0-rc.3",
|
||||
"version": "7.0.0-rc.4",
|
||||
"description": "Compile export namespace to ES2015",
|
||||
"repository": "https://github.com/babel/babel/tree/master/packages/babel-plugin-proposal-export-namespace-from",
|
||||
"license": "MIT",
|
||||
@@ -9,14 +9,14 @@
|
||||
"babel-plugin"
|
||||
],
|
||||
"dependencies": {
|
||||
"@babel/helper-plugin-utils": "7.0.0-rc.3",
|
||||
"@babel/plugin-syntax-export-namespace-from": "7.0.0-rc.3"
|
||||
"@babel/helper-plugin-utils": "^7.0.0-rc.4",
|
||||
"@babel/plugin-syntax-export-namespace-from": "^7.0.0-rc.4"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@babel/core": "^7.0.0-0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "7.0.0-rc.3",
|
||||
"@babel/helper-plugin-test-runner": "7.0.0-rc.3"
|
||||
"@babel/core": "^7.0.0-rc.4",
|
||||
"@babel/helper-plugin-test-runner": "^7.0.0-rc.4"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@babel/plugin-proposal-function-bind",
|
||||
"version": "7.0.0-rc.3",
|
||||
"version": "7.0.0-rc.4",
|
||||
"description": "Compile function bind operator to ES5",
|
||||
"repository": "https://github.com/babel/babel/tree/master/packages/babel-plugin-proposal-function-bind",
|
||||
"license": "MIT",
|
||||
@@ -9,14 +9,14 @@
|
||||
"babel-plugin"
|
||||
],
|
||||
"dependencies": {
|
||||
"@babel/helper-plugin-utils": "7.0.0-rc.3",
|
||||
"@babel/plugin-syntax-function-bind": "7.0.0-rc.3"
|
||||
"@babel/helper-plugin-utils": "^7.0.0-rc.4",
|
||||
"@babel/plugin-syntax-function-bind": "^7.0.0-rc.4"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@babel/core": "^7.0.0-0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "7.0.0-rc.3",
|
||||
"@babel/helper-plugin-test-runner": "7.0.0-rc.3"
|
||||
"@babel/core": "^7.0.0-rc.4",
|
||||
"@babel/helper-plugin-test-runner": "^7.0.0-rc.4"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@babel/plugin-proposal-function-sent",
|
||||
"version": "7.0.0-rc.3",
|
||||
"version": "7.0.0-rc.4",
|
||||
"description": "Compile the function.sent meta propety to valid ES2015 code",
|
||||
"repository": "https://github.com/babel/babel/tree/master/packages/babel-plugin-proposal-function-sent",
|
||||
"license": "MIT",
|
||||
@@ -9,15 +9,15 @@
|
||||
"babel-plugin"
|
||||
],
|
||||
"dependencies": {
|
||||
"@babel/helper-plugin-utils": "7.0.0-rc.3",
|
||||
"@babel/helper-wrap-function": "7.0.0-rc.3",
|
||||
"@babel/plugin-syntax-function-sent": "7.0.0-rc.3"
|
||||
"@babel/helper-plugin-utils": "^7.0.0-rc.4",
|
||||
"@babel/helper-wrap-function": "^7.0.0-rc.4",
|
||||
"@babel/plugin-syntax-function-sent": "^7.0.0-rc.4"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@babel/core": "^7.0.0-0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "7.0.0-rc.3",
|
||||
"@babel/helper-plugin-test-runner": "7.0.0-rc.3"
|
||||
"@babel/core": "^7.0.0-rc.4",
|
||||
"@babel/helper-plugin-test-runner": "^7.0.0-rc.4"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@babel/plugin-proposal-json-strings",
|
||||
"version": "7.0.0-rc.3",
|
||||
"version": "7.0.0-rc.4",
|
||||
"description": "Escape U+2028 LINE SEPARATOR and U+2029 PARAGRAPH SEPARATOR in JS strings",
|
||||
"repository": "https://github.com/babel/babel/tree/master/packages/babel-plugin-proposal-json-strings",
|
||||
"license": "MIT",
|
||||
@@ -9,14 +9,14 @@
|
||||
"babel-plugin"
|
||||
],
|
||||
"dependencies": {
|
||||
"@babel/helper-plugin-utils": "7.0.0-rc.3",
|
||||
"@babel/plugin-syntax-json-strings": "7.0.0-rc.3"
|
||||
"@babel/helper-plugin-utils": "^7.0.0-rc.4",
|
||||
"@babel/plugin-syntax-json-strings": "^7.0.0-rc.4"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@babel/core": "^7.0.0-0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "7.0.0-rc.3",
|
||||
"@babel/helper-plugin-test-runner": "7.0.0-rc.3"
|
||||
"@babel/core": "^7.0.0-rc.4",
|
||||
"@babel/helper-plugin-test-runner": "^7.0.0-rc.4"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@babel/plugin-proposal-logical-assignment-operators",
|
||||
"version": "7.0.0-rc.3",
|
||||
"version": "7.0.0-rc.4",
|
||||
"description": "Transforms logical assignment operators into short-circuited assignments",
|
||||
"repository": "https://github.com/babel/babel/tree/master/packages/babel-plugin-proposal-logical-assignment-operators",
|
||||
"license": "MIT",
|
||||
@@ -9,16 +9,16 @@
|
||||
"babel-plugin"
|
||||
],
|
||||
"dependencies": {
|
||||
"@babel/helper-plugin-utils": "7.0.0-rc.3",
|
||||
"@babel/plugin-syntax-logical-assignment-operators": "7.0.0-rc.3"
|
||||
"@babel/helper-plugin-utils": "^7.0.0-rc.4",
|
||||
"@babel/plugin-syntax-logical-assignment-operators": "^7.0.0-rc.4"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@babel/core": "^7.0.0-0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "7.0.0-rc.3",
|
||||
"@babel/helper-plugin-test-runner": "7.0.0-rc.3",
|
||||
"@babel/plugin-proposal-nullish-coalescing-operator": "7.0.0-rc.3",
|
||||
"@babel/plugin-syntax-nullish-coalescing-operator": "7.0.0-rc.3"
|
||||
"@babel/core": "^7.0.0-rc.4",
|
||||
"@babel/helper-plugin-test-runner": "^7.0.0-rc.4",
|
||||
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.0.0-rc.4",
|
||||
"@babel/plugin-syntax-nullish-coalescing-operator": "^7.0.0-rc.4"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@babel/plugin-proposal-nullish-coalescing-operator",
|
||||
"version": "7.0.0-rc.3",
|
||||
"version": "7.0.0-rc.4",
|
||||
"description": "Remove nullish coalescing operator",
|
||||
"repository": "https://github.com/babel/babel/tree/master/packages/babel-plugin-transform-nullish-coalescing-opearator",
|
||||
"license": "MIT",
|
||||
@@ -9,14 +9,14 @@
|
||||
"babel-plugin"
|
||||
],
|
||||
"dependencies": {
|
||||
"@babel/helper-plugin-utils": "7.0.0-rc.3",
|
||||
"@babel/plugin-syntax-nullish-coalescing-operator": "7.0.0-rc.3"
|
||||
"@babel/helper-plugin-utils": "^7.0.0-rc.4",
|
||||
"@babel/plugin-syntax-nullish-coalescing-operator": "^7.0.0-rc.4"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@babel/core": "^7.0.0-0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "7.0.0-rc.3",
|
||||
"@babel/helper-plugin-test-runner": "7.0.0-rc.3"
|
||||
"@babel/core": "^7.0.0-rc.4",
|
||||
"@babel/helper-plugin-test-runner": "^7.0.0-rc.4"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@babel/plugin-proposal-numeric-separator",
|
||||
"version": "7.0.0-rc.3",
|
||||
"version": "7.0.0-rc.4",
|
||||
"description": "Remove numeric separators from Decimal, Binary, Hex and Octal literals",
|
||||
"repository": "https://github.com/babel/babel/tree/master/packages/babel-plugin-proposal-numeric-separator",
|
||||
"license": "MIT",
|
||||
@@ -9,14 +9,14 @@
|
||||
"babel-plugin"
|
||||
],
|
||||
"dependencies": {
|
||||
"@babel/helper-plugin-utils": "7.0.0-rc.3",
|
||||
"@babel/plugin-syntax-numeric-separator": "7.0.0-rc.3"
|
||||
"@babel/helper-plugin-utils": "^7.0.0-rc.4",
|
||||
"@babel/plugin-syntax-numeric-separator": "^7.0.0-rc.4"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@babel/core": "^7.0.0-0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "7.0.0-rc.3",
|
||||
"@babel/helper-plugin-test-runner": "7.0.0-rc.3"
|
||||
"@babel/core": "^7.0.0-rc.4",
|
||||
"@babel/helper-plugin-test-runner": "^7.0.0-rc.4"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@babel/plugin-proposal-object-rest-spread",
|
||||
"version": "7.0.0-rc.3",
|
||||
"version": "7.0.0-rc.4",
|
||||
"description": "Compile object rest and spread to ES5",
|
||||
"repository": "https://github.com/babel/babel/tree/master/packages/babel-plugin-proposal-object-rest-spread",
|
||||
"license": "MIT",
|
||||
@@ -9,14 +9,14 @@
|
||||
"babel-plugin"
|
||||
],
|
||||
"dependencies": {
|
||||
"@babel/helper-plugin-utils": "7.0.0-rc.3",
|
||||
"@babel/plugin-syntax-object-rest-spread": "7.0.0-rc.3"
|
||||
"@babel/helper-plugin-utils": "^7.0.0-rc.4",
|
||||
"@babel/plugin-syntax-object-rest-spread": "^7.0.0-rc.4"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@babel/core": "^7.0.0-0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "7.0.0-rc.3",
|
||||
"@babel/helper-plugin-test-runner": "7.0.0-rc.3"
|
||||
"@babel/core": "^7.0.0-rc.4",
|
||||
"@babel/helper-plugin-test-runner": "^7.0.0-rc.4"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@babel/plugin-proposal-optional-catch-binding",
|
||||
"version": "7.0.0-rc.3",
|
||||
"version": "7.0.0-rc.4",
|
||||
"description": "Compile optional catch bindings",
|
||||
"repository": "https://github.com/babel/babel/tree/master/packages/babel-plugin-proposal-optional-catch-binding",
|
||||
"license": "MIT",
|
||||
@@ -9,14 +9,14 @@
|
||||
"babel-plugin"
|
||||
],
|
||||
"dependencies": {
|
||||
"@babel/helper-plugin-utils": "7.0.0-rc.3",
|
||||
"@babel/plugin-syntax-optional-catch-binding": "7.0.0-rc.3"
|
||||
"@babel/helper-plugin-utils": "^7.0.0-rc.4",
|
||||
"@babel/plugin-syntax-optional-catch-binding": "^7.0.0-rc.4"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@babel/core": "^7.0.0-0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "7.0.0-rc.3",
|
||||
"@babel/helper-plugin-test-runner": "7.0.0-rc.3"
|
||||
"@babel/core": "^7.0.0-rc.4",
|
||||
"@babel/helper-plugin-test-runner": "^7.0.0-rc.4"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@babel/plugin-proposal-optional-chaining",
|
||||
"version": "7.0.0-rc.3",
|
||||
"version": "7.0.0-rc.4",
|
||||
"description": "Transform optional chaining operators into a series of nil checks",
|
||||
"repository": "https://github.com/babel/babel/tree/master/packages/babel-plugin-proposal-optional-chaining",
|
||||
"license": "MIT",
|
||||
@@ -9,15 +9,15 @@
|
||||
"babel-plugin"
|
||||
],
|
||||
"dependencies": {
|
||||
"@babel/helper-plugin-utils": "7.0.0-rc.3",
|
||||
"@babel/plugin-syntax-optional-chaining": "7.0.0-rc.3"
|
||||
"@babel/helper-plugin-utils": "^7.0.0-rc.4",
|
||||
"@babel/plugin-syntax-optional-chaining": "^7.0.0-rc.4"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@babel/core": "^7.0.0-0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "7.0.0-rc.3",
|
||||
"@babel/helper-plugin-test-runner": "7.0.0-rc.3",
|
||||
"@babel/plugin-transform-block-scoping": "7.0.0-rc.3"
|
||||
"@babel/core": "^7.0.0-rc.4",
|
||||
"@babel/helper-plugin-test-runner": "^7.0.0-rc.4",
|
||||
"@babel/plugin-transform-block-scoping": "^7.0.0-rc.4"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@babel/plugin-proposal-pipeline-operator",
|
||||
"version": "7.0.0-rc.3",
|
||||
"version": "7.0.0-rc.4",
|
||||
"description": "Transform pipeline operator into call expressions",
|
||||
"repository": "https://github.com/babel/babel/tree/master/packages/babel-plugin-proposal-pipeline-operator",
|
||||
"license": "MIT",
|
||||
@@ -9,14 +9,14 @@
|
||||
"babel-plugin"
|
||||
],
|
||||
"dependencies": {
|
||||
"@babel/helper-plugin-utils": "7.0.0-rc.3",
|
||||
"@babel/plugin-syntax-pipeline-operator": "7.0.0-rc.3"
|
||||
"@babel/helper-plugin-utils": "^7.0.0-rc.4",
|
||||
"@babel/plugin-syntax-pipeline-operator": "^7.0.0-rc.4"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@babel/core": "^7.0.0-0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "7.0.0-rc.3",
|
||||
"@babel/helper-plugin-test-runner": "7.0.0-rc.3"
|
||||
"@babel/core": "^7.0.0-rc.4",
|
||||
"@babel/helper-plugin-test-runner": "^7.0.0-rc.4"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@babel/plugin-proposal-throw-expressions",
|
||||
"version": "7.0.0-rc.3",
|
||||
"version": "7.0.0-rc.4",
|
||||
"description": "Wraps Throw Expressions in an IIFE",
|
||||
"repository": "https://github.com/babel/babel/tree/master/packages/babel-plugin-proposal-throw-expressions",
|
||||
"license": "MIT",
|
||||
@@ -9,14 +9,14 @@
|
||||
"babel-plugin"
|
||||
],
|
||||
"dependencies": {
|
||||
"@babel/helper-plugin-utils": "7.0.0-rc.3",
|
||||
"@babel/plugin-syntax-throw-expressions": "7.0.0-rc.3"
|
||||
"@babel/helper-plugin-utils": "^7.0.0-rc.4",
|
||||
"@babel/plugin-syntax-throw-expressions": "^7.0.0-rc.4"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@babel/core": "^7.0.0-0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "7.0.0-rc.3",
|
||||
"@babel/helper-plugin-test-runner": "7.0.0-rc.3"
|
||||
"@babel/core": "^7.0.0-rc.4",
|
||||
"@babel/helper-plugin-test-runner": "^7.0.0-rc.4"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@babel/plugin-proposal-unicode-property-regex",
|
||||
"version": "7.0.0-rc.3",
|
||||
"version": "7.0.0-rc.4",
|
||||
"description": "Compile Unicode property escapes in Unicode regular expressions to ES5.",
|
||||
"homepage": "https://babeljs.io/",
|
||||
"license": "MIT",
|
||||
@@ -19,15 +19,15 @@
|
||||
"repository": "https://github.com/babel/babel/tree/master/packages/babel-plugin-proposal-unicode-property-regex",
|
||||
"bugs": "https://github.com/babel/babel/issues",
|
||||
"dependencies": {
|
||||
"@babel/helper-plugin-utils": "7.0.0-rc.3",
|
||||
"@babel/helper-regex": "7.0.0-rc.3",
|
||||
"@babel/helper-plugin-utils": "^7.0.0-rc.4",
|
||||
"@babel/helper-regex": "^7.0.0-rc.4",
|
||||
"regexpu-core": "^4.2.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@babel/core": "^7.0.0-0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "7.0.0-rc.3",
|
||||
"@babel/helper-plugin-test-runner": "7.0.0-rc.3"
|
||||
"@babel/core": "^7.0.0-rc.4",
|
||||
"@babel/helper-plugin-test-runner": "^7.0.0-rc.4"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@babel/plugin-syntax-async-generators",
|
||||
"version": "7.0.0-rc.3",
|
||||
"version": "7.0.0-rc.4",
|
||||
"description": "Allow parsing of async generator functions",
|
||||
"repository": "https://github.com/babel/babel/tree/master/packages/babel-plugin-syntax-async-generators",
|
||||
"license": "MIT",
|
||||
@@ -9,12 +9,12 @@
|
||||
"babel-plugin"
|
||||
],
|
||||
"dependencies": {
|
||||
"@babel/helper-plugin-utils": "7.0.0-rc.3"
|
||||
"@babel/helper-plugin-utils": "^7.0.0-rc.4"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@babel/core": "^7.0.0-0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "7.0.0-rc.3"
|
||||
"@babel/core": "^7.0.0-rc.4"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@babel/plugin-syntax-bigint",
|
||||
"version": "7.0.0-rc.3",
|
||||
"version": "7.0.0-rc.4",
|
||||
"description": "Allow parsing of BigInt literals",
|
||||
"repository": "https://github.com/babel/babel/tree/master/packages/babel-plugin-bigint",
|
||||
"license": "MIT",
|
||||
@@ -9,12 +9,12 @@
|
||||
"babel-plugin"
|
||||
],
|
||||
"dependencies": {
|
||||
"@babel/helper-plugin-utils": "7.0.0-rc.3"
|
||||
"@babel/helper-plugin-utils": "^7.0.0-rc.4"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@babel/core": "^7.0.0-0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "7.0.0-rc.3"
|
||||
"@babel/core": "^7.0.0-rc.4"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@babel/plugin-syntax-class-properties",
|
||||
"version": "7.0.0-rc.3",
|
||||
"version": "7.0.0-rc.4",
|
||||
"description": "Allow parsing of class properties",
|
||||
"repository": "https://github.com/babel/babel/tree/master/packages/babel-plugin-syntax-class-properties",
|
||||
"license": "MIT",
|
||||
@@ -9,12 +9,12 @@
|
||||
"babel-plugin"
|
||||
],
|
||||
"dependencies": {
|
||||
"@babel/helper-plugin-utils": "7.0.0-rc.3"
|
||||
"@babel/helper-plugin-utils": "^7.0.0-rc.4"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@babel/core": "^7.0.0-0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "7.0.0-rc.3"
|
||||
"@babel/core": "^7.0.0-rc.4"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@babel/plugin-syntax-decorators",
|
||||
"version": "7.0.0-rc.3",
|
||||
"version": "7.0.0-rc.4",
|
||||
"description": "Allow parsing of decorators",
|
||||
"repository": "https://github.com/babel/babel/tree/master/packages/babel-plugin-syntax-decorators",
|
||||
"license": "MIT",
|
||||
@@ -9,12 +9,12 @@
|
||||
"babel-plugin"
|
||||
],
|
||||
"dependencies": {
|
||||
"@babel/helper-plugin-utils": "7.0.0-rc.3"
|
||||
"@babel/helper-plugin-utils": "^7.0.0-rc.4"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@babel/core": "^7.0.0-0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "7.0.0-rc.3"
|
||||
"@babel/core": "^7.0.0-rc.4"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@babel/plugin-syntax-do-expressions",
|
||||
"version": "7.0.0-rc.3",
|
||||
"version": "7.0.0-rc.4",
|
||||
"description": "Allow parsing of do expressions",
|
||||
"repository": "https://github.com/babel/babel/tree/master/packages/babel-plugin-syntax-do-expressions",
|
||||
"license": "MIT",
|
||||
@@ -9,12 +9,12 @@
|
||||
"babel-plugin"
|
||||
],
|
||||
"dependencies": {
|
||||
"@babel/helper-plugin-utils": "7.0.0-rc.3"
|
||||
"@babel/helper-plugin-utils": "^7.0.0-rc.4"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@babel/core": "^7.0.0-0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "7.0.0-rc.3"
|
||||
"@babel/core": "^7.0.0-rc.4"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@babel/plugin-syntax-dynamic-import",
|
||||
"version": "7.0.0-rc.3",
|
||||
"version": "7.0.0-rc.4",
|
||||
"description": "Allow parsing of import()",
|
||||
"repository": "https://github.com/babel/babel/tree/master/packages/babel-plugin-syntax-dynamic-import",
|
||||
"license": "MIT",
|
||||
@@ -9,12 +9,12 @@
|
||||
"babel-plugin"
|
||||
],
|
||||
"dependencies": {
|
||||
"@babel/helper-plugin-utils": "7.0.0-rc.3"
|
||||
"@babel/helper-plugin-utils": "^7.0.0-rc.4"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@babel/core": "^7.0.0-0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "7.0.0-rc.3"
|
||||
"@babel/core": "^7.0.0-rc.4"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@babel/plugin-syntax-export-default-from",
|
||||
"version": "7.0.0-rc.3",
|
||||
"version": "7.0.0-rc.4",
|
||||
"description": "Allow parsing of export default from",
|
||||
"repository": "https://github.com/babel/babel/tree/master/packages/babel-plugin-syntax-export-default-from",
|
||||
"license": "MIT",
|
||||
@@ -9,12 +9,12 @@
|
||||
"babel-plugin"
|
||||
],
|
||||
"dependencies": {
|
||||
"@babel/helper-plugin-utils": "7.0.0-rc.3"
|
||||
"@babel/helper-plugin-utils": "^7.0.0-rc.4"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@babel/core": "^7.0.0-0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "7.0.0-rc.3"
|
||||
"@babel/core": "^7.0.0-rc.4"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@babel/plugin-syntax-export-namespace-from",
|
||||
"version": "7.0.0-rc.3",
|
||||
"version": "7.0.0-rc.4",
|
||||
"description": "Allow parsing of export namespace from",
|
||||
"repository": "https://github.com/babel/babel/tree/master/packages/babel-plugin-syntax-export-namespace-from",
|
||||
"license": "MIT",
|
||||
@@ -9,12 +9,12 @@
|
||||
"babel-plugin"
|
||||
],
|
||||
"dependencies": {
|
||||
"@babel/helper-plugin-utils": "7.0.0-rc.3"
|
||||
"@babel/helper-plugin-utils": "^7.0.0-rc.4"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@babel/core": "^7.0.0-0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "7.0.0-rc.3"
|
||||
"@babel/core": "^7.0.0-rc.4"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@babel/plugin-syntax-flow",
|
||||
"version": "7.0.0-rc.3",
|
||||
"version": "7.0.0-rc.4",
|
||||
"description": "Allow parsing of the flow syntax",
|
||||
"repository": "https://github.com/babel/babel/tree/master/packages/babel-plugin-syntax-flow",
|
||||
"license": "MIT",
|
||||
@@ -9,12 +9,12 @@
|
||||
"babel-plugin"
|
||||
],
|
||||
"dependencies": {
|
||||
"@babel/helper-plugin-utils": "7.0.0-rc.3"
|
||||
"@babel/helper-plugin-utils": "^7.0.0-rc.4"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@babel/core": "^7.0.0-0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "7.0.0-rc.3"
|
||||
"@babel/core": "^7.0.0-rc.4"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@babel/plugin-syntax-function-bind",
|
||||
"version": "7.0.0-rc.3",
|
||||
"version": "7.0.0-rc.4",
|
||||
"description": "Allow parsing of function bind",
|
||||
"repository": "https://github.com/babel/babel/tree/master/packages/babel-plugin-syntax-function-bind",
|
||||
"license": "MIT",
|
||||
@@ -9,12 +9,12 @@
|
||||
"babel-plugin"
|
||||
],
|
||||
"dependencies": {
|
||||
"@babel/helper-plugin-utils": "7.0.0-rc.3"
|
||||
"@babel/helper-plugin-utils": "^7.0.0-rc.4"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@babel/core": "^7.0.0-0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "7.0.0-rc.3"
|
||||
"@babel/core": "^7.0.0-rc.4"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@babel/plugin-syntax-function-sent",
|
||||
"version": "7.0.0-rc.3",
|
||||
"version": "7.0.0-rc.4",
|
||||
"description": "Allow parsing of the function.sent meta property",
|
||||
"repository": "https://github.com/babel/babel/tree/master/packages/babel-plugin-syntax-function-sent",
|
||||
"license": "MIT",
|
||||
@@ -9,12 +9,12 @@
|
||||
"babel-plugin"
|
||||
],
|
||||
"dependencies": {
|
||||
"@babel/helper-plugin-utils": "7.0.0-rc.3"
|
||||
"@babel/helper-plugin-utils": "^7.0.0-rc.4"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@babel/core": "^7.0.0-0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "7.0.0-rc.3"
|
||||
"@babel/core": "^7.0.0-rc.4"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@babel/plugin-syntax-import-meta",
|
||||
"version": "7.0.0-rc.3",
|
||||
"version": "7.0.0-rc.4",
|
||||
"description": "Allow parsing of import.meta",
|
||||
"repository": "https://github.com/babel/babel/tree/master/packages/babel-plugin-syntax-import-meta",
|
||||
"license": "MIT",
|
||||
@@ -9,12 +9,12 @@
|
||||
"babel-plugin"
|
||||
],
|
||||
"dependencies": {
|
||||
"@babel/helper-plugin-utils": "7.0.0-rc.3"
|
||||
"@babel/helper-plugin-utils": "^7.0.0-rc.4"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@babel/core": "^7.0.0-0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "7.0.0-rc.3"
|
||||
"@babel/core": "^7.0.0-rc.4"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@babel/plugin-syntax-json-strings",
|
||||
"version": "7.0.0-rc.3",
|
||||
"version": "7.0.0-rc.4",
|
||||
"description": "Allow parsing of the U+2028 LINE SEPARATOR and U+2029 PARAGRAPH SEPARATOR in JS strings",
|
||||
"repository": "https://github.com/babel/babel/tree/master/packages/babel-plugin-syntax-json-strings",
|
||||
"license": "MIT",
|
||||
@@ -9,12 +9,12 @@
|
||||
"babel-plugin"
|
||||
],
|
||||
"dependencies": {
|
||||
"@babel/helper-plugin-utils": "7.0.0-rc.3"
|
||||
"@babel/helper-plugin-utils": "^7.0.0-rc.4"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@babel/core": "^7.0.0-0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "7.0.0-rc.3"
|
||||
"@babel/core": "^7.0.0-rc.4"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@babel/plugin-syntax-jsx",
|
||||
"version": "7.0.0-rc.3",
|
||||
"version": "7.0.0-rc.4",
|
||||
"description": "Allow parsing of jsx",
|
||||
"repository": "https://github.com/babel/babel/tree/master/packages/babel-plugin-syntax-jsx",
|
||||
"license": "MIT",
|
||||
@@ -9,12 +9,12 @@
|
||||
"babel-plugin"
|
||||
],
|
||||
"dependencies": {
|
||||
"@babel/helper-plugin-utils": "7.0.0-rc.3"
|
||||
"@babel/helper-plugin-utils": "^7.0.0-rc.4"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@babel/core": "^7.0.0-0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "7.0.0-rc.3"
|
||||
"@babel/core": "^7.0.0-rc.4"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@babel/plugin-syntax-logical-assignment-operators",
|
||||
"version": "7.0.0-rc.3",
|
||||
"version": "7.0.0-rc.4",
|
||||
"description": "Allow parsing of the logical assignment operators",
|
||||
"repository": "https://github.com/babel/babel/tree/master/packages/babel-plugin-syntax-logical-assignment-operators",
|
||||
"license": "MIT",
|
||||
@@ -9,12 +9,12 @@
|
||||
"babel-plugin"
|
||||
],
|
||||
"dependencies": {
|
||||
"@babel/helper-plugin-utils": "7.0.0-rc.3"
|
||||
"@babel/helper-plugin-utils": "^7.0.0-rc.4"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@babel/core": "^7.0.0-0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "7.0.0-rc.3"
|
||||
"@babel/core": "^7.0.0-rc.4"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@babel/plugin-syntax-nullish-coalescing-operator",
|
||||
"version": "7.0.0-rc.3",
|
||||
"version": "7.0.0-rc.4",
|
||||
"description": "Allow parsing of the nullish-coalescing operator",
|
||||
"repository": "https://github.com/babel/babel/tree/master/packages/babel-plugin-syntax-nullish-coalescing-operator",
|
||||
"license": "MIT",
|
||||
@@ -9,12 +9,12 @@
|
||||
"babel-plugin"
|
||||
],
|
||||
"dependencies": {
|
||||
"@babel/helper-plugin-utils": "7.0.0-rc.3"
|
||||
"@babel/helper-plugin-utils": "^7.0.0-rc.4"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@babel/core": "^7.0.0-0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "7.0.0-rc.3"
|
||||
"@babel/core": "^7.0.0-rc.4"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@babel/plugin-syntax-numeric-separator",
|
||||
"version": "7.0.0-rc.3",
|
||||
"version": "7.0.0-rc.4",
|
||||
"description": "Allow parsing of Decimal, Binary, Hex and Octal literals that contain a Numeric Literal Separator",
|
||||
"repository": "https://github.com/babel/babel/tree/master/packages/babel-plugin-syntax-numeric-separator",
|
||||
"license": "MIT",
|
||||
@@ -9,12 +9,12 @@
|
||||
"babel-plugin"
|
||||
],
|
||||
"dependencies": {
|
||||
"@babel/helper-plugin-utils": "7.0.0-rc.3"
|
||||
"@babel/helper-plugin-utils": "^7.0.0-rc.4"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@babel/core": "^7.0.0-0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "7.0.0-rc.3"
|
||||
"@babel/core": "^7.0.0-rc.4"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@babel/plugin-syntax-object-rest-spread",
|
||||
"version": "7.0.0-rc.3",
|
||||
"version": "7.0.0-rc.4",
|
||||
"description": "Allow parsing of object rest/spread",
|
||||
"repository": "https://github.com/babel/babel/tree/master/packages/babel-plugin-syntax-object-rest-spread",
|
||||
"license": "MIT",
|
||||
@@ -9,12 +9,12 @@
|
||||
"babel-plugin"
|
||||
],
|
||||
"dependencies": {
|
||||
"@babel/helper-plugin-utils": "7.0.0-rc.3"
|
||||
"@babel/helper-plugin-utils": "^7.0.0-rc.4"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@babel/core": "^7.0.0-0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "7.0.0-rc.3"
|
||||
"@babel/core": "^7.0.0-rc.4"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@babel/plugin-syntax-optional-catch-binding",
|
||||
"version": "7.0.0-rc.3",
|
||||
"version": "7.0.0-rc.4",
|
||||
"description": "Allow parsing of optional catch bindings",
|
||||
"repository": "https://github.com/babel/babel/tree/master/packages/babel-plugin-syntax-optional-catch-binding",
|
||||
"license": "MIT",
|
||||
@@ -9,12 +9,12 @@
|
||||
"babel-plugin"
|
||||
],
|
||||
"dependencies": {
|
||||
"@babel/helper-plugin-utils": "7.0.0-rc.3"
|
||||
"@babel/helper-plugin-utils": "^7.0.0-rc.4"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@babel/core": "^7.0.0-0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "7.0.0-rc.3"
|
||||
"@babel/core": "^7.0.0-rc.4"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@babel/plugin-syntax-optional-chaining",
|
||||
"version": "7.0.0-rc.3",
|
||||
"version": "7.0.0-rc.4",
|
||||
"description": "Allow parsing of optional properties",
|
||||
"repository": "https://github.com/babel/babel/tree/master/packages/babel-plugin-syntax-optional-chaining",
|
||||
"license": "MIT",
|
||||
@@ -9,12 +9,12 @@
|
||||
"babel-plugin"
|
||||
],
|
||||
"dependencies": {
|
||||
"@babel/helper-plugin-utils": "7.0.0-rc.3"
|
||||
"@babel/helper-plugin-utils": "^7.0.0-rc.4"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@babel/core": "^7.0.0-0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "7.0.0-rc.3"
|
||||
"@babel/core": "^7.0.0-rc.4"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@babel/plugin-syntax-pipeline-operator",
|
||||
"version": "7.0.0-rc.3",
|
||||
"version": "7.0.0-rc.4",
|
||||
"description": "Allow parsing of the pipeline operator",
|
||||
"repository": "https://github.com/babel/babel/tree/master/packages/babel-plugin-syntax-pipeline-operator",
|
||||
"license": "MIT",
|
||||
@@ -9,12 +9,12 @@
|
||||
"babel-plugin"
|
||||
],
|
||||
"dependencies": {
|
||||
"@babel/helper-plugin-utils": "7.0.0-rc.3"
|
||||
"@babel/helper-plugin-utils": "^7.0.0-rc.4"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@babel/core": "^7.0.0-0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "7.0.0-rc.3"
|
||||
"@babel/core": "^7.0.0-rc.4"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@babel/plugin-syntax-throw-expressions",
|
||||
"version": "7.0.0-rc.3",
|
||||
"version": "7.0.0-rc.4",
|
||||
"description": "Allow parsing of Throw Expressions",
|
||||
"repository": "https://github.com/babel/babel/tree/master/packages/babel-plugin-syntax-throw-expressions",
|
||||
"license": "MIT",
|
||||
@@ -9,12 +9,12 @@
|
||||
"babel-plugin"
|
||||
],
|
||||
"dependencies": {
|
||||
"@babel/helper-plugin-utils": "7.0.0-rc.3"
|
||||
"@babel/helper-plugin-utils": "^7.0.0-rc.4"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@babel/core": "^7.0.0-0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "7.0.0-rc.3"
|
||||
"@babel/core": "^7.0.0-rc.4"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@babel/plugin-syntax-typescript",
|
||||
"version": "7.0.0-rc.3",
|
||||
"version": "7.0.0-rc.4",
|
||||
"description": "Allow parsing of TypeScript syntax",
|
||||
"repository": "https://github.com/babel/babel/tree/master/packages/babel-plugin-syntax-typescript",
|
||||
"license": "MIT",
|
||||
@@ -10,12 +10,12 @@
|
||||
"typescript"
|
||||
],
|
||||
"dependencies": {
|
||||
"@babel/helper-plugin-utils": "7.0.0-rc.3"
|
||||
"@babel/helper-plugin-utils": "^7.0.0-rc.4"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@babel/core": "^7.0.0-0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "7.0.0-rc.3"
|
||||
"@babel/core": "^7.0.0-rc.4"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@babel/plugin-transform-arrow-functions",
|
||||
"version": "7.0.0-rc.3",
|
||||
"version": "7.0.0-rc.4",
|
||||
"description": "Compile ES2015 arrow functions to ES5",
|
||||
"repository": "https://github.com/babel/babel/tree/master/packages/babel-plugin-transform-arrow-functions",
|
||||
"license": "MIT",
|
||||
@@ -9,14 +9,14 @@
|
||||
"babel-plugin"
|
||||
],
|
||||
"dependencies": {
|
||||
"@babel/helper-plugin-utils": "7.0.0-rc.3"
|
||||
"@babel/helper-plugin-utils": "^7.0.0-rc.4"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@babel/core": "^7.0.0-0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "7.0.0-rc.3",
|
||||
"@babel/helper-plugin-test-runner": "7.0.0-rc.3",
|
||||
"@babel/traverse": "7.0.0-rc.3"
|
||||
"@babel/core": "^7.0.0-rc.4",
|
||||
"@babel/helper-plugin-test-runner": "^7.0.0-rc.4",
|
||||
"@babel/traverse": "^7.0.0-rc.4"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@babel/plugin-transform-async-to-generator",
|
||||
"version": "7.0.0-rc.3",
|
||||
"version": "7.0.0-rc.4",
|
||||
"description": "Turn async functions into ES2015 generators",
|
||||
"repository": "https://github.com/babel/babel/tree/master/packages/babel-plugin-transform-async-to-generator",
|
||||
"license": "MIT",
|
||||
@@ -9,15 +9,15 @@
|
||||
"babel-plugin"
|
||||
],
|
||||
"dependencies": {
|
||||
"@babel/helper-module-imports": "7.0.0-rc.3",
|
||||
"@babel/helper-plugin-utils": "7.0.0-rc.3",
|
||||
"@babel/helper-remap-async-to-generator": "7.0.0-rc.3"
|
||||
"@babel/helper-module-imports": "^7.0.0-rc.4",
|
||||
"@babel/helper-plugin-utils": "^7.0.0-rc.4",
|
||||
"@babel/helper-remap-async-to-generator": "^7.0.0-rc.4"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@babel/core": "^7.0.0-0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "7.0.0-rc.3",
|
||||
"@babel/helper-plugin-test-runner": "7.0.0-rc.3"
|
||||
"@babel/core": "^7.0.0-rc.4",
|
||||
"@babel/helper-plugin-test-runner": "^7.0.0-rc.4"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@babel/plugin-transform-block-scoped-functions",
|
||||
"version": "7.0.0-rc.3",
|
||||
"version": "7.0.0-rc.4",
|
||||
"description": "Babel plugin to ensure function declarations at the block level are block scoped",
|
||||
"repository": "https://github.com/babel/babel/tree/master/packages/babel-plugin-transform-block-scoped-functions",
|
||||
"license": "MIT",
|
||||
@@ -9,13 +9,13 @@
|
||||
"babel-plugin"
|
||||
],
|
||||
"dependencies": {
|
||||
"@babel/helper-plugin-utils": "7.0.0-rc.3"
|
||||
"@babel/helper-plugin-utils": "^7.0.0-rc.4"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@babel/core": "^7.0.0-0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "7.0.0-rc.3",
|
||||
"@babel/helper-plugin-test-runner": "7.0.0-rc.3"
|
||||
"@babel/core": "^7.0.0-rc.4",
|
||||
"@babel/helper-plugin-test-runner": "^7.0.0-rc.4"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "@babel/plugin-transform-block-scoping",
|
||||
"version": "7.0.0-rc.3",
|
||||
"version": "7.0.0-rc.4",
|
||||
"description": "Compile ES2015 block scoping (const and let) to ES5",
|
||||
"repository": "https://github.com/babel/babel/tree/master/packages/babel-plugin-transform-block-scoping",
|
||||
"license": "MIT",
|
||||
"main": "lib/index.js",
|
||||
"dependencies": {
|
||||
"@babel/helper-plugin-utils": "7.0.0-rc.3",
|
||||
"@babel/helper-plugin-utils": "^7.0.0-rc.4",
|
||||
"lodash": "^4.17.10"
|
||||
},
|
||||
"keywords": [
|
||||
@@ -16,7 +16,7 @@
|
||||
"@babel/core": "^7.0.0-0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "7.0.0-rc.3",
|
||||
"@babel/helper-plugin-test-runner": "7.0.0-rc.3"
|
||||
"@babel/core": "^7.0.0-rc.4",
|
||||
"@babel/helper-plugin-test-runner": "^7.0.0-rc.4"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,18 +1,18 @@
|
||||
{
|
||||
"name": "@babel/plugin-transform-classes",
|
||||
"version": "7.0.0-rc.3",
|
||||
"version": "7.0.0-rc.4",
|
||||
"description": "Compile ES2015 classes to ES5",
|
||||
"repository": "https://github.com/babel/babel/tree/master/packages/babel-plugin-transform-classes",
|
||||
"license": "MIT",
|
||||
"main": "lib/index.js",
|
||||
"dependencies": {
|
||||
"@babel/helper-annotate-as-pure": "7.0.0-rc.3",
|
||||
"@babel/helper-define-map": "7.0.0-rc.3",
|
||||
"@babel/helper-function-name": "7.0.0-rc.3",
|
||||
"@babel/helper-optimise-call-expression": "7.0.0-rc.3",
|
||||
"@babel/helper-plugin-utils": "7.0.0-rc.3",
|
||||
"@babel/helper-replace-supers": "7.0.0-rc.3",
|
||||
"@babel/helper-split-export-declaration": "7.0.0-rc.3",
|
||||
"@babel/helper-annotate-as-pure": "^7.0.0-rc.4",
|
||||
"@babel/helper-define-map": "^7.0.0-rc.4",
|
||||
"@babel/helper-function-name": "^7.0.0-rc.4",
|
||||
"@babel/helper-optimise-call-expression": "^7.0.0-rc.4",
|
||||
"@babel/helper-plugin-utils": "^7.0.0-rc.4",
|
||||
"@babel/helper-replace-supers": "^7.0.0-rc.4",
|
||||
"@babel/helper-split-export-declaration": "^7.0.0-rc.4",
|
||||
"globals": "^11.1.0"
|
||||
},
|
||||
"keywords": [
|
||||
@@ -22,7 +22,7 @@
|
||||
"@babel/core": "^7.0.0-0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "7.0.0-rc.3",
|
||||
"@babel/helper-plugin-test-runner": "7.0.0-rc.3"
|
||||
"@babel/core": "^7.0.0-rc.4",
|
||||
"@babel/helper-plugin-test-runner": "^7.0.0-rc.4"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@babel/plugin-transform-computed-properties",
|
||||
"version": "7.0.0-rc.3",
|
||||
"version": "7.0.0-rc.4",
|
||||
"description": "Compile ES2015 computed properties to ES5",
|
||||
"repository": "https://github.com/babel/babel/tree/master/packages/babel-plugin-transform-computed-properties",
|
||||
"license": "MIT",
|
||||
@@ -9,13 +9,13 @@
|
||||
"babel-plugin"
|
||||
],
|
||||
"dependencies": {
|
||||
"@babel/helper-plugin-utils": "7.0.0-rc.3"
|
||||
"@babel/helper-plugin-utils": "^7.0.0-rc.4"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@babel/core": "^7.0.0-0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "7.0.0-rc.3",
|
||||
"@babel/helper-plugin-test-runner": "7.0.0-rc.3"
|
||||
"@babel/core": "^7.0.0-rc.4",
|
||||
"@babel/helper-plugin-test-runner": "^7.0.0-rc.4"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@babel/plugin-transform-destructuring",
|
||||
"version": "7.0.0-rc.3",
|
||||
"version": "7.0.0-rc.4",
|
||||
"description": "Compile ES2015 destructuring to ES5",
|
||||
"repository": "https://github.com/babel/babel/tree/master/packages/babel-plugin-transform-destructuring",
|
||||
"license": "MIT",
|
||||
@@ -9,13 +9,13 @@
|
||||
"babel-plugin"
|
||||
],
|
||||
"dependencies": {
|
||||
"@babel/helper-plugin-utils": "7.0.0-rc.3"
|
||||
"@babel/helper-plugin-utils": "^7.0.0-rc.4"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@babel/core": "^7.0.0-0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "7.0.0-rc.3",
|
||||
"@babel/helper-plugin-test-runner": "7.0.0-rc.3"
|
||||
"@babel/core": "^7.0.0-rc.4",
|
||||
"@babel/helper-plugin-test-runner": "^7.0.0-rc.4"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@babel/plugin-transform-dotall-regex",
|
||||
"version": "7.0.0-rc.3",
|
||||
"version": "7.0.0-rc.4",
|
||||
"description": "Compile regular expressions using the `s` (`dotAll`) flag to ES5.",
|
||||
"homepage": "https://babeljs.io/",
|
||||
"license": "MIT",
|
||||
@@ -21,15 +21,15 @@
|
||||
},
|
||||
"bugs": "https://github.com/babel/babel/issues",
|
||||
"dependencies": {
|
||||
"@babel/helper-plugin-utils": "7.0.0-rc.3",
|
||||
"@babel/helper-regex": "7.0.0-rc.3",
|
||||
"@babel/helper-plugin-utils": "^7.0.0-rc.4",
|
||||
"@babel/helper-regex": "^7.0.0-rc.4",
|
||||
"regexpu-core": "^4.1.3"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@babel/core": "^7.0.0-0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "7.0.0-rc.3",
|
||||
"@babel/helper-plugin-test-runner": "7.0.0-rc.3"
|
||||
"@babel/core": "^7.0.0-rc.4",
|
||||
"@babel/helper-plugin-test-runner": "^7.0.0-rc.4"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@babel/plugin-transform-duplicate-keys",
|
||||
"version": "7.0.0-rc.3",
|
||||
"version": "7.0.0-rc.4",
|
||||
"description": "Compile objects with duplicate keys to valid strict ES5",
|
||||
"repository": "https://github.com/babel/babel/tree/master/packages/babel-plugin-transform-duplicate-keys",
|
||||
"license": "MIT",
|
||||
@@ -9,13 +9,13 @@
|
||||
"babel-plugin"
|
||||
],
|
||||
"dependencies": {
|
||||
"@babel/helper-plugin-utils": "7.0.0-rc.3"
|
||||
"@babel/helper-plugin-utils": "^7.0.0-rc.4"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@babel/core": "^7.0.0-0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "7.0.0-rc.3",
|
||||
"@babel/helper-plugin-test-runner": "7.0.0-rc.3"
|
||||
"@babel/core": "^7.0.0-rc.4",
|
||||
"@babel/helper-plugin-test-runner": "^7.0.0-rc.4"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@babel/plugin-transform-exponentiation-operator",
|
||||
"version": "7.0.0-rc.3",
|
||||
"version": "7.0.0-rc.4",
|
||||
"description": "Compile exponentiation operator to ES5",
|
||||
"repository": "https://github.com/babel/babel/tree/master/packages/babel-plugin-transform-exponentiation-operator",
|
||||
"license": "MIT",
|
||||
@@ -9,14 +9,14 @@
|
||||
"babel-plugin"
|
||||
],
|
||||
"dependencies": {
|
||||
"@babel/helper-builder-binary-assignment-operator-visitor": "7.0.0-rc.3",
|
||||
"@babel/helper-plugin-utils": "7.0.0-rc.3"
|
||||
"@babel/helper-builder-binary-assignment-operator-visitor": "^7.0.0-rc.4",
|
||||
"@babel/helper-plugin-utils": "^7.0.0-rc.4"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@babel/core": "^7.0.0-0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "7.0.0-rc.3",
|
||||
"@babel/helper-plugin-test-runner": "7.0.0-rc.3"
|
||||
"@babel/core": "^7.0.0-rc.4",
|
||||
"@babel/helper-plugin-test-runner": "^7.0.0-rc.4"
|
||||
}
|
||||
}
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user