Socket
Socket
Sign inDemoInstall

@reach/auto-id

Package Overview
Dependencies
3
Maintainers
4
Versions
46
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.17.0 to 0.18.0-pre.0

CHANGELOG.md

32

package.json
{
"name": "@reach/auto-id",
"version": "0.17.0",
"version": "0.18.0-pre.0",
"description": "Autogenerate IDs to facilitate WAI-ARIA and server rendering.",

@@ -16,8 +16,11 @@ "author": "React Training <hello@reacttraining.com>",

"dependencies": {
"@reach/utils": "0.17.0",
"tslib": "^2.3.0"
"@reach/utils": "0.18.0-pre.0"
},
"devDependencies": {
"@reach-internal/dev": "0.0.0",
"@reach-internal/test": "0.0.0",
"@reach-internal/tsconfig": "0.0.0",
"react": "^17.0.2",
"react-dom": "^17.0.2"
"react-dom": "^17.0.2",
"tsup": "^6.1.3"
},

@@ -28,14 +31,17 @@ "peerDependencies": {

},
"main": "dist/reach-auto-id.cjs.js",
"module": "dist/reach-auto-id.esm.js",
"types": "dist/reach-auto-id.cjs.d.ts",
"main": "./dist/index.cjs.js",
"types": "./dist/index.d.ts",
"files": [
"CHANGELOG.md",
"LICENSE",
"README.md",
"dist"
],
"eslintIgnore": [
"node_modules",
"dist"
],
"gitHead": "d206aefac2bede58c06a54b18d48eee7537096e0"
}
"publishConfig": {
"access": "public"
},
"module": "./dist/index.mjs",
"scripts": {
"build": "tsup"
}
}

@@ -15,10 +15,10 @@ # @reach/auto-id

function FormField(props) {
const id = useId(props.id);
return (
<React.Fragment>
<label htmlFor={id}>{props.label}</label>
<input type={props.type} name={props.name} id={id} />
</React.Fragment>
);
const id = useId(props.id);
return (
<React.Fragment>
<label htmlFor={id}>{props.label}</label>
<input type={props.type} name={props.name} id={id} />
</React.Fragment>
);
}
```

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