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/plugin-transform-json-strings

Package Overview
Dependencies
Maintainers
4
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@babel/plugin-transform-json-strings - npm Package Compare versions

Comparing version
7.27.1
to
7.28.6
+1
-1
lib/index.js

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

var _default = exports.default = (0, _helperPluginUtils.declare)(api => {
api.assertVersion("^7.0.0-0 || >8.0.0-alpha <8.0.0-beta");
api.assertVersion("^7.0.0-0 || ^8.0.0-0 || >8.0.0-alpha <8.0.0-beta");
const regex = /(\\*)([\u2028\u2029])/g;

@@ -12,0 +12,0 @@ function replace(match, escapes, separator) {

{
"name": "@babel/plugin-transform-json-strings",
"version": "7.27.1",
"version": "7.28.6",
"description": "Escape U+2028 LINE SEPARATOR and U+2029 PARAGRAPH SEPARATOR in JS strings",

@@ -20,3 +20,3 @@ "repository": {

"dependencies": {
"@babel/helper-plugin-utils": "^7.27.1"
"@babel/helper-plugin-utils": "^7.28.6"
},

@@ -27,3 +27,3 @@ "peerDependencies": {

"devDependencies": {
"@babel/core": "^7.27.1",
"@babel/core": "^7.28.6",
"@babel/helper-plugin-test-runner": "^7.27.1"

@@ -30,0 +30,0 @@ },

Sorry, the diff of this file is not supported yet