New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

ntils

Package Overview
Dependencies
Maintainers
1
Versions
81
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ntils - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

15

index.js

@@ -423,2 +423,17 @@ (function (owner) {

/**
* 数组去重
**/
owner.unique = function (array) {
if (this.isNull(array)) return array;
var newArray = [];
var map = {};
this.each(array, function (i, value) {
if (map[value]) return;
map[value] = true;
newArray.push(value);
});
return newArray;
};
/**
* 解析 function 的参数列表

@@ -425,0 +440,0 @@ **/

2

package.json
{
"name": "ntils",
"version": "1.0.1",
"version": "1.0.2",
"description": "一个 Node & Browser 工具函数集",

@@ -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