-
Notifications
You must be signed in to change notification settings - Fork 21
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
chore(deps): bump fs-extra and @types/fs-extra #5781
chore(deps): bump fs-extra and @types/fs-extra #5781
Conversation
218d09c
to
747c86a
Compare
c74f7a7
to
0a53235
Compare
|
0a53235
to
c13ccd0
Compare
764b12f
to
45efead
Compare
if (typeof entity === 'object') { | ||
newEntity = JSON.stringify(entity); | ||
} | ||
const newEntity: string = JSON.stringify(entity); |
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.
i dont see a reason to make this change personally.
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.
it will lead to a quoted string in the unhappy path. we should use the previous method instead i believe. unless there is something im missing
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.
i think revert the newEntity change and then this should be ready.
if (typeof entity === 'object') { | ||
newEntity = JSON.stringify(entity); | ||
} | ||
const newEntity: string = JSON.stringify(entity); |
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.
const newEntity: string = JSON.stringify(entity); | |
let newEntity: string; | |
if (typeof entity === 'object') { | |
newEntity = JSON.stringify(entity); | |
}else{ | |
newEntity = entity; | |
} |
perhaps this works?
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.
I'd shorten it to
const newEntity: string = typeof entity === 'object' ? JSON.stringify(entity) : entity;
but also, maybe ... : entity.toString()
?
Bumps [fs-extra](https://github.com/jprichardson/node-fs-extra) and [@types/fs-extra](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/fs-extra). These dependencies needed to be updated together. Updates `fs-extra` from 11.1.0 to 11.2.0 - [Changelog](https://github.com/jprichardson/node-fs-extra/blob/master/CHANGELOG.md) - [Commits](jprichardson/node-fs-extra@11.1.0...11.2.0) Updates `@types/fs-extra` from 9.0.13 to 11.0.4 - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/fs-extra) --- updated-dependencies: - dependency-name: fs-extra dependency-type: direct:production update-type: version-update:semver-minor - dependency-name: "@types/fs-extra" dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]>
7cf1bbb
to
ea4f2f3
Compare
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.
👍🏻
…lculated to fix the types
ea4f2f3
to
1366d7e
Compare
|
Bumps fs-extra and @types/fs-extra. These dependencies needed to be updated together.
Updates
fs-extra
from 11.1.0 to 11.2.0Changelog
Sourced from fs-extra's changelog.
Commits
5d4bf0b
11.2.0d293448
perf: copy dir contents in parallel (#1026)a277cbb
Refactormove
API to async/await (#1025)40c5161
Refactorcopy
API to async/await (#1021)6f2b2bc
Refactorcreate*
/ensure*
API to async/await (#1023)426bb46
RefactoroutputFile
API to async/await (#1024)47bc43d
Simplify reduce for checking match (#1016)cc7b3b2
11.1.1055e0b8
Unify cross-device move test configuration/logic (#1001)0e7de32
Preserve timestamp when moving across devices (#994)Updates
@types/fs-extra
from 9.0.13 to 11.0.4Commits
You can trigger a rebase of this PR 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)