This commit is contained in:
2022-07-18 02:50:52 +00:00
parent befd344ab0
commit 06181b34d6
8569 changed files with 818704 additions and 352705 deletions
+1 -1
View File
@@ -2,7 +2,7 @@
> Escape U+2028 LINE SEPARATOR and U+2029 PARAGRAPH SEPARATOR in JS strings
See our website [@babel/plugin-proposal-json-strings](https://babeljs.io/docs/en/next/babel-plugin-proposal-json-strings.html) for more information.
See our website [@babel/plugin-proposal-json-strings](https://babeljs.io/docs/en/babel-plugin-proposal-json-strings) for more information.
## Install
+2 -4
View File
@@ -7,9 +7,7 @@ exports.default = void 0;
var _helperPluginUtils = require("@babel/helper-plugin-utils");
var _pluginSyntaxJsonStrings = _interopRequireDefault(require("@babel/plugin-syntax-json-strings"));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
var _pluginSyntaxJsonStrings = require("@babel/plugin-syntax-json-strings");
var _default = (0, _helperPluginUtils.declare)(api => {
api.assertVersion(7);
@@ -31,7 +29,7 @@ var _default = (0, _helperPluginUtils.declare)(api => {
const {
extra
} = node;
if (!(extra == null ? void 0 : extra.raw)) return;
if (!(extra != null && extra.raw)) return;
extra.raw = extra.raw.replace(regex, replace);
}
+26 -19
View File
@@ -1,52 +1,58 @@
{
"_args": [
[
"@babel/plugin-proposal-json-strings@7.10.4",
"/mnt/Foxconn/Digitalent/Deverloper/liff-push_2series"
"@babel/plugin-proposal-json-strings@7.18.6",
"/home/node/nuxt"
]
],
"_from": "@babel/plugin-proposal-json-strings@7.10.4",
"_id": "@babel/plugin-proposal-json-strings@7.10.4",
"_from": "@babel/plugin-proposal-json-strings@7.18.6",
"_id": "@babel/plugin-proposal-json-strings@7.18.6",
"_inBundle": false,
"_integrity": "sha512-fCL7QF0Jo83uy1K0P2YXrfX11tj3lkpN7l4dMv9Y9VkowkhkQDwFHFd8IiwyK5MZjE8UpbgokkgtcReH88Abaw==",
"_integrity": "sha512-lr1peyn9kOdbYc0xr0OdHTZ5FMqS6Di+H0Fz2I/JwMzGmzJETNeOFq2pBySw6X/KFL5EWDjlJuMsUGRFb8fQgQ==",
"_location": "/@babel/plugin-proposal-json-strings",
"_phantomChildren": {},
"_requested": {
"type": "version",
"registry": true,
"raw": "@babel/plugin-proposal-json-strings@7.10.4",
"raw": "@babel/plugin-proposal-json-strings@7.18.6",
"name": "@babel/plugin-proposal-json-strings",
"escapedName": "@babel%2fplugin-proposal-json-strings",
"scope": "@babel",
"rawSpec": "7.10.4",
"rawSpec": "7.18.6",
"saveSpec": null,
"fetchSpec": "7.10.4"
"fetchSpec": "7.18.6"
},
"_requiredBy": [
"/@babel/preset-env"
],
"_resolved": "https://registry.npmjs.org/@babel/plugin-proposal-json-strings/-/plugin-proposal-json-strings-7.10.4.tgz",
"_spec": "7.10.4",
"_where": "/mnt/Foxconn/Digitalent/Deverloper/liff-push_2series",
"_resolved": "https://registry.npmjs.org/@babel/plugin-proposal-json-strings/-/plugin-proposal-json-strings-7.18.6.tgz",
"_spec": "7.18.6",
"_where": "/home/node/nuxt",
"author": {
"name": "The Babel Team",
"url": "https://babel.dev/team"
},
"bugs": {
"url": "https://github.com/babel/babel/issues"
},
"dependencies": {
"@babel/helper-plugin-utils": "^7.10.4",
"@babel/plugin-syntax-json-strings": "^7.8.0"
"@babel/helper-plugin-utils": "^7.18.6",
"@babel/plugin-syntax-json-strings": "^7.8.3"
},
"description": "Escape U+2028 LINE SEPARATOR and U+2029 PARAGRAPH SEPARATOR in JS strings",
"devDependencies": {
"@babel/core": "^7.10.4",
"@babel/helper-plugin-test-runner": "^7.10.4"
"@babel/core": "^7.18.6",
"@babel/helper-plugin-test-runner": "^7.18.6"
},
"gitHead": "7fd40d86a0d03ff0e9c3ea16b29689945433d4df",
"homepage": "https://github.com/babel/babel#readme",
"engines": {
"node": ">=6.9.0"
},
"homepage": "https://babel.dev/docs/en/next/babel-plugin-proposal-json-strings",
"keywords": [
"babel-plugin"
],
"license": "MIT",
"main": "lib/index.js",
"main": "./lib/index.js",
"name": "@babel/plugin-proposal-json-strings",
"peerDependencies": {
"@babel/core": "^7.0.0-0"
@@ -59,5 +65,6 @@
"url": "git+https://github.com/babel/babel.git",
"directory": "packages/babel-plugin-proposal-json-strings"
},
"version": "7.10.4"
"type": "commonjs",
"version": "7.18.6"
}