@emartech/me-idempotency 3.0.13 → 3.0.15
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
CHANGED
|
@@ -3,6 +3,25 @@
|
|
|
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
|
+
## [3.0.15](https://github.com/emartech/me-modules/compare/@emartech/me-idempotency@3.0.14...@emartech/me-idempotency@3.0.15) (2024-02-20)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @emartech/me-idempotency
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## [3.0.14](https://github.com/emartech/me-modules/compare/@emartech/me-idempotency@3.0.13...@emartech/me-idempotency@3.0.14) (2024-02-20)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Bug Fixes
|
|
18
|
+
|
|
19
|
+
* linting ([4379d7c](https://github.com/emartech/me-modules/commit/4379d7cc40ce91753b766a4a50e4a74d130bd0ca))
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
6
25
|
## [3.0.13](https://github.com/emartech/me-modules/compare/@emartech/me-idempotency@3.0.12...@emartech/me-idempotency@3.0.13) (2024-02-09)
|
|
7
26
|
|
|
8
27
|
**Note:** Version bump only for package @emartech/me-idempotency
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-idempotency-fn.spec.js","sourceRoot":"","sources":["../../src/create-idempotency-fn.spec.ts"],"names":[],"mappings":";;AAAA,+BAA6B;AAC7B,iBAAc;AACd,iCAAqD;AACrD,mEAAgG;AAEhG,QAAQ,CAAC,gBAAgB,EAAE,GAAG,EAAE;IAC9B,QAAQ,CAAC,gCAAgC,EAAE,GAAG,EAAE;QAC9C,EAAE,CAAC,8BAA8B,EAAE,GAAG,EAAE;YAC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AAG,CAAC,CAAA;YACnC,MAAM,oBAAoB,GAAG,MAAM,KAAK,CAAC,GAAG,CAAC,GAAG,CAAC,CAAA;YACjD,IAAA,aAAM,EAAC,MAAM,CAAC,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAA;YACxB,IAAA,aAAM,EAAC,oBAAoB,CAAC,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAA;QACxC,CAAC,CAAC,CAAA;QAEF,EAAE,CAAC,8CAA8C,EAAE,KAAK,IAAI,EAAE;YAC5D,MAAM,KAAK,CAAC,GAAG,CAAC,GAAG,CAAC,CAAA;YACpB,MAAM,MAAM,GAAG,MAAM,KAAK,CAAC,GAAG,CAAC,GAAG,CAAC,CAAA;YACnC,IAAA,aAAM,EAAC,MAAM,CAAC,CAAC,EAAE,CAAC,GAAG,CAAC,IAAI,CAAC,CAAA;QAC7B,CAAC,CAAC,CAAA;QAEF,EAAE,CAAC,mDAAmD,EAAE,KAAK,IAAI,EAAE;YACjE,MAAM,MAAM,GAAG,MAAM,KAAK,CAAC,GAAG,CAAC,gBAAgB,CAAC,CAAA;YAChD,IAAA,aAAM,EAAC,MAAM,CAAC,CAAC,EAAE,CAAC,GAAG,CAAC,KAAK,CAAC,CAAA;QAC9B,CAAC,CAAC,CAAA;IACJ,CAAC,CAAC,CAAA;AACJ,CAAC,CAAC,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@emartech/me-idempotency",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.15",
|
|
4
4
|
"description": "",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"homepage": "https://github.com/emartech/me-modules/tree/master/modules/me-idempotency",
|
|
@@ -32,9 +32,9 @@
|
|
|
32
32
|
"@types/mocha": "^10.0.3",
|
|
33
33
|
"@types/node": "^18.18.7",
|
|
34
34
|
"@types/sinon": "^17.0.1",
|
|
35
|
-
"@typescript-eslint/eslint-plugin": "^
|
|
36
|
-
"@typescript-eslint/parser": "^
|
|
37
|
-
"@typescript-eslint/typescript-estree": "^
|
|
35
|
+
"@typescript-eslint/eslint-plugin": "^7.0.1",
|
|
36
|
+
"@typescript-eslint/parser": "^7.0.1",
|
|
37
|
+
"@typescript-eslint/typescript-estree": "^7.0.1",
|
|
38
38
|
"chai": "^4.3.10",
|
|
39
39
|
"chai-string": "1.5.0",
|
|
40
40
|
"chai-subset": "1.6.0",
|
|
@@ -53,5 +53,5 @@
|
|
|
53
53
|
"engines": {
|
|
54
54
|
"node": ">=18"
|
|
55
55
|
},
|
|
56
|
-
"gitHead": "
|
|
56
|
+
"gitHead": "0e311e385c2247a8eaac75bd19f37a1bb7e76410"
|
|
57
57
|
}
|
|
@@ -22,7 +22,9 @@ describe('me-idempotency', () => {
|
|
|
22
22
|
await redisClient.connect()
|
|
23
23
|
idemp = createRedisIdempotency(redisClient)
|
|
24
24
|
})
|
|
25
|
+
|
|
25
26
|
afterEach(() => idemp.del(key))
|
|
27
|
+
|
|
26
28
|
after(() => redisClient.quit())
|
|
27
29
|
|
|
28
30
|
it('should set a new key and return true', async () => {
|