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

Update from nopt 3.x to nopt 5.0.0 #1778

Merged
merged 1 commit into from
Jul 23, 2024
Merged

Commits on Jul 20, 2024

  1. Update from nopt 3.x to nopt 5.0.0

    * grunt-cli updated to nopt 4.x in gruntjs/grunt-cli#117
    * grunt-cli updated to nopt 5.0 in gruntjs/grunt-cli#156
    * changelog: https://github.com/npm/nopt/blob/v5.0.0/CHANGELOG.md
    
    The simple usage of `nopt(known, alias, argv, 2)` has remained
    unchanged through both changes, same as in this repo.
    
    Installation of latest grunt- produces a warning:
    
    > npm WARN deprecated [email protected]: This package is no longer supported.
    
    This package was used by nopt to call `os.homedir()` which has been built-in
    since Node.js 2. The dependency was removed in nopt 5.0.0 with
    npm/nopt@5c0e45b.
    
    Newer versions of nopt are available, but those raise the required
    Node.js engine level. In order to make this safe to land, and easy to release,
    resolve the warning first by moving to nopt 5.0.0, matching grunt-cli.
    
    I'm loosening grunt-cli to allow for grunt-cli 1.5.0, which was just
    released with a similar fix. This way it will update by default, but
    not cause duplicate installations for downstream projects that depend
    on grunt-cli 1.4 directly.
    Krinkle committed Jul 20, 2024
    Configuration menu
    Copy the full SHA
    7fe6cc2 View commit details
    Browse the repository at this point in the history