@depup/js-yaml 5.4.1-depup.9 → 5.4.2-depup.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/changes.json +2 -2
- package/dist/browser/js-yaml.esm.min.mjs +2 -2
- package/dist/browser/js-yaml.esm.min.mjs.map +1 -1
- package/dist/browser/js-yaml.umd.min.js +1 -1
- package/dist/browser/js-yaml.umd.min.js.map +1 -1
- package/dist/js-yaml.cjs.js +2 -1
- package/dist/js-yaml.cjs.js.map +1 -1
- package/dist/js-yaml.mjs +2 -1
- package/dist/js-yaml.mjs.map +1 -1
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -13,8 +13,8 @@ npm install @depup/js-yaml
|
|
|
13
13
|
|
|
14
14
|
| Field | Value |
|
|
15
15
|
|-------|-------|
|
|
16
|
-
| Original | [js-yaml](https://www.npmjs.com/package/js-yaml) @ 5.4.
|
|
17
|
-
| Processed | 2026-
|
|
16
|
+
| Original | [js-yaml](https://www.npmjs.com/package/js-yaml) @ 5.4.2 |
|
|
17
|
+
| Processed | 2026-09-13 |
|
|
18
18
|
| Smoke test | passed |
|
|
19
19
|
| Deps updated | 1 |
|
|
20
20
|
|
|
@@ -22,7 +22,7 @@ npm install @depup/js-yaml
|
|
|
22
22
|
|
|
23
23
|
| Dependency | From | To |
|
|
24
24
|
|------------|------|-----|
|
|
25
|
-
| argparse | ^2.0.1 | ^3.0.
|
|
25
|
+
| argparse | ^2.0.1 | ^3.0.2 |
|
|
26
26
|
|
|
27
27
|
---
|
|
28
28
|
|
package/changes.json
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! js-yaml 5.4.
|
|
1
|
+
/*! js-yaml 5.4.2 https://github.com/nodeca/js-yaml @license MIT */
|
|
2
2
|
//#region src/tag.ts
|
|
3
3
|
var e = Symbol("NOT_RESOLVED");
|
|
4
4
|
function t(e, t) {
|
|
@@ -1805,7 +1805,7 @@ function Jn(e) {
|
|
|
1805
1805
|
e.style === E.PLAIN && /^\s+$/.test(e.node.value) && (e.style = E.DOUBLE_QUOTED);
|
|
1806
1806
|
}
|
|
1807
1807
|
function Yn(e) {
|
|
1808
|
-
e.presenterOptions.forceQuotes && (e.isKey || e.style !== E.PLAIN || (e.style = e.node.value.includes("\n") ? E.DOUBLE_QUOTED : Gn(e)));
|
|
1808
|
+
e.presenterOptions.forceQuotes && (e.isKey || e.style !== E.PLAIN || e.node.tag === e.presenterOptions.schema.defaultScalarTag.tagName && (e.style = e.node.value.includes("\n") ? E.DOUBLE_QUOTED : Gn(e)));
|
|
1809
1809
|
}
|
|
1810
1810
|
function Xn(e) {
|
|
1811
1811
|
if (e.style !== E.PLAIN || e.isKey) return;
|