@babel/plugin-proposal-json-strings
Advanced tools
Comparing version 7.18.6 to 7.21.4-esm
@@ -7,11 +7,7 @@ "use strict"; | ||
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 => { | ||
api.assertVersion(7); | ||
const regex = /(\\*)([\u2028\u2029])/g; | ||
function replace(match, escapes, separator) { | ||
@@ -22,3 +18,2 @@ const isEscaped = escapes.length % 2 === 1; | ||
} | ||
return { | ||
@@ -37,7 +32,7 @@ name: "proposal-json-strings", | ||
} | ||
} | ||
}; | ||
}); | ||
exports.default = _default; | ||
exports.default = _default; | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@babel/plugin-proposal-json-strings", | ||
"version": "7.18.6", | ||
"version": "7.21.4-esm", | ||
"description": "Escape U+2028 LINE SEPARATOR and U+2029 PARAGRAPH SEPARATOR in JS strings", | ||
@@ -20,11 +20,11 @@ "repository": { | ||
"dependencies": { | ||
"@babel/helper-plugin-utils": "^7.18.6", | ||
"@babel/helper-plugin-utils": "^7.21.4-esm", | ||
"@babel/plugin-syntax-json-strings": "^7.8.3" | ||
}, | ||
"peerDependencies": { | ||
"@babel/core": "^7.0.0-0" | ||
"@babel/core": "^7.0.0-0 || 7.21.4-esm" | ||
}, | ||
"devDependencies": { | ||
"@babel/core": "^7.18.6", | ||
"@babel/helper-plugin-test-runner": "^7.18.6" | ||
"@babel/core": "^7.21.4-esm", | ||
"@babel/helper-plugin-test-runner": "^7.21.4-esm" | ||
}, | ||
@@ -31,0 +31,0 @@ "engines": { |
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
5839
6
33
2
+ Added@babel/core@7.24.5(transitive)
+ Added@babel/generator@7.24.5(transitive)
+ Added@babel/helper-module-transforms@7.24.5(transitive)
+ Added@babel/helper-plugin-utils@7.24.5(transitive)
+ Added@babel/helper-simple-access@7.24.5(transitive)
+ Added@babel/helper-split-export-declaration@7.24.5(transitive)
+ Added@babel/helper-validator-identifier@7.24.5(transitive)
+ Added@babel/helpers@7.24.5(transitive)
+ Added@babel/highlight@7.24.5(transitive)
+ Added@babel/parser@7.24.5(transitive)
+ Added@babel/traverse@7.24.5(transitive)
+ Added@babel/types@7.24.5(transitive)
+ Addedcaniuse-lite@1.0.30001614(transitive)
+ Addedelectron-to-chromium@1.4.752(transitive)
- Removed@babel/core@7.24.4(transitive)
- Removed@babel/generator@7.24.4(transitive)
- Removed@babel/helper-module-transforms@7.23.3(transitive)
- Removed@babel/helper-plugin-utils@7.24.0(transitive)
- Removed@babel/helper-simple-access@7.22.5(transitive)
- Removed@babel/helper-split-export-declaration@7.22.6(transitive)
- Removed@babel/helper-validator-identifier@7.22.20(transitive)
- Removed@babel/helpers@7.24.4(transitive)
- Removed@babel/highlight@7.24.2(transitive)
- Removed@babel/parser@7.24.4(transitive)
- Removed@babel/traverse@7.24.1(transitive)
- Removed@babel/types@7.24.0(transitive)
- Removedcaniuse-lite@1.0.30001612(transitive)
- Removedelectron-to-chromium@1.4.748(transitive)