oracle / javavscode

Java platform support for Visual Studio Code for full featured Java development (edit-compile-debug & test cycle)
Apache License 2.0
231 stars 31 forks source link

Upgraded dev dependencies and removed unused dependencies #322

Closed Achal1607 closed 3 weeks ago

Achal1607 commented 3 weeks ago

Upgraded dev dependencies

Upgraded VS Code engine

Removed unused dev dependencies

Replaced fs.rmdir() to fs.rm()

Deprecation warning of rmdir() was showing up earlier before upgrade of @types/node.

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.

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.