@domql/element 2.4.3 → 2.4.4

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.
@@ -30,7 +30,7 @@ const state = (params, element, node) => {
30
30
  for (const param in state2) {
31
31
  if (import_state.IGNORE_STATE_PARAMS.includes(param))
32
32
  continue;
33
- if (!state2.hasOwnProperty(param))
33
+ if (!Object.hasOwnProperty.call(state2, param))
34
34
  continue;
35
35
  element.state[param] = (0, import_utils.exec)(state2[param], element);
36
36
  }
package/mixins/state.js CHANGED
@@ -9,7 +9,7 @@ export const state = (params, element, node) => {
9
9
  if (isObject(state)) {
10
10
  for (const param in state) {
11
11
  if (IGNORE_STATE_PARAMS.includes(param)) continue
12
- if (!state.hasOwnProperty(param)) continue
12
+ if (!Object.hasOwnProperty.call(state, param)) continue
13
13
  element.state[param] = exec(state[param], element)
14
14
  }
15
15
  }
@@ -17,4 +17,4 @@ export const state = (params, element, node) => {
17
17
  return element
18
18
  }
19
19
 
20
- export default state
20
+ export default state
package/node.js CHANGED
@@ -66,7 +66,7 @@ export const createNode = (element, options) => {
66
66
  isVariant(param) ||
67
67
  isObject(registry[param])
68
68
  ) continue
69
-
69
+
70
70
  const isElement = applyParam(param, element, options)
71
71
  if (isElement) {
72
72
  const { hasDefine, hasContextDefine } = isElement
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@domql/element",
3
- "version": "2.4.3",
3
+ "version": "2.4.4",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "module": "index.js",
@@ -31,7 +31,7 @@
31
31
  "@domql/state": "latest",
32
32
  "@domql/utils": "latest"
33
33
  },
34
- "gitHead": "d0ae1aa84a60b1b08137481b66c39ff638c2d036",
34
+ "gitHead": "7cd7195bfa99a253070a8db387483bb28720bf39",
35
35
  "devDependencies": {
36
36
  "@babel/core": "^7.12.0"
37
37
  }