Package: nodejs
Version: 12.22.12~dfsg-1~deb11u1
The upgrade from Version 12.22.5~dfsg-2~11u1 to 12.22.12~dfsg-1~deb11u1 broke Typescript (from package node-typescript) for me.
For a minimal example, let test.ts contain just the following line:
process.exit(0)
And compile it with
tsc --typeRoots /usr/share/nodejs/@types/node test.ts
With Version 12.22.5~dfsg-2~11u1, everything is fine. With Version 12.22.12~dfsg-1~deb11u1 I get
test.ts:1:1 - error TS2580: Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node`.
1 process.exit(0)
~~~~~~~
Found 1 error.
Best regards,
Mark Weyer
Hahn-Schickard
Dr. Mark Weyer
Application Engineering
Telefon: +49 7721 943-189
E-Mail: Mark....@Hahn-Schickard.de
Hahn-Schickard-Gesellschaft für angewandte Forschung e.V.
Wilhelm-Schickard-Str. 10
D-78052 Villingen-Schwenningen
Wir verweisen hiermit auf unsere Datenschutzerklärung.
Package: nodejs
Version: 12.22.12~dfsg-1~deb11u1
The upgrade from Version 12.22.5~dfsg-2~11u1 to 12.22.12~dfsg-1~deb11u1 broke Typescript (from package node-typescript) for me.
For a minimal example, let test.ts contain just the following line:
process.exit(0)
And compile it with
tsc --typeRoots /usr/share/nodejs/@types/node test.ts
With Version 12.22.5~dfsg-2~11u1, everything is fine. With Version 12.22.12~dfsg-1~deb11u1 I get
test.ts:1:1 - error TS2580: Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node`.
1 process.exit(0)
~~~~~~~
Found 1 error.