@solid-primitives/scheduled
Advanced tools
Comparing version 1.2.0 to 1.2.1
@@ -1,2 +0,2 @@ | ||
declare type ScheduleCallback = <Args extends unknown[]>(callback: (...args: Args) => void, wait?: number) => Scheduled<Args>; | ||
type ScheduleCallback = <Args extends unknown[]>(callback: (...args: Args) => void, wait?: number) => Scheduled<Args>; | ||
interface Scheduled<Args extends unknown[]> { | ||
@@ -3,0 +3,0 @@ (...args: Args): void; |
{ | ||
"name": "@solid-primitives/scheduled", | ||
"version": "1.2.0", | ||
"version": "1.2.1", | ||
"description": "Primitives for creating scheduled — throttled or debounced — callbacks.", | ||
@@ -39,23 +39,38 @@ "contributors": [ | ||
"browser": { | ||
"./dist/server.cjs": "./dist/index.cjs", | ||
"./dist/server.js": "./dist/index.js" | ||
"./dist/server.js": "./dist/index.js", | ||
"./dist/server.cjs": "./dist/index.cjs" | ||
}, | ||
"exports": { | ||
"worker": { | ||
"import": "./dist/server.js", | ||
"import": { | ||
"types": "./dist/index.d.ts", | ||
"default": "./dist/server.js" | ||
}, | ||
"require": "./dist/server.cjs" | ||
}, | ||
"browser": { | ||
"import": "./dist/index.js", | ||
"import": { | ||
"types": "./dist/index.d.ts", | ||
"default": "./dist/index.js" | ||
}, | ||
"require": "./dist/index.cjs" | ||
}, | ||
"deno": { | ||
"import": "./dist/server.js", | ||
"import": { | ||
"types": "./dist/index.d.ts", | ||
"default": "./dist/server.js" | ||
}, | ||
"require": "./dist/server.cjs" | ||
}, | ||
"node": { | ||
"import": "./dist/server.js", | ||
"import": { | ||
"types": "./dist/index.d.ts", | ||
"default": "./dist/server.js" | ||
}, | ||
"require": "./dist/server.cjs" | ||
}, | ||
"import": "./dist/index.js", | ||
"import": { | ||
"types": "./dist/index.d.ts", | ||
"default": "./dist/index.js" | ||
}, | ||
"require": "./dist/index.cjs" | ||
@@ -71,4 +86,3 @@ }, | ||
"devDependencies": { | ||
"@solid-primitives/timer": "^1.3.4", | ||
"solid-js": "^1.6.0" | ||
"@solid-primitives/timer": "^1.3.5" | ||
}, | ||
@@ -78,5 +92,7 @@ "peerDependencies": { | ||
}, | ||
"typesVersions": {}, | ||
"scripts": { | ||
"start": "vite serve dev --host", | ||
"dev": "vite serve dev", | ||
"page": "vite build dev", | ||
"build": "jiti ../../scripts/build.ts --ssr", | ||
@@ -83,0 +99,0 @@ "test": "vitest -c ../../configs/vitest.config.ts", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
15939
1
283