babel-core
Advanced tools
Comparing version 4.7.15 to 4.7.16
@@ -16,2 +16,8 @@ # Changelog | ||
## 4.7.16 | ||
* **Bug Fix** | ||
* Fix constructor spreading of typed arrays. | ||
* Fix break/continue/return aliasing of non-loops in block scoping transformer. | ||
## 4.7.15 | ||
@@ -18,0 +24,0 @@ |
@@ -548,6 +548,2 @@ "use strict"; | ||
if (has.hasBreakContinue) { | ||
if (!loop) { | ||
throw new Error("Aren't in a loop and we're trying to reassign breaks and continues, something is going wrong here."); | ||
} | ||
for (var key in has.map) { | ||
@@ -554,0 +550,0 @@ cases.push(t.switchCase(t.literal(key), [has.map[key]])); |
@@ -112,3 +112,3 @@ "use strict"; | ||
exports.STATEMENT_OR_BLOCK_KEYS = STATEMENT_OR_BLOCK_KEYS; | ||
var NATIVE_TYPE_NAMES = ["Array", "Object", "Number", "Boolean", "Date", "Array", "String", "Promise", "Set", "Map", "WeakMap", "WeakSet"]; | ||
var 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"]; | ||
exports.NATIVE_TYPE_NAMES = NATIVE_TYPE_NAMES; | ||
@@ -115,0 +115,0 @@ var FLATTENABLE_KEYS = ["body", "expressions"]; |
{ | ||
"name": "babel-core", | ||
"description": "Turn ES6 code into readable vanilla ES5 with source maps", | ||
"version": "4.7.15", | ||
"version": "4.7.16", | ||
"author": "Sebastian McKenzie <sebmck@gmail.com>", | ||
@@ -6,0 +6,0 @@ "homepage": "https://babeljs.io/", |
Sorry, the diff of this file is too big to display
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 2 instances in 1 package
1956475
175
16527
24