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

[Snyk] Upgrade: , node-fetch, , , , , commander, dotenv, open, typescript #550

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

Conversation

WontonSam
Copy link
Owner

snyk-top-banner

Snyk has created this PR to upgrade multiple dependencies.

👯‍♂ The following dependencies are linked and will therefore be updated together.

ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.

⚠️ Warning: This PR contains major version upgrade(s), and may be a breaking change.

Name Versions Released on

@commander-js/extra-typings
from 0.1.0 to 12.1.0 | 16 versions ahead of your current version
⚠️ This is a major version upgrade, and may be a breaking change | 4 months ago
on 2024-05-19
node-fetch
from 2.7.0 to 3.3.2 | 28 versions ahead of your current version
⚠️ This is a major version upgrade, and may be a breaking change | a year ago
on 2023-07-25
@octokit/rest
from 19.0.13 to 21.0.2 | 17 versions ahead of your current version
⚠️ This is a major version upgrade, and may be a breaking change | a month ago
on 2024-08-16
@tsconfig/node16
from 1.0.4 to 16.1.3 | 4 versions ahead of your current version
⚠️ This is a major version upgrade, and may be a breaking change | 6 months ago
on 2024-03-27
@types/node
from 16.18.108 to 22.5.1 | 396 versions ahead of your current version
⚠️ This is a major version upgrade, and may be a breaking change | 23 days ago
on 2024-08-28
@types/node-fetch
from 2.6.11 to 3.0.2 | 3 versions ahead of your current version
⚠️ This is a major version upgrade, and may be a breaking change | 3 years ago
on 2021-09-03
commander
from 9.4.0 to 12.1.0 | 10 versions ahead of your current version
⚠️ This is a major version upgrade, and may be a breaking change | 4 months ago
on 2024-05-18
dotenv
from 10.0.0 to 16.4.5 | 39 versions ahead of your current version
⚠️ This is a major version upgrade, and may be a breaking change | 7 months ago
on 2024-02-20
open
from 8.4.2 to 10.1.0 | 8 versions ahead of your current version
⚠️ This is a major version upgrade, and may be a breaking change | 6 months ago
on 2024-03-08
typescript
from 4.9.5 to 5.5.4 | 595 versions ahead of your current version
⚠️ This is a major version upgrade, and may be a breaking change | 2 months ago
on 2024-07-22

Issues fixed by the recommended upgrade:

Issue Score Exploit Maturity
medium severity Regular Expression Denial of Service (ReDoS)
SNYK-JS-PATHTOREGEXP-7925106
67 Proof of Concept
Release notes
Package name: @commander-js/extra-typings
  • 12.1.0 - 2024-05-19

    Changed

    • use ESLint for linting (#65)
    • format source files with Prettier (#66)

    Removed

    • removed unimplemented Option.fullDescription from TypeScript definition (#70)
  • 12.0.1 - 2024-03-01

    Release

  • 12.0.0 - 2024-02-03

    Changed

  • 12.0.0-1 - 2023-11-13

    Fixed

    • use prerelease Commander version for peerDependencies
  • 12.0.0-0 - 2023-11-12

    Changed

  • 11.1.0 - 2023-10-15

    Added

    • Option properties: envVar, presetArg (#48)
    • Argument properties: argChoices, defaultValue, defaultValueDescription (#48)
    • Command properties: options, registeredArguments (#50)

    Changed

    Fixed

    • remove unused Option.optionFlags property (#48)
    • add that Command.version() can also be used as getter (#48)
    • add null return type to Commands.executableDir(), for when not configured (#48)
    • preserve option typings when adding arguments to Command (#49)
  • 11.0.0 - 2023-06-16

    Changed

  • 10.0.3 - 2023-03-03

    Added

    • narrow types based on .choices() (#29)

    Fixed

    • improve Option type inferences for certain combinations of configuration (#31)
    • mark .action() callback as allowing promises (#33)
  • 10.0.2 - 2023-01-28

    Fixed

    • createOption passes through description into object constructor. (#25)
  • 10.0.1 - 2023-01-17
  • 10.0.0 - 2023-01-14
  • 9.5.0 - 2023-01-12
  • 9.4.1 - 2022-11-01
  • 9.4.0 - 2022-10-28
  • 0.3.0 - 2022-09-07
  • 0.2.0 - 2022-08-23
  • 0.1.0 - 2022-08-16
from @commander-js/extra-typings GitHub release notes
Package name: node-fetch
  • 3.3.2 - 2023-07-25

    3.3.2 (2023-07-25)

    Bug Fixes

  • 3.3.1 - 2023-03-11

    3.3.1 (2023-03-11)

    Bug Fixes

    • release "Allow URL class object as an argument for fetch()" #1696 (#1716) (7b86e94)
  • 3.3.0 - 2022-11-10

    3.3.0 (2022-11-10)

    Features

  • 3.2.10 - 2022-07-31

    3.2.10 (2022-07-31)

    Bug Fixes

  • 3.2.9 - 2022-07-18

    3.2.9 (2022-07-18)

    Bug Fixes

    • Headers: don't forward secure headers on protocol change (#1599) (e87b093)
  • 3.2.8 - 2022-07-12
  • 3.2.7 - 2022-07-11
  • 3.2.6 - 2022-06-09
  • 3.2.5 - 2022-06-01
  • 3.2.4 - 2022-04-28
  • 3.2.3 - 2022-03-11
  • 3.2.2 - 2022-03-07
  • 3.2.1 - 2022-03-01
  • 3.2.0 - 2022-01-20
  • 3.1.1 - 2022-01-16
  • 3.1.0 - 2021-11-08
  • 3.0.0 - 2021-08-31
  • 3.0.0-beta.6-exportfix - 2020-05-25
  • 3.0.0-beta.10 - 2021-07-19
  • 3.0.0-beta.9 - 2020-09-05
  • 3.0.0-beta.8 - 2020-08-10
  • 3.0.0-beta.7 - 2020-06-11
  • 3.0.0-beta.6 - 2020-05-25
  • 3.0.0-beta.5 - 2020-04-22
  • 3.0.0-beta.4 - 2020-03-14
  • 3.0.0-beta.3 - 2020-03-13
  • 3.0.0-beta.2 - 2020-03-13
  • 3.0.0-beta.1 - 2020-03-13
  • 2.7.0 - 2023-08-23
from node-fetch GitHub release notes
Package name: @octokit/rest from @octokit/rest GitHub release notes
Package name: @tsconfig/node16
  • 16.1.3 - 2024-03-27
  • 16.1.2 - 2024-03-24
  • 16.1.1 - 2023-08-22
  • 16.1.0 - 2023-06-28
  • 1.0.4 - 2023-05-12
from @tsconfig/node16 GitHub release notes
Package name: @types/node
  • 22.5.1 - 2024-08-28
  • 22.5.0 - 2024-08-21
  • 22.4.2 - 2024-08-21
  • 22.4.1 - 2024-08-19
  • 22.4.0 - 2024-08-16
  • 22.3.0 - 2024-08-14
  • 22.2.0 - 2024-08-09
  • 22.1.0 - 2024-08-02
  • 22.0.3 - 2024-08-02
  • 22.0.2 - 2024-07-31
  • 22.0.1 - 2024-07-31
  • 22.0.0 - 2024-07-28
  • 20.16.5 - 2024-09-04
  • 20.16.4 - 2024-09-04
  • 20.16.3 - 2024-09-01
  • 20.16.2 - 2024-08-28
  • 20.16.1 - 2024-08-19
  • 20.16.0 - 2024-08-18
  • 20.15.0 - 2024-08-16
  • 20.14.15 - 2024-08-09
  • 20.14.14 - 2024-08-02
  • 20.14.13 - 2024-07-28
  • 20.14.12 - 2024-07-23
  • 20.14.11 - 2024-07-16
  • 20.14.10 - 2024-07-05
  • 20.14.9 - 2024-06-25
  • 20.14.8 - 2024-06-22
  • 20.14.7 - 2024-06-20
  • 20.14.6 - 2024-06-19
  • 20.14.5 - 2024-06-18
  • 20.14.4 - 2024-06-17
  • 20.14.3 - 2024-06-17
  • 20.14.2 - 2024-06-05
  • 20.14.1 - 2024-06-03
  • 20.14.0 - 2024-06-02
  • 20.13.0 - 2024-05-31
  • 20.12.14 - 2024-05-31
  • 20.12.13 - 2024-05-29
  • 20.12.12 - 2024-05-14
  • 20.12.11 - 2024-05-08
  • 20.12.10 - 2024-05-06
  • 20.12.9 - 2024-05-06
  • 20.12.8 - 2024-05-01
  • 20.12.7 - 2024-04-09
  • 20.12.6 - 2024-04-09
  • 20.12.5 - 2024-04-05
  • 20.12.4 - 2024-04-03
  • 20.12.3 - 2024-04-02
  • 20.12.2 - 2024-03-30
  • 20.12.1 - 2024-03-30
  • 20.12.0 - 2024-03-30
  • 20.11.30 - 2024-03-19
  • 20.11.29 - 2024-03-18
  • 20.11.28 - 2024-03-15
  • 20.11.27 - 2024-03-13
  • 20.11.26 - 2024-03-11
  • 20.11.25 - 2024-03-06
  • 20.11.24 - 2024-02-29
  • 20.11.23 - 2024-02-29
  • 20.11.22 - 2024-02-28
  • 20.11.21 - 2024-02-27
  • 20.11.20 - 2024-02-22
  • 20.11.19 - 2024-02-15
  • 20.11.18 - 2024-02-15
  • 20.11.17 - 2024-02-08
  • 20.11.16 - 2024-02-01
  • 20.11.15 - 2024-02-01
  • 20.11.14 - 2024-01-31
  • 20.11.13 - 2024-01-30
  • 20.11.12 - 2024-01-30
  • 20.11.11 - 2024-01-30
  • 20.11.10 - 2024-01-28
  • 20.11.9 - 2024-01-28
  • 20.11.8 - 2024-01-27
  • 20.11.7 - 2024-01-26
  • 20.11.6 - 2024-01-24
  • 20.11.5 - 2024-01-17
  • 20.11.4 - 2024-01-16
  • 20.11.3 - 2024-01-15
  • 20.11.2 - 2024-01-15
  • 20.11.1 - 2024-01-15
  • 20.11.0 - 2024-01-11
  • 20.10.8 - 2024-01-09
  • 20.10.7 - 2024-01-07
  • 20.10.6 - 2023-12-30
  • 20.10.5 - 2023-12-17
  • 20.10.4 - 2023-12-07
  • 20.10.3 - 2023-12-03
  • 20.10.2 - 2023-12-01
  • 20.10.1 - 2023-11-29
  • 20.10.0 - 2023-11-24
  • 20.9.5 - 2023-11-23
  • 20.9.4 - 2023-11-22
  • 20.9.3 - 2023-11-21
  • 20.9.2 - 2023-11-18
  • 20.9.1 - 2023-11-16
  • 20.9.0 - 2023-11-07
  • 20.8.10 - 2023-10-31
  • 20.8.9 - 2023-10-25
  • 20.8.8 - 2023-10-24
  • 20.8.7 - 2023-10-18
  • 20.8.6 - 2023-10-13
  • 20.8.5 - 2023-10-12
  • 20.8.4 - 2023-10-09
  • 20.8.3 - 2023-10-06
  • 20.8.2 - 2023-10-02
  • 20.8.1 - 2023-10-02
  • 20.8.0 - 2023-09-30
  • 20.7.2 - 2023-09-29
  • 20.7.1 - 2023-09-27
  • 20.7.0 - 2023-09-25
  • 20.6.5 - 2023-09-24
  • 20.6.4 - 2023-09-23
  • 20.6.3 - 2023-09-20
  • 20.6.2 - 2023-09-16
  • 20.6.1 - 2023-09-15
  • 20.6.0 - 2023-09-08
  • 20.5.9 - 2023-09-02
  • 20.5.8 - 2023-09-01
  • 20.5.7 - 2023-08-28
  • 20.5.6 - 2023-08-24
  • 20.5.5 - 2023-08-24
  • 20.5.4 - 2023-08-23
  • 20.5.3 - 2023-08-22
  • 20.5.2 - 2023-08-22
  • 20.5.1 - 2023-08-18
  • 20.5.0 - 2023-08-13
  • 20.4.10 - 2023-08-11
  • 20.4.9 - 2023-08-08
  • 20.4.8 - 2023-08-05
  • 20.4.7 - 2023-08-04
  • 20.4.6 - 2023-08-02
  • 20.4.5 - 2023-07-25
  • 20.4.4 - 2023-07-22
  • 20.4.3 - 2023-07-21
  • 20.4.2 - 2023-07-12
  • 20.4.1 - 2023-07-07
  • 20.4.0 - 2023-07-05
  • 20.3.3 - 2023-06-30
  • 20.3.2 - 2023-06-26
  • 20.3.1 - 2023-06-13
  • 20.3.0 - 2023-06-10
  • 20.2.6 - 2023-06-10
  • 20.2.5 - 2023-05-26
  • 20.2.4 - 2023-05-25
  • 20.2.3 - 2023-05-21
  • 20.2.2 - 2023-05-21
  • 20.2.1 - 2023-05-18
  • 20.2.0 - 2023-05-17
  • 20.1.7 - 2023-05-16
  • 20.1.6 - 2023-05-16
  • 20.1.5 - 2023-05-16
  • 20.1.4 - 2023-05-13
  • 20.1.3 - 2023-05-11
  • 20.1.2 - 2023-05-10
  • 20.1.1 - 2023-05-08
  • 20.1.0 - 2023-05-05
  • 20.0.0 - 2023-05-05
  • 18.19.50 - 2024-09-04
  • 18.19.49 - 2024-09-04
  • 18.19.48 - 2024-09-01
  • 18.19.47 - 2024-08-28
  • 18.19.46 - 2024-08-26
  • 18.19.45 - 2024-08-19
  • 18.19.44 - 2024-08-09
  • 18.19.43 - 2024-08-02
  • 18.19.42 - 2024-07-23
  • 18.19.41 - 2024-07-18
  • 18.19.40 - 2024-07-16
  • 18.19.39 - 2024-06-22
  • 18.19.38 - 2024-06-20
  • 18.19.37 - 2024-06-19
  • 18.19.36 - 2024-06-17
  • 18.19.35 - 2024-06-17
  • 18.19.34 - 2024-06-03
  • 18.19.33 - 2024-05-08
  • 18.19.32 - 2024-05-06
  • 18.19.31 - 2024-04-09
  • 18.19.30 - 2024-04-05
  • 18.19.29 - 2024-04-02
  • 18.19.28 - 2024-03-30
  • 18.19.27 - 2024-03-30
  • 18.19.26 - 2024-03-19
  • 18.19.25 - 2024-03-18
  • 18.19.24 - 2024-03-13
  • 18.19.23 - 2024-03-11
  • 18.19.22 - 2024-03-06
  • 18.19.21 - 2024-02-29
  • 18.19.20 - 2024-02-28
  • 18.19.19 - 2024-02-27
  • 18.19.18 - 2024-02-22
  • 18.19.17 - 2024-02-15
  • 18.19.16 - 2024-02-15
  • 18.19.15 - 2024-02-08
  • 18.19.14 - 2024-02-01
  • 18.19.13 - 2024-02-01
  • 18.19.12 - 2024-01-31
  • 18.19.11 - 2024-01-30
  • 18.19.10 - 2024-01-26
  • 18.19.9 - 2024-01-24
  • 18.19.8 - 2024-01-17
  • 18.19.7 - 2024-01-15
  • 18.19.6 - 2024-01-09
  • 18.19.5 - 2024-01-07
  • 18.19.4 - 2023-12-30
  • 18.19.3 - 2023-12-07
  • 18.19.2 - 2023-12-03
  • 18.19.1 - 2023-12-01
  • 18.19.0 - 2023-11-30
  • 18.18.14 - 2023-11-29
  • 18.18.13 - 2023-11-23
  • 18.18.12 - 2023-11-22
  • 18.18.11 - 2023-11-21
  • 18.18.10 - 2023-11-18
  • 18.18.9 - 2023-11-07
  • 18.18.8 - 2023-10-31
  • 18.18.7 - 2023-10-25
  • 18.18.6 - 2023-10-18
  • 18.18.5 - 2023-10-12
  • 18.18.4 - 2023-10-06
  • 18.18.3 - 2023-10-02
  • 18.18.2 - 2023-10-02
  • 18.18.1 - 2023-09-29
  • 18.18.0 - 2023-09-25
  • 18.17.19 - 2023-09-23
  • 18.17.18 - 2023-09-20
  • 18.17.17 - 2023-09-16
  • 18.17.16 - 2023-09-15
  • 18.17.15 - 2023-09-08
  • 18.17.14 - 2023-09-02
  • 18.17.13 - 2023-09-01
  • 18.17.12 - 2023-08-28
  • 18.17.11 - 2023-08-24
  • 18.17.10 - 2023-08-24
  • 18.17.9 - 2023-08-23
  • 18.17.8 - 2023-08-22
  • 18.17.7 - 2023-08-22
  • 18.17.6 - 2023-08-18
  • 18.17.5 - 2023-08-11
  • 18.17.4 - 2023-08-08
  • 18.17.3 - 2023-08-05
  • 18.17.2 - 2023-08-04
  • 18.17.1 - 2023-07-25
  • 18.17.0 - 2023-07-22
  • 18.16.20 - 2023-07-21
  • 18.16.19 - 2023-06-30
  • 18.16.18 - 2023-06-13
  • 18.16.17 - 2023-06-10
  • 18.16.16 - 2023-05-26
  • 18.16.15 - 2023-05-25
  • 18.16.14 - 2023-05-21
  • 18.16.13 - 2023-05-18
  • 18.16.12 - 2023-05-16
  • 18.16.11 - 2023-05-16
  • 18.16.10 - 2023-05-16
  • 18.16.9 - 2023-05-13
  • 18.16.8 - 2023-05-11
  • 18.16.7 - 2023-05-10
  • 18.16.6 - 2023-05-08
  • 18.16.5 - 2023-05-05
  • 18.16.4 - 2023-05-05
  • 18.16.3 - 2023-04-29
  • 18.16.2 - 2023-04-27
  • 18.16.1 - 2023-04-25
  • 18.16.0 - 2023-04-23
  • 18.15.13 - 2023-04-21
  • 18.15.12 - 2023-04-19
  • 18.15.11 - 2023-03-28
  • 18.15.10 - 2023-03-25
  • 18.15.9 - 2023-03-25
  • 18.15.8 - 2023-03-24
  • 18.15.7 - 2023-03-24
  • 18.15.6 - 2023-03-23
  • 18.15.5 - 2023-03-20
  • 18.15.4 - 2023-03-20
  • 18.15.3 - 2023-03-14
  • 18.15.2 - 2023-03-13
  • 18.15.1 - 2023-03-13
  • 18.15.0 - 2023-03-09
  • 18.14.6 - 2023-03-03
  • 18.14.5 - 2023-03-03
  • 18.14.4 - 2023-03-02
  • 18.14.3 - 2023-03-02
  • 18.14.2 - 2023-02-26
  • 18.14.1 - 2023-02-23
  • 18.14.0 - 2023-02-17
  • 18.13.0 - 2023-02-07
  • 18.11.19 - 2023-02-04
  • 18.11.18 - 2022-12-26
  • 18.11.17 - 2022-12-17
  • 18.11.16 - 2022-12-16
  • 18.11.15 - 2022-12-13
  • 18.11.14 - 2022-12-13
  • 18.11.13 - 2022-12-10
  • 18.11.12 - 2022-12-08
  • 18.11.11 - 2022-12-05
  • 18.11.10 - 2022-11-30
  • 18.11.9 - 2022-11-01
  • 18.11.8 - 2022-10-30
  • 18.11.7 - 2022-10-26
  • 18.11.6 - 2022-10-26
  • 18.11.5 - 2022-10-24
  • 18.11.4 - 2022-10-23
  • 18.11.3 - 2022-10-20
  • 18.11.2 - 2022-10-18
  • 18.11.1 - 2022-10-18
  • 18.11.0 - 2022-10-14
  • 18.8.5 - 2022-10-12
  • 18.8.4 - 2022-10-10
  • 18.8.3 - 2022-10-06
  • 18.8.2 - 2022-10-04
  • 18.8.1 - 2022-10-03
  • 18.8.0 - 2022-10-02
  • 18.7.23 - 2022-09-26
  • 18.7.22 - 2022-09-26
  • 18.7.21 - 2022-09-25
  • 18.7.20 - 2022-09-24
  • 18.7.19 - 2022-09-23
  • 18.7.18 - 2022-09-13
  • 18.7.17 - 2022-09-12
  • 18.7.16 - 2022-09-07
  • 18.7.15 - 2022-09-05
  • 18.7.14 - 2022-08-29
  • 18.7.13 - 2022-08-24
  • 18.7.12 - 2022-08-24
  • 18.7.11 - 2022-08-23
  • 18.7.10 - 2022-08-22
  • 18.7.9 - 2022-08-21
  • 18.7.8 - 2022-08-19
  • 18.7.7 - 2022-08-19
  • 18.7.6 - 2022-08-16
  • 18.7.5 - 2022-08-15
  • 18.7.4 - 2022-08-15
  • 18.7.3 - 2022-08-13
  • 18.7.2 - 2022-08-12
  • 18.7.1 - 2022-08-10
  • 18.7.0 - 2022-08-10
  • 18.6.5 - 2022-08-08
  • 18.6.4 - 2022-08-04
  • 18.6.3 - 2022-07-30
  • 18.6.2 - 2022-07-28
  • 18.6.1 - 2022-07-25
  • 18.6.0 - 2022-07-24
  • 18.0.6 - 2022-07-17
  • 18.0.5 - 2022-07-15
  • 18.0.4 - 2022-07-13
  • 18.0.3 - 2022-07-06
  • 18.0.2 - 2022-07-05
  • 18.0.1 - 2022-07-03
  • 18.0.0 - 2022-06-15
  • 17.0.45 - 2022-06-15
  • 17.0.44 - 2022-06-15
  • 17.0.43 - 2022-06-14
  • 17.0.42 - 2022-06-10
  • 17.0.41 - 2022-06-07
  • 17.0.40 - 2022-06-05
  • 17.0.39 - 2022-06-03
  • 17.0.38 - 2022-05-31
  • 17.0.37 - 2022-05-31
  • 17.0.36 - 2022-05-28
  • 17.0.35 - 2022-05-19
  • 17.0.34 - 2022-05-16
  • 17.0.33 - 2022-05-12
  • 17.0.32 - 2022-05-10
  • 17.0.31 - 2022-05-01
  • 17.0.30 - 2022-04-28
  • 17.0.29 - 2022-04-26
  • 17.0.28 - 2022-04-26
  • 17.0.27 - 2022-04-25
  • 17.0.26 - 2022-04-24
  • 17.0.25 - 2022-04-18
  • 17.0.24 - 2022-04-14
  • 17.0.23 - 2022-03-23
  • 17.0.22 - 2022-03-21
  • 17.0.21 - 2022-02-23
  • 17.0.20 - 2022-02-23
  • 17.0.19 - 2022-02-21
  • 17.0.18 - 2022-02-14
  • 17.0.17 - 2022-02-10
  • 17.0.16 - 2022-02-07
  • 17.0.15 - 2022-02-04
  • 17.0.14 - 2022-02-01
  • 17.0.13 - 2022-01-27
  • 17.0.12 - 2022-01-25
  • 17.0.11 - 2022-01-25
  • 17.0.10 - 2022-01-18
  • 17.0.9 - 2022-01-17
  • 17.0.8 - 2022-01-04
  • 17.0.7 - 2022-01-03
  • 17.0.6 - 2022-01-01
  • 17.0.5 - 2021-12-26
  • 17.0.4 - 2021-12-23
  • 17.0.3 - 2021-12-23
  • 17.0.2 - 2021-12-20
  • 17.0.1 - 2021-12-19
  • 17.0.0 - 2021-12-15
  • 16.18.108 - 2024-09-04
from @types/node GitHub release notes
Package name: @types/node-fetch
  • 3.0.2 - 2021-09-03
  • 3.0.1 - 2021-09-03
  • 3.0.0 - 2021-09-03
  • 2.6.11 - 2024-01-16
from @types/node-fetch GitHub release notes
Package name: commander
  • 12.1.0 - 2024-05-18

    Added

    • auto-detect special node flags node --eval and node --print when call .parse() with no arguments (#2164)

    Changed

    • prefix require of Node.js core modules with node: (#2170)
    • format source files with Prettier (#2180)
    • switch from StandardJS to directly calling ESLint for linting (#2153)
    • extend security support for previous major version of Commander (#2150)

    Removed

    • removed unimplemented Option.fullDescription from TypeScript definition (#2191)
  • 12.0.0 - 2024-02-03

    Added

    • .addHelpOption() as another way of configuring built-in help option (#2006)
    • .helpCommand() for configuring built-in help command (#2087)

    Fixed

    • Breaking: use non-zero exit code when spawned executable subcommand terminates due to a signal (#2023)
    • Breaking: check passThroughOptions constraints when using .addCommand and throw if parent command does not have .enablePositionalOptions() enabled (#1937)

    Changed

    • Breaking: Commander 12 requires Node.js v18 or higher (#2027)
    • Breaking: throw an error if add an option with a flag which is already in use (#2055)
    • Breaking: throw an error if add a command with name or alias which is already in use (#2059)
    • Breaking: throw error when calling .storeOptionsAsProperties() after setting an option value (#1928)
    • replace non-standard JSDoc of @ api private with documented @ private (#1949)
    • .addHelpCommand() now takes a Command (passing string or boolean still works as before but deprecated) (#2087)
    • refactor internal implementation of built-in help option (#2006)
    • refactor internal implementation of built-in help command (#2087)

    Deprecated

    • .addHelpCommand() passing string or boolean (use .helpCommand() or pass a Command) (#2087)

    Removed

    • Breaking: removed default export of a global Command instance from CommonJS (use the named program export instead) (#2017)

    Migration Tips

    global program

    If you are using the deprecated default import of the global Command object, you need to switch to using a named import (or create a new Command).

    // const program = require('commander');
    const { program } = require('commander');

    option and command clashes

    A couple of configuration problems now throw an error, which will pick up issues in existing programs:

    • adding an option which uses the same flag as a previous option
    • adding a command which uses the same name or alias as a previous command
  • 12.0.0-1 - 2024-01-19

    Added

    • .addHelpOption() as another way of configuring built-in help option (#2006)
    • .helpCommand() for configuring built-in help command (#2087)

    Changed

    • .addHelpCommand() now takes a Command (passing string or boolean still works as before but deprecated) (#2087)
    • refactor internal implementation of built-in help option (#2006)
    • refactor internal implementation of built-in help command (#2087)

    Deprecated

    • .addHelpCommand() passing string or boolean (use .helpCommand() or pass a Command) (#2087)
  • 12.0.0-0 - 2023-11-11

    Fixed

    • Breaking: use non-zero exit code when spawned executable subcommand terminates due to a signal (#2023)
    • Breaking: check passThroughOptions constraints when using .addCommand and throw if parent command doe...

Snyk has created this PR to upgrade:
  - @commander-js/extra-typings from 0.1.0 to 12.1.0.
    See this package in npm: https://www.npmjs.com/package/@commander-js/extra-typings
  - node-fetch from 2.7.0 to 3.3.2.
    See this package in npm: https://www.npmjs.com/package/node-fetch
  - @octokit/rest from 19.0.13 to 21.0.2.
    See this package in npm: https://www.npmjs.com/package/@octokit/rest
  - @tsconfig/node16 from 1.0.4 to 16.1.3.
    See this package in npm: https://www.npmjs.com/package/@tsconfig/node16
  - @types/node from 16.18.108 to 22.5.1.
    See this package in npm: https://www.npmjs.com/package/@types/node
  - @types/node-fetch from 2.6.11 to 3.0.2.
    See this package in npm: https://www.npmjs.com/package/@types/node-fetch
  - commander from 9.4.0 to 12.1.0.
    See this package in npm: https://www.npmjs.com/package/commander
  - dotenv from 10.0.0 to 16.4.5.
    See this package in npm: https://www.npmjs.com/package/dotenv
  - open from 8.4.2 to 10.1.0.
    See this package in npm: https://www.npmjs.com/package/open
  - typescript from 4.9.5 to 5.5.4.
    See this package in npm: https://www.npmjs.com/package/typescript

See this project in Snyk:
https://app.snyk.io/org/cachiman/project/75ced1a4-526a-4dc4-ad4c-e5f7fc20dd25?utm_source=github&utm_medium=referral&page=upgrade-pr
Copy link

google-cla bot commented Sep 20, 2024

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

"socket hang up" / ECONNRESET on consecutive requests with Node.js 19 and Node.js 20
2 participants