digitalbazaar / jsonld.js

A JSON-LD Processor and API implementation in JavaScript
https://json-ld.org/
Other
1.66k stars 195 forks source link

Switch to core-js@3 #361

Closed nileshpatra closed 3 years ago

nileshpatra commented 4 years ago

Fixes #360

davidlehn commented 4 years ago

When switching to core-js@3 it probably makes sense to also switch @babel/preset-env to "usage" mode (in webpack and karma configs) and take out the loading of specific polyfills. That might end up making the bundles bigger, but they are likely more correct for wider use. I had been thinking of doing that for next major version bump, but it probably could be done anytime.

dmitrizagidulin commented 3 years ago

@nileshpatra - thanks again for submitting this! I've moved your code to PR https://github.com/digitalbazaar/jsonld.js/pull/433 (so I could resolve conflicts), and it will be merged to master there. (closing this PR meanwhile.)