New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@accessible/radio

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@accessible/radio - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

6

dist/cjs/index.js

@@ -73,2 +73,3 @@ 'use strict'

useContext,
useRef,
useMemo,

@@ -98,4 +99,7 @@ } = _react.default

)
const prevChecked = useRef(nextValue)
useEffect(() => {
onChange === null || onChange === void 0 ? void 0 : onChange(nextValue)
prevChecked.current !== nextValue &&
(onChange === null || onChange === void 0 ? void 0 : onChange(nextValue))
prevChecked.current = nextValue
}, [nextValue])

@@ -102,0 +106,0 @@ return __reactCreateElement__(RadioGroupContext.Provider, {

@@ -57,2 +57,3 @@ import _pt from 'prop-types'

useContext,
useRef,
useMemo,

@@ -79,4 +80,7 @@ } = React

)
const prevChecked = useRef(nextValue)
useEffect(() => {
onChange === null || onChange === void 0 ? void 0 : onChange(nextValue)
prevChecked.current !== nextValue &&
(onChange === null || onChange === void 0 ? void 0 : onChange(nextValue))
prevChecked.current = nextValue
}, [nextValue])

@@ -83,0 +87,0 @@ return __reactCreateElement__(RadioGroupContext.Provider, {

2

package.json
{
"name": "@accessible/radio",
"version": "1.0.2",
"version": "1.0.3",
"homepage": "https://github.com/accessible-ui/radio#readme",

@@ -5,0 +5,0 @@ "repository": "github:accessible-ui/radio",

@@ -101,3 +101,3 @@ <hr>

value:
| string
| string``
| number

@@ -104,0 +104,0 @@ | string[]

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