@kvs/env 1.2.0 → 2.0.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/README.md +1 -1
- package/lib/browser.js +1 -1
- package/lib/browser.js.map +1 -1
- package/lib/node.js +1 -1
- package/lib/node.js.map +1 -1
- package/package.json +8 -9
- package/CHANGELOG.md +0 -89
package/README.md
CHANGED
package/lib/browser.js
CHANGED
|
@@ -12,7 +12,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
12
12
|
exports.kvsEnvStorage = void 0;
|
|
13
13
|
const indexeddb_1 = require("@kvs/indexeddb");
|
|
14
14
|
const kvsEnvStorage = (options) => __awaiter(void 0, void 0, void 0, function* () {
|
|
15
|
-
return indexeddb_1.kvsIndexedDB(options);
|
|
15
|
+
return (0, indexeddb_1.kvsIndexedDB)(options);
|
|
16
16
|
});
|
|
17
17
|
exports.kvsEnvStorage = kvsEnvStorage;
|
|
18
18
|
//# sourceMappingURL=browser.js.map
|
package/lib/browser.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"browser.js","sourceRoot":"","sources":["../src/browser.ts"],"names":[],"mappings":";;;;;;;;;;;;AACA,8CAAmE;AAG5D,MAAM,aAAa,GAAG,CACzB,OAAmE,EACxC,EAAE;IAC7B,OAAO,wBAAY,
|
|
1
|
+
{"version":3,"file":"browser.js","sourceRoot":"","sources":["../src/browser.ts"],"names":[],"mappings":";;;;;;;;;;;;AACA,8CAAmE;AAG5D,MAAM,aAAa,GAAG,CACzB,OAAmE,EACxC,EAAE;IAC7B,OAAO,IAAA,wBAAY,EAAC,OAAO,CAAC,CAAC;AACjC,CAAC,CAAA,CAAC;AAJW,QAAA,aAAa,iBAIxB"}
|
package/lib/node.js
CHANGED
|
@@ -12,7 +12,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
12
12
|
exports.kvsEnvStorage = void 0;
|
|
13
13
|
const node_localstorage_1 = require("@kvs/node-localstorage");
|
|
14
14
|
const kvsEnvStorage = (options) => __awaiter(void 0, void 0, void 0, function* () {
|
|
15
|
-
return node_localstorage_1.kvsLocalStorage(options);
|
|
15
|
+
return (0, node_localstorage_1.kvsLocalStorage)(options);
|
|
16
16
|
});
|
|
17
17
|
exports.kvsEnvStorage = kvsEnvStorage;
|
|
18
18
|
//# sourceMappingURL=node.js.map
|
package/lib/node.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"node.js","sourceRoot":"","sources":["../src/node.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,8DAAkG;AAI3F,MAAM,aAAa,GAAG,CACzB,OAAsE,EACtC,EAAE;IAClC,OAAO,mCAAe,
|
|
1
|
+
{"version":3,"file":"node.js","sourceRoot":"","sources":["../src/node.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,8DAAkG;AAI3F,MAAM,aAAa,GAAG,CACzB,OAAsE,EACtC,EAAE;IAClC,OAAO,IAAA,mCAAe,EAAC,OAAO,CAAC,CAAC;AACpC,CAAC,CAAA,CAAC;AAJW,QAAA,aAAa,iBAIxB"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kvs/env",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0",
|
|
4
4
|
"description": "Universal Storage for KVS.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"kvs",
|
|
@@ -46,22 +46,21 @@
|
|
|
46
46
|
"trailingComma": "none"
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@kvs/indexeddb": "^
|
|
50
|
-
"@kvs/node-localstorage": "^
|
|
49
|
+
"@kvs/indexeddb": "^2.0.0",
|
|
50
|
+
"@kvs/node-localstorage": "^2.0.0"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
53
|
"@jsdevtools/karma-config": "^3.1.7",
|
|
54
|
-
"@types/mocha": "^
|
|
55
|
-
"@types/node": "^
|
|
56
|
-
"
|
|
57
|
-
"mocha": "^8.1.1",
|
|
54
|
+
"@types/mocha": "^9.0.0",
|
|
55
|
+
"@types/node": "^16.9.1",
|
|
56
|
+
"mocha": "^9.1.1",
|
|
58
57
|
"prettier": "^2.0.5",
|
|
59
58
|
"rimraf": "^3.0.2",
|
|
60
|
-
"ts-loader": "^8.
|
|
59
|
+
"ts-loader": "^8.2.0",
|
|
61
60
|
"typescript": "^4.2.4"
|
|
62
61
|
},
|
|
63
62
|
"publishConfig": {
|
|
64
63
|
"access": "public"
|
|
65
64
|
},
|
|
66
|
-
"gitHead": "
|
|
65
|
+
"gitHead": "b43dd2fdbefe4ee5714d0690b2f8f576dc8c1417"
|
|
67
66
|
}
|
package/CHANGELOG.md
DELETED
|
@@ -1,89 +0,0 @@
|
|
|
1
|
-
# Change Log
|
|
2
|
-
|
|
3
|
-
All notable changes to this project will be documented in this file.
|
|
4
|
-
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
|
-
|
|
6
|
-
# [1.2.0](https://github.com/azu/kvs/compare/v1.1.0...v1.2.0) (2021-04-17)
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
### Features
|
|
10
|
-
|
|
11
|
-
* **types:** Use Key Remapping in Mapped Types. ([#17](https://github.com/azu/kvs/issues/17)) ([7c099be](https://github.com/azu/kvs/commit/7c099be4ae39adedba78d111574347395e024362))
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
### BREAKING CHANGES
|
|
15
|
-
|
|
16
|
-
* **types:** require TypeScript 4.1+
|
|
17
|
-
|
|
18
|
-
It aims to support to following schema:
|
|
19
|
-
|
|
20
|
-
```ts
|
|
21
|
-
const storage = kvs<{
|
|
22
|
-
[index: string]: string;
|
|
23
|
-
}>;
|
|
24
|
-
```
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
# [1.1.0](https://github.com/azu/kvs/compare/v1.0.0...v1.1.0) (2020-10-29)
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
### Features
|
|
34
|
-
|
|
35
|
-
* **examples:** add basic example ([#14](https://github.com/azu/kvs/issues/14)) ([351215d](https://github.com/azu/kvs/commit/351215d6c04158201768036caaa6e792c72717ea))
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
# [1.0.0](https://github.com/azu/kvs/compare/v0.3.1...v1.0.0) (2020-08-22)
|
|
42
|
-
|
|
43
|
-
**Note:** Version bump only for package @kvs/env
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
## [0.3.1](https://github.com/azu/kvs/compare/v0.3.0...v0.3.1) (2020-08-22)
|
|
50
|
-
|
|
51
|
-
**Note:** Version bump only for package @kvs/env
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
# [0.3.0](https://github.com/azu/kvs/compare/v0.2.1...v0.3.0) (2020-08-22)
|
|
58
|
-
|
|
59
|
-
**Note:** Version bump only for package @kvs/env
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
## [0.2.1](https://github.com/azu/kvs/compare/v0.2.0...v0.2.1) (2020-08-22)
|
|
66
|
-
|
|
67
|
-
**Note:** Version bump only for package @kvs/env
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
# [0.2.0](https://github.com/azu/kvs/compare/v0.1.0...v0.2.0) (2020-08-08)
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
### Features
|
|
77
|
-
|
|
78
|
-
* **@kvs/env:** migrate Schema Type ([0951d08](https://github.com/azu/kvs/commit/0951d08405d42588454878a03c9082961ad0c363))
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
# 0.1.0 (2020-08-08)
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
### Features
|
|
88
|
-
|
|
89
|
-
* **@lvs/env:** add universal env ([36eef88](https://github.com/azu/kvs/commit/36eef88020e13d27545f237df4101174d541c098))
|