Socket
Socket
Sign inDemoInstall

node-libs-browser

Package Overview
Dependencies
Maintainers
3
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-libs-browser - npm Package Compare versions

Comparing version 0.6.0 to 0.7.0

2

index.js

@@ -13,3 +13,3 @@ exports.assert = require.resolve('assert/');

exports.fs = null;
exports.http = require.resolve('http-browserify');
exports.http = require.resolve('stream-http');
exports.https = require.resolve('https-browserify');

@@ -16,0 +16,0 @@ exports.module = null;

@@ -0,0 +0,0 @@ function Buffer() {

@@ -0,0 +0,0 @@ var console;

@@ -0,0 +0,0 @@ exports.lookup = exports.resolve4 =

@@ -0,0 +0,0 @@ exports.createServer =

@@ -0,0 +0,0 @@ exports.nextTick = function nextTick(fn) {

@@ -0,0 +0,0 @@ exports.ucs2 = {};

// todo
exports.isatty = function () {};
exports.setRawMode = function () {};
{
"name": "node-libs-browser",
"version": "0.6.0",
"version": "0.7.0",
"author": "Tobias Koppers @sokra",

@@ -12,23 +12,23 @@ "description": "The node core libs for in browser usage.",

"assert": "^1.1.1",
"browserify-zlib": "~0.1.4",
"browserify-zlib": "^0.1.4",
"buffer": "^4.9.0",
"console-browserify": "^1.1.0",
"constants-browserify": "0.0.1",
"crypto-browserify": "~3.2.6",
"constants-browserify": "^1.0.0",
"crypto-browserify": "3.3.0",
"domain-browser": "^1.1.1",
"events": "^1.0.0",
"http-browserify": "^1.3.2",
"https-browserify": "0.0.0",
"os-browserify": "~0.1.2",
"https-browserify": "0.0.1",
"os-browserify": "^0.2.0",
"path-browserify": "0.0.0",
"process": "^0.11.0",
"punycode": "^1.2.4",
"querystring-es3": "~0.2.0",
"readable-stream": "^1.1.13",
"stream-browserify": "^1.0.0",
"string_decoder": "~0.10.25",
"timers-browserify": "^1.0.1",
"querystring-es3": "^0.2.0",
"readable-stream": "^2.0.5",
"stream-browserify": "^2.0.1",
"stream-http": "^2.3.1",
"string_decoder": "^0.10.25",
"timers-browserify": "^2.0.2",
"tty-browserify": "0.0.0",
"url": "~0.10.1",
"util": "~0.10.3",
"url": "^0.11.0",
"util": "^0.10.3",
"vm-browserify": "0.0.4"

@@ -35,0 +35,0 @@ },

@@ -45,2 +45,24 @@ # node-libs-browser

| vm | [substack/vm-browserify](https://github.com/substack/vm-browserify) | --- |
| zlib | [devongovett/browserify-zlib](https://github.com/devongovett/browserify-zlib) | --- |
| zlib | [devongovett/browserify-zlib](https://github.com/devongovett/browserify-zlib) | --- |
## Outdated versions
### `buffer`
The current `buffer` implementation uses feross/buffer@4.x because feross/buffer@5.x relies on [typed arrays](https://github.com/feross/buffer/commit/5daca86b7cd5d2b8ccb167534d47421029f639e9#commitcomment-19698936).
This will be dropped as soon as IE9 is not a typical browser target anymore.
### `punycode`
The current `punycode` implementation uses bestiejs/punycode.js@1.x because bestiejs/punycode.js@2.x requires modern JS engines that understand `const` and `let`.
It will be removed someday since it has already been [deprecated from the node API](https://nodejs.org/api/punycode.html).
### `crypto`
We locked `crypto-browserify` at `3.3.0` because `3.4.x` introduced a breaking change by requiring JSON files. We will not upgrade this module
for webpack 1 anymore since it will introduce a breaking change for all users that don't have the [json-loader](https://github.com/webpack/json-loader) configured.
You can, however, use a newer crypto-browserify version by configuring a [`resolve.alias`](http://webpack.github.io/docs/configuration.html#resolve-alias) and using the json-loader.
## License
MIT
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc