Added missing changes and modified dist assets.
This commit is contained in:
parent
2a2a5b6b9c
commit
31c4d150e6
31
dist/index.js
generated
vendored
31
dist/index.js
generated
vendored
@ -58181,19 +58181,19 @@ function foldNewline(source, offset) {
|
|||||||
return { fold, offset };
|
return { fold, offset };
|
||||||
}
|
}
|
||||||
const escapeCodes = {
|
const escapeCodes = {
|
||||||
'0': '\0',
|
'0': '\0', // null character
|
||||||
a: '\x07',
|
a: '\x07', // bell character
|
||||||
b: '\b',
|
b: '\b', // backspace
|
||||||
e: '\x1b',
|
e: '\x1b', // escape character
|
||||||
f: '\f',
|
f: '\f', // form feed
|
||||||
n: '\n',
|
n: '\n', // line feed
|
||||||
r: '\r',
|
r: '\r', // carriage return
|
||||||
t: '\t',
|
t: '\t', // horizontal tab
|
||||||
v: '\v',
|
v: '\v', // vertical tab
|
||||||
N: '\u0085',
|
N: '\u0085', // Unicode next line
|
||||||
_: '\u00a0',
|
_: '\u00a0', // Unicode non-breaking space
|
||||||
L: '\u2028',
|
L: '\u2028', // Unicode line separator
|
||||||
P: '\u2029',
|
P: '\u2029', // Unicode paragraph separator
|
||||||
' ': ' ',
|
' ': ' ',
|
||||||
'"': '"',
|
'"': '"',
|
||||||
'/': '/',
|
'/': '/',
|
||||||
@ -63180,7 +63180,7 @@ var Scalar = __nccwpck_require__(9338);
|
|||||||
var stringifyString = __nccwpck_require__(6226);
|
var stringifyString = __nccwpck_require__(6226);
|
||||||
|
|
||||||
const binary = {
|
const binary = {
|
||||||
identify: value => value instanceof Uint8Array,
|
identify: value => value instanceof Uint8Array, // Buffer inherits from Uint8Array
|
||||||
default: false,
|
default: false,
|
||||||
tag: 'tag:yaml.org,2002:binary',
|
tag: 'tag:yaml.org,2002:binary',
|
||||||
/**
|
/**
|
||||||
@ -64153,7 +64153,6 @@ exports.stringify = stringify;
|
|||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
|
|
||||||
var Collection = __nccwpck_require__(3466);
|
|
||||||
var identity = __nccwpck_require__(5589);
|
var identity = __nccwpck_require__(5589);
|
||||||
var stringify = __nccwpck_require__(8409);
|
var stringify = __nccwpck_require__(8409);
|
||||||
var stringifyComment = __nccwpck_require__(5182);
|
var stringifyComment = __nccwpck_require__(5182);
|
||||||
@ -64275,7 +64274,7 @@ function stringifyFlowCollection({ comment, items }, ctx, { flowChars, itemInden
|
|||||||
else {
|
else {
|
||||||
if (!reqNewline) {
|
if (!reqNewline) {
|
||||||
const len = lines.reduce((sum, line) => sum + line.length + 2, 2);
|
const len = lines.reduce((sum, line) => sum + line.length + 2, 2);
|
||||||
reqNewline = len > Collection.Collection.maxFlowStringSingleLineLength;
|
reqNewline = ctx.options.lineWidth > 0 && len > ctx.options.lineWidth;
|
||||||
}
|
}
|
||||||
if (reqNewline) {
|
if (reqNewline) {
|
||||||
str = start;
|
str = start;
|
||||||
|
2
dist/index.js.map
generated
vendored
2
dist/index.js.map
generated
vendored
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user