@slipmatio/toolbelt
Advanced tools
Comparing version 0.1.0 to 0.1.1
# Changelog | ||
## 0.1.1 (2023-07-17) | ||
- Fix: export types correctly. | ||
- Chore: bumped deps. | ||
## 0.1.0 (2023-06-27) | ||
@@ -4,0 +9,0 @@ |
@@ -1,1 +0,16 @@ | ||
export { storageAvailable, getCookie, copyToClipboard } from './browser'; | ||
/** | ||
* Simple clipboard copy for modern browsers. Returns true if successful. | ||
*/ | ||
export declare function copyToClipboard(content: string): boolean; | ||
/** | ||
* Returns the cookie as a string or null if not found. | ||
*/ | ||
export declare function getCookie(name: string): string | null; | ||
/** | ||
* Checks whether the given Storage is available and usable. | ||
*/ | ||
export declare function storageAvailable(type: 'localStorage' | 'sessionStorage'): boolean; | ||
export { } |
{ | ||
"name": "@slipmatio/toolbelt", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"main": "dist/toolbelt.js", | ||
@@ -8,2 +8,3 @@ "module": "dist/toolbelt.mjs", | ||
".": { | ||
"types": "./dist/index.d.ts", | ||
"import": "./dist/toolbelt.mjs", | ||
@@ -26,14 +27,14 @@ "require": "./dist/toolbelt.js" | ||
"devDependencies": { | ||
"@playwright/test": "1.35.1", | ||
"@types/node": "20.3.2", | ||
"@playwright/test": "1.36.1", | ||
"@types/node": "20.4.2", | ||
"@vitejs/plugin-vue": "4.2.3", | ||
"@vitest/coverage-v8": "0.32.2", | ||
"@vitest/coverage-v8": "0.33.0", | ||
"@vue/test-utils": "2.4.0", | ||
"happy-dom": "9.20.3", | ||
"typescript": "5.1.3", | ||
"vite": "4.3.9", | ||
"vite-plugin-dts": "3.0.0-beta.1", | ||
"vitest": "0.32.2", | ||
"happy-dom": "10.3.2", | ||
"typescript": "5.1.6", | ||
"vite": "4.4.4", | ||
"vite-plugin-dts": "3.2.0", | ||
"vitest": "0.33.0", | ||
"vue": "3.3.4", | ||
"vue-tsc": "1.8.2" | ||
"vue-tsc": "1.8.5" | ||
}, | ||
@@ -40,0 +41,0 @@ "files": [ |
6329
7