@alwatr/local-storage 6.1.0 → 6.1.2
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/CHANGELOG.md +13 -0
- package/README.md +3 -1
- package/dist/main.cjs +2 -2
- package/dist/main.mjs +2 -2
- package/dist/type.d.ts.map +1 -1
- package/package.json +16 -18
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,19 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [6.1.2](https://github.com/Alwatr/nanolib/compare/@alwatr/local-storage@6.1.1...@alwatr/local-storage@6.1.2) (2025-09-14)
|
|
7
|
+
|
|
8
|
+
### 🔨 Code Refactoring
|
|
9
|
+
|
|
10
|
+
* **package:** update keywords in package.json for debounce, local-storage, and synapse packages ([09c9cca](https://github.com/Alwatr/nanolib/commit/09c9cca3cd600e9ffaf600fb1926c0ee884a1aa8))
|
|
11
|
+
* remove types from tsconfig.json and adjust imports in type.ts ([ad2d3b3](https://github.com/Alwatr/nanolib/commit/ad2d3b3927db7bf3b5b54dcac5cdae751d00eb4a))
|
|
12
|
+
|
|
13
|
+
## [6.1.1](https://github.com/Alwatr/nanolib/compare/@alwatr/local-storage@6.1.0...@alwatr/local-storage@6.1.1) (2025-09-13)
|
|
14
|
+
|
|
15
|
+
### 🐛 Bug Fixes
|
|
16
|
+
|
|
17
|
+
* remove duplicate "types" entry in package.json ([86dce1a](https://github.com/Alwatr/nanolib/commit/86dce1a88ad3c605fe03f335d4f4813aad573ed8))
|
|
18
|
+
|
|
6
19
|
## [6.1.0](https://github.com/Alwatr/nanolib/compare/@alwatr/local-storage@6.0.0...@alwatr/local-storage@6.1.0) (2025-09-13)
|
|
7
20
|
|
|
8
21
|
### ✨ Features
|
package/README.md
CHANGED
|
@@ -135,7 +135,7 @@ Contributions are welcome! Please read our [contribution guidelines](https://git
|
|
|
135
135
|
|
|
136
136
|
<br>
|
|
137
137
|
<br>
|
|
138
|
-
<
|
|
138
|
+
<div dir="rtl">
|
|
139
139
|
|
|
140
140
|
# Alwatr Local Storage Provider (راهنمای فارسی)
|
|
141
141
|
|
|
@@ -266,3 +266,5 @@ userSettingsProvider.remove();
|
|
|
266
266
|
## مشارکت (Contributing)
|
|
267
267
|
|
|
268
268
|
از مشارکتها استقبال میشود! لطفاً قبل از ارسال pull request، [راهنمای مشارکت ما](https://github.com/Alwatr/.github/blob/next/CONTRIBUTING.md) را مطالعه کنید.
|
|
269
|
+
|
|
270
|
+
</div>
|
package/dist/main.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* @alwatr/local-storage v6.1.
|
|
1
|
+
/* @alwatr/local-storage v6.1.2 */
|
|
2
2
|
"use strict";
|
|
3
3
|
var __defProp = Object.defineProperty;
|
|
4
4
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
@@ -37,7 +37,7 @@ var LocalStorageProvider = class _LocalStorageProvider {
|
|
|
37
37
|
this.migrate__();
|
|
38
38
|
}
|
|
39
39
|
static {
|
|
40
|
-
this.version = "6.1.
|
|
40
|
+
this.version = "6.1.2";
|
|
41
41
|
}
|
|
42
42
|
/**
|
|
43
43
|
* Generates the versioned storage key.
|
package/dist/main.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* @alwatr/local-storage v6.1.
|
|
1
|
+
/* @alwatr/local-storage v6.1.2 */
|
|
2
2
|
|
|
3
3
|
// src/local-storage.provider.ts
|
|
4
4
|
import { createLogger } from "@alwatr/logger";
|
|
@@ -11,7 +11,7 @@ var LocalStorageProvider = class _LocalStorageProvider {
|
|
|
11
11
|
this.migrate__();
|
|
12
12
|
}
|
|
13
13
|
static {
|
|
14
|
-
this.version = "6.1.
|
|
14
|
+
this.version = "6.1.2";
|
|
15
15
|
}
|
|
16
16
|
/**
|
|
17
17
|
* Generates the versioned storage key.
|
package/dist/type.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../src/type.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../src/type.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,WAAW;IAC1B;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;;OAGG;IACH,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,0BAA0B,CAAC,CAAC,CAAE,SAAQ,WAAW;IAChE;;OAEG;IACH,YAAY,EAAE,CAAC,CAAC;CACjB"}
|
package/package.json
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alwatr/local-storage",
|
|
3
3
|
"description": "A modern, simple, and robust solution for managing versioned JSON objects in the browser's `localStorage`. This package provides a clean, class-based API with a factory function to ensure your application's data persistence is safe, maintainable, and future-proof.",
|
|
4
|
-
"version": "6.1.
|
|
4
|
+
"version": "6.1.2",
|
|
5
5
|
"author": "S. Ali Mihandoost <ali.mihandoost@gmail.com>",
|
|
6
6
|
"bugs": "https://github.com/Alwatr/nanolib/issues",
|
|
7
7
|
"dependencies": {
|
|
8
|
-
"@alwatr/logger": "
|
|
8
|
+
"@alwatr/logger": "6.0.0"
|
|
9
9
|
},
|
|
10
10
|
"devDependencies": {
|
|
11
|
-
"@alwatr/nano-build": "6.1.
|
|
11
|
+
"@alwatr/nano-build": "6.1.2",
|
|
12
12
|
"@alwatr/prettier-config": "5.0.3",
|
|
13
13
|
"@alwatr/tsconfig-base": "6.0.1",
|
|
14
|
-
"@alwatr/type-helper": "6.0.
|
|
14
|
+
"@alwatr/type-helper": "6.0.2",
|
|
15
15
|
"@jest/globals": "^30.1.2",
|
|
16
16
|
"typescript": "^5.9.2"
|
|
17
17
|
},
|
|
@@ -30,23 +30,21 @@
|
|
|
30
30
|
"homepage": "https://github.com/Alwatr/nanolib/tree/next/packages/local-storage#readme",
|
|
31
31
|
"keywords": [
|
|
32
32
|
"alwatr",
|
|
33
|
-
"
|
|
33
|
+
"automatic migration",
|
|
34
|
+
"browser storage",
|
|
34
35
|
"cross-platform",
|
|
35
|
-
"
|
|
36
|
-
"
|
|
37
|
-
"
|
|
38
|
-
"
|
|
39
|
-
"
|
|
40
|
-
"
|
|
41
|
-
"local-json-storage",
|
|
42
|
-
"local-storage",
|
|
36
|
+
"data persistence",
|
|
37
|
+
"ESM",
|
|
38
|
+
"facade factory",
|
|
39
|
+
"JavaScript",
|
|
40
|
+
"JSON storage",
|
|
41
|
+
"localStorage",
|
|
43
42
|
"module",
|
|
44
43
|
"nanolib",
|
|
45
|
-
"
|
|
46
|
-
"
|
|
47
|
-
"util",
|
|
44
|
+
"provider pattern",
|
|
45
|
+
"TypeScript",
|
|
48
46
|
"utility",
|
|
49
|
-
"
|
|
47
|
+
"versioning"
|
|
50
48
|
],
|
|
51
49
|
"license": "MPL-2.0",
|
|
52
50
|
"main": "./dist/main.cjs",
|
|
@@ -76,5 +74,5 @@
|
|
|
76
74
|
},
|
|
77
75
|
"type": "module",
|
|
78
76
|
"types": "./dist/main.d.ts",
|
|
79
|
-
"gitHead": "
|
|
77
|
+
"gitHead": "4249b4e06eeb5739e1d6dbacfbce5b33a3180263"
|
|
80
78
|
}
|