🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Sign inDemoInstall
Socket

solid-presence

Package Overview
Dependencies
Maintainers
0
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

solid-presence - npm Package Compare versions

Comparing version

to
0.1.8

5

dist/index.d.ts
import { MaybeAccessor } from '@corvu/utils/reactivity';
export { MaybeAccessor } from '@corvu/utils/reactivity';
import { Accessor } from 'solid-js';
import { Accessor, Setter } from 'solid-js';

@@ -22,5 +22,6 @@ /**

present: Accessor<boolean>;
state: Accessor<'present' | 'hiding' | 'hidden'>;
state: Accessor<"present" | "hiding" | "hidden">;
setState: Setter<"present" | "hiding" | "hidden">;
};
export { createPresence as default };

3

dist/index.js

@@ -65,3 +65,4 @@ import { access } from '@corvu/utils/reactivity';

present: () => presentState() === "present" || presentState() === "hiding",
state: presentState
state: presentState,
setState: setPresentState
};

@@ -68,0 +69,0 @@ };

@@ -70,3 +70,4 @@ // src/presence.ts

present: () => presentState() === "present" || presentState() === "hiding",
state: presentState
state: presentState,
setState: setPresentState
};

@@ -73,0 +74,0 @@ };

{
"name": "solid-presence",
"version": "0.1.7",
"version": "0.1.8",
"private": false,

@@ -49,15 +49,15 @@ "description": "SolidJS utility that manages the presence of an element in the DOM while being aware of pending animations.",

"dependencies": {
"@corvu/utils": "~0.3.1"
"@corvu/utils": "~0.4.0"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^7.13.1",
"@typescript-eslint/eslint-plugin": "^8.0.0",
"esbuild-plugin-solid": "^0.6.0",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-solid": "^0.14.0",
"prettier": "^3.3.2",
"solid-js": "^1.8.17",
"tsup": "^8.1.0",
"typedoc": "0.25.13",
"typescript": "^5.4.5"
"eslint-plugin-solid": "^0.14.1",
"prettier": "^3.3.3",
"solid-js": "^1.8.19",
"tsup": "^8.2.4",
"typedoc": "^0.26.5",
"typescript": "^5.5.4"
},

@@ -69,6 +69,6 @@ "peerDependencies": {

"build": "tsup",
"clean": "rm -rf .turbo dist node_modules typedoc.json",
"clean": "rm -rf .turbo dist node_modules api.json",
"lint": "eslint --max-warnings=0 .",
"typedoc": "rm -f typedoc.json && typedoc --json typedoc.json --entryPoints ./src/index.ts"
"typedoc": "typedoc --json api.json --entryPoints ./src/index.ts"
}
}