@viewfly/core 1.1.7 → 1.1.8
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/bundles/index.esm.js +1 -1
- package/bundles/index.js +1 -1
- package/package.json +2 -2
package/bundles/index.esm.js
CHANGED
|
@@ -1727,7 +1727,7 @@ function createSignal(state) {
|
|
|
1727
1727
|
const subscribers = new Set();
|
|
1728
1728
|
function signal() {
|
|
1729
1729
|
const listener = getCurrentListener();
|
|
1730
|
-
if (listener) {
|
|
1730
|
+
if (listener && !subscribers.has(listener)) {
|
|
1731
1731
|
listener.destroyCallbacks.push(() => {
|
|
1732
1732
|
subscribers.delete(listener);
|
|
1733
1733
|
});
|
package/bundles/index.js
CHANGED
|
@@ -1729,7 +1729,7 @@ function createSignal(state) {
|
|
|
1729
1729
|
const subscribers = new Set();
|
|
1730
1730
|
function signal() {
|
|
1731
1731
|
const listener = getCurrentListener();
|
|
1732
|
-
if (listener) {
|
|
1732
|
+
if (listener && !subscribers.has(listener)) {
|
|
1733
1733
|
listener.destroyCallbacks.push(() => {
|
|
1734
1734
|
subscribers.delete(listener);
|
|
1735
1735
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@viewfly/core",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.8",
|
|
4
4
|
"description": "Viewfly is a simple and easy-to-use JavaScript framework with an intuitive development experience.",
|
|
5
5
|
"main": "./bundles/index.js",
|
|
6
6
|
"module": "./bundles/index.esm.js",
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"bugs": {
|
|
51
51
|
"url": "https://github.com/viewfly/viewfly.git/issues"
|
|
52
52
|
},
|
|
53
|
-
"gitHead": "
|
|
53
|
+
"gitHead": "ce052adff82ca986e0434a0935a1cd14a7e1cb55",
|
|
54
54
|
"dependencies": {
|
|
55
55
|
"reflect-metadata": "^0.2.2"
|
|
56
56
|
}
|