babel-helpers
Advanced tools
Comparing version 6.23.0 to 7.0.0-alpha.1
@@ -75,3 +75,2 @@ "use strict"; | ||
helpers.toConsumableArray = (0, _babelTemplate2.default)("\n (function (arr) {\n if (Array.isArray(arr)) {\n for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) arr2[i] = arr[i];\n return arr2;\n } else {\n return Array.from(arr);\n }\n });\n"); | ||
module.exports = exports["default"]; | ||
helpers.toConsumableArray = (0, _babelTemplate2.default)("\n (function (arr) {\n if (Array.isArray(arr)) {\n for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) arr2[i] = arr[i];\n return arr2;\n } else {\n return Array.from(arr);\n }\n });\n"); |
@@ -5,7 +5,2 @@ "use strict"; | ||
exports.list = undefined; | ||
var _keys = require("babel-runtime/core-js/object/keys"); | ||
var _keys2 = _interopRequireDefault(_keys); | ||
exports.get = get; | ||
@@ -26,3 +21,3 @@ | ||
var list = exports.list = (0, _keys2.default)(_helpers2.default).map(function (name) { | ||
var list = exports.list = Object.keys(_helpers2.default).map(function (name) { | ||
return name.replace(/^_/, ""); | ||
@@ -29,0 +24,0 @@ }).filter(function (name) { |
{ | ||
"name": "babel-helpers", | ||
"version": "6.23.0", | ||
"version": "7.0.0-alpha.1", | ||
"description": "Collection of helper functions used by Babel transforms.", | ||
@@ -11,5 +11,4 @@ "author": "Sebastian McKenzie <sebmck@gmail.com>", | ||
"dependencies": { | ||
"babel-runtime": "^6.22.0", | ||
"babel-template": "^6.23.0" | ||
"babel-template": "7.0.0-alpha.1" | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
1
0
18161
86
2
+ Addedbabel-code-frame@7.0.0-alpha.1(transitive)
+ Addedbabel-messages@7.0.0-alpha.1(transitive)
+ Addedbabel-template@7.0.0-alpha.1(transitive)
+ Addedbabel-traverse@7.0.0-alpha.1(transitive)
+ Addedbabel-types@7.0.0-alpha.1(transitive)
+ Addedbabylon@7.0.0-beta.4(transitive)
- Removedbabel-runtime@^6.22.0
- Removedbabel-code-frame@6.26.0(transitive)
- Removedbabel-messages@6.23.0(transitive)
- Removedbabel-runtime@6.26.0(transitive)
- Removedbabel-template@6.26.0(transitive)
- Removedbabel-traverse@6.26.0(transitive)
- Removedbabel-types@6.26.0(transitive)
- Removedbabylon@6.18.0(transitive)
- Removedcore-js@2.6.12(transitive)
- Removedregenerator-runtime@0.11.1(transitive)
Updatedbabel-template@7.0.0-alpha.1