@jsenv/navi 0.26.27 → 0.26.28
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/dist/jsenv_navi.js +4 -3
- package/dist/jsenv_navi.js.map +3 -3
- package/package.json +1 -1
package/dist/jsenv_navi.js
CHANGED
|
@@ -5323,6 +5323,7 @@ const stateSignal = (defaultValue, options = {}) => {
|
|
|
5323
5323
|
persists = false,
|
|
5324
5324
|
debug,
|
|
5325
5325
|
default: staticFallback,
|
|
5326
|
+
ignoreArrayOrder = true,
|
|
5326
5327
|
} = options;
|
|
5327
5328
|
|
|
5328
5329
|
// Check if defaultValue is a signal (dynamic default) or static value
|
|
@@ -5415,15 +5416,15 @@ const stateSignal = (defaultValue, options = {}) => {
|
|
|
5415
5416
|
const dynamicValue = dynamicDefaultSignal.peek();
|
|
5416
5417
|
if (dynamicValue === undefined) {
|
|
5417
5418
|
return !compareTwoJsValues(value, staticDefaultValue, {
|
|
5418
|
-
ignoreArrayOrder
|
|
5419
|
+
ignoreArrayOrder,
|
|
5419
5420
|
});
|
|
5420
5421
|
}
|
|
5421
5422
|
return !compareTwoJsValues(value, dynamicValue, {
|
|
5422
|
-
ignoreArrayOrder
|
|
5423
|
+
ignoreArrayOrder,
|
|
5423
5424
|
});
|
|
5424
5425
|
}
|
|
5425
5426
|
return !compareTwoJsValues(value, staticDefaultValue, {
|
|
5426
|
-
ignoreArrayOrder
|
|
5427
|
+
ignoreArrayOrder,
|
|
5427
5428
|
});
|
|
5428
5429
|
};
|
|
5429
5430
|
|