refactor(Cypress): add nodemodules

This commit is contained in:
2021-09-02 17:18:41 +02:00
parent 1aa57bbd0a
commit bc6e1bc12e
4238 changed files with 340975 additions and 8 deletions

4
node_modules/htmlescape/.npmignore generated vendored Normal file
View File

@@ -0,0 +1,4 @@
/.gitignore
/CHANGELOG.md
/LICENSE
/test

9
node_modules/htmlescape/CHANGELOG.md generated vendored Normal file
View File

@@ -0,0 +1,9 @@
1.0.0 / 2014-09-29
==================
* No more API changes
0.0.1 / 2014-09-28
==================
* Initial release

9
node_modules/htmlescape/LICENSE generated vendored Normal file
View File

@@ -0,0 +1,9 @@
The MIT License (MIT)
Copyright (c) 2014 Andres Suarez
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.

30
node_modules/htmlescape/README.md generated vendored Normal file
View File

@@ -0,0 +1,30 @@
# htmlescape
Properly escape JSON for usage as an object literal inside of a `<script>` tag. Use `htmlescape` in place of `JSON.stringify`. For more info see [JSON: The JavaScript subset that isn't](http://timelessrepo.com/json-isnt-a-javascript-subset).
## Transformations
| from | to |
| -------- |:---------:|
| `&` | `\\u0026` |
| `>` | `\\u003e` |
| `<` | `\\u003c` |
| `\u2028` | `\\u2028` |
| `\u2029` | `\\u2029` |
## Usage
```js
var htmlescape = require('htmlescape');
htmlescape({prop:'value'});
//=> '{"prop":"value"}'
```
Or in your templates:
```html
<script>
var payload = <%= htmlescape(payload) %>;
</script>
```

42
node_modules/htmlescape/htmlescape.js generated vendored Normal file
View File

@@ -0,0 +1,42 @@
/**
* Properly escape JSON for usage as an object literal inside of a `<script>` tag.
* JS implementation of http://golang.org/pkg/encoding/json/#HTMLEscape
* More info: http://timelessrepo.com/json-isnt-a-javascript-subset
*/
'use strict';
var ESCAPE_LOOKUP = {
'&': '\\u0026',
'>': '\\u003e',
'<': '\\u003c',
'\u2028': '\\u2028',
'\u2029': '\\u2029'
};
var ESCAPE_REGEX = /[&><\u2028\u2029]/g;
function escaper(match) {
return ESCAPE_LOOKUP[match];
}
module.exports = function(obj) {
return JSON.stringify(obj).replace(ESCAPE_REGEX, escaper);
};
/***/
var TERMINATORS_LOOKUP = {
'\u2028': '\\u2028',
'\u2029': '\\u2029'
};
var TERMINATORS_REGEX = /[\u2028\u2029]/g;
function sanitizer(match) {
return TERMINATORS_LOOKUP[match];
}
module.exports.sanitize = function(str) {
return str.replace(TERMINATORS_REGEX, sanitizer);
};

61
node_modules/htmlescape/package.json generated vendored Normal file
View File

@@ -0,0 +1,61 @@
{
"_from": "htmlescape@^1.1.0",
"_id": "htmlescape@1.1.1",
"_inBundle": false,
"_integrity": "sha1-OgPtwiFLyjtmQko+eVk0lQnLA1E=",
"_location": "/htmlescape",
"_phantomChildren": {},
"_requested": {
"type": "range",
"registry": true,
"raw": "htmlescape@^1.1.0",
"name": "htmlescape",
"escapedName": "htmlescape",
"rawSpec": "^1.1.0",
"saveSpec": null,
"fetchSpec": "^1.1.0"
},
"_requiredBy": [
"/browserify"
],
"_resolved": "https://registry.npmjs.org/htmlescape/-/htmlescape-1.1.1.tgz",
"_shasum": "3a03edc2214bca3b66424a3e7959349509cb0351",
"_spec": "htmlescape@^1.1.0",
"_where": "/home/simon/Documents/lifen-autotest/node_modules/browserify",
"author": {
"name": "Andres Suarez",
"email": "zertosh@gmail.com"
},
"bugs": {
"url": "https://github.com/zertosh/htmlescape/issues"
},
"bundleDependencies": false,
"dependencies": {},
"deprecated": false,
"description": "Properly escape JSON for usage as an object literal inside of a `<script>` tag",
"devDependencies": {
"tape": "^3.0.0"
},
"engines": {
"node": ">=0.10"
},
"homepage": "https://github.com/zertosh/htmlescape",
"keywords": [
"escape",
"encoding",
"html",
"json",
"template"
],
"license": "MIT",
"main": "htmlescape.js",
"name": "htmlescape",
"repository": {
"type": "git",
"url": "git://github.com/zertosh/htmlescape.git"
},
"scripts": {
"test": "tape test/*.js"
},
"version": "1.1.1"
}