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.1 to 2.0.2

17

index.js

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

ntils.defineFreezeProp = function (obj, name, value) {
delete obj[name];
Object.defineProperty(obj, name, {
value: value,
enumerable: false,
configurable: true, //能不能重写定义
writable: false //能不能用「赋值」运算更改
});
try {
Object.defineProperty(obj, name, {
value: value,
enumerable: false,
configurable: true, //能不能重写定义
writable: false //能不能用「赋值」运算更改
});
} catch (err) {
//noop
}
};

@@ -438,0 +441,0 @@

{
"name": "ntils",
"version": "2.0.1",
"version": "2.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