This upgrades nearly all packages to their latest versions. Due to the upgrades, some errors and breaking changes came up. These were fixed as follows:
Use Partial<CodeTour> (and appropriate conditionals) to allow deletion of the usually required CodeTour.id property before serialization.
Do not pass atBegin parameter to debounce anymore. The default is false anyway and throttle-debounce has made it an optional trailing parameter.
Additional package notes are below.
@types/axios
The @types/axios package is now unnecessary, as axios provides its own type definitions.
@types/vscode
For now keep @types/vscode on the old version, aligned with the declared VS Code engine.
@vscode/vsce
The vsce package is deprecated in favor of the @vscode/vsce package. Upgrading also helpfully resolves a security vulnerability (due to an older markdown-it package dependency).
tslint
The tslint package is deprecated in favor of eslint.
webpack
When using Node 17+, the webpack commands fail with the error ERR_OSSL_EVP_UNSUPPORTED. The solution given by miken32 on StackOverflow does not work with VS Code since Electron allows only a subset of NODE_OPTIONS. We should instead upgrade to the latest webpack which works properly with OpenSSL 3.
This upgrades nearly all packages to their latest versions. Due to the upgrades, some errors and breaking changes came up. These were fixed as follows:
Partial<CodeTour>
(and appropriate conditionals) to allow deletion of the usually requiredCodeTour.id
property before serialization.atBegin
parameter todebounce
anymore. The default isfalse
anyway andthrottle-debounce
has made it an optional trailing parameter.Additional package notes are below.
@types/axios
The
@types/axios
package is now unnecessary, asaxios
provides its own type definitions.@types/vscode
For now keep
@types/vscode
on the old version, aligned with the declared VS Code engine.@vscode/vsce
The
vsce
package is deprecated in favor of the@vscode/vsce
package. Upgrading also helpfully resolves a security vulnerability (due to an oldermarkdown-it
package dependency).tslint
The
tslint
package is deprecated in favor ofeslint
.webpack
When using Node 17+, the webpack commands fail with the error
ERR_OSSL_EVP_UNSUPPORTED
. The solution given by miken32 on StackOverflow does not work with VS Code since Electron allows only a subset of NODE_OPTIONS. We should instead upgrade to the latest webpack which works properly with OpenSSL 3.