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-bd20073 to 1.0.0-beta.5-d5953e3

26

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;
}

@@ -489,2 +501,3 @@

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

@@ -767,2 +780,6 @@

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

@@ -1135,2 +1152,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

@@ -1137,0 +1163,0 @@ * node naming.

4

package.json
{
"name": "@formkit/core",
"version": "1.0.0-beta.5-bd20073",
"version": "1.0.0-beta.5-d5953e3",
"type": "module",

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

"dependencies": {
"@formkit/utils": "1.0.0-beta.5-bd20073"
"@formkit/utils": "1.0.0-beta.5-d5953e3"
},
"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