-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bump js-yaml and @types/js-yaml #510
Bump js-yaml and @types/js-yaml #510
Conversation
00edd2c
to
b5995a2
Compare
@dependabot rebase |
b5995a2
to
1feab07
Compare
@@ -31,7 +31,7 @@ export class Persistence { | |||
fs.ensureDirSync(path.dirname(tapePath)); | |||
fs.writeFileSync( | |||
tapePath, | |||
yaml.safeDump({ | |||
yaml.dump({ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
safeDump
was renamed to dump
in the 4.0 release.
src/persistence.ts
Outdated
@@ -54,9 +54,9 @@ export class Persistence { | |||
if (!fs.existsSync(tapePath)) { | |||
throw new Error(`No tape found with name ${tapeName}`); | |||
} | |||
const persistedTapeRecords = yaml.safeLoad( | |||
const persistedTapeRecords = (yaml.load( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
safeLoad
was renamed to load
in the 4.0 release.
@dependabot recreate |
fd015c4
to
b32879f
Compare
@dependabot recreate |
Bumps [js-yaml](https://github.com/nodeca/js-yaml) and [@types/js-yaml](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/js-yaml). These dependencies needed to be updated together. Updates `js-yaml` from 3.14.1 to 4.1.0 - [Changelog](https://github.com/nodeca/js-yaml/blob/master/CHANGELOG.md) - [Commits](nodeca/js-yaml@3.14.1...4.1.0) Updates `@types/js-yaml` from 3.12.4 to 4.0.8 - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/js-yaml) --- updated-dependencies: - dependency-name: js-yaml dependency-type: direct:production update-type: version-update:semver-major - dependency-name: "@types/js-yaml" dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
e7c6611
to
8959d7a
Compare
@@ -55,7 +55,7 @@ export class Persistence { | |||
throw new Error(`No tape found with name ${tapeName}`); | |||
} | |||
const persistedTapeRecords = ( | |||
yaml.safeLoad(fs.readFileSync(tapePath, "utf8")) as Record<string, any> | |||
yaml.load(fs.readFileSync(tapePath, "utf8")) as Record<string, any> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
safeLoad
was renamed to load
in the 4.0 release.
@dependabot squash and merge |
Bumps js-yaml and @types/js-yaml. These dependencies needed to be updated together.
Updates
js-yaml
from 3.14.1 to 4.1.0Changelog
Sourced from js-yaml's changelog.
... (truncated)
Commits
2cef47b
4.1.0 released810b149
dist rebuild2b5620e
Export built-in types, type override now preserves orderab31bba
doc: clarifylineWidth
dump options (#612)ee74ce4
4.0.0 releaseda44bb7c
dist rebuildaee620a
Throw an error if block sequence/mapping indent contains a tabf0f205b
Fix parsing of invalid block mappingse8cf6f6
Fix error with anchor not being assigned to an empty nodea583097
Shorthand tags with !! whenever possibleUpdates
@types/js-yaml
from 3.12.4 to 4.0.8Commits
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebase
will rebase this PR@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it@dependabot merge
will merge this PR after your CI passes on it@dependabot squash and merge
will squash and merge this PR after your CI passes on it@dependabot cancel merge
will cancel a previously requested merge and block automerging@dependabot reopen
will reopen this PR if it is closed@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditions
will show all of the ignore conditions of the specified dependency@dependabot ignore this major version
will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor version
will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)