@babel/template
Advanced tools
+2
-9
@@ -514,10 +514,3 @@ import * as _t from '@babel/types'; | ||
| function extendedTrace(fn) { | ||
| let rootStack = ""; | ||
| try { | ||
| throw new Error(); | ||
| } catch (error) { | ||
| if (error.stack) { | ||
| rootStack = error.stack.split("\n").slice(3).join("\n"); | ||
| } | ||
| } | ||
| const rootErr = new Error(); | ||
| return arg => { | ||
@@ -527,3 +520,3 @@ try { | ||
| } catch (err) { | ||
| err.stack += `\n =============\n${rootStack}`; | ||
| err.stack += `\n =============\n${rootErr.stack.split("\n").slice(3).join("\n")}`; | ||
| throw err; | ||
@@ -530,0 +523,0 @@ } |
+4
-4
| { | ||
| "name": "@babel/template", | ||
| "version": "8.0.0-beta.4", | ||
| "version": "8.0.0-rc.1", | ||
| "description": "Generate an AST from a string template.", | ||
@@ -19,5 +19,5 @@ "author": "The Babel Team (https://babel.dev/team)", | ||
| "dependencies": { | ||
| "@babel/code-frame": "^8.0.0-beta.4", | ||
| "@babel/parser": "^8.0.0-beta.4", | ||
| "@babel/types": "^8.0.0-beta.4" | ||
| "@babel/code-frame": "^8.0.0-rc.1", | ||
| "@babel/parser": "^8.0.0-rc.1", | ||
| "@babel/types": "^8.0.0-rc.1" | ||
| }, | ||
@@ -24,0 +24,0 @@ "engines": { |
Sorry, the diff of this file is not supported yet
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
70051
-0.78%603
-1.15%Updated
Updated