Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoInstallSign in
Socket

@babel/template

Package Overview
Dependencies
Maintainers
4
Versions
105
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@babel/template - npm Package Compare versions

Comparing version
8.0.0-beta.4
to
8.0.0-rc.1
+2
-9
lib/index.js

@@ -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