Socket
Socket
Sign inDemoInstall

@formkit/core

Package Overview
Dependencies
Maintainers
2
Versions
465
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@formkit/core - npm Package Compare versions

Comparing version 1.0.0-beta.5-1350a7d to 1.0.0-beta.5-3d41c80

31

dist/index.d.ts

@@ -75,2 +75,12 @@ /**

/**
* Creates the initial value for a node based on the options passed in and the
* type of the input.
* @param options -
* @param type -
* @returns
* @internal
*/
export declare function createValue(options: FormKitOptions): unknown;
/**
* Deregister a node from the registry.

@@ -326,2 +336,4 @@ * @param node - A node to remove

off: (receipt: string) => void;
pause: (node?: FormKitNode) => void;
play: (node?: FormKitNode) => void;
}

@@ -451,2 +463,7 @@

/**
* True when the input has completed its internal debounce cycle and the
* value was committed to the form.
*/
settled: boolean;
/**
* If the form has been submitted.

@@ -485,2 +502,3 @@ */

[index: string]: unknown;
__init?: boolean;
}

@@ -763,2 +781,6 @@

/**
* Reset a node’s value back to its original value.
*/
reset: () => FormKitNode;
/**
* Sets errors on the input, and optionally, and child inputs.

@@ -1131,2 +1153,11 @@ */

/**
* Resets an input to it’s "initial" value — if the input is a group or list it
* resets all the children as well.
* @param id - The id of an input to reset
* @returns
* @public
*/
export declare function reset(id: string | FormKitNode, resetTo?: unknown): FormKitNode | undefined;
/**
* Reports the global number of node registrations, useful for deterministic

@@ -1133,0 +1164,0 @@ * node naming.

4

package.json
{
"name": "@formkit/core",
"version": "1.0.0-beta.5-1350a7d",
"version": "1.0.0-beta.5-3d41c80",
"type": "module",

@@ -36,5 +36,5 @@ "description": "The framework agnostic core of FormKit",

"dependencies": {
"@formkit/utils": "1.0.0-beta.5-1350a7d"
"@formkit/utils": "1.0.0-beta.5-3d41c80"
},
"devDependencies": {}
}

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