babel-template
Advanced tools
Comparing version 6.2.4 to 6.3.0
@@ -37,3 +37,9 @@ "use strict"; | ||
// original stack to append if it errors when parsing | ||
var stack = new Error().stack.split("\n").slice(1).join("\n"); | ||
var stack = undefined; | ||
try { | ||
// error stack gets populated in IE only on throw (https://msdn.microsoft.com/en-us/library/hh699850(v=vs.94).aspx) | ||
throw new Error(); | ||
} catch (error) { | ||
stack = error.stack.split("\n").slice(1).join("\n"); | ||
} | ||
@@ -40,0 +46,0 @@ var _getAst = function getAst() { |
{ | ||
"name": "babel-template", | ||
"version": "6.2.4", | ||
"version": "6.3.0", | ||
"description": "Generate an AST from a string template.", | ||
@@ -11,5 +11,5 @@ "author": "Sebastian McKenzie <sebmck@gmail.com>", | ||
"dependencies": { | ||
"babylon": "^6.2.4", | ||
"babel-traverse": "^6.2.4", | ||
"babel-types": "^6.2.4", | ||
"babylon": "^6.3.0", | ||
"babel-traverse": "^6.2.0", | ||
"babel-types": "^6.3.0", | ||
"babel-runtime": "^5.0.0", | ||
@@ -16,0 +16,0 @@ "lodash": "^3.10.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
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
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
4466
98
1
Updatedbabel-traverse@^6.2.0
Updatedbabel-types@^6.3.0
Updatedbabylon@^6.3.0