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

check-data

Package Overview
Dependencies
Maintainers
1
Versions
75
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

check-data - npm Package Compare versions

Comparing version 1.6.8 to 1.6.9

5

index.js

@@ -116,2 +116,7 @@ "use strict"

// 直接赋值
else if (options.value) {
data = options.value
}
// 允许为空

@@ -118,0 +123,0 @@ else if (options.allowNull === false) {

2

package.json
{
"name": "check-data",
"version": "1.6.8",
"version": "1.6.9",
"description": "JS数据验证器",

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

@@ -7,3 +7,3 @@ "use strict"

"tenderName": "测试",
"tenderNum": "123456789987",
// "tenderNum": "123456789987",
"tenderEndTime": "2017-07-07T09:53:30.000Z",

@@ -46,3 +46,3 @@ "files": ["abc.js", "334", "null", "666", "12"],

if (value === 'updatedAt') {
return ["tenderNum", "tenderEndTime"]
return ["tenderEndTime"]
}

@@ -53,3 +53,3 @@ },

"type": Number,
"value": "xxxxxx",
"value": 666,
},

@@ -56,0 +56,0 @@ "tenderEndTime": {

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