Skip to content

Commit

Permalink
fix: add missing events dep to fix browser bundlers (libp2p#2134)
Browse files Browse the repository at this point in the history
Bundlers do not include node core modules any more so we need to
depend on polyfills in order for downstream consumers to build their
apps successfully.

Fixes libp2p#2110
  • Loading branch information
achingbrain committed Oct 6, 2023
1 parent f105315 commit f670307
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/libp2p/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@
"scripts": {
"clean": "aegir clean",
"lint": "aegir lint",
"dep-check": "aegir dep-check",
"dep-check": "aegir dep-check -i events",
"prepublishOnly": "node scripts/update-version.js && npm run build",
"build": "aegir build",
"generate": "run-s generate:proto:*",
Expand Down Expand Up @@ -139,6 +139,7 @@
"any-signal": "^4.1.1",
"datastore-core": "^9.0.1",
"delay": "^6.0.0",
"events": "^3.3.0",
"interface-datastore": "^8.2.0",
"it-all": "^3.0.2",
"it-drain": "^3.0.2",
Expand Down

0 comments on commit f670307

Please sign in to comment.