Socket
Socket
Sign inDemoInstall

util

Package Overview
Dependencies
22
Maintainers
6
Versions
14
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.12.4 to 0.12.5

4

package.json
{
"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 {

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc