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

informed

Package Overview
Dependencies
Maintainers
2
Versions
404
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

informed - npm Package Compare versions

Comparing version 4.51.0 to 4.51.1

10

dist/cjs/utils.js

@@ -1130,2 +1130,12 @@ 'use strict';

case 'not':
if (_rollupPluginBabelHelpers["typeof"](value) === 'object' && value["enum"]) {
if (Array.isArray(value["enum"]) && !Array.isArray(propertyValue)) {
return !value["enum"].includes(propertyValue);
}
if (Array.isArray(value["enum"]) && Array.isArray(propertyValue)) {
return !propertyValue.every(function (a) {
return value["enum"].includes(a);
});
}
}
return propertyValue !== value;

@@ -1132,0 +1142,0 @@ default:

@@ -1126,2 +1126,12 @@ import { createClass as _createClass, typeof as _typeof, createForOfIteratorHelper as _createForOfIteratorHelper, toConsumableArray as _toConsumableArray, objectSpread2 as _objectSpread2, slicedToArray as _slicedToArray, classCallCheck as _classCallCheck } from './_virtual/_rollupPluginBabelHelpers.js';

case 'not':
if (_typeof(value) === 'object' && value["enum"]) {
if (Array.isArray(value["enum"]) && !Array.isArray(propertyValue)) {
return !value["enum"].includes(propertyValue);
}
if (Array.isArray(value["enum"]) && Array.isArray(propertyValue)) {
return !propertyValue.every(function (a) {
return value["enum"].includes(a);
});
}
}
return propertyValue !== value;

@@ -1128,0 +1138,0 @@ default:

2

package.json
{
"name": "informed",
"version": "4.51.0",
"version": "4.51.1",
"description": "A lightweight framework and utility for building powerful forms in React applications",

@@ -5,0 +5,0 @@ "type": "module",

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