@domql/element 2.5.207 → 2.5.208

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.
@@ -231,7 +231,7 @@ function error(...params) {
231
231
  if (ENV === "testing" || ENV === "development") {
232
232
  if ((_a = params[params.length - 1]) == null ? void 0 : _a.debugger) debugger;
233
233
  if ((_b = params[params.length - 1]) == null ? void 0 : _b.verbose) verbose.call(this);
234
- throw new Error(...params);
234
+ console.error(...params, this);
235
235
  }
236
236
  }
237
237
  function nextElement() {
@@ -185,7 +185,7 @@ function error(...params) {
185
185
  if (ENV === "testing" || ENV === "development") {
186
186
  if ((_a = params[params.length - 1]) == null ? void 0 : _a.debugger) debugger;
187
187
  if ((_b = params[params.length - 1]) == null ? void 0 : _b.verbose) verbose.call(this);
188
- throw new Error(...params);
188
+ console.error(...params, this);
189
189
  }
190
190
  }
191
191
  function nextElement() {
package/methods/index.js CHANGED
@@ -220,7 +220,7 @@ export function error (...params) {
220
220
  if (ENV === 'testing' || ENV === 'development') {
221
221
  if (params[params.length - 1]?.debugger) debugger // eslint-disable-line
222
222
  if (params[params.length - 1]?.verbose) verbose.call(this)
223
- throw new Error(...params)
223
+ console.error(...params, this)
224
224
  }
225
225
  }
226
226
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@domql/element",
3
- "version": "2.5.207",
3
+ "version": "2.5.208",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "module": "index.js",
@@ -32,7 +32,7 @@
32
32
  "@domql/state": "^2.5.206",
33
33
  "@domql/utils": "^2.5.203"
34
34
  },
35
- "gitHead": "f3418e9788c06eae1f37e1fbcc0fc0075f5b2742",
35
+ "gitHead": "5f25b32969481aa2be4c2c825dfc3de727d6af4e",
36
36
  "devDependencies": {
37
37
  "@babel/core": "^7.12.0"
38
38
  }