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.3
to
8.0.0-beta.4
+1
-1
lib/index.js
import { declare } from '@babel/helper-plugin-utils';
var index = declare(api => {
api.assertVersion("8.0.0-beta.3");
api.assertVersion("^7.0.0-0 || ^8.0.0 || 8.0.0-beta.4");
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.3",
"version": "8.0.0-beta.4",
"description": "Escape U+2028 LINE SEPARATOR and U+2029 PARAGRAPH SEPARATOR in JS strings",

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

"dependencies": {
"@babel/helper-plugin-utils": "^8.0.0-beta.3"
"@babel/helper-plugin-utils": "^8.0.0-beta.4"
},
"peerDependencies": {
"@babel/core": "^8.0.0-beta.3"
"@babel/core": "^7.0.0-0"
},
"devDependencies": {
"@babel/core": "^8.0.0-beta.3",
"@babel/helper-plugin-test-runner": "^8.0.0-beta.3"
"@babel/core": "^8.0.0-beta.4",
"@babel/helper-plugin-test-runner": "^8.0.0-beta.4"
},

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

Sorry, the diff of this file is not supported yet