-
Notifications
You must be signed in to change notification settings - Fork 79
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Port from ip to ipaddr.js NPM module
`ip` is a node.js module, and was never meant for running in a browser. It magically happened to work until version 1.1.8 despite it doing things like `require('buffer')` (i.e. not an ESM). In version 2.0.1 this broke completely as it tries to `require('os')`. Replace this with https://www.npmjs.com/package/ipaddr.js which has a comparable API and size (the actually bundled library is 12 KB for both modules). Closes #1451
- Loading branch information
1 parent
4c00319
commit f27fc31
Showing
3 changed files
with
65 additions
and
105 deletions.
There are no files selected for viewing
Submodule node_modules
updated
104 files
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters