Comparing version 0.12.4 to 0.12.5
{ | ||
"name": "util", | ||
"description": "Node.js's util module for all engines", | ||
"version": "0.12.4", | ||
"version": "0.12.5", | ||
"author": { | ||
@@ -17,3 +17,2 @@ "name": "Joyent", | ||
"is-typed-array": "^1.1.3", | ||
"safe-buffer": "^5.1.2", | ||
"which-typed-array": "^1.1.2" | ||
@@ -28,2 +27,3 @@ }, | ||
"run-series": "~1.1.4", | ||
"safe-buffer": "^5.1.2", | ||
"tape": "~4.9.0" | ||
@@ -30,0 +30,0 @@ }, |
@@ -9,3 +9,3 @@ # util [![Build Status](https://travis-ci.org/browserify/node-util.png?branch=master)](https://travis-ci.org/browserify/node-util) | ||
You usually do not have to install `util` yourself. If your code runs in Node.js, `util` is built in. If your code runs in the browser, bundlers like [browserify](https://github.com/browserify/browserify) or [webpack](https://github.com/webpack/webpack) also include the `util` module. | ||
You usually do not have to install `util` yourself. If your code runs in Node.js, `util` is built in. If your code runs in the browser, bundlers like [browserify](https://github.com/browserify/browserify) or [webpack](https://github.com/webpack/webpack) (up to version 4 -- [see this documentation](https://webpack.js.org/configuration/resolve/#resolvefallback) for how to include polyfills like `util` in webpack 5+) also include the `util` module. | ||
@@ -12,0 +12,0 @@ But if none of those apply, with npm do: |
@@ -413,3 +413,3 @@ // Copyright Joyent, Inc. and other Node contributors. | ||
return ' ' + line; | ||
}).join('\n').substr(2); | ||
}).join('\n').slice(2); | ||
} else { | ||
@@ -431,3 +431,3 @@ str = '\n' + str.split('\n').map(function(line) { | ||
if (name.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)) { | ||
name = name.substr(1, name.length - 2); | ||
name = name.slice(1, -1); | ||
name = ctx.stylize(name, 'name'); | ||
@@ -434,0 +434,0 @@ } else { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
33728
5
8
- Removedsafe-buffer@^5.1.2
- Removedsafe-buffer@5.2.1(transitive)