Skip to content

Commit c2e8b28

Browse files
committed
microsoft#83421 Remove yazl and yauzl typings
1 parent e571968 commit c2e8b28

5 files changed

Lines changed: 17 additions & 65 deletions

File tree

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,8 @@
7070
"@types/node": "^10.12.12",
7171
"@types/semver": "^5.5.0",
7272
"@types/sinon": "^1.16.36",
73+
"@types/yauzl": "^2.9.1",
74+
"@types/yazl": "^2.4.2",
7375
"@types/webpack": "^4.4.10",
7476
"@types/winreg": "^1.2.30",
7577
"ansi-colors": "^3.2.3",

src/typings/yauzl.d.ts

Lines changed: 0 additions & 49 deletions
This file was deleted.

src/typings/yazl.d.ts

Lines changed: 0 additions & 15 deletions
This file was deleted.

src/vs/base/node/zip.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ function extractZip(zipfile: ZipFile, targetPath: string, options: IOptions, tok
163163

164164
function openZip(zipFile: string, lazy: boolean = false): Promise<ZipFile> {
165165
return new Promise((resolve, reject) => {
166-
_openZip(zipFile, lazy ? { lazyEntries: true } : undefined, (error?: Error, zipfile?: ZipFile) => {
166+
_openZip(zipFile, lazy ? { lazyEntries: true } : undefined!, (error?: Error, zipfile?: ZipFile) => {
167167
if (error) {
168168
reject(toExtractError(error));
169169
} else {

yarn.lock

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,20 @@
195195
resolved "https://registry.yarnpkg.com/@types/winreg/-/winreg-1.2.30.tgz#91d6710e536d345b9c9b017c574cf6a8da64c518"
196196
integrity sha1-kdZxDlNtNFucmwF8V0z2qNpkxRg=
197197

198+
"@types/yauzl@^2.9.1":
199+
version "2.9.1"
200+
resolved "https://registry.yarnpkg.com/@types/yauzl/-/yauzl-2.9.1.tgz#d10f69f9f522eef3cf98e30afb684a1e1ec923af"
201+
integrity sha512-A1b8SU4D10uoPjwb0lnHmmu8wZhR9d+9o2PKBQT2jU5YPTKsxac6M2qGAdY7VcL+dHHhARVUDmeg0rOrcd9EjA==
202+
dependencies:
203+
"@types/node" "*"
204+
205+
"@types/yazl@^2.4.2":
206+
version "2.4.2"
207+
resolved "https://registry.yarnpkg.com/@types/yazl/-/yazl-2.4.2.tgz#d5f8a4752261badbf1a36e8b49e042dc18ec84bc"
208+
integrity sha512-T+9JH8O2guEjXNxqmybzQ92mJUh2oCwDDMSSimZSe1P+pceZiFROZLYmcbqkzV5EUwz6VwcKXCO2S2yUpra6XQ==
209+
dependencies:
210+
"@types/node" "*"
211+
198212
"@webassemblyjs/ast@1.5.13":
199213
version "1.5.13"
200214
resolved "https://registry.yarnpkg.com/@webassemblyjs/ast/-/ast-1.5.13.tgz#81155a570bd5803a30ec31436bc2c9c0ede38f25"

0 commit comments

Comments
 (0)