babel-source 5.0.11 → 5.0.12
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 +6 -1
- 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
|
+
MGRhNzE2NjdiNjM5YzM4YzQzY2U4MzI2OWEzMjdmY2MyOGYyOWEwYw==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
ZGFmZTBjYmM0YzA2YWRkNWZiNzE1YWM2ZWY5NjZjNjA3ZmY1ZjQxMQ==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
YjAxOTE5MjdmMTU3OGI5Y2UyYzE2Y2Q1YzkwZjA5OGIzZThhNmNjZmJjMzNm
|
10
|
+
NWNjMDMzMzViYWFlYWMwODM0ZmVlMmNmNmQ1MGY3ZGQxYjI4ODUzOGMyYmFl
|
11
|
+
NjNkMzdjNjU1YjdiZWNmMTZhMDAwZDU0NzA2NzMzM2NiMTY0MTE=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
NjBiNjg2ZmQzYzdhMDBiNzdiY2Q5ZTZhYTNiMDlhMjU2ZDY1NzJlYmM4OGVl
|
14
|
+
NmViMzgyOTllMmQ2YzRjMzZmOGU4ZjQ5NzQ1ZmI2ZmFlM2RhMThlNTBlZGE2
|
15
|
+
ZWU5ODMwZGFhOWQ3M2JkM2QyMDMzMzM0MzNkYjUyYzk4MjQxODg=
|
data/lib/babel.js
CHANGED
@@ -9642,6 +9642,7 @@ var wrap = function wrap(state, method, id, scope) {
|
|
9642
9642
|
FUNCTION_ID: id,
|
9643
9643
|
FUNCTION_KEY: scope.generateUidIdentifier(id.name)
|
9644
9644
|
});
|
9645
|
+
template.callee._skipModulesRemap = true;
|
9645
9646
|
|
9646
9647
|
// shim in dummy params to retain function arity, if you try to read the
|
9647
9648
|
// source then you'll get the original since it's proxied so it's all good
|
@@ -10413,6 +10414,10 @@ var remapVisitor = {
|
|
10413
10414
|
}
|
10414
10415
|
}
|
10415
10416
|
|
10417
|
+
if (node._skipModulesRemap) {
|
10418
|
+
return this.skip();
|
10419
|
+
}
|
10420
|
+
|
10416
10421
|
if (t.isAssignmentExpression(node) && !node._ignoreModulesRemap) {
|
10417
10422
|
var exported = formatter.getExport(node.left, scope);
|
10418
10423
|
if (exported) {
|
@@ -49847,7 +49852,7 @@ module.exports = function (str) {
|
|
49847
49852
|
module.exports={
|
49848
49853
|
"name": "babel-core",
|
49849
49854
|
"description": "Turn ES6 code into readable vanilla ES5 with source maps",
|
49850
|
-
"version": "5.0.
|
49855
|
+
"version": "5.0.12",
|
49851
49856
|
"author": "Sebastian McKenzie <sebmck@gmail.com>",
|
49852
49857
|
"homepage": "https://babeljs.io/",
|
49853
49858
|
"repository": "babel/babel",
|
data/lib/babel/source.rb
CHANGED