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

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

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

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

"dependencies": {
"@babel/helper-plugin-utils": "^8.0.0-beta.4"
"@babel/helper-plugin-utils": "^8.0.0-rc.1"
},

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

"devDependencies": {
"@babel/core": "^8.0.0-beta.4",
"@babel/helper-plugin-test-runner": "^8.0.0-beta.4"
"@babel/core": "^8.0.0-rc.1",
"@babel/helper-plugin-test-runner": "^8.0.0-rc.1"
},

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

Sorry, the diff of this file is not supported yet