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

@darkwolf/validator

Package Overview
Dependencies
Maintainers
1
Versions
55
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@darkwolf/validator - npm Package Compare versions

Comparing version 6.6.7 to 6.6.8

2

package.json
{
"name": "@darkwolf/validator",
"version": "6.6.7",
"version": "6.6.8",
"description": "Validator",

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

@@ -400,3 +400,3 @@ const CodeError = require('@darkwolf/code-error')

if (this.hasOwnProperty('value')) {
if (!this.hasOwnProperty('optional')) {
if (!this.hasOwnProperty('optional') || this.hasOwnProperty('optional') && this._isUndefined(this.value)) {
if (this._isUndefined(this.isValid) || this.isValid || this.complete) {

@@ -403,0 +403,0 @@ const isValid = !!callback(this.value, ...args)

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