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 2.1.0 to 2.1.1

5

index.js

@@ -389,3 +389,3 @@ (function (ntils) {

*/
ntils.mix = function (dst, src, igonres, mode) {
ntils.mix = function (dst, src, igonres, mode, igonreNull) {
//根据模式来判断,默认是Obj to Obj的

@@ -411,2 +411,3 @@ if (mode) {

if (this.contains(igonres, key)) return;
if (igonreNull && this.isNull(src[key])) return;
if (this.isObject(src[key]) &&

@@ -630,3 +631,3 @@ (src[key].constructor == Object ||

if (this.isNull(str)) return;
return str.substring(0,1).toUpperCase()+str.substring(1);
return str.substring(0, 1).toUpperCase() + str.substring(1);
};

@@ -633,0 +634,0 @@

2

package.json
{
"name": "ntils",
"version": "2.1.0",
"version": "2.1.1",
"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