All notable changes to this npm module are documented in this file.
- Gracefully handle JSON.parse errors #455
- Changed the compile target and module to ES2022. Applied linting. Code was functionally not changed.
- BREAKING: Transform to package of type module and switch to TypeScript ECMAScript Module Support in Node.js.
- BREAKING: All cjs exports have been removed.
-
- Added verification examples for webpack and vite that shall ensure the libs work in dependent projects and the give you an idea how to use
monaco-languageclient
andvscode-ws-jsonrpc
with common bundlers.
- Added verification examples for webpack and vite that shall ensure the libs work in dependent projects and the give you an idea how to use
- Revised all READMEs
The default export now provides esm code. If you require CommonJS modules you can use the additional exports. The npm packages exports the following:
vscode-ws-jsonrpc
vscode-ws-jsonrpc/server
vscode-ws-jsonrpc/socket
vscode-ws-jsonrpc/cjs
vscode-ws-jsonrpc/cjs/server
vscode-ws-jsonrpc/cjs/socket
- Update
vscode-jsonrpc
to8.0.2
- Updated
vite
to3.0.2
- Library ships as src, esm and cjs builds. Use
typesVersions
in package.json for proper TypeScript import support
- Merged npm packages
@codingame/monaco-jsonrpc
andvscode-ws-jsonrpc
into this package. - Integrate eslint with eslint-config-standard #385
There was no CHANGELOG available in the previous repositories.