@conform-to/dom
Advanced tools
Comparing version 0.7.0-pre.2 to 0.7.0-pre.3
export { type FormControl as FieldElement, isFormControl as isFieldElement, isFocusableFormControl, getFormAction, getFormControls, getFormElement, getFormEncType, getFormMethod, focusFirstInvalidControl, createSubmitter, requestSubmit, } from './dom.js'; | ||
export { formatPaths as getName, getPaths, getFormData, getValidationMessage, getErrors, } from './formdata.js'; | ||
export { INTENT, getIntent, parseIntent, validate, list, updateList, requestIntent, } from './intent.js'; | ||
export { type Submission, parse } from './parse.js'; | ||
export { type Submission, parse, VALIDATION_SKIPPED, VALIDATION_UNDEFINED, } from './parse.js'; | ||
export { type FieldConstraint, type FieldsetConstraint, type ResolveType, type KeysOf, } from './types.js'; |
@@ -34,2 +34,4 @@ 'use strict'; | ||
exports.validate = intent.validate; | ||
exports.VALIDATION_SKIPPED = parse.VALIDATION_SKIPPED; | ||
exports.VALIDATION_UNDEFINED = parse.VALIDATION_UNDEFINED; | ||
exports.parse = parse.parse; |
@@ -6,3 +6,3 @@ { | ||
"license": "MIT", | ||
"version": "0.7.0-pre.2", | ||
"version": "0.7.0-pre.3", | ||
"main": "index.js", | ||
@@ -9,0 +9,0 @@ "module": "index.mjs", |
@@ -7,2 +7,4 @@ export type Submission<Schema = any> = { | ||
}; | ||
export declare const VALIDATION_UNDEFINED = "__undefined__"; | ||
export declare const VALIDATION_SKIPPED = "__skipped__"; | ||
export declare function parse(payload: FormData | URLSearchParams): Submission; | ||
@@ -9,0 +11,0 @@ export declare function parse<Schema>(payload: FormData | URLSearchParams, options?: { |
@@ -9,2 +9,4 @@ 'use strict'; | ||
var VALIDATION_UNDEFINED = '__undefined__'; | ||
var VALIDATION_SKIPPED = '__skipped__'; | ||
function parse(payload, options) { | ||
@@ -38,2 +40,4 @@ var submission = { | ||
exports.VALIDATION_SKIPPED = VALIDATION_SKIPPED; | ||
exports.VALIDATION_UNDEFINED = VALIDATION_UNDEFINED; | ||
exports.parse = parse; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
41833
1168