babel-source 5.8.13 → 5.8.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +8 -8
- data/lib/babel.js +16 -5
- data/lib/babel/source.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
NTA3YzQ2NWNmNGEwZGE5NmIyYWNlZGUxZDhkMTgyYjE0ZDJjZWI0NA==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
MTVmZDU3NGViMWNlYmFkMTliNWMyODM3OTUyOGViYjk3MmZhNjVjYg==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
NmM1MWUxMDM0NzZmM2ZkZjc2YWFkNzc5Y2VjZmY3MTJmNTVlZjE4YzdhODk3
|
10
|
+
NTFlZDk4OWIwMTRkNGM1ZTUwM2NhNWFjOGU5ZTk1ZTA2Mjk5OGI3N2EyYjg3
|
11
|
+
ZjY1NzllOGI4MDg3MzRiZmYyY2ZjYmU1YTNjMjFiYTQ4MDJkOWY=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
ZWFlZTViODc2Y2JhZWM5MDJmMTgzODIyMGQ1ZGZmM2ViOTQwMjU2NzMxMDM2
|
14
|
+
NTZlN2FmN2Q4NDUxOWQzYTU1NTBlNjE1MmQzOGQ5ZTlmN2U5YTdmN2YyZjgx
|
15
|
+
NTFmZDIxMDZkOTg4NDBhZWUwNDg3NTg0NTA0YTU0MjZmNzUxYjM=
|
data/lib/babel.js
CHANGED
@@ -9985,10 +9985,10 @@ exports["default"] = function (lines, lineNumber, colNumber) {
|
|
9985
9985
|
}).join("\n");
|
9986
9986
|
|
9987
9987
|
if (highlighted) {
|
9988
|
-
|
9988
|
+
return _chalk2["default"].reset(frame);
|
9989
|
+
} else {
|
9990
|
+
return frame;
|
9989
9991
|
}
|
9990
|
-
|
9991
|
-
return frame;
|
9992
9992
|
};
|
9993
9993
|
|
9994
9994
|
module.exports = exports["default"];
|
@@ -27737,8 +27737,19 @@ var Scope = (function () {
|
|
27737
27737
|
*/
|
27738
27738
|
|
27739
27739
|
Scope.prototype.removeBinding = function removeBinding(name) {
|
27740
|
+
// clear literal binding
|
27740
27741
|
var info = this.getBinding(name);
|
27741
|
-
if (info)
|
27742
|
+
if (info) {
|
27743
|
+
info.scope.removeOwnBinding(name);
|
27744
|
+
}
|
27745
|
+
|
27746
|
+
// clear uids with this name - https://github.com/babel/babel/issues/2101
|
27747
|
+
var scope = this;
|
27748
|
+
do {
|
27749
|
+
if (scope.uids[name]) {
|
27750
|
+
scope.uids[name] = false;
|
27751
|
+
}
|
27752
|
+
} while (scope = scope.parent);
|
27742
27753
|
};
|
27743
27754
|
|
27744
27755
|
_createClass(Scope, null, [{
|
@@ -68400,7 +68411,7 @@ resolve.relative = function (loc) {
|
|
68400
68411
|
},{"_process":12,"module":1}],552:[function(require,module,exports){
|
68401
68412
|
module.exports={
|
68402
68413
|
"name": "babel-core",
|
68403
|
-
"version": "5.8.
|
68414
|
+
"version": "5.8.14",
|
68404
68415
|
"description": "A compiler for writing next generation JavaScript",
|
68405
68416
|
"author": "Sebastian McKenzie <sebmck@gmail.com>",
|
68406
68417
|
"homepage": "https://babeljs.io/",
|
data/lib/babel/source.rb
CHANGED