step-node-agent 3.28.1 → 3.28.2
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.
|
@@ -20,6 +20,8 @@ This requirement may be updated between minor versions of the library.
|
|
|
20
20
|
|
|
21
21
|
For more information, see the project's documentation site: [**eemeli.org/yaml**](https://eemeli.org/yaml/)
|
|
22
22
|
|
|
23
|
+
For build instructions and contribution guidelines, see [docs/CONTRIBUTING.md](docs/CONTRIBUTING.md).
|
|
24
|
+
|
|
23
25
|
To install:
|
|
24
26
|
|
|
25
27
|
```sh
|
|
@@ -30,26 +32,6 @@ deno add jsr:@eemeli/yaml
|
|
|
30
32
|
|
|
31
33
|
**Note:** These docs are for `yaml@2`. For v1, see the [v1.10.0 tag](https://github.com/eemeli/yaml/tree/v1.10.0) for the source and [eemeli.org/yaml/v1](https://eemeli.org/yaml/v1/) for the documentation.
|
|
32
34
|
|
|
33
|
-
The development and maintenance of this library is [sponsored](https://github.com/sponsors/eemeli) by:
|
|
34
|
-
|
|
35
|
-
<p align="center" width="100%">
|
|
36
|
-
<a href="https://www.scipress.io/"
|
|
37
|
-
><img
|
|
38
|
-
width="150"
|
|
39
|
-
align="top"
|
|
40
|
-
src="https://eemeli.org/yaml/images/scipress.svg"
|
|
41
|
-
alt="Scipress"
|
|
42
|
-
/></a>
|
|
43
|
-
|
|
44
|
-
<a href="https://manifest.build/"
|
|
45
|
-
><img
|
|
46
|
-
width="150"
|
|
47
|
-
align="top"
|
|
48
|
-
src="https://eemeli.org/yaml/images/manifest.svg"
|
|
49
|
-
alt="Manifest"
|
|
50
|
-
/></a>
|
|
51
|
-
</p>
|
|
52
|
-
|
|
53
35
|
## API Overview
|
|
54
36
|
|
|
55
37
|
The API provided by `yaml` has three layers, depending on how deep you need to go: [Parse & Stringify](https://eemeli.org/yaml/#parse-amp-stringify), [Documents](https://eemeli.org/yaml/#documents), and the underlying [Lexer/Parser/Composer](https://eemeli.org/yaml/#parsing-yaml).
|
|
@@ -159,7 +159,7 @@ function blockString({ comment, type, value }, ctx, onComment, onChompKeep) {
|
|
|
159
159
|
const { blockQuote, commentString, lineWidth } = ctx.options;
|
|
160
160
|
// 1. Block can't end in whitespace unless the last line is non-empty.
|
|
161
161
|
// 2. Strings consisting of only whitespace are best rendered explicitly.
|
|
162
|
-
if (!blockQuote || /\n[\t ]+$/.test(value)
|
|
162
|
+
if (!blockQuote || /\n[\t ]+$/.test(value)) {
|
|
163
163
|
return quotedString(value, ctx);
|
|
164
164
|
}
|
|
165
165
|
const indent = ctx.indent ||
|
|
@@ -161,7 +161,7 @@ function blockString({ comment, type, value }, ctx, onComment, onChompKeep) {
|
|
|
161
161
|
const { blockQuote, commentString, lineWidth } = ctx.options;
|
|
162
162
|
// 1. Block can't end in whitespace unless the last line is non-empty.
|
|
163
163
|
// 2. Strings consisting of only whitespace are best rendered explicitly.
|
|
164
|
-
if (!blockQuote || /\n[\t ]+$/.test(value)
|
|
164
|
+
if (!blockQuote || /\n[\t ]+$/.test(value)) {
|
|
165
165
|
return quotedString(value, ctx);
|
|
166
166
|
}
|
|
167
167
|
const indent = ctx.indent ||
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "yaml",
|
|
3
|
-
"version": "2.8.
|
|
3
|
+
"version": "2.8.1",
|
|
4
4
|
"license": "ISC",
|
|
5
5
|
"author": "Eemeli Aro <eemeli@gmail.com>",
|
|
6
6
|
"repository": "github:eemeli/yaml",
|
|
@@ -83,6 +83,7 @@
|
|
|
83
83
|
"eslint-config-prettier": "^9.0.0",
|
|
84
84
|
"fast-check": "^2.12.0",
|
|
85
85
|
"jest": "^29.0.1",
|
|
86
|
+
"jest-resolve": "^29.7.0",
|
|
86
87
|
"jest-ts-webcompat-resolver": "^1.0.0",
|
|
87
88
|
"prettier": "^3.0.2",
|
|
88
89
|
"rollup": "^4.12.0",
|