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

Remove unneeded NodeJS dependencies #12379

Merged

Conversation

miketheman
Copy link
Member

Each commit describes in more detail the whys and wherefores.

TL,DR: Remove no-longer needed dependencies and replace with modern built-in functionality.

Remove a deprecated library and replace with a native test shim.

    node-webcrypto-ossl has been deprecated. This module was created in
    2015 because at the time the Node team did not feel the need to
    have two crypto interfaces and they already had one before
    WebCrypto was defined

Refs: https://www.npmjs.com/package/node-webcrypto-ossl

Signed-off-by: Mike Fiedler <miketheman@gmail.com>
jsdom 13.2.0 added direct support for MutationObserver, and recommends
removing all workarounds. We're on version 19.0.

Refs: jsdom/jsdom#639 (comment)

Signed-off-by: Mike Fiedler <miketheman@gmail.com>
With `fetch()` being available to all modern browsers, we no longer need
to provide this polyfill.

Remove related `imports-loader` and `exports-loader` as well.

Signed-off-by: Mike Fiedler <miketheman@gmail.com>
@miketheman miketheman requested a review from a team as a code owner October 18, 2022 13:10
@miketheman miketheman mentioned this pull request Oct 18, 2022
13 tasks
@ewdurbin ewdurbin merged commit de5344f into pypi:main Oct 19, 2022
@miketheman miketheman deleted the miketheman/remove-unnecessary-node-deps branch October 19, 2022 15:26
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.

2 participants