Skip to content

Commit 1b910a4

Browse files
Bump js-yaml from 3.14.1 to 4.1.1 (#2372)
* Bump js-yaml from 3.14.1 to 4.1.1 Bumps [js-yaml](https://github.com/nodeca/js-yaml) from 3.14.1 to 4.1.1. - [Changelog](https://github.com/nodeca/js-yaml/blob/master/CHANGELOG.md) - [Commits](nodeca/js-yaml@3.14.1...4.1.1) --- updated-dependencies: - dependency-name: js-yaml dependency-version: 4.1.1 dependency-type: direct:development ... Signed-off-by: dependabot[bot] <[email protected]> * Update to newest js-yaml --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jean-Yves Moyen <[email protected]>
1 parent 8d61785 commit 1b910a4

File tree

3 files changed

+148
-29
lines changed

3 files changed

+148
-29
lines changed

__tests__/spelling.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ function getCuratedMarkdownBody(body, options = {}) {
109109
* @returns {String[]}
110110
*/
111111
function getSpellIgnored() {
112-
const ignoreConfigured = yaml.safeLoad(fs.readFileSync('./__tests__/spelling-ignore.yml', 'utf8'), {schema: yaml.FAILSAFE_SCHEMA}) //added schema due to entries starting with a non-zero digit
112+
const ignoreConfigured = yaml.load(fs.readFileSync('./__tests__/spelling-ignore.yml', 'utf8'), {schema: yaml.FAILSAFE_SCHEMA}) //added schema due to entries starting with a non-zero digit
113113

114114
/*
115115
Building spelling exception in the shape FOOxxx where xxx is a number.

package-lock.json

Lines changed: 146 additions & 27 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@
146146
"jest": "^27.5.1",
147147
"jest-27-expect-message": "^1.1.0",
148148
"jest-extended": "^4.0.2",
149-
"js-yaml": "^3.14.1",
149+
"js-yaml": "^4.1.1",
150150
"lint-staged": "^9.5.0",
151151
"marked": "^4.0.10",
152152
"moment": "^2.29.4",

0 commit comments

Comments
 (0)