Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoInstallSign in
Socket

@diceui/mention

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@diceui/mention - npm Package Compare versions

Comparing version
0.5.0
to
0.6.0
+4
-4
dist/index.cjs

@@ -1253,3 +1253,3 @@ 'use client';

if (value === "") {
throw new Error(`${ITEM_NAME} value cannot be an empty string.`);
throw new Error(`\`${ITEM_NAME}\` value cannot be an empty string`);
}

@@ -1272,5 +1272,5 @@ return context.onItemRegister({

...{ [shared.DATA_ITEM_ATTR]: "" },
"data-selected": isSelected ? "" : undefined,
"data-highlighted": context.highlightedItem?.ref.current?.id === id ? "" : undefined,
"data-disabled": isDisabled ? "" : undefined,
"data-selected": isSelected ? "" : void 0,
"data-highlighted": context.highlightedItem?.ref.current?.id === id ? "" : void 0,
"data-disabled": isDisabled ? "" : void 0,
...itemProps,

@@ -1277,0 +1277,0 @@ ref: composedRef,

@@ -1231,3 +1231,3 @@ 'use client';

if (value === "") {
throw new Error(`${ITEM_NAME} value cannot be an empty string.`);
throw new Error(`\`${ITEM_NAME}\` value cannot be an empty string`);
}

@@ -1250,5 +1250,5 @@ return context.onItemRegister({

...{ [DATA_ITEM_ATTR]: "" },
"data-selected": isSelected ? "" : undefined,
"data-highlighted": context.highlightedItem?.ref.current?.id === id ? "" : undefined,
"data-disabled": isDisabled ? "" : undefined,
"data-selected": isSelected ? "" : void 0,
"data-highlighted": context.highlightedItem?.ref.current?.id === id ? "" : void 0,
"data-disabled": isDisabled ? "" : void 0,
...itemProps,

@@ -1255,0 +1255,0 @@ ref: composedRef,

{
"name": "@diceui/mention",
"version": "0.5.0",
"version": "0.6.0",
"type": "module",

@@ -51,8 +51,8 @@ "publishConfig": {

"devDependencies": {
"tsup": "^8.3.5",
"tsup": "^8.3.6",
"typescript": "^5.7.3"
},
"dependencies": {
"@floating-ui/react": "^0.27.2",
"@diceui/shared": "0.9.0"
"@floating-ui/react": "^0.27.4",
"@diceui/shared": "0.10.0"
},

@@ -59,0 +59,0 @@ "scripts": {