Skip to content

Commit 0eddfbf

Browse files
authored
Upgrade to Node 14 (#18149)
* Update .nvmrc and @types/node * Update package-lock.json * Fix the only compilation error * Use Node 14 in GH workflows * News file
1 parent 483ee59 commit 0eddfbf

7 files changed

Lines changed: 13 additions & 12 deletions

File tree

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99
- 'release-*'
1010

1111
env:
12-
NODE_VERSION: 12.15.0
12+
NODE_VERSION: 14.18.2
1313
# Force a path with spaces and to test extension works in these scenarios
1414
# Unicode characters are causing 2.7 failures so skip that for now.
1515
special-working-directory: './path with spaces'

.github/workflows/pr-check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
- release*
99

1010
env:
11-
NODE_VERSION: 12.15.0
11+
NODE_VERSION: 14.18.2
1212
PYTHON_VERSION: '3.10' # YML treats 3.10 the number as 3.1, so quotes around 3.10
1313
MOCHA_REPORTER_JUNIT: true # Use the mocha-multi-reporters and send output to both console (spec) and JUnit (mocha-junit-reporter). Also enables a reporter which exits the process running the tests if it haven't already.
1414
ARTIFACT_NAME_VSIX: ms-python-insiders-vsix

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v12.20.0
1+
v14.18.2

news/3 Code Health/18148.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Upgrade to Node 14 LTS (v14.18.2).

package-lock.json

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1954,7 +1954,7 @@
19541954
"@types/md5": "^2.1.32",
19551955
"@types/mocha": "^5.2.7",
19561956
"@types/nock": "^10.0.3",
1957-
"@types/node": "^12.19.12",
1957+
"@types/node": "^14.18.0",
19581958
"@types/request": "^2.47.0",
19591959
"@types/semver": "^5.5.0",
19601960
"@types/shortid": "^0.0.29",

src/client/common/platform/fileSystem.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ export class RawFileSystem implements IRawFileSystem {
122122
// The "fs-extra" module is effectively equivalent to node's "fs"
123123
// module (but is a bit more async-friendly). So we use that
124124
// instead of "fs".
125-
fsExtra || fs,
125+
fsExtra || (fs as IRawFSExtra),
126126
);
127127
}
128128

0 commit comments

Comments
 (0)