Socket
Socket
Sign inDemoInstall

@babel/plugin-proposal-json-strings

Package Overview
Dependencies
55
Maintainers
4
Versions
37
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 7.21.4-esm.3 to 7.21.4-esm.4

lib/package.json

15

lib/index.js

@@ -1,10 +0,4 @@

"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var _helperPluginUtils = require("@babel/helper-plugin-utils");
var _pluginSyntaxJsonStrings = require("@babel/plugin-syntax-json-strings");
var _default = (0, _helperPluginUtils.declare)(api => {
import { declare } from "@babel/helper-plugin-utils";
import syntaxJsonStrings from "@babel/plugin-syntax-json-strings";
export default declare(api => {
api.assertVersion(7);

@@ -19,3 +13,3 @@ const regex = /(\\*)([\u2028\u2029])/g;

name: "proposal-json-strings",
inherits: _pluginSyntaxJsonStrings.default,
inherits: syntaxJsonStrings.default,
visitor: {

@@ -34,4 +28,3 @@ "DirectiveLiteral|StringLiteral"({

});
exports.default = _default;
//# sourceMappingURL=index.js.map
{
"name": "@babel/plugin-proposal-json-strings",
"version": "7.21.4-esm.3",
"version": "7.21.4-esm.4",
"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.21.4-esm.3",
"@babel/helper-plugin-utils": "7.21.4-esm.4",
"@babel/plugin-syntax-json-strings": "^7.8.3"

@@ -28,4 +28,4 @@ },

"devDependencies": {
"@babel/core": "7.21.4-esm.3",
"@babel/helper-plugin-test-runner": "7.21.4-esm.3"
"@babel/core": "7.21.4-esm.4",
"@babel/helper-plugin-test-runner": "7.21.4-esm.4"
},

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

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