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

@hmcts/cmc-validators

Package Overview
Dependencies
Maintainers
16
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hmcts/cmc-validators - npm Package Compare versions

Comparing version 0.1.7 to 0.1.8

2

dist/fractions.js

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

}
if (value === undefined) {
if (value === undefined || typeof value !== 'number') {
return true;

@@ -24,0 +24,0 @@ }

@@ -17,2 +17,5 @@ "use strict";

const relatedValue = args.object[relatedPropertyName];
if (relatedValue === undefined || isNaN(relatedValue)) {
return true;
}
return typeof value === 'number' && typeof relatedValue === 'number' && value <= relatedValue;

@@ -19,0 +22,0 @@ }

{
"name": "@hmcts/cmc-validators",
"version": "0.1.7",
"version": "0.1.8",
"author": "HMCTS",

@@ -5,0 +5,0 @@ "license": "MIT",

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