babel-source 5.3.2 → 5.3.3
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 +3 -3
- 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
|
+
ZWVmMjczYmUzNzU3MGQ4ZDg0YzIyZjU2N2YyNmViOWRiNWI0OTMwMg==
|
|
5
5
|
data.tar.gz: !binary |-
|
|
6
|
-
|
|
6
|
+
MzdkZjBmZWE4YzViNDhkMDI0MDFmMThlODVkZWYwNjgxMDJjNWI4OQ==
|
|
7
7
|
SHA512:
|
|
8
8
|
metadata.gz: !binary |-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
ODFjNmVkYmU2ZDk0ZmI3NjA0YmE5NzAxMzAwMDVhMWVjMDg0ZmRkZGE5MmE1
|
|
10
|
+
OGI4ZGE1NGQwOGZlYzAyMDg1M2M5MDAwZmUwNGY4OTgzMzZhZDcxODM3YzJm
|
|
11
|
+
Zjc0ZGIxMzkyY2QwYWFjNmJiMjczNjJlZjA3NDY1MTRjN2NkY2U=
|
|
12
12
|
data.tar.gz: !binary |-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
Yzk5MGU3N2JjM2ZlYTdjOWQ2OGUzYjllY2ZlM2ZmYTgxMjgyZGNjOWM1NTFk
|
|
14
|
+
NjEwZTcxZmNlMjg5ZGE0ZGM4ZjYzY2FjNDBhMjJiYjg0YzYyN2M5MjcyYjVi
|
|
15
|
+
ZjQyNTgyMzc2M2E5YzQ4N2M3ZmRjMWZmMzg1ODg0YWI3YjRmZjk=
|
data/lib/babel.js
CHANGED
|
@@ -16548,7 +16548,7 @@ exports.metadata = metadata;
|
|
|
16548
16548
|
function ReferencedIdentifier(node, parent, scope) {
|
|
16549
16549
|
var binding = scope.getBinding(node.name);
|
|
16550
16550
|
if (!binding || binding.references > 1 || !binding.constant) return;
|
|
16551
|
-
if (binding.kind === "param") return;
|
|
16551
|
+
if (binding.kind === "param" || binding.kind === "module") return;
|
|
16552
16552
|
|
|
16553
16553
|
var replacement = binding.path.node;
|
|
16554
16554
|
if (t.isVariableDeclarator(replacement)) {
|
|
@@ -19559,7 +19559,7 @@ var TraversalPath = (function () {
|
|
|
19559
19559
|
if (!binding || !binding.constant) return;
|
|
19560
19560
|
|
|
19561
19561
|
// todo: take into consideration infinite recursion #1149
|
|
19562
|
-
|
|
19562
|
+
return;
|
|
19563
19563
|
|
|
19564
19564
|
if (binding.path === this) {
|
|
19565
19565
|
return this;
|
|
@@ -85900,7 +85900,7 @@ module.exports = function (str) {
|
|
|
85900
85900
|
module.exports={
|
|
85901
85901
|
"name": "babel-core",
|
|
85902
85902
|
"description": "Turn ES6 code into readable vanilla ES5 with source maps",
|
|
85903
|
-
"version": "5.3.
|
|
85903
|
+
"version": "5.3.3",
|
|
85904
85904
|
"author": "Sebastian McKenzie <sebmck@gmail.com>",
|
|
85905
85905
|
"homepage": "https://babeljs.io/",
|
|
85906
85906
|
"license": "MIT",
|
data/lib/babel/source.rb
CHANGED