miqro 6.2.5 → 6.2.7
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/build/esm/src/services/utils/cache.js +1 -1
- package/build/esm/src/services/utils/cluster-cache.js +2 -2
- package/build/lib.cjs +3 -3
- package/package.json +1 -1
- package/sea/install-esbuild.sh +1 -1
- package/sea/install-nodejs.sh +1 -1
- package/sea/node.version.tag +1 -1
- package/src/services/utils/cache.ts +1 -1
- package/src/services/utils/cluster-cache.ts +2 -2
|
@@ -33,7 +33,7 @@ export class ClusterCache {
|
|
|
33
33
|
if (!(list instanceof Set)) {
|
|
34
34
|
throw new Error("cannot apply push on non array");
|
|
35
35
|
}
|
|
36
|
-
if (list.has(msg.value)) {
|
|
36
|
+
if (!list.has(msg.value)) {
|
|
37
37
|
list.add(msg.value);
|
|
38
38
|
}
|
|
39
39
|
this.localCache.set(msg.key, list);
|
|
@@ -124,7 +124,7 @@ export class ClusterCache {
|
|
|
124
124
|
if (!(list instanceof Set)) {
|
|
125
125
|
throw new Error("cannot apply on non Set");
|
|
126
126
|
}
|
|
127
|
-
if (list.has(value)) {
|
|
127
|
+
if (!list.has(value)) {
|
|
128
128
|
list.add(value);
|
|
129
129
|
}
|
|
130
130
|
this.localCache.set(key, list);
|
package/build/lib.cjs
CHANGED
|
@@ -8784,7 +8784,7 @@ var ClusterCache = class {
|
|
|
8784
8784
|
if (!(list instanceof Set)) {
|
|
8785
8785
|
throw new Error("cannot apply push on non array");
|
|
8786
8786
|
}
|
|
8787
|
-
if (list.has(msg.value)) {
|
|
8787
|
+
if (!list.has(msg.value)) {
|
|
8788
8788
|
list.add(msg.value);
|
|
8789
8789
|
}
|
|
8790
8790
|
this.localCache.set(msg.key, list);
|
|
@@ -8875,7 +8875,7 @@ var ClusterCache = class {
|
|
|
8875
8875
|
if (!(list instanceof Set)) {
|
|
8876
8876
|
throw new Error("cannot apply on non Set");
|
|
8877
8877
|
}
|
|
8878
|
-
if (list.has(value)) {
|
|
8878
|
+
if (!list.has(value)) {
|
|
8879
8879
|
list.add(value);
|
|
8880
8880
|
}
|
|
8881
8881
|
this.localCache.set(key, list);
|
|
@@ -8995,7 +8995,7 @@ var LocalCache = class {
|
|
|
8995
8995
|
if (!(list instanceof Set)) {
|
|
8996
8996
|
throw new Error("cannot apply on non Set");
|
|
8997
8997
|
}
|
|
8998
|
-
if (list.has(value)) {
|
|
8998
|
+
if (!list.has(value)) {
|
|
8999
8999
|
list.add(value);
|
|
9000
9000
|
}
|
|
9001
9001
|
this.localCache.set(key, list);
|
package/package.json
CHANGED
package/sea/install-esbuild.sh
CHANGED
package/sea/install-nodejs.sh
CHANGED
package/sea/node.version.tag
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
24.
|
|
1
|
+
24.2.0
|
|
@@ -45,7 +45,7 @@ export class ClusterCache implements CacheInterface {
|
|
|
45
45
|
if (!(list instanceof Set)) {
|
|
46
46
|
throw new Error("cannot apply push on non array");
|
|
47
47
|
}
|
|
48
|
-
if (list.has(msg.value)) {
|
|
48
|
+
if (!list.has(msg.value)) {
|
|
49
49
|
list.add(msg.value);
|
|
50
50
|
}
|
|
51
51
|
this.localCache.set(msg.key, list);
|
|
@@ -139,7 +139,7 @@ export class ClusterCache implements CacheInterface {
|
|
|
139
139
|
if (!(list instanceof Set)) {
|
|
140
140
|
throw new Error("cannot apply on non Set");
|
|
141
141
|
}
|
|
142
|
-
if (list.has(value)) {
|
|
142
|
+
if (!list.has(value)) {
|
|
143
143
|
list.add(value);
|
|
144
144
|
}
|
|
145
145
|
this.localCache.set(key, list);
|