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.6 to 1.6.7

4

options.js

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

if (input[name] === undefined || input[name] === '') {
return { err: `必须与${option}参数同时存在` }
return { err: `必须与${name}参数同时存在` }
}

@@ -38,3 +38,3 @@ }

if (status) {
return { err: `必须与${option}参数其中之一同时存在` }
return { err: `必须至少与[${option}]参数中的一个同时存在` }
}

@@ -41,0 +41,0 @@ }

{
"name": "check-data",
"version": "1.6.6",
"version": "1.6.7",
"description": "JS数据验证器",

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

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

"default": "updatedAt",
"or": function (value) {
"and" (value) {
if (value === 'updatedAt') {

@@ -46,0 +46,0 @@ return ["tenderNum", "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