Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump webpack in lsp-ws-connection to pull new hashing algorithm. #1

Closed
wants to merge 6 commits into from

Conversation

krassowski
Copy link
Owner

@krassowski krassowski commented Sep 24, 2022

Clean fix for binder builds failing.

Confusingly vscode-ws-jsonrpc contains both client and server code; server is assumed to run on node, so requires some node-specific modules like net, path and crypto; none of those are used for the client code (the listen function that we use). With webpack 4 there were mocks and browser polyfills for those node modules but webpack 5 does not include them anymore. We could install them but those are not needed as we don't use the server code. JupyterLab itself makes similar choice of ignoring crypto but it does polyfill path).

@github-actions
Copy link

Binder 👈 Launch a binder notebook on branch krassowski/jupyterlab-lsp/bump-webpack-in-ws-lsp-connection

@krassowski krassowski force-pushed the bump-webpack-in-ws-lsp-connection branch from 6c5edb5 to 0fbef6c Compare September 24, 2022 21:54
@krassowski krassowski force-pushed the bump-webpack-in-ws-lsp-connection branch from 0fbef6c to a6aeebc Compare September 24, 2022 22:20
@krassowski krassowski force-pushed the bump-webpack-in-ws-lsp-connection branch from 8934bb1 to 6324606 Compare September 25, 2022 10:19
@krassowski krassowski closed this Sep 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant