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.0.2 to 2.0.3

14

index.js

@@ -336,9 +336,12 @@ (function (ntils) {

}
try {
if (Object.getOwnPropertyDescriptor) {
delete dst[key];
if (Object.getOwnPropertyDescriptor) {
try {
Object.defineProperty(dst, key, Object.getOwnPropertyDescriptor(src, key));
} else {
} catch (ex) {
dst[key] = src[key];
}
} catch (ex) { }
} else {
dst[key] = src[key];
}
})

@@ -425,3 +428,2 @@ return dst;

/**

@@ -439,3 +441,3 @@ * 定义不可遍历的属性

} catch (err) {
//noop
obj[name] = value;
}

@@ -442,0 +444,0 @@ };

{
"name": "ntils",
"version": "2.0.2",
"version": "2.0.3",
"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