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

@live-change/framework

Package Overview
Dependencies
Maintainers
1
Versions
362
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@live-change/framework - npm Package Compare versions

Comparing version 0.8.68 to 0.8.69

8

lib/utils/validators.js

@@ -36,4 +36,4 @@ import { mergeDeep } from "../utils.js"

minLength: ({ length }) => (value) => value.length < length ? 'tooShort' : undefined,
maxLength: ({ length }) => (value) => value.length > length ? 'tooLong' : undefined,
minLength: ({ length }) => (value) => value && (value.length < length ? 'tooShort' : undefined),
maxLength: ({ length }) => (value) => value && (value.length > length ? 'tooLong' : undefined),

@@ -65,3 +65,3 @@ number: () => (value) => isNaN(value) ? 'notANumber' : undefined,

const validator = (value, context) => {
if(getField(context, prop) == to) {
if(getField(context, prop) === to) {
for(let v of validators) {

@@ -74,3 +74,3 @@ const err = v(value, context)

validator.isRequired = (context) => {
if(getField(context, prop) == to) {
if(getField(context, prop) === to) {
for(let v of validators) {

@@ -77,0 +77,0 @@ if(v.isRequired && v.isRequired(context)) return true

{
"name": "@live-change/framework",
"version": "0.8.68",
"version": "0.8.69",
"description": "Live Change Framework - ultimate solution for real time mobile/web apps",

@@ -25,6 +25,6 @@ "main": "index.js",

"devDependencies": {
"@live-change/dao": "^0.8.68",
"@live-change/uid": "^0.8.68"
"@live-change/dao": "^0.8.69",
"@live-change/uid": "^0.8.69"
},
"gitHead": "9f34ce84625f32092de0d93dcd19e4e4982982bd"
"gitHead": "57f25e13fd727c638d5ab23e724b6e12a4e3735a"
}
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