Closed Achal1607 closed 3 weeks ago
fs.rmdir()
fs.rm()
Deprecation warning of rmdir() was showing up earlier before upgrade of @types/node.
rmdir()
DeprecationWarning: In future versions of Node.js, fs.rmdir(path, { recursive: true }) will be removed. Use fs.rm(path, { recursive: true }) instead
https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/vscode-webview/index.d.ts
So, replaced instances of rmdir with rm.
rmdir
rm
Deleted package-lock.json and created again (that's why it's version is changed from 2 to 3) so that it removes all the earlier redundant entries and generates a new file on the basis of updated package.json.
Upgraded dev dependencies
Upgraded VS Code engine
Removed unused dev dependencies
Replaced
fs.rmdir()
tofs.rm()
Deprecation warning of
rmdir()
was showing up earlier before upgrade of @types/node.https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/vscode-webview/index.d.ts
So, replaced instances of
rmdir
withrm
.Updated package-lock.json
Deleted package-lock.json and created again (that's why it's version is changed from 2 to 3) so that it removes all the earlier redundant entries and generates a new file on the basis of updated package.json.