This commit is contained in:
David Kale
2020-09-08 13:25:36 -04:00
parent e4246d2b5b
commit 91fcbb0108
4227 changed files with 416837 additions and 457884 deletions

29
node_modules/json5/CHANGELOG.md generated vendored
View File

@@ -1,3 +1,29 @@
### v2.1.3 [[code][c2.1.3], [diff][d2.1.3]]
[c2.1.3]: https://github.com/json5/json5/tree/v2.1.3
[d2.1.3]: https://github.com/json5/json5/compare/v2.1.2...v2.1.3
- Fix: An out of memory bug when parsing numbers has been fixed. ([#228],
[#229])
### v2.1.2 [[code][c2.1.2], [diff][d2.1.2]]
[c2.1.2]: https://github.com/json5/json5/tree/v2.1.2
[d2.1.2]: https://github.com/json5/json5/compare/v2.1.1...v2.1.2
- Fix: Bump `minimist` to `v1.2.5`. ([#222])
### v2.1.1 [[code][c2.1.1], [diff][d2.1.1]]
[c2.1.1]: https://github.com/json5/json5/tree/v2.1.1
[d2.1.1]: https://github.com/json5/json5/compare/v2.0.1...v2.1.1
- New: `package.json` and `package.json5` include a `module` property so
bundlers like webpack, rollup and parcel can take advantage of the ES Module
build. ([#208])
- Fix: `stringify` outputs `\0` as `\\x00` when followed by a digit. ([#210])
- Fix: Spelling mistakes have been fixed. ([#196])
### v2.1.0 [[code][c2.1.0], [diff][d2.1.0]]
[c2.1.0]: https://github.com/json5/json5/tree/v2.1.0
@@ -313,3 +339,6 @@ parser for the regular JSON format.
[#181]: https://github.com/json5/json5/issues/181
[#182]: https://github.com/json5/json5/issues/182
[#187]: https://github.com/json5/json5/issues/187
[#196]: https://github.com/json5/json5/issues/196
[#208]: https://github.com/json5/json5/issues/208
[#210]: https://github.com/json5/json5/issues/210

4
node_modules/json5/README.md generated vendored
View File

@@ -199,7 +199,7 @@ To report bugs or request features regarding the JSON5 data format, please
submit an issue to the [official specification
repository](https://github.com/json5/json5-spec).
To report bugs or request features regarding the JavaScript implentation of
To report bugs or request features regarding the JavaScript implementation of
JSON5, please submit an issue to this repository.
## License
@@ -221,7 +221,7 @@ implementation of JSON5 was also modeled directly off of Dougs open-source
code.
[json_parse.js]:
https://github.com/douglascrockford/JSON-js/blob/master/json_parse.js
https://github.com/douglascrockford/JSON-js/blob/03157639c7a7cddd2e9f032537f346f1a87c0f6d/json_parse.js
[Max Nanasy](https://github.com/MaxNanasy) has been an early and prolific
supporter, contributing multiple patches and ideas.

48
node_modules/json5/dist/index.js generated vendored
View File

@@ -18,7 +18,7 @@
});
var _core = createCommonjsModule(function (module) {
var core = module.exports = { version: '2.5.7' };
var core = module.exports = { version: '2.6.5' };
if (typeof __e == 'number') { __e = core; } // eslint-disable-line no-undef
});
var _core_1 = _core.version;
@@ -114,14 +114,31 @@
return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36));
};
var _library = false;
var _shared = createCommonjsModule(function (module) {
var SHARED = '__core-js_shared__';
var store = _global[SHARED] || (_global[SHARED] = {});
(module.exports = function (key, value) {
return store[key] || (store[key] = value !== undefined ? value : {});
})('versions', []).push({
version: _core.version,
mode: _library ? 'pure' : 'global',
copyright: '© 2019 Denis Pushkarev (zloirock.ru)'
});
});
var _functionToString = _shared('native-function-to-string', Function.toString);
var _redefine = createCommonjsModule(function (module) {
var SRC = _uid('src');
var TO_STRING = 'toString';
var $toString = Function[TO_STRING];
var TPL = ('' + $toString).split(TO_STRING);
var TPL = ('' + _functionToString).split(TO_STRING);
_core.inspectSource = function (it) {
return $toString.call(it);
return _functionToString.call(it);
};
(module.exports = function (O, key, val, safe) {
@@ -141,7 +158,7 @@
}
// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
})(Function.prototype, TO_STRING, function toString() {
return typeof this == 'function' && this[SRC] || $toString.call(this);
return typeof this == 'function' && this[SRC] || _functionToString.call(this);
});
});
@@ -295,11 +312,11 @@
var util = {
isSpaceSeparator: function isSpaceSeparator (c) {
return unicode.Space_Separator.test(c)
return typeof c === 'string' && unicode.Space_Separator.test(c)
},
isIdStartChar: function isIdStartChar (c) {
return (
return typeof c === 'string' && (
(c >= 'a' && c <= 'z') ||
(c >= 'A' && c <= 'Z') ||
(c === '$') || (c === '_') ||
@@ -308,7 +325,7 @@
},
isIdContinueChar: function isIdContinueChar (c) {
return (
return typeof c === 'string' && (
(c >= 'a' && c <= 'z') ||
(c >= 'A' && c <= 'Z') ||
(c >= '0' && c <= '9') ||
@@ -319,11 +336,11 @@
},
isDigit: function isDigit (c) {
return /[0-9]/.test(c)
return typeof c === 'string' && /[0-9]/.test(c)
},
isHexDigit: function isHexDigit (c) {
return /[0-9A-Fa-f]/.test(c)
return typeof c === 'string' && /[0-9A-Fa-f]/.test(c)
},
};
@@ -1541,15 +1558,20 @@
var product = '';
for (var i = 0, list = value; i < list.length; i += 1) {
var c = list[i];
for (var i = 0; i < value.length; i++) {
var c = value[i];
switch (c) {
case "'":
case '"':
quotes[c]++;
product += c;
continue
case '\0':
if (util.isDigit(value[i + 1])) {
product += '\\x00';
continue
}
}
if (replacements[c]) {

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

19
node_modules/json5/dist/index.mjs generated vendored
View File

@@ -11,11 +11,11 @@ var unicode = {
var util = {
isSpaceSeparator (c) {
return unicode.Space_Separator.test(c)
return typeof c === 'string' && unicode.Space_Separator.test(c)
},
isIdStartChar (c) {
return (
return typeof c === 'string' && (
(c >= 'a' && c <= 'z') ||
(c >= 'A' && c <= 'Z') ||
(c === '$') || (c === '_') ||
@@ -24,7 +24,7 @@ var util = {
},
isIdContinueChar (c) {
return (
return typeof c === 'string' && (
(c >= 'a' && c <= 'z') ||
(c >= 'A' && c <= 'Z') ||
(c >= '0' && c <= '9') ||
@@ -35,11 +35,11 @@ var util = {
},
isDigit (c) {
return /[0-9]/.test(c)
return typeof c === 'string' && /[0-9]/.test(c)
},
isHexDigit (c) {
return /[0-9A-Fa-f]/.test(c)
return typeof c === 'string' && /[0-9A-Fa-f]/.test(c)
},
};
@@ -1253,13 +1253,20 @@ var stringify = function stringify (value, replacer, space) {
let product = '';
for (const c of value) {
for (let i = 0; i < value.length; i++) {
const c = value[i];
switch (c) {
case "'":
case '"':
quotes[c]++;
product += c;
continue
case '\0':
if (util.isDigit(value[i + 1])) {
product += '\\x00';
continue
}
}
if (replacements[c]) {

View File

@@ -124,13 +124,20 @@ module.exports = function stringify (value, replacer, space) {
let product = ''
for (const c of value) {
for (let i = 0; i < value.length; i++) {
const c = value[i]
switch (c) {
case "'":
case '"':
quotes[c]++
product += c
continue
case '\0':
if (util.isDigit(value[i + 1])) {
product += '\\x00'
continue
}
}
if (replacements[c]) {

10
node_modules/json5/lib/util.js generated vendored
View File

@@ -2,11 +2,11 @@ const unicode = require('../lib/unicode')
module.exports = {
isSpaceSeparator (c) {
return unicode.Space_Separator.test(c)
return typeof c === 'string' && unicode.Space_Separator.test(c)
},
isIdStartChar (c) {
return (
return typeof c === 'string' && (
(c >= 'a' && c <= 'z') ||
(c >= 'A' && c <= 'Z') ||
(c === '$') || (c === '_') ||
@@ -15,7 +15,7 @@ module.exports = {
},
isIdContinueChar (c) {
return (
return typeof c === 'string' && (
(c >= 'a' && c <= 'z') ||
(c >= 'A' && c <= 'Z') ||
(c >= '0' && c <= '9') ||
@@ -26,10 +26,10 @@ module.exports = {
},
isDigit (c) {
return /[0-9]/.test(c)
return typeof c === 'string' && /[0-9]/.test(c)
},
isHexDigit (c) {
return /[0-9A-Fa-f]/.test(c)
return typeof c === 'string' && /[0-9A-Fa-f]/.test(c)
},
}

59
node_modules/json5/package.json generated vendored
View File

@@ -1,34 +1,28 @@
{
"_args": [
[
"json5@2.1.0",
"/Users/pjquirk/Source/GitHub/actions/labeler"
]
],
"_development": true,
"_from": "json5@2.1.0",
"_id": "json5@2.1.0",
"_from": "json5@^2.1.2",
"_id": "json5@2.1.3",
"_inBundle": false,
"_integrity": "sha512-8Mh9h6xViijj36g7Dxi+Y4S6hNGV96vcJZr/SrlHh1LR/pEn/8j/+qIBbs44YKl69Lrfctp4QD+AdWLTMqEZAQ==",
"_integrity": "sha512-KXPvOm8K9IJKFM0bmdn8QXh7udDh1g/giieX0NLCaMnb4hEiVFqnop2ImTXCc5e0/oHz3LTqmHGtExn5hfMkOA==",
"_location": "/json5",
"_phantomChildren": {},
"_requested": {
"type": "version",
"type": "range",
"registry": true,
"raw": "json5@2.1.0",
"raw": "json5@^2.1.2",
"name": "json5",
"escapedName": "json5",
"rawSpec": "2.1.0",
"rawSpec": "^2.1.2",
"saveSpec": null,
"fetchSpec": "2.1.0"
"fetchSpec": "^2.1.2"
},
"_requiredBy": [
"/@babel/core",
"/ts-jest"
],
"_resolved": "https://registry.npmjs.org/json5/-/json5-2.1.0.tgz",
"_spec": "2.1.0",
"_where": "/Users/pjquirk/Source/GitHub/actions/labeler",
"_resolved": "https://registry.npmjs.org/json5/-/json5-2.1.3.tgz",
"_shasum": "c9b0f7fa9233bfe5807fe66fcf3a5617ed597d43",
"_spec": "json5@^2.1.2",
"_where": "/Users/dakale/dev/GitHub/actions/labeler/node_modules/@babel/core",
"author": {
"name": "Aseem Kishore",
"email": "aseem.kishore@gmail.com"
@@ -40,6 +34,7 @@
"bugs": {
"url": "https://github.com/json5/json5/issues"
},
"bundleDependencies": false,
"contributors": [
{
"name": "Max Nanasy",
@@ -55,25 +50,26 @@
}
],
"dependencies": {
"minimist": "^1.2.0"
"minimist": "^1.2.5"
},
"deprecated": false,
"description": "JSON for humans.",
"devDependencies": {
"core-js": "^2.5.7",
"eslint": "^5.3.0",
"eslint-config-standard": "^11.0.0",
"eslint-plugin-import": "^2.14.0",
"eslint-plugin-node": "^7.0.1",
"eslint-plugin-promise": "^3.8.0",
"eslint-plugin-standard": "^3.1.0",
"core-js": "^2.6.5",
"eslint": "^5.15.3",
"eslint-config-standard": "^12.0.0",
"eslint-plugin-import": "^2.16.0",
"eslint-plugin-node": "^8.0.1",
"eslint-plugin-promise": "^4.0.1",
"eslint-plugin-standard": "^4.0.0",
"regenerate": "^1.4.0",
"rollup": "^0.64.1",
"rollup-plugin-buble": "^0.19.2",
"rollup-plugin-commonjs": "^9.1.5",
"rollup-plugin-node-resolve": "^3.3.0",
"rollup-plugin-buble": "^0.19.6",
"rollup-plugin-commonjs": "^9.2.1",
"rollup-plugin-node-resolve": "^3.4.0",
"rollup-plugin-terser": "^1.0.1",
"sinon": "^6.1.5",
"tap": "^12.0.1",
"sinon": "^6.3.5",
"tap": "^12.6.0",
"unicode-10.0.0": "^0.7.5"
},
"engines": {
@@ -93,6 +89,7 @@
],
"license": "MIT",
"main": "lib/index.js",
"module": "dist/index.mjs",
"name": "json5",
"repository": {
"type": "git",
@@ -110,5 +107,5 @@
"test": "tap -Rspec --100 test",
"version": "npm run build-package && git add package.json5"
},
"version": "2.1.0"
"version": "2.1.3"
}