Socket
Socket
Sign inDemoInstall

@babel/template

Package Overview
Dependencies
16
Maintainers
4
Versions
78
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 7.23.9 to 7.24.0

2

lib/literal.js

@@ -24,3 +24,3 @@ "use strict";

Object.keys(replacements).forEach(key => {
if (Object.prototype.hasOwnProperty.call(defaultReplacements, key)) {
if (hasOwnProperty.call(defaultReplacements, key)) {
throw new Error("Unexpected replacement overlap.");

@@ -27,0 +27,0 @@ }

@@ -23,3 +23,3 @@ "use strict";

metadata.placeholders.forEach(placeholder => {
if (!Object.prototype.hasOwnProperty.call(replacements, placeholder.name)) {
if (!hasOwnProperty.call(replacements, placeholder.name)) {
const placeholderName = placeholder.name;

@@ -26,0 +26,0 @@ throw new Error(`Error: No substitution given for "${placeholderName}". If this is not meant to be a

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

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

"@babel/code-frame": "^7.23.5",
"@babel/parser": "^7.23.9",
"@babel/types": "^7.23.9"
"@babel/parser": "^7.24.0",
"@babel/types": "^7.24.0"
},

@@ -24,0 +24,0 @@ "engines": {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc