Huge News!Announcing our $40M Series B led by Abstract Ventures.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.4.0 to 1.4.1

2

index.js

@@ -312,3 +312,3 @@ "use strict";

for (let key in result) {
if (result[key] === undefined) {
if (result[key] === undefined || result[key] === "") {
delete result[key]

@@ -315,0 +315,0 @@ } else {

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

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

@@ -82,3 +82,3 @@ let Verify = require('../index')

return {
"a": 666,
"a": "123",
"b": undefined,

@@ -85,0 +85,0 @@ }

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