Socket
Socket
Sign inDemoInstall

@radix-ui/react-id

Package Overview
Dependencies
Maintainers
6
Versions
115
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Comparing version 0.1.6-rc.47 to 1.0.0-rc.1

4

dist/index.d.ts

@@ -1,7 +0,3 @@

import * as React from "react";
export function useId(deterministicId?: string): string;
export function IdProvider({ children }: {
children: React.ReactNode;
}): JSX.Element;
//# sourceMappingURL=index.d.ts.map

@@ -8,3 +8,2 @@ var $47woD$react = require("react");

$parcel$export(module.exports, "IdProvider", () => $dc478e4659f630c5$export$6be90bcb437e928f);
$parcel$export(module.exports, "useId", () => $dc478e4659f630c5$export$f680877a34711e37);

@@ -25,8 +24,3 @@

return deterministicId || (id ? `radix-${id}` : '');
} // DEPRECATED
function $dc478e4659f630c5$export$6be90bcb437e928f({ children: children }) {
$47woD$react.useEffect(()=>{}, []);
return /*#__PURE__*/ $47woD$react.createElement($47woD$react.Fragment, null, children);
}
const $dc478e4659f630c5$var$ID_PROVIDER_DEPRECATED = `Warning: The \`IdProvider\` has been deprecated. For details, see https://radix-ui.com/docs/primitives/utilities/id-provider`;

@@ -33,0 +27,0 @@

@@ -18,8 +18,3 @@ import * as $2AODx$react from "react";

return deterministicId || (id ? `radix-${id}` : '');
} // DEPRECATED
function $1746a345f3d73bb7$export$6be90bcb437e928f({ children: children }) {
$2AODx$react.useEffect(()=>{}, []);
return /*#__PURE__*/ $2AODx$react.createElement($2AODx$react.Fragment, null, children);
}
const $1746a345f3d73bb7$var$ID_PROVIDER_DEPRECATED = `Warning: The \`IdProvider\` has been deprecated. For details, see https://radix-ui.com/docs/primitives/utilities/id-provider`;

@@ -29,3 +24,3 @@

export {$1746a345f3d73bb7$export$6be90bcb437e928f as IdProvider, $1746a345f3d73bb7$export$f680877a34711e37 as useId};
export {$1746a345f3d73bb7$export$f680877a34711e37 as useId};
//# sourceMappingURL=index.module.js.map

4

package.json
{
"name": "@radix-ui/react-id",
"version": "0.1.6-rc.47",
"version": "1.0.0-rc.1",
"license": "MIT",

@@ -31,5 +31,5 @@ "source": "src/index.ts",

"@babel/runtime": "^7.13.10",
"@radix-ui/react-use-layout-effect": "0.1.1-rc.47"
"@radix-ui/react-use-layout-effect": "1.0.0-rc.1"
},
"stableVersion": "0.1.5"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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