babel-source 4.7.13 → 4.7.14
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/lib/babel.js +13 -2
- data/lib/babel/source.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
YTRmZWNmZTU4MTkwZWU0Nzg0ZjZmNjVkYjUyNDEyOGYwNzkxOGU3MQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
N2I3NTAyZDVkZWQ3MmU3ZTY0YmU3ZmJlZGM0NjZkNzU5ZTU0NTlmYw==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
MGI4NjFhM2E5NmE2YTIzMjQ1YWI0ODY5ZWNmODUwOWQ2NDExZGY4ZTUwMjY1
|
10
|
+
NmNkMjU0ZTI4NmZlOThkODQ1MGE5ZGNiZjgxODdlOTc5ZDY4NTc5NmY5OWI4
|
11
|
+
NzdkODUwYzRhZDJiNGVhZDQ3MWQ0OWI4YjU1YzY1ZTRkZDE1OTY=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
ZmI1YjUxODA3ZTNkY2IwYTVjODc3YTg5YzMyMmE2OTk5ZTUxNWU3NWNmOTI2
|
14
|
+
MzBmY2Y5MzQzN2JlNTQyOTdhMTFlOGY3ZWIxMjJlMGJlMDI3YmE5YzRlNDlk
|
15
|
+
ZjFhNDE4ZDYzNjFlYzU0ODRmNDkzOGY5ZTdmM2JhNjRjZDFlOGM=
|
data/lib/babel.js
CHANGED
@@ -8935,6 +8935,7 @@ var container = function container(parent, call, ret, file) {
|
|
8935
8935
|
function AssignmentExpression(node, parent, scope, file) {
|
8936
8936
|
var left = node.left;
|
8937
8937
|
if (!t.isVirtualPropertyExpression(left)) return;
|
8938
|
+
console.error("Abstract references are deprecated and will be removed in 5.0.0");
|
8938
8939
|
|
8939
8940
|
var value = node.right;
|
8940
8941
|
var temp;
|
@@ -8969,6 +8970,7 @@ function UnaryExpression(node, parent, scope, file) {
|
|
8969
8970
|
var arg = node.argument;
|
8970
8971
|
if (!t.isVirtualPropertyExpression(arg)) return;
|
8971
8972
|
if (node.operator !== "delete") return;
|
8973
|
+
console.error("Abstract references are deprecated and will be removed in 5.0.0");
|
8972
8974
|
|
8973
8975
|
var call = util.template("abstract-expression-delete", {
|
8974
8976
|
PROPERTY: arg.property,
|
@@ -8981,6 +8983,7 @@ function UnaryExpression(node, parent, scope, file) {
|
|
8981
8983
|
function CallExpression(node, parent, scope) {
|
8982
8984
|
var callee = node.callee;
|
8983
8985
|
if (!t.isVirtualPropertyExpression(callee)) return;
|
8986
|
+
console.error("Abstract references are deprecated and will be removed in 5.0.0");
|
8984
8987
|
|
8985
8988
|
var temp = scope.generateTempBasedOnNode(callee.object);
|
8986
8989
|
|
@@ -8999,6 +9002,7 @@ function CallExpression(node, parent, scope) {
|
|
8999
9002
|
}
|
9000
9003
|
|
9001
9004
|
function VirtualPropertyExpression(node) {
|
9005
|
+
console.error("Abstract references are deprecated and will be removed in 5.0.0");
|
9002
9006
|
return util.template("abstract-expression-get", {
|
9003
9007
|
PROPERTY: node.property,
|
9004
9008
|
OBJECT: node.object
|
@@ -9006,6 +9010,7 @@ function VirtualPropertyExpression(node) {
|
|
9006
9010
|
}
|
9007
9011
|
|
9008
9012
|
function PrivateDeclaration(node) {
|
9013
|
+
console.error("Abstract references are deprecated and will be removed in 5.0.0");
|
9009
9014
|
return t.variableDeclaration("const", node.declarations.map(function (id) {
|
9010
9015
|
return t.variableDeclarator(id, t.newExpression(t.identifier("WeakMap"), []));
|
9011
9016
|
}));
|
@@ -10047,6 +10052,7 @@ build(exports, {
|
|
10047
10052
|
},
|
10048
10053
|
|
10049
10054
|
build: function build(node) {
|
10055
|
+
console.error("The mallet operator is deprecated and will be removed in 5.0.0");
|
10050
10056
|
return t.unaryExpression("!", node, true);
|
10051
10057
|
}
|
10052
10058
|
});
|
@@ -10082,6 +10088,7 @@ build(exports, {
|
|
10082
10088
|
}),
|
10083
10089
|
|
10084
10090
|
build: function build(node, file) {
|
10091
|
+
console.error("The memoization operator is deprecated and will be removed in 5.0.0");
|
10085
10092
|
return t.unaryExpression("!", t.callExpression(t.memberExpression(file.addHelper("has-own"), t.identifier("call")), [node.object, node.property]), true);
|
10086
10093
|
}
|
10087
10094
|
});
|
@@ -12707,7 +12714,7 @@ function registerType(type, skipAliasCheck) {
|
|
12707
12714
|
}
|
12708
12715
|
|
12709
12716
|
var STATEMENT_OR_BLOCK_KEYS = exports.STATEMENT_OR_BLOCK_KEYS = ["consequent", "body", "alternate"];
|
12710
|
-
var NATIVE_TYPE_NAMES = exports.NATIVE_TYPE_NAMES = ["Array", "Object", "Number", "Boolean", "Date", "Array", "String"];
|
12717
|
+
var NATIVE_TYPE_NAMES = exports.NATIVE_TYPE_NAMES = ["Array", "Object", "Number", "Boolean", "Date", "Array", "String", "Promise"];
|
12711
12718
|
var FLATTENABLE_KEYS = exports.FLATTENABLE_KEYS = ["body", "expressions"];
|
12712
12719
|
var FOR_INIT_KEYS = exports.FOR_INIT_KEYS = ["left", "init"];
|
12713
12720
|
var COMMENT_KEYS = exports.COMMENT_KEYS = ["leadingComments", "trailingComments"];
|
@@ -32129,6 +32136,7 @@ module.exports={
|
|
32129
32136
|
"event": false,
|
32130
32137
|
"Event": false,
|
32131
32138
|
"FileReader": false,
|
32139
|
+
"fetch": false,
|
32132
32140
|
"find": false,
|
32133
32141
|
"focus": false,
|
32134
32142
|
"FocusEvent": false,
|
@@ -32139,6 +32147,7 @@ module.exports={
|
|
32139
32147
|
"getComputedStyle": false,
|
32140
32148
|
"getSelection": false,
|
32141
32149
|
"HashChangeEvent": false,
|
32150
|
+
"Headers": false,
|
32142
32151
|
"history": false,
|
32143
32152
|
"HTMLAnchorElement": false,
|
32144
32153
|
"HTMLBaseElement": false,
|
@@ -32255,6 +32264,8 @@ module.exports={
|
|
32255
32264
|
"ProgressEvent": false,
|
32256
32265
|
"prompt": false,
|
32257
32266
|
"Range": false,
|
32267
|
+
"Request": false,
|
32268
|
+
"Response": false,
|
32258
32269
|
"removeEventListener": false,
|
32259
32270
|
"requestAnimationFrame": false,
|
32260
32271
|
"resizeBy": false,
|
@@ -46232,7 +46243,7 @@ module.exports = function (str) {
|
|
46232
46243
|
module.exports={
|
46233
46244
|
"name": "babel",
|
46234
46245
|
"description": "Turn ES6 code into readable vanilla ES5 with source maps",
|
46235
|
-
"version": "4.7.
|
46246
|
+
"version": "4.7.14",
|
46236
46247
|
"author": "Sebastian McKenzie <sebmck@gmail.com>",
|
46237
46248
|
"homepage": "https://babeljs.io/",
|
46238
46249
|
"repository": "babel/babel",
|
data/lib/babel/source.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: babel-source
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.7.
|
4
|
+
version: 4.7.14
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sebastian McKenzie
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-03-
|
11
|
+
date: 2015-03-18 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description:
|
14
14
|
email: sebmck@gmail.com
|