Socket
Socket
Sign inDemoInstall

utils-extend

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

utils-extend - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

12

index.js

@@ -63,2 +63,14 @@ var util = require('util');

exports.unique = function(array) {
var result = [];
array.forEach(function(item) {
if (result.indexOf(item) == -1) {
result.push(item);
}
});
return result;
}
exports.hrtime = function(time) {

@@ -65,0 +77,0 @@ if (time) {

2

package.json
{
"name": "utils-extend",
"version": "1.0.1",
"version": "1.0.2",
"description": "Extend nodejs util api, and it is light weight and simple",

@@ -5,0 +5,0 @@ "main": "index.js",

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