diff --git a/README.md b/README.md index 2d55e7e..5ffd464 100644 --- a/README.md +++ b/README.md @@ -35,6 +35,7 @@ import { preferences } from './stores' preferences.subscribe(...) // subscribe to changes preferences.update(...) // update value preferences.set(...) // set value +preferences.reset() // reset to initial value get(preferences) // read value $preferences // read value with automatic subscription ``` diff --git a/package.json b/package.json index b1ad64c..59ee64d 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,7 @@ "test": "vitest" }, "devDependencies": { - "@babel/core": "^7.24.4", + "@babel/core": "^7.24.6", "@babel/preset-env": "^7.24.5", "@typescript-eslint/eslint-plugin": "^5.62.0", "@typescript-eslint/parser": "^5.62.0", @@ -37,12 +37,12 @@ "eslint": "^8.57.0", "jsdom": "^24.0.0", "publint": "^0.2.8", - "rollup": "^3.28.1", - "rollup-plugin-svelte": "^7.1.0", + "rollup": "^4.18.0", + "rollup-plugin-svelte": "^7.2.0", "semantic-release": "23.0.8", - "svelte": "^4.2.1", + "svelte": "^4.2.17", "tsup": "^8.0.2", - "typescript": "^4.9.5", + "typescript": "^5.4.5", "vitest": "^1.6.0" }, "peerDependencies": {