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

@radix-ui/react-switch

Package Overview
Dependencies
Maintainers
6
Versions
174
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@radix-ui/react-switch - npm Package Compare versions

Comparing version 1.1.1 to 1.1.2-rc.1

14

dist/index.d.ts

@@ -0,16 +1,6 @@

import * as _radix_ui_react_context from '@radix-ui/react-context';
import * as React from 'react';
import { Primitive } from '@radix-ui/react-primitive';
type Scope<C = any> = {
[scopeName: string]: React.Context<C>[];
} | undefined;
type ScopeHook = (scope: Scope) => {
[__scopeProp: string]: Scope;
};
interface CreateScope {
scopeName: string;
(): ScopeHook;
}
declare const createSwitchScope: CreateScope;
declare const createSwitchScope: _radix_ui_react_context.CreateScope;
type PrimitiveButtonProps = React.ComponentPropsWithoutRef<typeof Primitive.button>;

@@ -17,0 +7,0 @@ interface SwitchProps extends PrimitiveButtonProps {

11

package.json
{
"name": "@radix-ui/react-switch",
"version": "1.1.1",
"version": "1.1.2-rc.1",
"license": "MIT",

@@ -31,6 +31,6 @@ "exports": {

"dependencies": {
"@radix-ui/primitive": "1.1.0",
"@radix-ui/react-compose-refs": "1.1.0",
"@radix-ui/primitive": "1.1.1-rc.1",
"@radix-ui/react-compose-refs": "1.1.1-rc.1",
"@radix-ui/react-context": "1.1.1",
"@radix-ui/react-primitive": "2.0.0",
"@radix-ui/react-primitive": "2.0.1-rc.1",
"@radix-ui/react-use-controllable-state": "1.1.0",

@@ -61,3 +61,4 @@ "@radix-ui/react-use-previous": "1.1.0",

"url": "https://github.com/radix-ui/primitives/issues"
}
},
"stableVersion": "1.1.1"
}

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