revojs 0.0.5 → 0.0.7

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.
Files changed (2) hide show
  1. package/dist/index.js +3 -3
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -390,7 +390,7 @@ const toCustomElement = (component) => {
390
390
  component;
391
391
  constructor() {
392
392
  super();
393
- this.component = new component(undefined, undefined, this);
393
+ this.component = new component(void 0, void 0, this);
394
394
  }
395
395
  async connectedCallback() {
396
396
  const shadow = this.component.shadowRoot ? this.attachShadow(this.component.shadowRoot) : this;
@@ -650,7 +650,7 @@ var Radix = class Radix {
650
650
  segment = ":";
651
651
  }
652
652
  let childNode = node.children.get(segment);
653
- if (childNode === undefined) {
653
+ if (childNode === void 0) {
654
654
  childNode = new Radix(input);
655
655
  node.children.set(segment, childNode);
656
656
  }
@@ -770,7 +770,7 @@ const Outlet = defineComponent({
770
770
  return async () => {
771
771
  const { value, inputs } = radix.match(url.value.pathname);
772
772
  const Page = await value?.();
773
- if (Page) return h(Page, inputs);
773
+ if (Page) return /* @__PURE__ */ h(Page, inputs);
774
774
  };
775
775
  }
776
776
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "revojs",
3
- "version": "0.0.5",
3
+ "version": "0.0.7",
4
4
  "type": "module",
5
5
  "repository": "coverbase/revojs",
6
6
  "license": "MIT",
@@ -30,8 +30,8 @@
30
30
  "defu": "^6.1.4"
31
31
  },
32
32
  "devDependencies": {
33
- "@revojs/tsconfig": "0.0.2",
34
- "@revojs/rolldown": "0.0.2",
33
+ "@revojs/tsconfig": "0.0.6",
34
+ "@revojs/rolldown": "0.0.6",
35
35
  "rolldown": "^1.0.0-beta.1"
36
36
  }
37
37
  }