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

@zag-js/form-utils

Package Overview
Dependencies
Maintainers
1
Versions
710
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@zag-js/form-utils - npm Package Compare versions

Comparing version 0.0.0-dev-20220919164136 to 0.0.0-dev-20220928123644

dist/index.mjs

39

dist/index.js

@@ -1,2 +0,34 @@

// ../dom/dist/index.js
"use strict";
var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __export = (target, all) => {
for (var name in all)
__defProp(target, name, { get: all[name], enumerable: true });
};
var __copyProps = (to, from, except, desc) => {
if (from && typeof from === "object" || typeof from === "function") {
for (let key of __getOwnPropNames(from))
if (!__hasOwnProp.call(to, key) && key !== except)
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
}
return to;
};
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
// src/index.ts
var src_exports = {};
__export(src_exports, {
dispatchInputCheckedEvent: () => dispatchInputCheckedEvent,
dispatchInputValueEvent: () => dispatchInputValueEvent,
getClosestForm: () => getClosestForm,
isNativeDisabled: () => isNativeDisabled,
trackFieldsetDisabled: () => trackFieldsetDisabled,
trackFormReset: () => trackFormReset,
trackInputPropertyMutation: () => trackInputPropertyMutation
});
module.exports = __toCommonJS(src_exports);
// ../dom/dist/index.mjs
function getWindow(el) {

@@ -101,3 +133,4 @@ return (el == null ? void 0 : el.ownerDocument.defaultView) ?? window;

}
export {
// Annotate the CommonJS export names for ESM import in node:
0 && (module.exports = {
dispatchInputCheckedEvent,

@@ -110,2 +143,2 @@ dispatchInputValueEvent,

trackInputPropertyMutation
};
});

14

package.json
{
"type": "module",
"name": "@zag-js/form-utils",
"version": "0.0.0-dev-20220919164136",
"version": "0.0.0-dev-20220928123644",
"description": "",
"main": "dist/index.js",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"keywords": [

@@ -14,4 +16,2 @@ "js",

"license": "MIT",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"repository": "https://github.com/chakra-ui/zag/tree/main/packages/utilities/form-utils",

@@ -23,3 +23,3 @@ "sideEffects": false,

"devDependencies": {
"@zag-js/dom-utils": "0.0.0-dev-20220919164136"
"@zag-js/dom-utils": "0.0.0-dev-20220928123644"
},

@@ -33,5 +33,5 @@ "publishConfig": {

"scripts": {
"build-fast": "tsup src/index.ts --format=esm",
"build-fast": "tsup src/index.ts --format=esm,cjs",
"start": "pnpm build --watch",
"build": "tsup src/index.ts --format=esm --dts",
"build": "tsup src/index.ts --format=esm,cjs --dts",
"test": "jest --config ../../../jest.config.js --rootDir . --passWithNoTests",

@@ -38,0 +38,0 @@ "lint": "eslint src --ext .ts,.tsx",

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