@tachybase/schema 1.3.40 → 1.3.42

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.
@@ -59,7 +59,7 @@ const createShallowProxy = /* @__PURE__ */ __name((target) => {
59
59
  const createObservable = /* @__PURE__ */ __name((target, key, value, shallow) => {
60
60
  if (typeof value !== "object") return value;
61
61
  const raw = import_environment.ProxyRaw.get(value);
62
- if (!!raw) {
62
+ if (raw) {
63
63
  const node = (0, import_tree.getDataNode)(raw);
64
64
  if (!node.target) node.target = target;
65
65
  node.key = key;
@@ -68,7 +68,7 @@ const _DataNode = class _DataNode {
68
68
  contains(node) {
69
69
  if (node === this) return true;
70
70
  let parent = node.parent;
71
- while (!!parent) {
71
+ while (parent) {
72
72
  if (this.isEqual(parent)) return true;
73
73
  parent = parent.parent;
74
74
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tachybase/schema",
3
- "version": "1.3.40",
3
+ "version": "1.3.42",
4
4
  "license": "Apache-2.0",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",