yaml 2.4.1 → 2.4.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.
package/README.md CHANGED
@@ -28,6 +28,12 @@ npm install yaml
28
28
 
29
29
  **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.
30
30
 
31
+ The development and maintenance of this library is [sponsored](https://github.com/sponsors/eemeli) by:
32
+
33
+ <a href="https://www.scipress.io/">
34
+ <img width=150 src="https://eemeli.org/yaml/images/scipress.svg" alt="Scipress" />
35
+ </a>
36
+
31
37
  ## API Overview
32
38
 
33
39
  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).
@@ -145,5 +151,5 @@ YAML.stringify({ number: 3, plain: 'string', block: 'two\nlines\n' })
145
151
  Browser testing provided by:
146
152
 
147
153
  <a href="https://www.browserstack.com/open-source">
148
- <img width=200 src="https://eemeli.org/yaml/images/browserstack.svg" />
154
+ <img width=200 src="https://eemeli.org/yaml/images/browserstack.svg" alt="BrowserStack" />
149
155
  </a>
@@ -18,7 +18,7 @@ const falseTag = {
18
18
  identify: value => value === false,
19
19
  default: true,
20
20
  tag: 'tag:yaml.org,2002:bool',
21
- test: /^(?:N|n|[Nn]o|NO|[Ff]alse|FALSE|[Oo]ff|OFF)$/i,
21
+ test: /^(?:N|n|[Nn]o|NO|[Ff]alse|FALSE|[Oo]ff|OFF)$/,
22
22
  resolve: () => new Scalar(false),
23
23
  stringify: boolStringify
24
24
  };
@@ -20,7 +20,7 @@ const falseTag = {
20
20
  identify: value => value === false,
21
21
  default: true,
22
22
  tag: 'tag:yaml.org,2002:bool',
23
- test: /^(?:N|n|[Nn]o|NO|[Ff]alse|FALSE|[Oo]ff|OFF)$/i,
23
+ test: /^(?:N|n|[Nn]o|NO|[Ff]alse|FALSE|[Oo]ff|OFF)$/,
24
24
  resolve: () => new Scalar.Scalar(false),
25
25
  stringify: boolStringify
26
26
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "yaml",
3
- "version": "2.4.1",
3
+ "version": "2.4.2",
4
4
  "license": "ISC",
5
5
  "author": "Eemeli Aro <eemeli@gmail.com>",
6
6
  "repository": "github:eemeli/yaml",