babel-source 5.4.6 → 5.4.7
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 +5 -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
|
+
YTFkOWM4NGUxOTEwYzQzYjFlMjBmZjRhYTI5NDhhNWY4YzVkOGE2ZA==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
NGYyOTZmNzA2MjMwNjkxMDQzOTZhNjc5NmVkODc2NWUwMTUyNjdhYQ==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
NjFhNWI0NzQxMDViZDE2MWMzY2RmMzM2MTFhNGQ4Mjc0YmY5NDIzOTVhMGVi
|
10
|
+
NzMzOWJlODE1N2UwNzQ1NWZlYmU0OTNjMzlmM2Y2ZGZmYzJjMjI3OGJiMWI2
|
11
|
+
NWM3MDRiZTk5NjdlOWIxMGY2YTY0NWYxNWRiNTliYzI3NWVlMWI=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
YWM0YmViNzhmNzM4ZGI5YzRmYjhkYzI1YTdlOWVmM2EyYWVjMDA4NDM1MWUy
|
14
|
+
MmRiNWVjZjE4MmQzMGUyMjcxODA4NTVlZDdjMDRkMGM0NjBjNTU5YmMwMmMy
|
15
|
+
OWQ0YzI4NjQwZWE0ZDM1ZTY4NzgyOGUxYjc5YjhmY2UyNzhjNDk=
|
data/lib/babel.js
CHANGED
@@ -22557,6 +22557,10 @@ function isReferenced(node, parent) {
|
|
22557
22557
|
case "ImportNamespaceSpecifier":
|
22558
22558
|
return false;
|
22559
22559
|
|
22560
|
+
// no: <div NODE="foo" />
|
22561
|
+
case "JSXAttribute":
|
22562
|
+
return parent.name !== node;
|
22563
|
+
|
22560
22564
|
// no: import { NODE as foo } from "foo";
|
22561
22565
|
// no: import { foo as NODE } from "foo";
|
22562
22566
|
case "ImportSpecifier":
|
@@ -86298,7 +86302,7 @@ module.exports = function (str) {
|
|
86298
86302
|
module.exports={
|
86299
86303
|
"name": "babel-core",
|
86300
86304
|
"description": "A compiler for writing next generation JavaScript",
|
86301
|
-
"version": "5.4.
|
86305
|
+
"version": "5.4.7",
|
86302
86306
|
"author": "Sebastian McKenzie <sebmck@gmail.com>",
|
86303
86307
|
"homepage": "https://babeljs.io/",
|
86304
86308
|
"license": "MIT",
|
data/lib/babel/source.rb
CHANGED