Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@babel/plugin-transform-json-strings

Package Overview
Dependencies
Maintainers
4
Versions
44
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
8.0.0-rc.4
to
8.0.0-rc.5
+1
-1
lib/index.js
import { declare } from '@babel/helper-plugin-utils';
const index = declare(api => {
api.assertVersion("^7.0.0-0 || ^8.0.0 || 8.0.0-rc.4");
api.assertVersion("^7.0.0-0 || ^8.0.0 || 8.0.0-rc.5");
const regex = /(\\*)([\u2028\u2029])/g;

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

{
"name": "@babel/plugin-transform-json-strings",
"version": "8.0.0-rc.4",
"version": "8.0.0-rc.5",
"description": "Escape U+2028 LINE SEPARATOR and U+2029 PARAGRAPH SEPARATOR in JS strings",

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

"dependencies": {
"@babel/helper-plugin-utils": "^8.0.0-rc.4"
"@babel/helper-plugin-utils": "^8.0.0-rc.5"
},
"peerDependencies": {
"@babel/core": "^8.0.0-rc.4"
"@babel/core": "^8.0.0-rc.5"
},
"devDependencies": {
"@babel/core": "^8.0.0-rc.4",
"@babel/helper-plugin-test-runner": "^8.0.0-rc.4"
"@babel/core": "^8.0.0-rc.5",
"@babel/helper-plugin-test-runner": "^8.0.0-rc.5"
},
"engines": {
"node": "^20.19.0 || >=22.12.0"
"node": "^22.18.0 || >=24.11.0"
},

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