mirror of
https://github.com/golangci/golangci-lint-action.git
synced 2026-06-18 01:05:47 +07:00
build(deps): bump the dependencies group across 1 directory with 2 updates
This commit is contained in:
78
dist/post_run/index.js
generated
vendored
78
dist/post_run/index.js
generated
vendored
@@ -101614,8 +101614,10 @@ class Composer {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (afterDoc) {
|
if (afterDoc) {
|
||||||
Array.prototype.push.apply(doc.errors, this.errors);
|
for (let i = 0; i < this.errors.length; ++i)
|
||||||
Array.prototype.push.apply(doc.warnings, this.warnings);
|
doc.errors.push(this.errors[i]);
|
||||||
|
for (let i = 0; i < this.warnings.length; ++i)
|
||||||
|
doc.warnings.push(this.warnings[i]);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
doc.errors = this.errors;
|
doc.errors = this.errors;
|
||||||
@@ -102547,7 +102549,7 @@ function doubleQuotedValue(source, onError) {
|
|||||||
next = source[++i + 1];
|
next = source[++i + 1];
|
||||||
}
|
}
|
||||||
else if (next === 'x' || next === 'u' || next === 'U') {
|
else if (next === 'x' || next === 'u' || next === 'U') {
|
||||||
const length = { x: 2, u: 4, U: 8 }[next];
|
const length = next === 'x' ? 2 : next === 'u' ? 4 : 8;
|
||||||
res += parseCharCode(source, i + 1, length, onError);
|
res += parseCharCode(source, i + 1, length, onError);
|
||||||
i += length;
|
i += length;
|
||||||
}
|
}
|
||||||
@@ -102617,12 +102619,14 @@ function parseCharCode(source, offset, length, onError) {
|
|||||||
const cc = source.substr(offset, length);
|
const cc = source.substr(offset, length);
|
||||||
const ok = cc.length === length && /^[0-9a-fA-F]+$/.test(cc);
|
const ok = cc.length === length && /^[0-9a-fA-F]+$/.test(cc);
|
||||||
const code = ok ? parseInt(cc, 16) : NaN;
|
const code = ok ? parseInt(cc, 16) : NaN;
|
||||||
if (isNaN(code)) {
|
try {
|
||||||
|
return String.fromCodePoint(code);
|
||||||
|
}
|
||||||
|
catch {
|
||||||
const raw = source.substr(offset - 2, length + 2);
|
const raw = source.substr(offset - 2, length + 2);
|
||||||
onError(offset - 2, 'BAD_DQ_ESCAPE', `Invalid escape sequence ${raw}`);
|
onError(offset - 2, 'BAD_DQ_ESCAPE', `Invalid escape sequence ${raw}`);
|
||||||
return raw;
|
return raw;
|
||||||
}
|
}
|
||||||
return String.fromCodePoint(code);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
exports.resolveFlowScalar = resolveFlowScalar;
|
exports.resolveFlowScalar = resolveFlowScalar;
|
||||||
@@ -103874,6 +103878,8 @@ class Alias extends Node.NodeBase {
|
|||||||
* instance of the `source` anchor before this node.
|
* instance of the `source` anchor before this node.
|
||||||
*/
|
*/
|
||||||
resolve(doc, ctx) {
|
resolve(doc, ctx) {
|
||||||
|
if (ctx?.maxAliasCount === 0)
|
||||||
|
throw new ReferenceError('Alias resolution is disabled');
|
||||||
let nodes;
|
let nodes;
|
||||||
if (ctx?.aliasResolveCache) {
|
if (ctx?.aliasResolveCache) {
|
||||||
nodes = ctx.aliasResolveCache;
|
nodes = ctx.aliasResolveCache;
|
||||||
@@ -105561,7 +105567,7 @@ class Lexer {
|
|||||||
const n = (yield* this.pushCount(1)) + (yield* this.pushSpaces(true));
|
const n = (yield* this.pushCount(1)) + (yield* this.pushSpaces(true));
|
||||||
this.indentNext = this.indentValue + 1;
|
this.indentNext = this.indentValue + 1;
|
||||||
this.indentValue += n;
|
this.indentValue += n;
|
||||||
return yield* this.parseBlockStart();
|
return 'block-start';
|
||||||
}
|
}
|
||||||
return 'doc';
|
return 'doc';
|
||||||
}
|
}
|
||||||
@@ -105882,15 +105888,17 @@ class Lexer {
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
*pushIndicators() {
|
*pushIndicators() {
|
||||||
|
let n = 0;
|
||||||
|
loop: while (true) {
|
||||||
switch (this.charAt(0)) {
|
switch (this.charAt(0)) {
|
||||||
case '!':
|
case '!':
|
||||||
return ((yield* this.pushTag()) +
|
n += yield* this.pushTag();
|
||||||
(yield* this.pushSpaces(true)) +
|
n += yield* this.pushSpaces(true);
|
||||||
(yield* this.pushIndicators()));
|
continue loop;
|
||||||
case '&':
|
case '&':
|
||||||
return ((yield* this.pushUntil(isNotAnchorChar)) +
|
n += yield* this.pushUntil(isNotAnchorChar);
|
||||||
(yield* this.pushSpaces(true)) +
|
n += yield* this.pushSpaces(true);
|
||||||
(yield* this.pushIndicators()));
|
continue loop;
|
||||||
case '-': // this is an error
|
case '-': // this is an error
|
||||||
case '?': // this is an error outside flow collections
|
case '?': // this is an error outside flow collections
|
||||||
case ':': {
|
case ':': {
|
||||||
@@ -105901,13 +105909,15 @@ class Lexer {
|
|||||||
this.indentNext = this.indentValue + 1;
|
this.indentNext = this.indentValue + 1;
|
||||||
else if (this.flowKey)
|
else if (this.flowKey)
|
||||||
this.flowKey = false;
|
this.flowKey = false;
|
||||||
return ((yield* this.pushCount(1)) +
|
n += yield* this.pushCount(1);
|
||||||
(yield* this.pushSpaces(true)) +
|
n += yield* this.pushSpaces(true);
|
||||||
(yield* this.pushIndicators()));
|
continue loop;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return 0;
|
break loop;
|
||||||
|
}
|
||||||
|
return n;
|
||||||
}
|
}
|
||||||
*pushTag() {
|
*pushTag() {
|
||||||
if (this.charAt(1) === '<') {
|
if (this.charAt(1) === '<') {
|
||||||
@@ -106095,6 +106105,14 @@ function getFirstKeyStartProps(prev) {
|
|||||||
}
|
}
|
||||||
return prev.splice(i, prev.length);
|
return prev.splice(i, prev.length);
|
||||||
}
|
}
|
||||||
|
function arrayPushArray(target, source) {
|
||||||
|
// May exhaust call stack with large `source` array
|
||||||
|
if (source.length < 1e5)
|
||||||
|
Array.prototype.push.apply(target, source);
|
||||||
|
else
|
||||||
|
for (let i = 0; i < source.length; ++i)
|
||||||
|
target.push(source[i]);
|
||||||
|
}
|
||||||
function fixFlowSeqItems(fc) {
|
function fixFlowSeqItems(fc) {
|
||||||
if (fc.start.type === 'flow-seq-start') {
|
if (fc.start.type === 'flow-seq-start') {
|
||||||
for (const it of fc.items) {
|
for (const it of fc.items) {
|
||||||
@@ -106107,12 +106125,12 @@ function fixFlowSeqItems(fc) {
|
|||||||
delete it.key;
|
delete it.key;
|
||||||
if (isFlowToken(it.value)) {
|
if (isFlowToken(it.value)) {
|
||||||
if (it.value.end)
|
if (it.value.end)
|
||||||
Array.prototype.push.apply(it.value.end, it.sep);
|
arrayPushArray(it.value.end, it.sep);
|
||||||
else
|
else
|
||||||
it.value.end = it.sep;
|
it.value.end = it.sep;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
Array.prototype.push.apply(it.start, it.sep);
|
arrayPushArray(it.start, it.sep);
|
||||||
delete it.sep;
|
delete it.sep;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -106532,7 +106550,7 @@ class Parser {
|
|||||||
const prev = map.items[map.items.length - 2];
|
const prev = map.items[map.items.length - 2];
|
||||||
const end = prev?.value?.end;
|
const end = prev?.value?.end;
|
||||||
if (Array.isArray(end)) {
|
if (Array.isArray(end)) {
|
||||||
Array.prototype.push.apply(end, it.start);
|
arrayPushArray(end, it.start);
|
||||||
end.push(this.sourceToken);
|
end.push(this.sourceToken);
|
||||||
map.items.pop();
|
map.items.pop();
|
||||||
return;
|
return;
|
||||||
@@ -106747,7 +106765,7 @@ class Parser {
|
|||||||
const prev = seq.items[seq.items.length - 2];
|
const prev = seq.items[seq.items.length - 2];
|
||||||
const end = prev?.value?.end;
|
const end = prev?.value?.end;
|
||||||
if (Array.isArray(end)) {
|
if (Array.isArray(end)) {
|
||||||
Array.prototype.push.apply(end, it.start);
|
arrayPushArray(end, it.start);
|
||||||
end.push(this.sourceToken);
|
end.push(this.sourceToken);
|
||||||
seq.items.pop();
|
seq.items.pop();
|
||||||
return;
|
return;
|
||||||
@@ -107901,18 +107919,18 @@ const isMergeKey = (ctx, key) => (merge.identify(key) ||
|
|||||||
merge.identify(key.value))) &&
|
merge.identify(key.value))) &&
|
||||||
ctx?.doc.schema.tags.some(tag => tag.tag === merge.tag && tag.default);
|
ctx?.doc.schema.tags.some(tag => tag.tag === merge.tag && tag.default);
|
||||||
function addMergeToJSMap(ctx, map, value) {
|
function addMergeToJSMap(ctx, map, value) {
|
||||||
value = ctx && identity.isAlias(value) ? value.resolve(ctx.doc) : value;
|
const source = resolveAliasValue(ctx, value);
|
||||||
if (identity.isSeq(value))
|
if (identity.isSeq(source))
|
||||||
for (const it of value.items)
|
for (const it of source.items)
|
||||||
mergeValue(ctx, map, it);
|
mergeValue(ctx, map, it);
|
||||||
else if (Array.isArray(value))
|
else if (Array.isArray(source))
|
||||||
for (const it of value)
|
for (const it of source)
|
||||||
mergeValue(ctx, map, it);
|
mergeValue(ctx, map, it);
|
||||||
else
|
else
|
||||||
mergeValue(ctx, map, value);
|
mergeValue(ctx, map, source);
|
||||||
}
|
}
|
||||||
function mergeValue(ctx, map, value) {
|
function mergeValue(ctx, map, value) {
|
||||||
const source = ctx && identity.isAlias(value) ? value.resolve(ctx.doc) : value;
|
const source = resolveAliasValue(ctx, value);
|
||||||
if (!identity.isMap(source))
|
if (!identity.isMap(source))
|
||||||
throw new Error('Merge sources must be maps or map aliases');
|
throw new Error('Merge sources must be maps or map aliases');
|
||||||
const srcMap = source.toJSON(null, ctx, Map);
|
const srcMap = source.toJSON(null, ctx, Map);
|
||||||
@@ -107935,6 +107953,9 @@ function mergeValue(ctx, map, value) {
|
|||||||
}
|
}
|
||||||
return map;
|
return map;
|
||||||
}
|
}
|
||||||
|
function resolveAliasValue(ctx, value) {
|
||||||
|
return ctx && identity.isAlias(value) ? value.resolve(ctx.doc, ctx) : value;
|
||||||
|
}
|
||||||
|
|
||||||
exports.addMergeToJSMap = addMergeToJSMap;
|
exports.addMergeToJSMap = addMergeToJSMap;
|
||||||
exports.isMergeKey = isMergeKey;
|
exports.isMergeKey = isMergeKey;
|
||||||
@@ -108989,7 +109010,8 @@ function stringifyNumber({ format, minFractionDigits, tag, value }) {
|
|||||||
if (!format &&
|
if (!format &&
|
||||||
minFractionDigits &&
|
minFractionDigits &&
|
||||||
(!tag || tag === 'tag:yaml.org,2002:float') &&
|
(!tag || tag === 'tag:yaml.org,2002:float') &&
|
||||||
/^\d/.test(n)) {
|
/^-?\d/.test(n) &&
|
||||||
|
!n.includes('e')) {
|
||||||
let i = n.indexOf('.');
|
let i = n.indexOf('.');
|
||||||
if (i < 0) {
|
if (i < 0) {
|
||||||
i = n.length;
|
i = n.length;
|
||||||
|
|||||||
78
dist/run/index.js
generated
vendored
78
dist/run/index.js
generated
vendored
@@ -101614,8 +101614,10 @@ class Composer {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (afterDoc) {
|
if (afterDoc) {
|
||||||
Array.prototype.push.apply(doc.errors, this.errors);
|
for (let i = 0; i < this.errors.length; ++i)
|
||||||
Array.prototype.push.apply(doc.warnings, this.warnings);
|
doc.errors.push(this.errors[i]);
|
||||||
|
for (let i = 0; i < this.warnings.length; ++i)
|
||||||
|
doc.warnings.push(this.warnings[i]);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
doc.errors = this.errors;
|
doc.errors = this.errors;
|
||||||
@@ -102547,7 +102549,7 @@ function doubleQuotedValue(source, onError) {
|
|||||||
next = source[++i + 1];
|
next = source[++i + 1];
|
||||||
}
|
}
|
||||||
else if (next === 'x' || next === 'u' || next === 'U') {
|
else if (next === 'x' || next === 'u' || next === 'U') {
|
||||||
const length = { x: 2, u: 4, U: 8 }[next];
|
const length = next === 'x' ? 2 : next === 'u' ? 4 : 8;
|
||||||
res += parseCharCode(source, i + 1, length, onError);
|
res += parseCharCode(source, i + 1, length, onError);
|
||||||
i += length;
|
i += length;
|
||||||
}
|
}
|
||||||
@@ -102617,12 +102619,14 @@ function parseCharCode(source, offset, length, onError) {
|
|||||||
const cc = source.substr(offset, length);
|
const cc = source.substr(offset, length);
|
||||||
const ok = cc.length === length && /^[0-9a-fA-F]+$/.test(cc);
|
const ok = cc.length === length && /^[0-9a-fA-F]+$/.test(cc);
|
||||||
const code = ok ? parseInt(cc, 16) : NaN;
|
const code = ok ? parseInt(cc, 16) : NaN;
|
||||||
if (isNaN(code)) {
|
try {
|
||||||
|
return String.fromCodePoint(code);
|
||||||
|
}
|
||||||
|
catch {
|
||||||
const raw = source.substr(offset - 2, length + 2);
|
const raw = source.substr(offset - 2, length + 2);
|
||||||
onError(offset - 2, 'BAD_DQ_ESCAPE', `Invalid escape sequence ${raw}`);
|
onError(offset - 2, 'BAD_DQ_ESCAPE', `Invalid escape sequence ${raw}`);
|
||||||
return raw;
|
return raw;
|
||||||
}
|
}
|
||||||
return String.fromCodePoint(code);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
exports.resolveFlowScalar = resolveFlowScalar;
|
exports.resolveFlowScalar = resolveFlowScalar;
|
||||||
@@ -103874,6 +103878,8 @@ class Alias extends Node.NodeBase {
|
|||||||
* instance of the `source` anchor before this node.
|
* instance of the `source` anchor before this node.
|
||||||
*/
|
*/
|
||||||
resolve(doc, ctx) {
|
resolve(doc, ctx) {
|
||||||
|
if (ctx?.maxAliasCount === 0)
|
||||||
|
throw new ReferenceError('Alias resolution is disabled');
|
||||||
let nodes;
|
let nodes;
|
||||||
if (ctx?.aliasResolveCache) {
|
if (ctx?.aliasResolveCache) {
|
||||||
nodes = ctx.aliasResolveCache;
|
nodes = ctx.aliasResolveCache;
|
||||||
@@ -105561,7 +105567,7 @@ class Lexer {
|
|||||||
const n = (yield* this.pushCount(1)) + (yield* this.pushSpaces(true));
|
const n = (yield* this.pushCount(1)) + (yield* this.pushSpaces(true));
|
||||||
this.indentNext = this.indentValue + 1;
|
this.indentNext = this.indentValue + 1;
|
||||||
this.indentValue += n;
|
this.indentValue += n;
|
||||||
return yield* this.parseBlockStart();
|
return 'block-start';
|
||||||
}
|
}
|
||||||
return 'doc';
|
return 'doc';
|
||||||
}
|
}
|
||||||
@@ -105882,15 +105888,17 @@ class Lexer {
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
*pushIndicators() {
|
*pushIndicators() {
|
||||||
|
let n = 0;
|
||||||
|
loop: while (true) {
|
||||||
switch (this.charAt(0)) {
|
switch (this.charAt(0)) {
|
||||||
case '!':
|
case '!':
|
||||||
return ((yield* this.pushTag()) +
|
n += yield* this.pushTag();
|
||||||
(yield* this.pushSpaces(true)) +
|
n += yield* this.pushSpaces(true);
|
||||||
(yield* this.pushIndicators()));
|
continue loop;
|
||||||
case '&':
|
case '&':
|
||||||
return ((yield* this.pushUntil(isNotAnchorChar)) +
|
n += yield* this.pushUntil(isNotAnchorChar);
|
||||||
(yield* this.pushSpaces(true)) +
|
n += yield* this.pushSpaces(true);
|
||||||
(yield* this.pushIndicators()));
|
continue loop;
|
||||||
case '-': // this is an error
|
case '-': // this is an error
|
||||||
case '?': // this is an error outside flow collections
|
case '?': // this is an error outside flow collections
|
||||||
case ':': {
|
case ':': {
|
||||||
@@ -105901,13 +105909,15 @@ class Lexer {
|
|||||||
this.indentNext = this.indentValue + 1;
|
this.indentNext = this.indentValue + 1;
|
||||||
else if (this.flowKey)
|
else if (this.flowKey)
|
||||||
this.flowKey = false;
|
this.flowKey = false;
|
||||||
return ((yield* this.pushCount(1)) +
|
n += yield* this.pushCount(1);
|
||||||
(yield* this.pushSpaces(true)) +
|
n += yield* this.pushSpaces(true);
|
||||||
(yield* this.pushIndicators()));
|
continue loop;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return 0;
|
break loop;
|
||||||
|
}
|
||||||
|
return n;
|
||||||
}
|
}
|
||||||
*pushTag() {
|
*pushTag() {
|
||||||
if (this.charAt(1) === '<') {
|
if (this.charAt(1) === '<') {
|
||||||
@@ -106095,6 +106105,14 @@ function getFirstKeyStartProps(prev) {
|
|||||||
}
|
}
|
||||||
return prev.splice(i, prev.length);
|
return prev.splice(i, prev.length);
|
||||||
}
|
}
|
||||||
|
function arrayPushArray(target, source) {
|
||||||
|
// May exhaust call stack with large `source` array
|
||||||
|
if (source.length < 1e5)
|
||||||
|
Array.prototype.push.apply(target, source);
|
||||||
|
else
|
||||||
|
for (let i = 0; i < source.length; ++i)
|
||||||
|
target.push(source[i]);
|
||||||
|
}
|
||||||
function fixFlowSeqItems(fc) {
|
function fixFlowSeqItems(fc) {
|
||||||
if (fc.start.type === 'flow-seq-start') {
|
if (fc.start.type === 'flow-seq-start') {
|
||||||
for (const it of fc.items) {
|
for (const it of fc.items) {
|
||||||
@@ -106107,12 +106125,12 @@ function fixFlowSeqItems(fc) {
|
|||||||
delete it.key;
|
delete it.key;
|
||||||
if (isFlowToken(it.value)) {
|
if (isFlowToken(it.value)) {
|
||||||
if (it.value.end)
|
if (it.value.end)
|
||||||
Array.prototype.push.apply(it.value.end, it.sep);
|
arrayPushArray(it.value.end, it.sep);
|
||||||
else
|
else
|
||||||
it.value.end = it.sep;
|
it.value.end = it.sep;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
Array.prototype.push.apply(it.start, it.sep);
|
arrayPushArray(it.start, it.sep);
|
||||||
delete it.sep;
|
delete it.sep;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -106532,7 +106550,7 @@ class Parser {
|
|||||||
const prev = map.items[map.items.length - 2];
|
const prev = map.items[map.items.length - 2];
|
||||||
const end = prev?.value?.end;
|
const end = prev?.value?.end;
|
||||||
if (Array.isArray(end)) {
|
if (Array.isArray(end)) {
|
||||||
Array.prototype.push.apply(end, it.start);
|
arrayPushArray(end, it.start);
|
||||||
end.push(this.sourceToken);
|
end.push(this.sourceToken);
|
||||||
map.items.pop();
|
map.items.pop();
|
||||||
return;
|
return;
|
||||||
@@ -106747,7 +106765,7 @@ class Parser {
|
|||||||
const prev = seq.items[seq.items.length - 2];
|
const prev = seq.items[seq.items.length - 2];
|
||||||
const end = prev?.value?.end;
|
const end = prev?.value?.end;
|
||||||
if (Array.isArray(end)) {
|
if (Array.isArray(end)) {
|
||||||
Array.prototype.push.apply(end, it.start);
|
arrayPushArray(end, it.start);
|
||||||
end.push(this.sourceToken);
|
end.push(this.sourceToken);
|
||||||
seq.items.pop();
|
seq.items.pop();
|
||||||
return;
|
return;
|
||||||
@@ -107901,18 +107919,18 @@ const isMergeKey = (ctx, key) => (merge.identify(key) ||
|
|||||||
merge.identify(key.value))) &&
|
merge.identify(key.value))) &&
|
||||||
ctx?.doc.schema.tags.some(tag => tag.tag === merge.tag && tag.default);
|
ctx?.doc.schema.tags.some(tag => tag.tag === merge.tag && tag.default);
|
||||||
function addMergeToJSMap(ctx, map, value) {
|
function addMergeToJSMap(ctx, map, value) {
|
||||||
value = ctx && identity.isAlias(value) ? value.resolve(ctx.doc) : value;
|
const source = resolveAliasValue(ctx, value);
|
||||||
if (identity.isSeq(value))
|
if (identity.isSeq(source))
|
||||||
for (const it of value.items)
|
for (const it of source.items)
|
||||||
mergeValue(ctx, map, it);
|
mergeValue(ctx, map, it);
|
||||||
else if (Array.isArray(value))
|
else if (Array.isArray(source))
|
||||||
for (const it of value)
|
for (const it of source)
|
||||||
mergeValue(ctx, map, it);
|
mergeValue(ctx, map, it);
|
||||||
else
|
else
|
||||||
mergeValue(ctx, map, value);
|
mergeValue(ctx, map, source);
|
||||||
}
|
}
|
||||||
function mergeValue(ctx, map, value) {
|
function mergeValue(ctx, map, value) {
|
||||||
const source = ctx && identity.isAlias(value) ? value.resolve(ctx.doc) : value;
|
const source = resolveAliasValue(ctx, value);
|
||||||
if (!identity.isMap(source))
|
if (!identity.isMap(source))
|
||||||
throw new Error('Merge sources must be maps or map aliases');
|
throw new Error('Merge sources must be maps or map aliases');
|
||||||
const srcMap = source.toJSON(null, ctx, Map);
|
const srcMap = source.toJSON(null, ctx, Map);
|
||||||
@@ -107935,6 +107953,9 @@ function mergeValue(ctx, map, value) {
|
|||||||
}
|
}
|
||||||
return map;
|
return map;
|
||||||
}
|
}
|
||||||
|
function resolveAliasValue(ctx, value) {
|
||||||
|
return ctx && identity.isAlias(value) ? value.resolve(ctx.doc, ctx) : value;
|
||||||
|
}
|
||||||
|
|
||||||
exports.addMergeToJSMap = addMergeToJSMap;
|
exports.addMergeToJSMap = addMergeToJSMap;
|
||||||
exports.isMergeKey = isMergeKey;
|
exports.isMergeKey = isMergeKey;
|
||||||
@@ -108989,7 +109010,8 @@ function stringifyNumber({ format, minFractionDigits, tag, value }) {
|
|||||||
if (!format &&
|
if (!format &&
|
||||||
minFractionDigits &&
|
minFractionDigits &&
|
||||||
(!tag || tag === 'tag:yaml.org,2002:float') &&
|
(!tag || tag === 'tag:yaml.org,2002:float') &&
|
||||||
/^\d/.test(n)) {
|
/^-?\d/.test(n) &&
|
||||||
|
!n.includes('e')) {
|
||||||
let i = n.indexOf('.');
|
let i = n.indexOf('.');
|
||||||
if (i < 0) {
|
if (i < 0) {
|
||||||
i = n.length;
|
i = n.length;
|
||||||
|
|||||||
18
package-lock.json
generated
18
package-lock.json
generated
@@ -21,8 +21,8 @@
|
|||||||
"@types/tmp": "^0.2.6",
|
"@types/tmp": "^0.2.6",
|
||||||
"@types/which": "^3.0.4",
|
"@types/which": "^3.0.4",
|
||||||
"tmp": "^0.2.5",
|
"tmp": "^0.2.5",
|
||||||
"which": "^6.0.1",
|
"which": "^7.0.0",
|
||||||
"yaml": "^2.8.3"
|
"yaml": "^2.9.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@eslint/compat": "^2.0.5",
|
"@eslint/compat": "^2.0.5",
|
||||||
@@ -4239,9 +4239,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/which": {
|
"node_modules/which": {
|
||||||
"version": "6.0.1",
|
"version": "7.0.0",
|
||||||
"resolved": "https://registry.npmjs.org/which/-/which-6.0.1.tgz",
|
"resolved": "https://registry.npmjs.org/which/-/which-7.0.0.tgz",
|
||||||
"integrity": "sha512-oGLe46MIrCRqX7ytPUf66EAYvdeMIZYn3WaocqqKZAxrBpkqHfL/qvTyJ/bTk5+AqHCjXmrv3CEWgy368zhRUg==",
|
"integrity": "sha512-RancgH2dmbLdHl6LRhEqvklWMgl/Hdnun0Y90KhBOLkMefg8Qa7/Zel8Sm+8HEcP6DEjzsWzpkuBQEZok58isA==",
|
||||||
"license": "ISC",
|
"license": "ISC",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"isexe": "^4.0.0"
|
"isexe": "^4.0.0"
|
||||||
@@ -4250,7 +4250,7 @@
|
|||||||
"node-which": "bin/which.js"
|
"node-which": "bin/which.js"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "^20.17.0 || >=22.9.0"
|
"node": "^22.22.2 || ^24.15.0 || >=26.0.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/which-boxed-primitive": {
|
"node_modules/which-boxed-primitive": {
|
||||||
@@ -4372,9 +4372,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/yaml": {
|
"node_modules/yaml": {
|
||||||
"version": "2.8.3",
|
"version": "2.9.0",
|
||||||
"resolved": "https://registry.npmjs.org/yaml/-/yaml-2.8.3.tgz",
|
"resolved": "https://registry.npmjs.org/yaml/-/yaml-2.9.0.tgz",
|
||||||
"integrity": "sha512-AvbaCLOO2Otw/lW5bmh9d/WEdcDFdQp2Z2ZUH3pX9U2ihyUY0nvLv7J6TrWowklRGPYbB/IuIMfYgxaCPg5Bpg==",
|
"integrity": "sha512-2AvhNX3mb8zd6Zy7INTtSpl1F15HW6Wnqj0srWlkKLcpYl/gMIMJiyuGq2KeI2YFxUPjdlB+3Lc10seMLtL4cA==",
|
||||||
"license": "ISC",
|
"license": "ISC",
|
||||||
"bin": {
|
"bin": {
|
||||||
"yaml": "bin.mjs"
|
"yaml": "bin.mjs"
|
||||||
|
|||||||
@@ -39,8 +39,8 @@
|
|||||||
"@types/tmp": "^0.2.6",
|
"@types/tmp": "^0.2.6",
|
||||||
"@types/which": "^3.0.4",
|
"@types/which": "^3.0.4",
|
||||||
"tmp": "^0.2.5",
|
"tmp": "^0.2.5",
|
||||||
"which": "^6.0.1",
|
"which": "^7.0.0",
|
||||||
"yaml": "^2.8.3"
|
"yaml": "^2.9.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@eslint/compat": "^2.0.5",
|
"@eslint/compat": "^2.0.5",
|
||||||
|
|||||||
Reference in New Issue
Block a user