mirror of
https://github.com/actions/labeler.git
synced 2025-12-17 15:46:44 +00:00
build
This commit is contained in:
48
node_modules/json5/dist/index.js
generated
vendored
48
node_modules/json5/dist/index.js
generated
vendored
@@ -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]) {
|
||||
|
||||
Reference in New Issue
Block a user