🚀 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
1
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.6

4

dist/index.d.ts

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

import { MaybeAccessor } from '@corvu/utils';
export { MaybeAccessor } from '@corvu/utils';
import { MaybeAccessor } from '@corvu/utils/reactivity';
export { MaybeAccessor } from '@corvu/utils/reactivity';
import { Accessor } from 'solid-js';

@@ -4,0 +4,0 @@

@@ -1,2 +0,2 @@

import { access } from '@corvu/utils';
import { access } from '@corvu/utils/reactivity';
import { createMemo, createSignal, createEffect, untrack, onCleanup } from 'solid-js';

@@ -30,3 +30,3 @@

const isAnimating = prevAnimationName !== currentAnimationName;
if (prevShow && isAnimating) {
if (prevShow === true && isAnimating) {
setPresentState("hiding");

@@ -33,0 +33,0 @@ } else {

{
"name": "solid-presence",
"version": "0.1.5",
"version": "0.1.6",
"private": false,

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

"types": "./dist/index.d.ts",
"typesVersions": {
"*": {
"*": [
"./dist/index.d.ts"
]
}
},
"files": [

@@ -42,16 +49,15 @@ "dist"

"dependencies": {
"@corvu/utils": "~0.1"
"@corvu/utils": "~0.2.0"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^7.1.0",
"esbuild-plugin-solid": "^0.5.0",
"@typescript-eslint/eslint-plugin": "^7.8.0",
"esbuild-plugin-solid": "^0.6.0",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-solid": "^0.13.1",
"eslint-plugin-solid": "^0.14.0",
"prettier": "^3.2.5",
"solid-js": "^1.8.15",
"solid-js": "^1.8.17",
"tsup": "^8.0.2",
"typedoc": "0.25.4",
"typescript": "^5.3.3"
"typedoc": "0.25.13",
"typescript": "^5.4.5"
},

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

"build": "tsup",
"clean": "rm -rf .turbo dist node_modules",
"clean": "rm -rf .turbo dist node_modules typedoc.json",
"lint": "eslint --max-warnings=0 .",
"typedoc": "typedoc --json api.json --entryPoints ./src/index.ts"
"typedoc": "rm -f typedoc.json && typedoc --json typedoc.json --entryPoints ./src/index.ts"
}
}
<div align="center">
<img src="https://raw.githubusercontent.com/corvudev/corvu/main/assets/solid-presence.png" width=1000 alt="Solid Presence" />
<a href="https://corvu.dev/docs/utilities/presence">
<img src="https://corvu.dev/readme/solid-presence.png" width=1000 alt="Solid Presence" />
</a>
</div>

@@ -4,0 +6,0 @@ <br />