refactor: init cypress-cucumber-preprocessor install.
This commit is contained in:
22
node_modules/@babel/plugin-proposal-json-strings/LICENSE
generated
vendored
Normal file
22
node_modules/@babel/plugin-proposal-json-strings/LICENSE
generated
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2014-present Sebastian McKenzie and other contributors
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining
|
||||
a copy of this software and associated documentation files (the
|
||||
"Software"), to deal in the Software without restriction, including
|
||||
without limitation the rights to use, copy, modify, merge, publish,
|
||||
distribute, sublicense, and/or sell copies of the Software, and to
|
||||
permit persons to whom the Software is furnished to do so, subject to
|
||||
the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be
|
||||
included in all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
||||
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
||||
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
||||
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
19
node_modules/@babel/plugin-proposal-json-strings/README.md
generated
vendored
Normal file
19
node_modules/@babel/plugin-proposal-json-strings/README.md
generated
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
# @babel/plugin-proposal-json-strings
|
||||
|
||||
> 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/babel-plugin-proposal-json-strings) for more information.
|
||||
|
||||
## Install
|
||||
|
||||
Using npm:
|
||||
|
||||
```sh
|
||||
npm install --save-dev @babel/plugin-proposal-json-strings
|
||||
```
|
||||
|
||||
or using yarn:
|
||||
|
||||
```sh
|
||||
yarn add @babel/plugin-proposal-json-strings --dev
|
||||
```
|
40
node_modules/@babel/plugin-proposal-json-strings/lib/index.js
generated
vendored
Normal file
40
node_modules/@babel/plugin-proposal-json-strings/lib/index.js
generated
vendored
Normal file
@@ -0,0 +1,40 @@
|
||||
"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 => {
|
||||
api.assertVersion(7);
|
||||
const regex = /(\\*)([\u2028\u2029])/g;
|
||||
|
||||
function replace(match, escapes, separator) {
|
||||
const isEscaped = escapes.length % 2 === 1;
|
||||
if (isEscaped) return match;
|
||||
return `${escapes}\\u${separator.charCodeAt(0).toString(16)}`;
|
||||
}
|
||||
|
||||
return {
|
||||
name: "proposal-json-strings",
|
||||
inherits: _pluginSyntaxJsonStrings.default,
|
||||
visitor: {
|
||||
"DirectiveLiteral|StringLiteral"({
|
||||
node
|
||||
}) {
|
||||
const {
|
||||
extra
|
||||
} = node;
|
||||
if (!(extra != null && extra.raw)) return;
|
||||
extra.raw = extra.raw.replace(regex, replace);
|
||||
}
|
||||
|
||||
}
|
||||
};
|
||||
});
|
||||
|
||||
exports.default = _default;
|
66
node_modules/@babel/plugin-proposal-json-strings/package.json
generated
vendored
Normal file
66
node_modules/@babel/plugin-proposal-json-strings/package.json
generated
vendored
Normal file
@@ -0,0 +1,66 @@
|
||||
{
|
||||
"_from": "@babel/plugin-proposal-json-strings@^7.2.0",
|
||||
"_id": "@babel/plugin-proposal-json-strings@7.14.5",
|
||||
"_inBundle": false,
|
||||
"_integrity": "sha512-NSq2fczJYKVRIsUJyNxrVUMhB27zb7N7pOFGQOhBKJrChbGcgEAqyZrmZswkPk18VMurEeJAaICbfm57vUeTbQ==",
|
||||
"_location": "/@babel/plugin-proposal-json-strings",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"type": "range",
|
||||
"registry": true,
|
||||
"raw": "@babel/plugin-proposal-json-strings@^7.2.0",
|
||||
"name": "@babel/plugin-proposal-json-strings",
|
||||
"escapedName": "@babel%2fplugin-proposal-json-strings",
|
||||
"scope": "@babel",
|
||||
"rawSpec": "^7.2.0",
|
||||
"saveSpec": null,
|
||||
"fetchSpec": "^7.2.0"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"/@babel/preset-env"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/@babel/plugin-proposal-json-strings/-/plugin-proposal-json-strings-7.14.5.tgz",
|
||||
"_shasum": "38de60db362e83a3d8c944ac858ddf9f0c2239eb",
|
||||
"_spec": "@babel/plugin-proposal-json-strings@^7.2.0",
|
||||
"_where": "/home/simon/Documents/lifen-autotest/node_modules/@babel/preset-env",
|
||||
"author": {
|
||||
"name": "The Babel Team",
|
||||
"url": "https://babel.dev/team"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/babel/babel/issues"
|
||||
},
|
||||
"bundleDependencies": false,
|
||||
"dependencies": {
|
||||
"@babel/helper-plugin-utils": "^7.14.5",
|
||||
"@babel/plugin-syntax-json-strings": "^7.8.3"
|
||||
},
|
||||
"deprecated": false,
|
||||
"description": "Escape U+2028 LINE SEPARATOR and U+2029 PARAGRAPH SEPARATOR in JS strings",
|
||||
"devDependencies": {
|
||||
"@babel/core": "7.14.5",
|
||||
"@babel/helper-plugin-test-runner": "7.14.5"
|
||||
},
|
||||
"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",
|
||||
"name": "@babel/plugin-proposal-json-strings",
|
||||
"peerDependencies": {
|
||||
"@babel/core": "^7.0.0-0"
|
||||
},
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/babel/babel.git",
|
||||
"directory": "packages/babel-plugin-proposal-json-strings"
|
||||
},
|
||||
"version": "7.14.5"
|
||||
}
|
Reference in New Issue
Block a user