Socket
Socket
Sign inDemoInstall

@mantine/form

Package Overview
Dependencies
Maintainers
1
Versions
217
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mantine/form - npm Package Compare versions

Comparing version 7.0.0 to 7.0.1-alpha.0

esm/filter-errors/filter-errors.mjs

2

lib/types.d.ts

@@ -19,3 +19,3 @@ /// <reference types="react" />

export type FormRule<Value, Values> = NonNullable<Value> extends Array<infer ListValue> ? Partial<{
[Key in keyof ListValue]: ListValue[Key] extends Array<infer NestedListItem> ? FormRulesRecord<NestedListItem> | Rule<ListValue[Key], Values> : FormRulesRecord<ListValue[Key]> | Rule<ListValue[Key], Values>;
[Key in keyof ListValue]: ListValue[Key] extends Array<infer NestedListItem> ? FormRulesRecord<NestedListItem, Values> | Rule<ListValue[Key], Values> : FormRulesRecord<ListValue[Key], Values> | Rule<ListValue[Key], Values>;
}> | Rule<Value, Values> : NonNullable<Value> extends Record<string, any> ? FormRulesRecord<Value, Values> | Rule<Value, Values> : Rule<Value, Values>;

@@ -22,0 +22,0 @@ export type FormRulesRecord<Values, InitValues = Values> = Partial<{

{
"name": "@mantine/form",
"description": "Mantine form management library",
"version": "7.0.0",
"version": "7.0.1-alpha.0",
"main": "./cjs/index.js",
"types": "./lib/index.d.ts",
"module": "./esm/index.js",
"module": "./esm/index.mjs",
"exports": {
".": {
"import": "./esm/index.js",
"require": "./cjs/index.js",
"types": "./lib/index.d.ts"
"import": {
"types": "./lib/index.d.mts",
"default": "./esm/index.mjs"
},
"require": {
"types": "./lib/index.d.ts",
"default": "./cjs/index.js"
}
}

@@ -13,0 +19,0 @@ },

Sorry, the diff of this file is not supported yet

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