Socket
Socket
Sign inDemoInstall

@conform-to/react

Package Overview
Dependencies
4
Maintainers
1
Versions
63
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.1.3 to 1.1.4

2

helpers.js

@@ -115,3 +115,3 @@ 'use strict';

props.value = typeof options.value === 'string' ? options.value : 'on';
props.defaultChecked = typeof metadata.initialValue === 'boolean' ? metadata.initialValue : metadata.initialValue === props.value;
props.defaultChecked = Array.isArray(metadata.initialValue) ? metadata.initialValue.includes(options.value) : metadata.initialValue === props.value;
} else if (typeof metadata.initialValue === 'string') {

@@ -118,0 +118,0 @@ props.defaultValue = metadata.initialValue;

{
"name": "@conform-to/react",
"description": "Conform view adapter for react",
"homepage": "https://conform.guide",
"license": "MIT",
"version": "1.1.3",
"main": "index.js",
"module": "index.mjs",
"types": "index.d.ts",
"exports": {
".": {
"types": "./index.d.ts",
"module": "./index.mjs",
"import": "./index.mjs",
"require": "./index.js",
"default": "./index.mjs"
}
},
"scripts": {
"build:js": "rollup -c",
"build:ts": "tsc",
"build": "pnpm run \"/^build:.*/\"",
"dev:js": "pnpm run build:js --watch",
"dev:ts": "pnpm run build:ts --watch",
"dev": "pnpm run \"/^dev:.*/\"",
"prepare": "pnpm run build"
},
"repository": {
"type": "git",
"url": "https://github.com/edmundhung/conform",
"directory": "packages/conform-react"
},
"author": {
"name": "Edmund Hung",
"email": "me@edmund.dev",
"url": "https://edmund.dev"
},
"bugs": {
"url": "https://github.com/edmundhung/conform/issues"
},
"dependencies": {
"@conform-to/dom": "1.1.3"
},
"devDependencies": {
"@babel/core": "^7.17.8",
"@babel/preset-env": "^7.20.2",
"@babel/preset-react": "^7.18.6",
"@babel/preset-typescript": "^7.20.2",
"@rollup/plugin-babel": "^5.3.1",
"@rollup/plugin-node-resolve": "^13.3.0",
"@types/react": "^18.2.43",
"react": "^18.2.0",
"rollup-plugin-copy": "^3.4.0",
"rollup": "^2.79.1"
},
"peerDependencies": {
"react": ">=18"
},
"keywords": [
"constraint-validation",
"form",
"form-validation",
"html",
"progressive-enhancement",
"validation",
"react",
"remix"
],
"sideEffects": false
}
"name": "@conform-to/react",
"description": "Conform view adapter for react",
"homepage": "https://conform.guide",
"license": "MIT",
"version": "1.1.4",
"main": "index.js",
"module": "index.mjs",
"types": "index.d.ts",
"exports": {
".": {
"types": "./index.d.ts",
"module": "./index.mjs",
"import": "./index.mjs",
"require": "./index.js",
"default": "./index.mjs"
}
},
"repository": {
"type": "git",
"url": "https://github.com/edmundhung/conform",
"directory": "packages/conform-react"
},
"author": {
"name": "Edmund Hung",
"email": "me@edmund.dev",
"url": "https://edmund.dev"
},
"bugs": {
"url": "https://github.com/edmundhung/conform/issues"
},
"dependencies": {
"@conform-to/dom": "1.1.4"
},
"devDependencies": {
"@babel/core": "^7.17.8",
"@babel/preset-env": "^7.20.2",
"@babel/preset-react": "^7.18.6",
"@babel/preset-typescript": "^7.20.2",
"@rollup/plugin-babel": "^5.3.1",
"@rollup/plugin-node-resolve": "^13.3.0",
"@types/react": "^18.2.43",
"react": "^18.2.0",
"rollup-plugin-copy": "^3.4.0",
"rollup": "^2.79.1"
},
"peerDependencies": {
"react": ">=18"
},
"keywords": [
"constraint-validation",
"form",
"form-validation",
"html",
"progressive-enhancement",
"validation",
"react",
"remix"
],
"sideEffects": false,
"scripts": {
"build:js": "rollup -c",
"build:ts": "tsc",
"build": "pnpm run \"/^build:.*/\"",
"dev:js": "pnpm run build:js --watch",
"dev:ts": "pnpm run build:ts --watch",
"dev": "pnpm run \"/^dev:.*/\""
}
}

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc