Bump babel to alpha 15 (#372)
This commit is contained in:
parent
51ace73e7c
commit
fa0b73ba33
@ -25,46 +25,46 @@
|
||||
"test-only": "mocha ./test --compilers js:babel-register -t 10000"
|
||||
},
|
||||
"dependencies": {
|
||||
"babel-plugin-check-es2015-constants": "7.0.0-alpha.12",
|
||||
"babel-plugin-syntax-trailing-function-commas": "7.0.0-alpha.12",
|
||||
"babel-plugin-transform-async-to-generator": "7.0.0-alpha.12",
|
||||
"babel-plugin-transform-es2015-arrow-functions": "7.0.0-alpha.12",
|
||||
"babel-plugin-transform-es2015-block-scoped-functions": "7.0.0-alpha.12",
|
||||
"babel-plugin-transform-es2015-block-scoping": "7.0.0-alpha.12",
|
||||
"babel-plugin-transform-es2015-classes": "7.0.0-alpha.12",
|
||||
"babel-plugin-transform-es2015-computed-properties": "7.0.0-alpha.12",
|
||||
"babel-plugin-transform-es2015-destructuring": "7.0.0-alpha.12",
|
||||
"babel-plugin-transform-es2015-duplicate-keys": "7.0.0-alpha.12",
|
||||
"babel-plugin-transform-es2015-for-of": "7.0.0-alpha.12",
|
||||
"babel-plugin-transform-es2015-function-name": "7.0.0-alpha.12",
|
||||
"babel-plugin-transform-es2015-literals": "7.0.0-alpha.12",
|
||||
"babel-plugin-transform-es2015-modules-amd": "7.0.0-alpha.12",
|
||||
"babel-plugin-transform-es2015-modules-commonjs": "7.0.0-alpha.12",
|
||||
"babel-plugin-transform-es2015-modules-systemjs": "7.0.0-alpha.12",
|
||||
"babel-plugin-transform-es2015-modules-umd": "7.0.0-alpha.12",
|
||||
"babel-plugin-transform-es2015-object-super": "7.0.0-alpha.12",
|
||||
"babel-plugin-transform-es2015-parameters": "7.0.0-alpha.12",
|
||||
"babel-plugin-transform-es2015-shorthand-properties": "7.0.0-alpha.12",
|
||||
"babel-plugin-transform-es2015-spread": "7.0.0-alpha.12",
|
||||
"babel-plugin-transform-es2015-sticky-regex": "7.0.0-alpha.12",
|
||||
"babel-plugin-transform-es2015-template-literals": "7.0.0-alpha.12",
|
||||
"babel-plugin-transform-es2015-typeof-symbol": "7.0.0-alpha.12",
|
||||
"babel-plugin-transform-es2015-unicode-regex": "7.0.0-alpha.12",
|
||||
"babel-plugin-transform-exponentiation-operator": "7.0.0-alpha.12",
|
||||
"babel-plugin-transform-regenerator": "7.0.0-alpha.12",
|
||||
"babel-plugin-check-es2015-constants": "7.0.0-alpha.15",
|
||||
"babel-plugin-syntax-trailing-function-commas": "7.0.0-alpha.15",
|
||||
"babel-plugin-transform-async-to-generator": "7.0.0-alpha.15",
|
||||
"babel-plugin-transform-es2015-arrow-functions": "7.0.0-alpha.15",
|
||||
"babel-plugin-transform-es2015-block-scoped-functions": "7.0.0-alpha.15",
|
||||
"babel-plugin-transform-es2015-block-scoping": "7.0.0-alpha.15",
|
||||
"babel-plugin-transform-es2015-classes": "7.0.0-alpha.15",
|
||||
"babel-plugin-transform-es2015-computed-properties": "7.0.0-alpha.15",
|
||||
"babel-plugin-transform-es2015-destructuring": "7.0.0-alpha.15",
|
||||
"babel-plugin-transform-es2015-duplicate-keys": "7.0.0-alpha.15",
|
||||
"babel-plugin-transform-es2015-for-of": "7.0.0-alpha.15",
|
||||
"babel-plugin-transform-es2015-function-name": "7.0.0-alpha.15",
|
||||
"babel-plugin-transform-es2015-literals": "7.0.0-alpha.15",
|
||||
"babel-plugin-transform-es2015-modules-amd": "7.0.0-alpha.15",
|
||||
"babel-plugin-transform-es2015-modules-commonjs": "7.0.0-alpha.15",
|
||||
"babel-plugin-transform-es2015-modules-systemjs": "7.0.0-alpha.15",
|
||||
"babel-plugin-transform-es2015-modules-umd": "7.0.0-alpha.15",
|
||||
"babel-plugin-transform-es2015-object-super": "7.0.0-alpha.15",
|
||||
"babel-plugin-transform-es2015-parameters": "7.0.0-alpha.15",
|
||||
"babel-plugin-transform-es2015-shorthand-properties": "7.0.0-alpha.15",
|
||||
"babel-plugin-transform-es2015-spread": "7.0.0-alpha.15",
|
||||
"babel-plugin-transform-es2015-sticky-regex": "7.0.0-alpha.15",
|
||||
"babel-plugin-transform-es2015-template-literals": "7.0.0-alpha.15",
|
||||
"babel-plugin-transform-es2015-typeof-symbol": "7.0.0-alpha.15",
|
||||
"babel-plugin-transform-es2015-unicode-regex": "7.0.0-alpha.15",
|
||||
"babel-plugin-transform-exponentiation-operator": "7.0.0-alpha.15",
|
||||
"babel-plugin-transform-regenerator": "7.0.0-alpha.15",
|
||||
"browserslist": "^2.1.2",
|
||||
"invariant": "^2.2.2",
|
||||
"semver": "^5.3.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"babel-cli": "7.0.0-alpha.12",
|
||||
"babel-cli": "7.0.0-alpha.15",
|
||||
"babel-eslint": "^7.1.1",
|
||||
"babel-helper-fixtures": "7.0.0-alpha.12",
|
||||
"babel-helper-plugin-test-runner": "7.0.0-alpha.12",
|
||||
"babel-plugin-istanbul": "^4.0.0",
|
||||
"babel-plugin-transform-flow-strip-types": "7.0.0-alpha.12",
|
||||
"babel-preset-env": "2.0.0-alpha.1",
|
||||
"babel-register": "7.0.0-alpha.12",
|
||||
"babel-helper-fixtures": "7.0.0-alpha.15",
|
||||
"babel-helper-plugin-test-runner": "7.0.0-alpha.15",
|
||||
"babel-plugin-istanbul": "^4.1.4",
|
||||
"babel-plugin-transform-flow-strip-types": "7.0.0-alpha.15",
|
||||
"babel-preset-env": "2.0.0-alpha.12",
|
||||
"babel-register": "7.0.0-alpha.15",
|
||||
"chai": "^4.0.2",
|
||||
"codecov": "^2.2.0",
|
||||
"compat-table": "kangax/compat-table#d88c80ea6dcbc7064112eb46bb020718107892f7",
|
||||
@ -77,7 +77,7 @@
|
||||
"lint-staged": "^4.0.0",
|
||||
"lodash": "^4.17.4",
|
||||
"mocha": "^3.4.2",
|
||||
"nyc": "^10.1.2",
|
||||
"nyc": "^11.0.3",
|
||||
"prettier": "1.5.2",
|
||||
"rimraf": "^2.6.1"
|
||||
},
|
||||
|
||||
@ -1,3 +1,3 @@
|
||||
function* a() {
|
||||
yield 1;
|
||||
}
|
||||
}
|
||||
@ -1,4 +1,5 @@
|
||||
import "babel-polyfill/lib/core-js/modules/web.dom.iterable";
|
||||
|
||||
function* a() {
|
||||
yield* 1;
|
||||
}
|
||||
@ -1,27 +1,38 @@
|
||||
Array.from; // static method
|
||||
Map; // built-in
|
||||
new Promise(); // new builtin
|
||||
Symbol.match; // as member expression
|
||||
_arr[Symbol.iterator](); // Symbol.iterator
|
||||
|
||||
Map; // built-in
|
||||
|
||||
new Promise(); // new builtin
|
||||
|
||||
Symbol.match; // as member expression
|
||||
|
||||
_arr[Symbol.iterator](); // Symbol.iterator
|
||||
// no import
|
||||
|
||||
|
||||
Array.asdf;
|
||||
Array2.from;
|
||||
Map2;
|
||||
new Promise2();
|
||||
Symbol.asdf;
|
||||
Symbol2.match;
|
||||
|
||||
_arr9[Symbol2.iterator]();
|
||||
|
||||
_arr9[Symbol.iterator2]();
|
||||
|
||||
G.assign; // static method
|
||||
|
||||
function H(WeakMap) {
|
||||
var blah = new WeakMap();
|
||||
} // shadowed
|
||||
|
||||
// not covered by this plugin
|
||||
|
||||
|
||||
var asdf = 'copyWithin';
|
||||
i[asdf]; // computed with identifier
|
||||
j['copyWithin']; // computed with template
|
||||
|
||||
j["copyWithin"]; // computed with template
|
||||
|
||||
var _k = k,
|
||||
_a = _k[asdf]; // computed
|
||||
@ -1,12 +1,23 @@
|
||||
Array.from; // static function
|
||||
Map; // top level built-in
|
||||
|
||||
Map; // top level built-in
|
||||
// instance methods may have false positives (which is ok)
|
||||
|
||||
a.includes(); // method call
|
||||
|
||||
b['find']; // computed string?
|
||||
|
||||
c.prototype.findIndex(); // .prototype
|
||||
|
||||
d.fill.bind(); //.bind
|
||||
|
||||
e.padStart.apply(); // .apply
|
||||
|
||||
f.padEnd.call(); // .call
|
||||
|
||||
String.prototype.startsWith.call; // prototype.call
|
||||
var { codePointAt, endsWith } = k; // destructuring
|
||||
|
||||
var {
|
||||
codePointAt,
|
||||
endsWith
|
||||
} = k; // destructuring
|
||||
@ -15,16 +15,24 @@ import "babel-polyfill/lib/core-js/modules/es6.string.includes";
|
||||
import "babel-polyfill/lib/core-js/modules/es6.map";
|
||||
import "babel-polyfill/lib/core-js/modules/es6.array.from";
|
||||
Array.from; // static function
|
||||
Map; // top level built-in
|
||||
|
||||
Map; // top level built-in
|
||||
// instance methods may have false positives (which is ok)
|
||||
|
||||
a.includes(); // method call
|
||||
|
||||
b['find']; // computed string?
|
||||
|
||||
c.prototype.findIndex(); // .prototype
|
||||
|
||||
d.fill.bind(); //.bind
|
||||
|
||||
e.padStart.apply(); // .apply
|
||||
|
||||
f.padEnd.call(); // .call
|
||||
|
||||
String.prototype.startsWith.call; // prototype.call
|
||||
|
||||
var _k = k,
|
||||
codePointAt = _k.codePointAt,
|
||||
endsWith = _k.endsWith; // destructuring
|
||||
@ -33,7 +41,10 @@ var asdf = "copyWithin";
|
||||
var asdf2 = "split";
|
||||
var asdf3 = "re" + "place";
|
||||
i[asdf]; // computed with identifier
|
||||
|
||||
j["search"]; // computed with template
|
||||
|
||||
k[asdf3]; // computed with concat strings
|
||||
|
||||
var _k2 = k,
|
||||
_a = _k2[asdf2]; // computed
|
||||
_a = _k2[asdf2]; // computed
|
||||
@ -1,25 +1,36 @@
|
||||
Array.from; // static method
|
||||
Map; // built-in
|
||||
new Promise(); // new builtin
|
||||
Symbol.match; // as member expression
|
||||
|
||||
Map; // built-in
|
||||
|
||||
new Promise(); // new builtin
|
||||
|
||||
Symbol.match; // as member expression
|
||||
// no import
|
||||
|
||||
Array.asdf;
|
||||
Array2.from;
|
||||
Map2;
|
||||
new Promise2();
|
||||
Symbol.asdf;
|
||||
Symbol2.match;
|
||||
|
||||
_arr9[Symbol2.iterator]();
|
||||
|
||||
_arr9[Symbol.iterator2]();
|
||||
|
||||
G.assign; // static method
|
||||
|
||||
function H(WeakMap) {
|
||||
var blah = new WeakMap();
|
||||
} // shadowed
|
||||
|
||||
// not covered by this plugin
|
||||
|
||||
|
||||
var asdf = 'copyWithin';
|
||||
i[asdf]; // computed with identifier
|
||||
|
||||
j[`copyWithin`]; // computed with template
|
||||
var { [asdf]: _a } = k; // computed
|
||||
|
||||
var {
|
||||
[asdf]: _a
|
||||
} = k; // computed
|
||||
@ -5,22 +5,30 @@ import "babel-polyfill/lib/core-js/modules/es6.promise";
|
||||
import "babel-polyfill/lib/core-js/modules/es6.map";
|
||||
import "babel-polyfill/lib/core-js/modules/es6.array.from";
|
||||
Array.from; // static method
|
||||
Map; // built-in
|
||||
new Promise(); // new builtin
|
||||
Symbol.match; // as member expression
|
||||
_arr[Symbol.iterator](); // Symbol.iterator
|
||||
|
||||
Map; // built-in
|
||||
|
||||
new Promise(); // new builtin
|
||||
|
||||
Symbol.match; // as member expression
|
||||
|
||||
_arr[Symbol.iterator](); // Symbol.iterator
|
||||
// no import
|
||||
|
||||
|
||||
Array.asdf;
|
||||
Array2.from;
|
||||
Map2;
|
||||
new Promise2();
|
||||
Symbol.asdf;
|
||||
Symbol2.match;
|
||||
|
||||
_arr9[Symbol2.iterator]();
|
||||
|
||||
_arr9[Symbol.iterator2]();
|
||||
|
||||
G.assign; // static method
|
||||
|
||||
function H(WeakMap) {
|
||||
var blah = new WeakMap();
|
||||
} // shadowed
|
||||
} // shadowed
|
||||
@ -19,4 +19,4 @@ var a = function () {
|
||||
};
|
||||
}();
|
||||
|
||||
function _asyncToGenerator(fn) { return function () { var _this = this, _arguments = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(_this, _arguments); function step(key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } } function _next(value) { step("next", value); } function _throw(err) { step("throw", err); } _next(); }); }; }
|
||||
function _asyncToGenerator(fn) { return function () { var _this = this, _arguments = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(_this, _arguments); function step(key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } } function _next(value) { step("next", value); } function _throw(err) { step("throw", err); } _next(); }); }; }
|
||||
@ -6,6 +6,4 @@ import "babel-polyfill/lib/core-js/modules/es7.string.pad-end";
|
||||
import "babel-polyfill/lib/core-js/modules/web.timers";
|
||||
import "babel-polyfill/lib/core-js/modules/web.immediate";
|
||||
import "babel-polyfill/lib/core-js/modules/web.dom.iterable";
|
||||
|
||||
|
||||
a ** b;
|
||||
@ -4,7 +4,6 @@ import "babel-polyfill/lib/core-js/modules/web.immediate";
|
||||
import "babel-polyfill/lib/core-js/modules/web.dom.iterable";
|
||||
import "babel-polyfill/lib/core-js/modules/es6.map";
|
||||
|
||||
|
||||
async function a() {
|
||||
await 1;
|
||||
}
|
||||
|
||||
@ -5,8 +5,9 @@ var _this = undefined;
|
||||
function _newArrowCheck(innerThis, boundThis) { if (innerThis !== boundThis) { throw new TypeError("Cannot instantiate an arrow function"); } }
|
||||
|
||||
var bar = "bar";
|
||||
|
||||
var x = function x() {
|
||||
_newArrowCheck(this, _this);
|
||||
|
||||
return "foo" + bar;
|
||||
}.bind(undefined);
|
||||
return "foo".concat(bar);
|
||||
}.bind(undefined);
|
||||
@ -4,6 +4,4 @@ import "babel-polyfill/lib/core-js/modules/web.timers";
|
||||
import "babel-polyfill/lib/core-js/modules/web.immediate";
|
||||
import "babel-polyfill/lib/core-js/modules/web.dom.iterable";
|
||||
import "babel-polyfill/lib/regenerator-runtime/runtime";
|
||||
|
||||
|
||||
var a = 1;
|
||||
@ -43,5 +43,4 @@ import "babel-polyfill/lib/core-js/modules/web.timers";
|
||||
import "babel-polyfill/lib/core-js/modules/web.immediate";
|
||||
import "babel-polyfill/lib/core-js/modules/web.dom.iterable";
|
||||
import "babel-polyfill/lib/regenerator-runtime/runtime";
|
||||
|
||||
Math.pow(1, 2);
|
||||
@ -29,5 +29,4 @@ import "babel-polyfill/lib/core-js/modules/web.timers";
|
||||
import "babel-polyfill/lib/core-js/modules/web.immediate";
|
||||
import "babel-polyfill/lib/core-js/modules/web.dom.iterable";
|
||||
import "babel-polyfill/lib/regenerator-runtime/runtime";
|
||||
|
||||
Math.pow(1, 2);
|
||||
@ -3,5 +3,4 @@ import "babel-polyfill/lib/core-js/modules/es7.string.pad-end";
|
||||
import "babel-polyfill/lib/core-js/modules/web.timers";
|
||||
import "babel-polyfill/lib/core-js/modules/web.immediate";
|
||||
import "babel-polyfill/lib/core-js/modules/web.dom.iterable";
|
||||
|
||||
1 ** 2;
|
||||
@ -1,3 +1,5 @@
|
||||
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
||||
|
||||
var a = _defineProperty({ b: 1 }, "b", 2);
|
||||
var a = _defineProperty({
|
||||
b: 1
|
||||
}, "b", 2);
|
||||
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user