@tb-dev/vue 3.2.4 → 3.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js
CHANGED
|
@@ -161,6 +161,7 @@ function localRef(key, initial, options) {
|
|
|
161
161
|
const local = useLocalStorage(key, defaultValue, {
|
|
162
162
|
deep: options?.deep ?? true,
|
|
163
163
|
initOnMounted: options?.initOnMounted ?? true,
|
|
164
|
+
listenToStorageChanges: options?.listenToStorageChanges ?? true,
|
|
164
165
|
onError: options?.onError ?? handleError,
|
|
165
166
|
writeDefaults: options?.writeDefaults ?? true,
|
|
166
167
|
serializer: {
|
|
@@ -240,6 +241,7 @@ function sessionRef(key, initial, options) {
|
|
|
240
241
|
const session = useSessionStorage(key, defaultValue, {
|
|
241
242
|
deep: options?.deep ?? true,
|
|
242
243
|
initOnMounted: options?.initOnMounted ?? true,
|
|
244
|
+
listenToStorageChanges: options?.listenToStorageChanges ?? true,
|
|
243
245
|
onError: options?.onError ?? handleError,
|
|
244
246
|
writeDefaults: options?.writeDefaults ?? true,
|
|
245
247
|
serializer: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tb-dev/vue",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.3.1",
|
|
4
4
|
"description": "Vue utilities",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -30,14 +30,14 @@
|
|
|
30
30
|
"vue": "^3.5.21"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
|
-
"@tb-dev/eslint-config": "^8.0.
|
|
34
|
-
"@types/node": "^24.
|
|
35
|
-
"eslint": "^9.
|
|
33
|
+
"@tb-dev/eslint-config": "^8.0.12",
|
|
34
|
+
"@types/node": "^24.5.2",
|
|
35
|
+
"eslint": "^9.36.0",
|
|
36
36
|
"tslib": "^2.8.1",
|
|
37
|
-
"typedoc": "^0.28.
|
|
37
|
+
"typedoc": "^0.28.13",
|
|
38
38
|
"typedoc-plugin-mdn-links": "^5.0.9",
|
|
39
39
|
"typescript": "~5.9.2",
|
|
40
|
-
"vite": "^7.1.
|
|
40
|
+
"vite": "^7.1.7",
|
|
41
41
|
"vite-plugin-dts": "^4.5.4"
|
|
42
42
|
},
|
|
43
43
|
"files": [
|