mirror of
https://github.com/actions/labeler
synced 2026-05-06 03:37:48 +02:00
build
This commit is contained in:
9
node_modules/json5/lib/stringify.js
generated
vendored
9
node_modules/json5/lib/stringify.js
generated
vendored
@@ -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]) {
|
||||
|
||||
Reference in New Issue
Block a user