summaryrefslogtreecommitdiff
path: root/node_modules/yaml/dist/compose
diff options
context:
space:
mode:
authorlittleblack111 <littleblack11111@gmail.com>2024-05-14 14:05:49 +0800
committerlittleblack111 <littleblack11111@gmail.com>2024-05-14 14:05:49 +0800
commit06823fbf1c2e763a5bf76c3990ca98fbbcd98691 (patch)
tree4280bece3888d12a022093bf1a9cd1b049393602 /node_modules/yaml/dist/compose
parent1368909b3cd552dbb0d12d5863c597f5be46177d (diff)
updated node_modules
Diffstat (limited to 'node_modules/yaml/dist/compose')
-rw-r--r--node_modules/yaml/dist/compose/resolve-flow-scalar.js26
1 files changed, 13 insertions, 13 deletions
diff --git a/node_modules/yaml/dist/compose/resolve-flow-scalar.js b/node_modules/yaml/dist/compose/resolve-flow-scalar.js
index cf6257ce..7976f2fd 100644
--- a/node_modules/yaml/dist/compose/resolve-flow-scalar.js
+++ b/node_modules/yaml/dist/compose/resolve-flow-scalar.js
@@ -191,19 +191,19 @@ function foldNewline(source, offset) {
return { fold, offset };
}
const escapeCodes = {
- '0': '\0',
- a: '\x07',
- b: '\b',
- e: '\x1b',
- f: '\f',
- n: '\n',
- r: '\r',
- t: '\t',
- v: '\v',
- N: '\u0085',
- _: '\u00a0',
- L: '\u2028',
- P: '\u2029',
+ '0': '\0', // null character
+ a: '\x07', // bell character
+ b: '\b', // backspace
+ e: '\x1b', // escape character
+ f: '\f', // form feed
+ n: '\n', // line feed
+ r: '\r', // carriage return
+ t: '\t', // horizontal tab
+ v: '\v', // vertical tab
+ N: '\u0085', // Unicode next line
+ _: '\u00a0', // Unicode non-breaking space
+ L: '\u2028', // Unicode line separator
+ P: '\u2029', // Unicode paragraph separator
' ': ' ',
'"': '"',
'/': '/',