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

fix(deps): update dependencies (major) #364

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

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jan 15, 2023

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
commander 9.4.1 -> 13.1.0 age adoption passing confidence
typescript (source) 4.8.4 -> 5.7.3 age adoption passing confidence

Release Notes

tj/commander.js (commander)

v13.1.0

Compare Source

Added
  • support a pair of long option flags to allow a memorable shortened flag, like .option('--ws, --workspace') ([#​2312])

v13.0.0

Compare Source

Added
  • support multiple calls to .parse() with default settings ([#​2299])
  • add .saveStateBeforeParse() and .restoreStateBeforeParse() for use by subclasses ([#​2299])
  • style routines like styleTitle() to add color to help using .configureHelp() or Help subclass ([#​2251])
  • color related support in .configureOutput() for getOutHasColors(), getErrHasColors(), and stripColor() ([#​2251])
  • Help property for minWidthToWrap ([#​2251])
  • Help methods for displayWidth(), boxWrap(), preformatted() et al ([#​2251])
Changed
  • Breaking: excess command-arguments cause an error by default, see migration tips ([#​2223])
  • Breaking: throw during Option construction for unsupported option flags, like multiple characters after single - ([#​2270])
  • Breaking: throw on multiple calls to .parse() if storeOptionsAsProperties: true ([#​2299])
  • TypeScript: include implicit this in parameters for action handler callback ([#​2197])
Deleted
  • Breaking: Help.wrap() refactored into formatItem() and boxWrap() ([#​2251])
Migration Tips

Excess command-arguments

It is now an error for the user to specify more command-arguments than are expected. (allowExcessArguments is now false by default.)

Old code:

program.option('-p, --port <number>', 'port number');
program.action((options) => {
  console.log(program.args);
});

Now shows an error:

$ node example.js a b c
error: too many arguments. Expected 0 arguments but got 3.

You can declare the expected arguments. The help will then be more accurate too. Note that declaring
new arguments will change what is passed to the action handler.

program.option('-p, --port <number>', 'port number');
program.argument('[args...]', 'remote command and arguments'); // expecting zero or more arguments
program.action((args, options) => {
  console.log(args);
});

Or you could suppress the error, useful for minimising changes in legacy code.

program.option('-p, --port', 'port number');
program.allowExcessArguments();
program.action((options) => {
  console.log(program.args);
});

v12.1.0

Compare Source

Added

v12.0.0

Compare Source

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

v11.1.0

Compare Source

Fixed
  • TypeScript: update OptionValueSource to allow any string, to match supported use of custom sources ([#​1983])
  • TypeScript: add that Command.version() can also be used as getter ([#​1982])
  • TypeScript: add null return type to Commands.executableDir(), for when not configured ([#​1965])
  • subcommands with an executable handler and only a short help flag are now handled correctly by the parent's help command ([#​1930])
Added
  • registeredArguments property on Command with the array of defined Argument (like Command.options for Option) ([#​2010])
  • TypeScript declarations for Option properties: envVar, presetArg ([#​2019])
  • TypeScript declarations for Argument properties: argChoices, defaultValue, defaultValueDescription ([#​2019])
  • example file which shows how to configure help to display any custom usage in the list of subcommands ([#​1896])
Changed
  • (developer) refactor TypeScript configs for multiple use-cases, and enable checks in JavaScript files in supporting editors ([#​1969])
Deprecated
  • Command._args was private anyway, but now available as registeredArguments ([#​2010])

v11.0.0

Compare Source

Fixed
  • help command works when help option is disabled ([#​1864])
Changed
  • leading and trailing spaces are now ignored by the .arguments() method ([#​1874])
  • refine "types" exports for ESM to follow TypeScript guidelines ([#​1886])
  • Breaking: Commander 11 requires Node.js v16 or higher

v10.0.1

Compare Source

Added
Fixed
  • remove unused Option.optionFlags property from TypeScript definition ([#​1844])
Changed
  • assume boolean option intended if caller passes string instead of hash to .implies() ([#​1854])

v10.0.0

Compare Source

Added
  • wrap command description in help ([#​1804])
Changed
  • Breaking: Commander 10 requires Node.js v14 or higher

v9.5.0

Compare Source

Added
  • .getOptionValueSourceWithGlobals() ([#​1832])
  • showGlobalOptions for .configureHelp{} and Help ([#​1828])
microsoft/TypeScript (typescript)

v5.7.3

Compare Source

v5.7.2

Compare Source

v5.6.3

Compare Source

v5.6.2

Compare Source

v5.5.4: TypeScript 5.5.4

Compare Source

For release notes, check out the release announcement.

For the complete list of fixed issues, check out the

Downloads are available on:

v5.5.3: TypeScript 5.5.3

Compare Source

For release notes, check out the release announcement.

For the complete list of fixed issues, check out the

Downloads are available on:

v5.5.2: TypeScript 5.5

Compare Source

For release notes, check out the release announcement.

For the complete list of fixed issues, check out the

Downloads are available on:

v5.4.5: TypeScript 5.4.5

Compare Source

For release notes, check out the release announcement.

For the complete list of fixed issues, check out the

Downloads are available on:

v5.4.4: TypeScript 5.4.4

Compare Source

For release notes, check out the release announcement.

For the complete list of fixed issues, check out the

Downloads are available on:

v5.4.3: TypeScript 5.4.3

Compare Source

For release notes, check out the release announcement.

For the complete list of fixed issues, check out the

Downloads are available on:

v5.4.2: TypeScript 5.4

Compare Source

For release notes, check out the release announcement.

For the complete list of fixed issues, check out the

Downloads are available on:

v5.3.3: TypeScript 5.3.3

Compare Source

For release notes, check out the release announcement.

For the complete list of fixed issues, check out the

Downloads are available on:

v5.3.2: TypeScript 5.3

Compare Source

For release notes, check out the release announcement.

For the complete list of fixed issues, check out the

Downloads are available on:

v5.2.2: TypeScript 5.2

Compare Source

For release notes, check out the release announcement.

For the complete list of fixed issues, check out the

Downloads are available on:

v5.1.6: TypeScript 5.1.6

Compare Source

For release notes, check out the release announcement.

For the complete list of fixed issues, check out the

Downloads are available on npm

v5.1.5: TypeScript 5.1.5

Compare Source

For release notes, check out the release announcement.

For the complete list of fixed issues, check out the

Downloads are available on:

v5.1.3: TypeScript 5.1.3

Compare Source

For release notes, check out the release announcement.

For the complete list of fixed issues, check out the

Downloads are available on:

v5.0.4: TypeScript 5.0.4

Compare Source

For release notes, check out the release announcement.

For the complete list of fixed issues, check out the

Downloads are available on:

v5.0.3: TypeScript 5.0.3

Compare Source

For release notes, check out the release announcement.

For the complete list of fixed issues, check out the

Downloads are available on:

v5.0.2: TypeScript 5.0

Compare Source

For release notes, check out the release announcement.

For the complete list of fixed issues, check out the

Downloads are available on:

v4.9.5: TypeScript 4.9.5

Compare Source

For release notes, check out the release announcement.

Downloads are available on:

Changes:

v4.9.4: TypeScript 4.9.4

Compare Source

For release notes, check out the release announcement.

For the complete list of fixed issues, check out the

Downloads are available on:

Changes:

This list of changes was auto generated.

v4.9.3: TypeScript 4.9

Compare Source

For release notes, check out the release announcement.

Downloads are available on:

Changes:

See More
  • 3d2b401 Fix assertion functions accessed via wildcard imports (#​51324)
  • 64d0d5a fix(51301): Fixing an unused import at the end of a line removes the newline (#​51320)
  • 754eeb2 Update CodeQL workflow and configuration, fix found bugs (#​51263)
  • d8aad26 Update package-lock.json
  • d4f26c8 fix(51245): Class with parameter decorator in arrow function causes "convert to default export" refactoring failure (#​51256)
  • 16faf45 Update package-lock.json
  • 8b1ecdb fix(50654): "Move to a new file" breaks the declaration of referenced variable (#​50681)
  • 170a17f Dom update 2022-10-25 (#​51300)
  • 9c4e14d Remove "No type information for this code" from baseline (#​51311)
  • 88d25b4 fix(50068): Refactors trigger debug failure when JSX text has a ' and a tag on the same line. (#​51299)
  • 8bee69a Update package-lock.json
  • 702de1e Fix early call to return/throw on generator (#​51294)
  • 2c12b14 Add a GH Action to file a new issue if we go a week without seeing a typescript-error-deltas issue (#​51271)
  • 6af270d Update package-lock.json
  • 2cc4c16 Update package-lock.json
  • 6093491 Fix apparent typo in getStringMappingType (#​51248)
  • 61c2609 Update package-lock.json
  • ef69116 Generate shortest rootDirs module specifier instead of first possible (#​51244)
  • bbb42f4 Fix typo in canWatchDirectoryOrFile found by CodeQL (#​51262)
  • a56b254 Include 'this' type parameter in isRelatedTo fast path (#​51230)
  • 3abd351 Fix super property transform in async arrow in method (#​51240)
  • eed0511 Update package-lock.json
  • 2625c1f Make the init config category order predictable (#​51247)
  • 1ca99b3 fix(50551): Destructuring assignment with var bypasses "variable is used before being assigned" check (2454) (#​50560)
  • 3f28fa1 Update package-lock.json
  • 906ebe4 Revert structuredTypeRelatedTo change and fix isUnitLikeType (#​51076)
  • 8ac4652 change type (#​51231)
  • 245a02c fix(51222): Go-to-definition on return statements should jump to the containing function declaration (#​51227)
  • 2dff34e markAliasReferenced should include ExportValue as well (#​51219)
  • 5ef2634 Update package-lock.json
  • d0f0e35 Remove old tslint comments (#​51220)
  • 85d405a Fixed a false positive "await has no effect on the type" diagnostic with mixed generic union (#​50833)
  • 1f8959f fix: avoid downleveled dynamic import closing over specifier expression (#​49663)
  • 11066b2 Rename internal functions to narrowTypeBySwitchOnTypeOf and narrowTypeByInKeyword (#​51215)
  • 4c9afe8 Update package-lock.json
  • f25bcb7 fix(49196): add jsdoc snippet for interface member functions (#​51135)
  • 7406ee9 fix(51170): Completing an unimplemented property overwrites rest of line (#​51175)
  • a1d82fc Remove some unnecessary code discovered by rollup (#​51204)
  • 0481773 LEGO: Merge pull request 51200
  • 98c19cb LEGO: Merge pull request 51190
  • 13c9b05 Update package-lock.json
  • 673475e Update package-lock.json
  • f6cf510 Add more tracing to node16/nodenext resolution (#​51168)
  • 83c5581 Update package-lock.json
  • be5f0fe Add an extra regression test for awaited unresolvable recursive union (#​51167)
  • 2cb7e77 fix(50416): correctly names disabled export refactors (#​50663) [ #​50416 ]
  • 2bcfed0 feat(37440): Provide a quick-fix for non-exported types (#​51038)
  • a24201c Remove VSDevMode.ps1 and createPlaygroundBuild (#​51166)
  • 2da62a7 fix(51112): omit parameter names that precede the type (#​51142)
  • cf1b6b7 feat(51163): show QF to fill in the missing properties for the mapped type. (#​51165)
  • bdcc240 Remove bug-causing carve-out in conditional type instantiation that hopefully is no longer required (#​51151)
  • 37317a2 Check nested weak types in intersections on target side of relation (#​51140)
  • 9f49f9c Update package-lock.json
  • 4f54e7e Fix isExhaustiveSwitchStatement to better handle circularities (#​51095)
  • 503604c Overloads shouldn't gain @​deprecated tags of other overloads in quick info (#​50904)
  • e14a229 Update package-lock.json
  • 67256e5 Remove unused declarations array in extractSymbol's TargetRange (#​51091)
  • 9c87ded fix(51100): ensure tsserver shuts down when parent process is killed (#​51107)
  • c01ae01 Fix nightly publish oops in Gulpfile (#​51131)
  • a7d10f1 Update package-lock.json
  • d0bfd8c fix(51072): ts.preProcessFile finds import in template string after conditional expression with template strings (#​51082)
  • ad56b5c Convert scripts/Gulpfile to checked mjs/cjs so they can run without compilation (#​50988)
  • dbeae5d fix(51017): Make lineText in the references response opt-out (#​51081)
  • d06a592 Properly defer resolution of mapped types with generic as clauses (#​51050)
  • 42b1049 Update package-lock.json
  • 5f3e6cc Plugin probe location is higher priority than peer node_modules (#​51079) [ #​34616 ]
  • 2648f6a Plugins in project were adding up after every config file reload (#​51087)
  • c18791c Fix incorrect options type to WatchOptions (#​51064)
  • b0795e9 Update package-lock.json
  • 43c6fd4 Covert some of the config testing to baselines for easy validation (#​51063)
  • fc5e72b Remove unused defaultWatchFileKind method since useFsEvents is default for tsserver and tsc (#​51044)
  • 8af9a93 Use typescript.d.ts in APISample tests (#​51061)
  • 4953316 Remove configureLanguageServiceBuild, instrumenter (#​51048)
  • 9dfffd0 Update GitHub Actions (#​51045)
  • 4635a5c Update package-lock.json
  • 33a34e5 Adding a JSDoc comment to the es5 type declarations to describe the functionality of Date.now() (#​50630)
  • 299745c Fix crash in goto-def on @override (#​51016)
  • 7dcf11f fix(50750): Object type literal with string literal property in contextual typing position causes language service error on all literal type references (#​50757)
  • 5cd49f6 Update package-lock.json
  • 8a1b858 Update package-lock.json
  • 96894db Include type parameter defaults in contextual typing (#​50994) [ #​51002 ]
  • 0d0a793 Allow Unicode extended escapes in ES5 and earlier (#​50918)
  • 58bae8d Update package-lock.json
  • 0ce72ef Add option to OrganizeImports for removal only ([#​50931](

Configuration

📅 Schedule: Branch creation - "after 10pm on monday,before 5am on monday" in timezone Asia/Tokyo, Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/major-dependencies branch from af9dc1d to 036aee1 Compare March 16, 2023 16:59
@renovate renovate bot changed the title fix(deps): update dependency commander to v10 fix(deps): update dependencies (major) Mar 16, 2023
@renovate renovate bot force-pushed the renovate/major-dependencies branch from 036aee1 to 8a5a114 Compare March 30, 2023 23:24
@renovate renovate bot force-pushed the renovate/major-dependencies branch from 8a5a114 to b74fb4a Compare April 7, 2023 19:46
@renovate renovate bot force-pushed the renovate/major-dependencies branch from b74fb4a to 7b7ab11 Compare April 15, 2023 07:10
@renovate renovate bot force-pushed the renovate/major-dependencies branch from 7b7ab11 to e27d7ac Compare June 1, 2023 18:28
@renovate renovate bot force-pushed the renovate/major-dependencies branch from e27d7ac to 7d5aeec Compare June 16, 2023 01:06
@renovate renovate bot force-pushed the renovate/major-dependencies branch 2 times, most recently from 1f85250 to cf91681 Compare June 29, 2023 00:01
@renovate renovate bot force-pushed the renovate/major-dependencies branch from cf91681 to 277d6eb Compare August 24, 2023 20:22
@renovate renovate bot force-pushed the renovate/major-dependencies branch from 277d6eb to 7e18b01 Compare October 13, 2023 01:50
@renovate renovate bot force-pushed the renovate/major-dependencies branch from 7e18b01 to 54b19a3 Compare November 20, 2023 18:36
@renovate renovate bot force-pushed the renovate/major-dependencies branch from 54b19a3 to 3b1cd2d Compare December 6, 2023 23:17
@renovate renovate bot force-pushed the renovate/major-dependencies branch from 3b1cd2d to 9dd23a2 Compare February 3, 2024 10:49
@renovate renovate bot force-pushed the renovate/major-dependencies branch from 9dd23a2 to 9f806f7 Compare March 6, 2024 19:28
@renovate renovate bot force-pushed the renovate/major-dependencies branch from 9f806f7 to df5486f Compare March 20, 2024 20:10
@renovate renovate bot force-pushed the renovate/major-dependencies branch 2 times, most recently from 45d3bc2 to 39fbd8d Compare April 10, 2024 14:39
@renovate renovate bot force-pushed the renovate/major-dependencies branch from 39fbd8d to 4feb480 Compare May 18, 2024 15:52
@renovate renovate bot force-pushed the renovate/major-dependencies branch from 4feb480 to 7d9c27c Compare June 20, 2024 18:49
@renovate renovate bot force-pushed the renovate/major-dependencies branch from 7d9c27c to 6d8752f Compare July 1, 2024 20:13
@renovate renovate bot force-pushed the renovate/major-dependencies branch from 6d8752f to 82bc711 Compare July 23, 2024 02:25
@renovate renovate bot force-pushed the renovate/major-dependencies branch from 82bc711 to 413cd3f Compare September 9, 2024 19:22
@renovate renovate bot force-pushed the renovate/major-dependencies branch from 413cd3f to 761fac3 Compare October 9, 2024 01:14
@renovate renovate bot force-pushed the renovate/major-dependencies branch from 761fac3 to ae6277f Compare November 22, 2024 19:21
@renovate renovate bot force-pushed the renovate/major-dependencies branch from ae6277f to d4ef5fb Compare December 30, 2024 06:58
@renovate renovate bot force-pushed the renovate/major-dependencies branch from d4ef5fb to 4fe2a46 Compare January 8, 2025 21:42
@renovate renovate bot force-pushed the renovate/major-dependencies branch from 4fe2a46 to ca0f24e Compare January 21, 2025 00:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants