babel-source 4.7.15 → 4.7.16
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 +2 -6
- 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
|
+
ODA0YTc2YWFlYWNjYjlhNGRjZWFhZmI4YTVlMTQ0YTc3NWU0YmUzZg==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
NmRlMTgzM2Y5NjNjYzVmZmI5NDEyYzY0MTQ0Y2U1ZDBkMjk0MjlkZQ==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
ZGU3NDZiNjYzMGUyMWVmOGViNjkzY2E5NjI1OTA4ZjdhYjFjODhjMmEzODky
|
10
|
+
YTVmMTY3N2QxYzNjYjk5MDcwMzgxNzFkZTdhZDk3ZGRiZmZhMTNiN2YyOWQ5
|
11
|
+
NDQ4MTM5NTEyN2Y4NzYzNDE0NzQxYWFlM2RjNWQ3YTE2YmUzNmI=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
MDZiNzg1YmQzM2JiNjFkNmU2Y2U5MGE2MmY2NmNjMzAyZjIzZDhjNjVjYzU1
|
14
|
+
MzJmNTZhMDAzZmFjZDNiYzBjZTM5MmFlYmM3NjIwN2Q4MzBiM2I5OWRhMmVm
|
15
|
+
NGFlMTgwMWQwMTBjNTczN2YxZGFhZWI5MzAwZTZkMDliNWYyZTE=
|
data/lib/babel.js
CHANGED
@@ -6614,10 +6614,6 @@ var BlockScoping = (function () {
|
|
6614
6614
|
}
|
6615
6615
|
|
6616
6616
|
if (has.hasBreakContinue) {
|
6617
|
-
if (!loop) {
|
6618
|
-
throw new Error("Aren't in a loop and we're trying to reassign breaks and continues, something is going wrong here.");
|
6619
|
-
}
|
6620
|
-
|
6621
6617
|
for (var key in has.map) {
|
6622
6618
|
cases.push(t.switchCase(t.literal(key), [has.map[key]]));
|
6623
6619
|
}
|
@@ -12714,7 +12710,7 @@ function registerType(type, skipAliasCheck) {
|
|
12714
12710
|
}
|
12715
12711
|
|
12716
12712
|
var STATEMENT_OR_BLOCK_KEYS = exports.STATEMENT_OR_BLOCK_KEYS = ["consequent", "body", "alternate"];
|
12717
|
-
var NATIVE_TYPE_NAMES = exports.NATIVE_TYPE_NAMES = ["Array", "Object", "Number", "Boolean", "Date", "Array", "String", "Promise", "Set", "Map", "WeakMap", "WeakSet"];
|
12713
|
+
var NATIVE_TYPE_NAMES = exports.NATIVE_TYPE_NAMES = ["Array", "Object", "Number", "Boolean", "Date", "Array", "String", "Promise", "Set", "Map", "WeakMap", "WeakSet", "Uint16Array", "ArrayBuffer", "DataView", "Int8Array", "Uint8Array", "Uint8ClampedArray", "Uint32Array", "Int32Array", "Float32Array", "Int16Array", "Float64Array"];
|
12718
12714
|
var FLATTENABLE_KEYS = exports.FLATTENABLE_KEYS = ["body", "expressions"];
|
12719
12715
|
var FOR_INIT_KEYS = exports.FOR_INIT_KEYS = ["left", "init"];
|
12720
12716
|
var COMMENT_KEYS = exports.COMMENT_KEYS = ["leadingComments", "trailingComments"];
|
@@ -46243,7 +46239,7 @@ module.exports = function (str) {
|
|
46243
46239
|
module.exports={
|
46244
46240
|
"name": "babel",
|
46245
46241
|
"description": "Turn ES6 code into readable vanilla ES5 with source maps",
|
46246
|
-
"version": "4.7.
|
46242
|
+
"version": "4.7.16",
|
46247
46243
|
"author": "Sebastian McKenzie <sebmck@gmail.com>",
|
46248
46244
|
"homepage": "https://babeljs.io/",
|
46249
46245
|
"repository": "babel/babel",
|
data/lib/babel/source.rb
CHANGED