@domql/state 2.5.45 → 2.5.46
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/cjs/methods.js +0 -1
- package/methods.js +0 -1
- package/package.json +2 -2
package/dist/cjs/methods.js
CHANGED
|
@@ -124,7 +124,6 @@ const toggle = function(key, options = {}) {
|
|
|
124
124
|
};
|
|
125
125
|
const remove = function(key, options = {}) {
|
|
126
126
|
const state = this;
|
|
127
|
-
console.log(state);
|
|
128
127
|
if ((0, import_utils.isArray)(state))
|
|
129
128
|
(0, import_utils.removeFromArray)(state, key);
|
|
130
129
|
if ((0, import_utils.isObject)(state))
|
package/methods.js
CHANGED
|
@@ -102,7 +102,6 @@ export const toggle = function (key, options = {}) {
|
|
|
102
102
|
|
|
103
103
|
export const remove = function (key, options = {}) {
|
|
104
104
|
const state = this
|
|
105
|
-
console.log(state)
|
|
106
105
|
if (isArray(state)) removeFromArray(state, key)
|
|
107
106
|
if (isObject(state)) removeFromObject(state, key)
|
|
108
107
|
return state.set(state.parse(), { replace: true, ...options })
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@domql/state",
|
|
3
|
-
"version": "2.5.
|
|
3
|
+
"version": "2.5.46",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "dist/esm/index.js",
|
|
@@ -31,5 +31,5 @@
|
|
|
31
31
|
"@domql/report": "latest",
|
|
32
32
|
"@domql/utils": "latest"
|
|
33
33
|
},
|
|
34
|
-
"gitHead": "
|
|
34
|
+
"gitHead": "9204dcaa75cdcc20bcb434451fe81b473194e009"
|
|
35
35
|
}
|