diff options
| author | littleblack111 <littleblack11111@gmail.com> | 2023-12-21 22:46:53 +0800 |
|---|---|---|
| committer | littleblack111 <littleblack11111@gmail.com> | 2023-12-21 22:46:53 +0800 |
| commit | f06956efd2dc4bf77244a9fcce2b883a00b925af (patch) | |
| tree | 0123cb73ce67f1f4b17e1d6cbabff076ee44e31b /node_modules/yaml | |
| parent | 8d980c13970c15b6d2312b6fc4ac51698dd0d220 (diff) | |
updated node modules
Diffstat (limited to 'node_modules/yaml')
| -rw-r--r-- | node_modules/yaml/browser/dist/doc/directives.js | 2 | ||||
| -rw-r--r-- | node_modules/yaml/dist/doc/directives.js | 2 | ||||
| -rw-r--r-- | node_modules/yaml/package.json | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/node_modules/yaml/browser/dist/doc/directives.js b/node_modules/yaml/browser/dist/doc/directives.js index aa56441c..c66e6120 100644 --- a/node_modules/yaml/browser/dist/doc/directives.js +++ b/node_modules/yaml/browser/dist/doc/directives.js @@ -116,7 +116,7 @@ class Directives { onError('Verbatim tags must end with a >'); return verbatim; } - const [, handle, suffix] = source.match(/^(.*!)([^!]*)$/); + const [, handle, suffix] = source.match(/^(.*!)([^!]*)$/s); if (!suffix) onError(`The ${source} tag has no suffix`); const prefix = this.tags[handle]; diff --git a/node_modules/yaml/dist/doc/directives.js b/node_modules/yaml/dist/doc/directives.js index 2eb9d3c5..e13b10e3 100644 --- a/node_modules/yaml/dist/doc/directives.js +++ b/node_modules/yaml/dist/doc/directives.js @@ -118,7 +118,7 @@ class Directives { onError('Verbatim tags must end with a >'); return verbatim; } - const [, handle, suffix] = source.match(/^(.*!)([^!]*)$/); + const [, handle, suffix] = source.match(/^(.*!)([^!]*)$/s); if (!suffix) onError(`The ${source} tag has no suffix`); const prefix = this.tags[handle]; diff --git a/node_modules/yaml/package.json b/node_modules/yaml/package.json index 503d34e1..3f904102 100644 --- a/node_modules/yaml/package.json +++ b/node_modules/yaml/package.json @@ -1,6 +1,6 @@ { "name": "yaml", - "version": "2.3.3", + "version": "2.3.4", "license": "ISC", "author": "Eemeli Aro <eemeli@gmail.com>", "repository": "github:eemeli/yaml", |
