trap-focus-svelte
Advanced tools
Comparing version 0.2.0 to 1.0.0
138
package.json
{ | ||
"name": "trap-focus-svelte", | ||
"version": "0.2.0", | ||
"license": "MIT", | ||
"description": "Small 0.4kB focus trap that supports stacking, toggling, and dynamic content. Compatible with any framework.", | ||
"keywords": [ | ||
"focus", | ||
"focus trap", | ||
"focus lock", | ||
"svelte" | ||
], | ||
"author": "Hank Dollman <hank@henrygd.me> (https://henrygd.me)", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/henrygd/trap-focus-svelte.git" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/henrygd/trap-focus-svelte/issues" | ||
}, | ||
"homepage": "https://trap-focus-svelte.henrygd.me", | ||
"type": "module", | ||
"source": "index.ts", | ||
"exports": { | ||
".": { | ||
"import": "./dist/trap-focus-svelte.svelte.js", | ||
"require": "./dist/trap-focus-svelte.cjs", | ||
"default": "./dist/trap-focus-svelte.svelte.js" | ||
}, | ||
"./svelte": "./dist/trap-focus-svelte.svelte.js", | ||
"./vanilla": "./dist/trap-focus-svelte.mjs" | ||
}, | ||
"svelte": "./dist/trap-focus-svelte.svelte.js", | ||
"types": "dist/index.d.ts", | ||
"typesVersions": { | ||
"*": { | ||
"vanilla": [ | ||
"dist/index.d.ts" | ||
], | ||
"svelte": [ | ||
"dist/index.d.ts" | ||
] | ||
} | ||
}, | ||
"devDependencies": { | ||
"@rollup/plugin-node-resolve": "^15.0.1", | ||
"@rollup/plugin-terser": "^0.4.0", | ||
"@rollup/plugin-typescript": "^11.0.0", | ||
"@sveltejs/vite-plugin-svelte": "^2.0.2", | ||
"@tsconfig/svelte": "^3.0.0", | ||
"hide-show-scroll": "^2.0.0", | ||
"npm-run-all": "^4.1.5", | ||
"rollup": "^3.14.0", | ||
"rollup-plugin-modify": "^3.0.0", | ||
"rollup-plugin-size": "^0.3.1", | ||
"svelte": "^3.55.1", | ||
"svelte-check": "^2.10.3", | ||
"tslib": "^2.5.0", | ||
"typescript": "^4.9.3", | ||
"vite": "^4.1.0" | ||
}, | ||
"scripts": { | ||
"build": "run-p rollup-build generate-types", | ||
"rollup-build": "rollup -c", | ||
"generate-types": "tsc -p . --declaration --emitDeclarationOnly --outDir dist", | ||
"dev": "vite demo", | ||
"demo-build": "vite build demo", | ||
"preview": "vite demo preview", | ||
"check": "svelte-check --tsconfig ./tsconfig.json" | ||
} | ||
} | ||
"name": "trap-focus-svelte", | ||
"version": "1.0.0", | ||
"license": "MIT", | ||
"description": "Small 0.4kB focus trap that supports stacking, toggling, and dynamic content. Compatible with any framework.", | ||
"keywords": [ | ||
"focus", | ||
"focus trap", | ||
"focus lock", | ||
"svelte" | ||
], | ||
"author": "Hank Dollman <hank@henrygd.me> (https://henrygd.me)", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/henrygd/trap-focus-svelte.git" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/henrygd/trap-focus-svelte/issues" | ||
}, | ||
"homepage": "https://trap-focus-svelte.henrygd.me", | ||
"type": "module", | ||
"source": "index.ts", | ||
"exports": { | ||
".": { | ||
"import": "./dist/trap-focus-svelte.svelte.js", | ||
"require": "./dist/trap-focus-svelte.cjs", | ||
"default": "./dist/trap-focus-svelte.svelte.js" | ||
}, | ||
"./svelte": "./dist/trap-focus-svelte.svelte.js", | ||
"./vanilla": "./dist/trap-focus-svelte.mjs" | ||
}, | ||
"svelte": "./dist/trap-focus-svelte.svelte.js", | ||
"types": "dist/index.d.ts", | ||
"typesVersions": { | ||
"*": { | ||
"vanilla": [ | ||
"dist/index.d.ts" | ||
], | ||
"svelte": [ | ||
"dist/index.d.ts" | ||
] | ||
} | ||
}, | ||
"scripts": { | ||
"build": "run-p rollup-build generate-types", | ||
"rollup-build": "rollup -c", | ||
"generate-types": "tsc -p . --declaration --emitDeclarationOnly --outDir dist", | ||
"dev": "vite demo", | ||
"demo-build": "vite build demo", | ||
"preview": "vite demo preview", | ||
"check": "svelte-check --tsconfig ./tsconfig.json" | ||
}, | ||
"devDependencies": { | ||
"@rollup/plugin-node-resolve": "^15.0.1", | ||
"@rollup/plugin-terser": "^0.4.0", | ||
"@rollup/plugin-typescript": "^11.0.0", | ||
"@sveltejs/vite-plugin-svelte": "^2.0.2", | ||
"@tsconfig/svelte": "^3.0.0", | ||
"hide-show-scroll": "^2.0.0", | ||
"npm-run-all": "^4.1.5", | ||
"rollup": "^3.14.0", | ||
"rollup-plugin-modify": "^3.0.0", | ||
"rollup-plugin-size": "^0.3.1", | ||
"svelte": "^3.55.1", | ||
"svelte-check": "^2.10.3", | ||
"tslib": "^2.5.0", | ||
"typescript": "^4.9.3", | ||
"vite": "^4.1.0" | ||
} | ||
} |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
0
0
12442