Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@conform-to/dom

Package Overview
Dependencies
Maintainers
1
Versions
66
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@conform-to/dom - npm Package Compare versions

Comparing version 0.7.0-pre.2 to 0.7.0-pre.3

2

index.d.ts
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

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