Updating NPM dependencies
This commit is contained in:
10
node_modules/json5/dist/index.js
generated
vendored
10
node_modules/json5/dist/index.js
generated
vendored
@@ -312,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 === '_') ||
|
||||
@@ -325,7 +325,7 @@
|
||||
},
|
||||
|
||||
isIdContinueChar: function isIdContinueChar (c) {
|
||||
return (
|
||||
return typeof c === 'string' && (
|
||||
(c >= 'a' && c <= 'z') ||
|
||||
(c >= 'A' && c <= 'Z') ||
|
||||
(c >= '0' && c <= '9') ||
|
||||
@@ -336,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)
|
||||
},
|
||||
};
|
||||
|
||||
|
||||
2
node_modules/json5/dist/index.min.js
generated
vendored
2
node_modules/json5/dist/index.min.js
generated
vendored
File diff suppressed because one or more lines are too long
2
node_modules/json5/dist/index.min.mjs
generated
vendored
2
node_modules/json5/dist/index.min.mjs
generated
vendored
File diff suppressed because one or more lines are too long
10
node_modules/json5/dist/index.mjs
generated
vendored
10
node_modules/json5/dist/index.mjs
generated
vendored
@@ -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)
|
||||
},
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user