Skip to content
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

build(deps): bump get-stdin from 8.0.0 to 9.0.0 #238

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Apr 19, 2021

Bumps get-stdin from 8.0.0 to 9.0.0.

Release notes

Sourced from get-stdin's releases.

v9.0.0

Breaking

  • Require Node.js 12 8f70f58
  • This package is now pure ESM. Please read this.

sindresorhus/get-stdin@v8.0.0...v9.0.0

Commits

Dependabot compatibility score

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 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)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Apr 19, 2021
@theoludwig theoludwig self-assigned this Apr 22, 2021
Copy link
Member

@theoludwig theoludwig left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Requested for reviews since this is a BREAKING CHANGE.
Also I edited the code, I don't know if it would be better that I open a PR myself instead to do this with this dependabot PR.

I think it is fine to drop support for Node.js v10 since it reached end of life, also ESM import are so cleaner than require to write and I think it is the right thing to do to move gradually all npm packages to use this "new" syntax instead of ugly CommonJS (standard included). 😄

I will open others PRs to implement ESM in others repo of the standard org, if it is wanted once this PR has been merged.

index.js Outdated
import os from 'node:os'
import path from 'node:path'
import pkgConf from 'pkg-conf'
import { cache as xdgCache } from 'xdg-basedir'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Once this PR has been merged, we will be able to update xdg-basedir too (see #236) to do that, we will need to remove cache as from this statement.

Copy link
Member

@theoludwig theoludwig left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

With a little bit more of research, I think it is still too early, hopefully the tools and the ecosystem will gradually move to ESM instead of CommonJS, but we should wait before making the move.

I will put this PR as draft for the moment, hopefully, later this year, we will be able to sucessfully migrate. 👍

@theoludwig theoludwig marked this pull request as draft April 23, 2021 19:38
@theoludwig theoludwig marked this pull request as ready for review August 17, 2021 12:57
@theoludwig
Copy link
Member

@dependabot recreate

@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/get-stdin-9.0.0 branch 2 times, most recently from 656b768 to 84f7bb4 Compare August 18, 2021 10:23
@theoludwig theoludwig removed their assignment Sep 5, 2021
@voxpelli
Copy link
Member

@dependabot rebase

@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/get-stdin-9.0.0 branch from 84f7bb4 to f019a56 Compare October 14, 2021 21:40
@voxpelli voxpelli added this to the 16.0.0 milestone Oct 14, 2021
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/get-stdin-9.0.0 branch from f019a56 to a752fa3 Compare November 30, 2021 10:30
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/get-stdin-9.0.0 branch from a752fa3 to dd9d4a0 Compare February 28, 2022 13:06
Bumps [get-stdin](https://github.com/sindresorhus/get-stdin) from 8.0.0 to 9.0.0.
- [Release notes](https://github.com/sindresorhus/get-stdin/releases)
- [Commits](sindresorhus/get-stdin@v8.0.0...v9.0.0)

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/get-stdin-9.0.0 branch from dd9d4a0 to 0d6541e Compare April 4, 2022 16:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

None yet

2 participants