@depup/js-yaml 5.4.1-depup.8 → 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 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.1 |
17
- | Processed | 2026-08-29 |
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.1 |
25
+ | argparse | ^2.0.1 | ^3.0.2 |
26
26
 
27
27
  ---
28
28
 
package/changes.json CHANGED
@@ -2,9 +2,9 @@
2
2
  "bumped": {
3
3
  "argparse": {
4
4
  "from": "^2.0.1",
5
- "to": "^3.0.1"
5
+ "to": "^3.0.2"
6
6
  }
7
7
  },
8
- "timestamp": "2026-08-29T16:08:55.064Z",
8
+ "timestamp": "2026-09-13T00:58:24.018Z",
9
9
  "totalUpdated": 1
10
10
  }
@@ -1,4 +1,4 @@
1
- /*! js-yaml 5.4.1 https://github.com/nodeca/js-yaml @license MIT */
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;