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
7.27.1
to
7.27.2
+2
-1
lib/populate.js

@@ -39,3 +39,4 @@ "use strict";

try {
applyReplacement(placeholder, ast, replacements && replacements[placeholder.name] || null);
var _ref;
applyReplacement(placeholder, ast, (_ref = replacements && replacements[placeholder.name]) != null ? _ref : null);
} catch (e) {

@@ -42,0 +43,0 @@ e.message = `@babel/template placeholder "${placeholder.name}": ${e.message}`;

{
"name": "@babel/template",
"version": "7.27.1",
"version": "7.27.2",
"description": "Generate an AST from a string template.",

@@ -20,3 +20,3 @@ "author": "The Babel Team (https://babel.dev/team)",

"@babel/code-frame": "^7.27.1",
"@babel/parser": "^7.27.1",
"@babel/parser": "^7.27.2",
"@babel/types": "^7.27.1"

@@ -23,0 +23,0 @@ },

Sorry, the diff of this file is not supported yet