@builder.io/sdk-qwik 0.8.0 → 0.8.1

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.
@@ -3167,7 +3167,7 @@ const getInteractionPropertiesForEvent = (event) => {
3167
3167
  }
3168
3168
  };
3169
3169
  };
3170
- const SDK_VERSION = "0.8.0";
3170
+ const SDK_VERSION = "0.8.1";
3171
3171
  const registry = {};
3172
3172
  function register(type, info) {
3173
3173
  let typeList = registry[type];
@@ -3165,7 +3165,7 @@ const getInteractionPropertiesForEvent = (event) => {
3165
3165
  }
3166
3166
  };
3167
3167
  };
3168
- const SDK_VERSION = "0.8.0";
3168
+ const SDK_VERSION = "0.8.1";
3169
3169
  const registry = {};
3170
3170
  function register(type, info) {
3171
3171
  let typeList = registry[type];
@@ -6398,7 +6398,7 @@ const getInteractionPropertiesForEvent = (event) => {
6398
6398
  }
6399
6399
  };
6400
6400
  };
6401
- const SDK_VERSION = "0.8.0";
6401
+ const SDK_VERSION = "0.8.1";
6402
6402
  const registry = {};
6403
6403
  function register(type, info) {
6404
6404
  let typeList = registry[type];
@@ -6396,7 +6396,7 @@ const getInteractionPropertiesForEvent = (event) => {
6396
6396
  }
6397
6397
  };
6398
6398
  };
6399
- const SDK_VERSION = "0.8.0";
6399
+ const SDK_VERSION = "0.8.1";
6400
6400
  const registry = {};
6401
6401
  function register(type, info) {
6402
6402
  let typeList = registry[type];
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const qwik = require("@builder.io/qwik");
4
4
  const jsxRuntime = require("@builder.io/qwik/jsx-runtime");
5
- const nodeEvaluate = require("./node-evaluate-1a278bf5.cjs");
5
+ const nodeEvaluate = require("./node-evaluate-4014c795.cjs");
6
6
  const build = require("@builder.io/qwik/build");
7
7
  require("node:module");
8
8
  const Button = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl((props) => {
@@ -3268,7 +3268,7 @@ const getInteractionPropertiesForEvent = (event) => {
3268
3268
  }
3269
3269
  };
3270
3270
  };
3271
- const SDK_VERSION = "0.8.0";
3271
+ const SDK_VERSION = "0.8.1";
3272
3272
  const registry = {};
3273
3273
  function register(type, info) {
3274
3274
  let typeList = registry[type];
@@ -1,6 +1,6 @@
1
1
  import { componentQrl, inlinedQrl, useStylesScopedQrl, _jsxC, _jsxS, _fnSignal, createContextId, _jsxQ, _jsxBranch, useComputedQrl, useLexicalScope, _IMMUTABLE, Slot, useStore, useContextProvider, _wrapProp, useContext, createElement, Fragment as Fragment$1, useSignal, useOn, useTaskQrl } from "@builder.io/qwik";
2
2
  import { Fragment } from "@builder.io/qwik/jsx-runtime";
3
- import { s as safeDynamicRequire } from "./node-evaluate-15fe5e77.js";
3
+ import { s as safeDynamicRequire } from "./node-evaluate-db446d2b.js";
4
4
  import { isServer } from "@builder.io/qwik/build";
5
5
  import "node:module";
6
6
  const Button = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) => {
@@ -3266,7 +3266,7 @@ const getInteractionPropertiesForEvent = (event) => {
3266
3266
  }
3267
3267
  };
3268
3268
  };
3269
- const SDK_VERSION = "0.8.0";
3269
+ const SDK_VERSION = "0.8.1";
3270
3270
  const registry = {};
3271
3271
  function register(type, info) {
3272
3272
  let typeList = registry[type];
@@ -1,9 +1,14 @@
1
1
  "use strict";
2
2
  const node_module = require("node:module");
3
3
  var _documentCurrentScript = typeof document !== "undefined" ? document.currentScript : null;
4
- const noop = () => null;
4
+ const noop = () => {
5
+ };
5
6
  exports.safeDynamicRequire = noop;
6
7
  try {
7
- exports.safeDynamicRequire = node_module.createRequire(typeof document === "undefined" ? require("url").pathToFileURL(__filename).href : _documentCurrentScript && _documentCurrentScript.src || new URL("node-evaluate-1a278bf5.cjs", document.baseURI).href);
8
+ exports.safeDynamicRequire = node_module.createRequire(typeof document === "undefined" ? require("url").pathToFileURL(__filename).href : _documentCurrentScript && _documentCurrentScript.src || new URL("node-evaluate-4014c795.cjs", document.baseURI).href);
8
9
  } catch (error) {
10
+ try {
11
+ exports.safeDynamicRequire = eval("require");
12
+ } catch (error2) {
13
+ }
9
14
  }
@@ -1,9 +1,14 @@
1
1
  import { createRequire } from "node:module";
2
- const noop = () => null;
2
+ const noop = () => {
3
+ };
3
4
  let safeDynamicRequire = noop;
4
5
  try {
5
6
  safeDynamicRequire = createRequire(import.meta.url);
6
7
  } catch (error) {
8
+ try {
9
+ safeDynamicRequire = eval("require");
10
+ } catch (error2) {
11
+ }
7
12
  }
8
13
  export {
9
14
  safeDynamicRequire as s
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@builder.io/sdk-qwik",
3
- "version": "0.8.0",
3
+ "version": "0.8.1",
4
4
  "homepage": "https://github.com/BuilderIO/builder/tree/main/packages/sdks/output/qwik",
5
5
  "repository": {
6
6
  "type": "git",
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.8.0";
1
+ export declare const SDK_VERSION = "0.8.1";
@@ -1,5 +1 @@
1
- /**
2
- * We use the less hacky, but more modern `createRequire` API. That's because the `eval('require')` trick does
3
- * not work with for this framework.
4
- */
5
1
  export declare let safeDynamicRequire: typeof require;