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

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]) {