@alwatr/local-storage 5.3.0 → 5.5.0
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 +45 -8
- package/dist/main.cjs +2 -3
- package/dist/main.mjs +2 -3
- package/package.json +6 -6
- package/dist/main.cjs.LEGAL.txt +0 -0
- package/dist/main.mjs.LEGAL.txt +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,43 @@
|
|
|
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
|
+
## [5.5.0](https://github.com/Alwatr/nanolib/compare/@alwatr/local-storage@5.4.0...@alwatr/local-storage@5.5.0) (2025-03-06)
|
|
7
|
+
|
|
8
|
+
### Miscellaneous Chores
|
|
9
|
+
|
|
10
|
+
* update username casing in changelog entries ([9722ac9](https://github.com/Alwatr/nanolib/commit/9722ac9a078438a4e8ebfa5826ea70e0e3a52ca6)) by @
|
|
11
|
+
|
|
12
|
+
### Dependencies update
|
|
13
|
+
|
|
14
|
+
* bump the development-dependencies group across 1 directory with 11 updates ([720c395](https://github.com/Alwatr/nanolib/commit/720c3954da55c929fe8fb16957121f4c51fb7f0c)) by @dependabot[bot]
|
|
15
|
+
|
|
16
|
+
## [5.4.0](https://github.com/Alwatr/nanolib/compare/@alwatr/local-storage@1.1.8...@alwatr/local-storage@5.4.0) (2025-02-18)
|
|
17
|
+
|
|
18
|
+
## 5.3.0 (2025-02-03)
|
|
19
|
+
|
|
20
|
+
### Features
|
|
21
|
+
|
|
22
|
+
* **local-storage:** add setItem after getItem and add hasItem ([a1b845d](https://github.com/Alwatr/nanolib/commit/a1b845d8d9d207b514f9e06c37610220337b0235)) by @
|
|
23
|
+
|
|
24
|
+
### Miscellaneous Chores
|
|
25
|
+
|
|
26
|
+
* edit README ([3860b3d](https://github.com/Alwatr/nanolib/commit/3860b3df48ab82dc479d5236c2e8579df614aabf)) by @
|
|
27
|
+
|
|
28
|
+
### Dependencies update
|
|
29
|
+
|
|
30
|
+
* bump the development-dependencies group across 1 directory with 11 updates ([cb79d07](https://github.com/Alwatr/nanolib/commit/cb79d072a57c79e1c01abff1a293d6757bb65350)) by @
|
|
31
|
+
* update typescript and @types/node to version 5.7.3 and 22.13.0 respectively across multiple packages ([ddab05b](https://github.com/Alwatr/nanolib/commit/ddab05b5d767c30191f36a065e4bc88744e8e3fe)) by @
|
|
32
|
+
|
|
33
|
+
## 5.0.0 (2024-11-02)
|
|
34
|
+
|
|
35
|
+
### ⚠ BREAKING CHANGES
|
|
36
|
+
|
|
37
|
+
* To simplify version management and ensure consistency, all nanolib packages now use the same version as @alwatr/nanolib. This may require updates to your project's dependencies.
|
|
38
|
+
|
|
39
|
+
### Code Refactoring
|
|
40
|
+
|
|
41
|
+
* use the same version as @alwatr/nanolib ([60eb860](https://github.com/Alwatr/nanolib/commit/60eb860a0e33dfffe2d1d95e63ce54c60876be06)) by @
|
|
42
|
+
|
|
6
43
|
## [5.3.0](https://github.com/Alwatr/nanolib/compare/v5.2.1...v5.3.0) (2025-02-03)
|
|
7
44
|
|
|
8
45
|
### Features
|
|
@@ -66,7 +103,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
66
103
|
|
|
67
104
|
### Code Refactoring
|
|
68
105
|
|
|
69
|
-
* **local-storage:** update removeItem method to use localStorage instead of window.localStorage ([9680a14](https://github.com/Alwatr/nanolib/commit/9680a141a4366d4bb146a73ffcd1bb63dd14f27c)) by @
|
|
106
|
+
* **local-storage:** update removeItem method to use localStorage instead of window.localStorage ([9680a14](https://github.com/Alwatr/nanolib/commit/9680a141a4366d4bb146a73ffcd1bb63dd14f27c)) by @alimd
|
|
70
107
|
|
|
71
108
|
## [1.1.6](https://github.com/Alwatr/nanolib/compare/@alwatr/local-storage@1.1.5...@alwatr/local-storage@1.1.6) (2024-10-12)
|
|
72
109
|
|
|
@@ -82,7 +119,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
82
119
|
|
|
83
120
|
### Miscellaneous Chores
|
|
84
121
|
|
|
85
|
-
- include LICENSE and LEGAL files to publish ([09f366f](https://github.com/Alwatr/nanolib/commit/09f366f680bfa9fb26acb2cd1ccbc68c5a9e9ad8)) by @
|
|
122
|
+
- include LICENSE and LEGAL files to publish ([09f366f](https://github.com/Alwatr/nanolib/commit/09f366f680bfa9fb26acb2cd1ccbc68c5a9e9ad8)) by @alimd
|
|
86
123
|
|
|
87
124
|
## [1.1.3](https://github.com/Alwatr/nanolib/compare/@alwatr/local-storage@1.1.2...@alwatr/local-storage@1.1.3) (2024-10-11)
|
|
88
125
|
|
|
@@ -102,7 +139,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
102
139
|
|
|
103
140
|
### Features
|
|
104
141
|
|
|
105
|
-
- **local-storage:** If the version is greater than 1, remove the previous version. ([1fdff96](https://github.com/Alwatr/nanolib/commit/1fdff9696a9cf7f1ced0a4c905ea62eb4c422f7a)) by @
|
|
142
|
+
- **local-storage:** If the version is greater than 1, remove the previous version. ([1fdff96](https://github.com/Alwatr/nanolib/commit/1fdff9696a9cf7f1ced0a4c905ea62eb4c422f7a)) by @alimd
|
|
106
143
|
- use `package-tracer` ([cc3c5f9](https://github.com/Alwatr/nanolib/commit/cc3c5f9c1a3d03f0d81b46835665f16a0426fd0d)) by @mohammadhonarvar
|
|
107
144
|
|
|
108
145
|
### Bug Fixes
|
|
@@ -111,12 +148,12 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
111
148
|
|
|
112
149
|
### Code Refactoring
|
|
113
150
|
|
|
114
|
-
- use new type-helper global types and remove all import types ([08b5d08](https://github.com/Alwatr/nanolib/commit/08b5d08c03c7c315382337239de0426462f384b8)) by @
|
|
151
|
+
- use new type-helper global types and remove all import types ([08b5d08](https://github.com/Alwatr/nanolib/commit/08b5d08c03c7c315382337239de0426462f384b8)) by @alimd
|
|
115
152
|
|
|
116
153
|
### Miscellaneous Chores
|
|
117
154
|
|
|
118
155
|
- **local-storage:** change the license to AGPL-3.0 ([ef7ea07](https://github.com/Alwatr/nanolib/commit/ef7ea075094c88d90d2ddc6fb9612ae18d792225)) by @ArmanAsadian
|
|
119
|
-
- Update build and lint scripts ([392d0b7](https://github.com/Alwatr/nanolib/commit/392d0b71f446bce336b0256119a80f07aff794ba)) by @
|
|
156
|
+
- Update build and lint scripts ([392d0b7](https://github.com/Alwatr/nanolib/commit/392d0b71f446bce336b0256119a80f07aff794ba)) by @alimd
|
|
120
157
|
|
|
121
158
|
## [1.0.10](https://github.com/Alwatr/nanolib/compare/@alwatr/local-storage@1.0.9...@alwatr/local-storage@1.0.10) (2024-09-21)
|
|
122
159
|
|
|
@@ -138,7 +175,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
138
175
|
|
|
139
176
|
### Dependencies update
|
|
140
177
|
|
|
141
|
-
- update all dependencies ([1e0c30e](https://github.com/Alwatr/nanolib/commit/1e0c30e6a3a8e19deb5185814e24ab6c08dca573)) by @
|
|
178
|
+
- update all dependencies ([1e0c30e](https://github.com/Alwatr/nanolib/commit/1e0c30e6a3a8e19deb5185814e24ab6c08dca573)) by @alimd
|
|
142
179
|
|
|
143
180
|
## [1.0.6](https://github.com/Alwatr/nanolib/compare/@alwatr/local-storage@1.0.5...@alwatr/local-storage@1.0.6) (2024-07-04)
|
|
144
181
|
|
|
@@ -170,9 +207,9 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
170
207
|
|
|
171
208
|
### Features
|
|
172
209
|
|
|
173
|
-
- **local-storage:** Rewrite local storage module ([5ed0f39](https://github.com/Alwatr/nanolib/commit/5ed0f39d090c027bb600a5d061ede887b4669198)) by @
|
|
210
|
+
- **local-storage:** Rewrite local storage module ([5ed0f39](https://github.com/Alwatr/nanolib/commit/5ed0f39d090c027bb600a5d061ede887b4669198)) by @alimd
|
|
174
211
|
- **local-storage:** separate package from `@alwatr/util` ([4cc22ed](https://github.com/Alwatr/nanolib/commit/4cc22eda8d89f291783eef3b8917434489b628e1)) by @njfamirm
|
|
175
212
|
|
|
176
213
|
### Bug Fixes
|
|
177
214
|
|
|
178
|
-
- **local-storage:** Remove unused dependency and update tsconfig references ([b1caaea](https://github.com/Alwatr/nanolib/commit/b1caaea8565cd497d31d91e4e2ea1becd84a82a4)) by @
|
|
215
|
+
- **local-storage:** Remove unused dependency and update tsconfig references ([b1caaea](https://github.com/Alwatr/nanolib/commit/b1caaea8565cd497d31d91e4e2ea1becd84a82a4)) by @alimd
|
package/dist/main.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* @alwatr/local-storage v5.
|
|
1
|
+
/* @alwatr/local-storage v5.5.0 */
|
|
2
2
|
"use strict";
|
|
3
3
|
var __defProp = Object.defineProperty;
|
|
4
4
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
@@ -25,7 +25,7 @@ __export(main_exports, {
|
|
|
25
25
|
});
|
|
26
26
|
module.exports = __toCommonJS(main_exports);
|
|
27
27
|
var import_package_tracer = require("@alwatr/package-tracer");
|
|
28
|
-
__dev_mode__: import_package_tracer.packageTracer.add("@alwatr/local-storage", "5.
|
|
28
|
+
__dev_mode__: import_package_tracer.packageTracer.add("@alwatr/local-storage", "5.5.0");
|
|
29
29
|
function parseJson(content) {
|
|
30
30
|
try {
|
|
31
31
|
return JSON.parse(content);
|
|
@@ -130,5 +130,4 @@ var localJsonStorage = {
|
|
|
130
130
|
0 && (module.exports = {
|
|
131
131
|
localJsonStorage
|
|
132
132
|
});
|
|
133
|
-
/*! For license information please see main.cjs.LEGAL.txt */
|
|
134
133
|
//# sourceMappingURL=main.cjs.map
|
package/dist/main.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
/* @alwatr/local-storage v5.
|
|
1
|
+
/* @alwatr/local-storage v5.5.0 */
|
|
2
2
|
|
|
3
3
|
// src/main.ts
|
|
4
4
|
import { packageTracer } from "@alwatr/package-tracer";
|
|
5
|
-
__dev_mode__: packageTracer.add("@alwatr/local-storage", "5.
|
|
5
|
+
__dev_mode__: packageTracer.add("@alwatr/local-storage", "5.5.0");
|
|
6
6
|
function parseJson(content) {
|
|
7
7
|
try {
|
|
8
8
|
return JSON.parse(content);
|
|
@@ -106,5 +106,4 @@ var localJsonStorage = {
|
|
|
106
106
|
export {
|
|
107
107
|
localJsonStorage
|
|
108
108
|
};
|
|
109
|
-
/*! For license information please see main.mjs.LEGAL.txt */
|
|
110
109
|
//# sourceMappingURL=main.mjs.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alwatr/local-storage",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.5.0",
|
|
4
4
|
"description": "`localJsonStorage` is a utility object in our TypeScript package that provides methods for interacting with the local storage in a structured and versioned manner.",
|
|
5
5
|
"author": "S. Ali Mihandoost <ali.mihandoost@gmail.com>",
|
|
6
6
|
"keywords": [
|
|
@@ -68,14 +68,14 @@
|
|
|
68
68
|
"clean": "rm -rfv dist *.tsbuildinfo"
|
|
69
69
|
},
|
|
70
70
|
"dependencies": {
|
|
71
|
-
"@alwatr/package-tracer": "^5.
|
|
71
|
+
"@alwatr/package-tracer": "^5.5.0"
|
|
72
72
|
},
|
|
73
73
|
"devDependencies": {
|
|
74
|
-
"@alwatr/nano-build": "^5.
|
|
74
|
+
"@alwatr/nano-build": "^5.5.0",
|
|
75
75
|
"@alwatr/prettier-config": "^5.0.0",
|
|
76
76
|
"@alwatr/tsconfig-base": "^5.0.0",
|
|
77
|
-
"@alwatr/type-helper": "^5.
|
|
78
|
-
"typescript": "^5.
|
|
77
|
+
"@alwatr/type-helper": "^5.4.0",
|
|
78
|
+
"typescript": "^5.8.2"
|
|
79
79
|
},
|
|
80
|
-
"gitHead": "
|
|
80
|
+
"gitHead": "fdf8e6de77cca359465110a75ff18faff0649a95"
|
|
81
81
|
}
|
package/dist/main.cjs.LEGAL.txt
DELETED
|
File without changes
|
package/dist/main.mjs.LEGAL.txt
DELETED
|
File without changes
|