@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.
- package/lib/browser/index.qwik.cjs +1 -1
- package/lib/browser/index.qwik.mjs +1 -1
- package/lib/edge/index.qwik.cjs +1 -1
- package/lib/edge/index.qwik.mjs +1 -1
- package/lib/node/index.qwik.cjs +2 -2
- package/lib/node/index.qwik.mjs +2 -2
- package/lib/node/{node-evaluate-1a278bf5.cjs → node-evaluate-4014c795.cjs} +7 -2
- package/lib/node/{node-evaluate-15fe5e77.js → node-evaluate-db446d2b.js} +6 -1
- package/package.json +1 -1
- package/types/src/constants/sdk-version.d.ts +1 -1
- package/types/src/functions/evaluate/node-runtime/safeDynamicRequire.d.ts +0 -4
package/lib/edge/index.qwik.cjs
CHANGED
package/lib/edge/index.qwik.mjs
CHANGED
package/lib/node/index.qwik.cjs
CHANGED
|
@@ -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-
|
|
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.
|
|
3271
|
+
const SDK_VERSION = "0.8.1";
|
|
3272
3272
|
const registry = {};
|
|
3273
3273
|
function register(type, info) {
|
|
3274
3274
|
let typeList = registry[type];
|
package/lib/node/index.qwik.mjs
CHANGED
|
@@ -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-
|
|
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.
|
|
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 = () =>
|
|
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-
|
|
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 = () =>
|
|
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 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "0.8.
|
|
1
|
+
export declare const SDK_VERSION = "0.8.1";
|