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

@uform/utils

Package Overview
Dependencies
Maintainers
4
Versions
65
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@uform/utils - npm Package Compare versions

Comparing version 0.3.11 to 0.4.0-beta.0

2

lib/accessor.js

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

var schema = getSchema(pathArr.slice(0, i));
if (schema.type === 'array') {
if (!schema || schema.type === 'array') {
obj[p] = [];

@@ -404,0 +404,0 @@ }

@@ -7,7 +7,7 @@ import { ISchema } from '@uform/types';

}
export declare const getSchemaNodeFromPath: (schema: ISchema, path: string | number | (string | number)[]) => ISchema;
export declare const schemaIs: (schema: ISchema, type: string) => boolean;
export declare const getSchemaNodeFromPath: (schema: ISchema<any>, path: string | number | (string | number)[]) => ISchema<any>;
export declare const schemaIs: (schema: ISchema<any>, type: string) => boolean;
export declare const isVirtualBox: (name: string) => boolean;
export declare const registerVirtualboxFlag: (name: string) => void;
export declare const calculateSchemaInitialValues: (schema: ISchema, initialValues: any, callback?: (pathInfo: IPathInfo, schema: ISchema, value: any) => void) => any;
export declare const calculateSchemaInitialValues: (schema: ISchema<any>, initialValues: any, callback?: (pathInfo: IPathInfo, schema: ISchema<any>, value: any) => void) => any;
export {};
{
"name": "@uform/utils",
"version": "0.3.11",
"version": "0.4.0-beta.0",
"license": "MIT",

@@ -21,3 +21,3 @@ "main": "lib",

},
"gitHead": "fb1ebbb1613b89775378748b90a7854efb9c1c2e",
"gitHead": "197f94a17cb1ba4f3ec8ccb1f8e35a4d684c9f48",
"scripts": {

@@ -33,5 +33,5 @@ "build": "tsc --declaration"

"dependencies": {
"@uform/types": "^0.3.11",
"@uform/types": "^0.4.0-beta.0",
"camel-case": "^3.0.0"
}
}

@@ -507,3 +507,4 @@ import {

const schema = getSchema(pathArr.slice(0, i) as string[])
if (schema.type === 'array') {
if (!schema || schema.type === 'array') {
obj[p] = []

@@ -510,0 +511,0 @@ } else {

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