@builder.io/sdk-qwik 0.14.27 → 0.14.28
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 +3 -1
- package/lib/browser/index.qwik.mjs +3 -1
- package/lib/edge/index.qwik.cjs +3 -1
- package/lib/edge/index.qwik.mjs +3 -1
- package/lib/node/index.qwik.cjs +3 -1
- package/lib/node/index.qwik.mjs +3 -1
- package/package.json +1 -1
- package/types/src/constants/sdk-version.d.ts +1 -1
|
@@ -5096,10 +5096,12 @@ const DEFAULT_TRUSTED_HOSTS = [
|
|
|
5096
5096
|
"qa.builder.io"
|
|
5097
5097
|
];
|
|
5098
5098
|
function isFromTrustedHost(trustedHosts, e) {
|
|
5099
|
+
if (!e.origin.startsWith("http") && !e.origin.startsWith("https"))
|
|
5100
|
+
return false;
|
|
5099
5101
|
const url = new URL(e.origin), hostname = url.hostname;
|
|
5100
5102
|
return (trustedHosts || DEFAULT_TRUSTED_HOSTS).findIndex((trustedHost) => trustedHost.startsWith("*.") ? hostname.endsWith(trustedHost.slice(1)) : trustedHost === hostname) > -1;
|
|
5101
5103
|
}
|
|
5102
|
-
const SDK_VERSION = "0.14.
|
|
5104
|
+
const SDK_VERSION = "0.14.28";
|
|
5103
5105
|
const registry = {};
|
|
5104
5106
|
function register(type, info) {
|
|
5105
5107
|
let typeList = registry[type];
|
|
@@ -5094,10 +5094,12 @@ const DEFAULT_TRUSTED_HOSTS = [
|
|
|
5094
5094
|
"qa.builder.io"
|
|
5095
5095
|
];
|
|
5096
5096
|
function isFromTrustedHost(trustedHosts, e) {
|
|
5097
|
+
if (!e.origin.startsWith("http") && !e.origin.startsWith("https"))
|
|
5098
|
+
return false;
|
|
5097
5099
|
const url = new URL(e.origin), hostname = url.hostname;
|
|
5098
5100
|
return (trustedHosts || DEFAULT_TRUSTED_HOSTS).findIndex((trustedHost) => trustedHost.startsWith("*.") ? hostname.endsWith(trustedHost.slice(1)) : trustedHost === hostname) > -1;
|
|
5099
5101
|
}
|
|
5100
|
-
const SDK_VERSION = "0.14.
|
|
5102
|
+
const SDK_VERSION = "0.14.28";
|
|
5101
5103
|
const registry = {};
|
|
5102
5104
|
function register(type, info) {
|
|
5103
5105
|
let typeList = registry[type];
|
package/lib/edge/index.qwik.cjs
CHANGED
|
@@ -8320,10 +8320,12 @@ const DEFAULT_TRUSTED_HOSTS = [
|
|
|
8320
8320
|
"qa.builder.io"
|
|
8321
8321
|
];
|
|
8322
8322
|
function isFromTrustedHost(trustedHosts, e) {
|
|
8323
|
+
if (!e.origin.startsWith("http") && !e.origin.startsWith("https"))
|
|
8324
|
+
return false;
|
|
8323
8325
|
const url = new URL(e.origin), hostname = url.hostname;
|
|
8324
8326
|
return (trustedHosts || DEFAULT_TRUSTED_HOSTS).findIndex((trustedHost) => trustedHost.startsWith("*.") ? hostname.endsWith(trustedHost.slice(1)) : trustedHost === hostname) > -1;
|
|
8325
8327
|
}
|
|
8326
|
-
const SDK_VERSION = "0.14.
|
|
8328
|
+
const SDK_VERSION = "0.14.28";
|
|
8327
8329
|
const registry = {};
|
|
8328
8330
|
function register(type, info) {
|
|
8329
8331
|
let typeList = registry[type];
|
package/lib/edge/index.qwik.mjs
CHANGED
|
@@ -8318,10 +8318,12 @@ const DEFAULT_TRUSTED_HOSTS = [
|
|
|
8318
8318
|
"qa.builder.io"
|
|
8319
8319
|
];
|
|
8320
8320
|
function isFromTrustedHost(trustedHosts, e) {
|
|
8321
|
+
if (!e.origin.startsWith("http") && !e.origin.startsWith("https"))
|
|
8322
|
+
return false;
|
|
8321
8323
|
const url = new URL(e.origin), hostname = url.hostname;
|
|
8322
8324
|
return (trustedHosts || DEFAULT_TRUSTED_HOSTS).findIndex((trustedHost) => trustedHost.startsWith("*.") ? hostname.endsWith(trustedHost.slice(1)) : trustedHost === hostname) > -1;
|
|
8323
8325
|
}
|
|
8324
|
-
const SDK_VERSION = "0.14.
|
|
8326
|
+
const SDK_VERSION = "0.14.28";
|
|
8325
8327
|
const registry = {};
|
|
8326
8328
|
function register(type, info) {
|
|
8327
8329
|
let typeList = registry[type];
|
package/lib/node/index.qwik.cjs
CHANGED
|
@@ -5228,10 +5228,12 @@ const DEFAULT_TRUSTED_HOSTS = [
|
|
|
5228
5228
|
"qa.builder.io"
|
|
5229
5229
|
];
|
|
5230
5230
|
function isFromTrustedHost(trustedHosts, e) {
|
|
5231
|
+
if (!e.origin.startsWith("http") && !e.origin.startsWith("https"))
|
|
5232
|
+
return false;
|
|
5231
5233
|
const url = new URL(e.origin), hostname = url.hostname;
|
|
5232
5234
|
return (trustedHosts || DEFAULT_TRUSTED_HOSTS).findIndex((trustedHost) => trustedHost.startsWith("*.") ? hostname.endsWith(trustedHost.slice(1)) : trustedHost === hostname) > -1;
|
|
5233
5235
|
}
|
|
5234
|
-
const SDK_VERSION = "0.14.
|
|
5236
|
+
const SDK_VERSION = "0.14.28";
|
|
5235
5237
|
const registry = {};
|
|
5236
5238
|
function register(type, info) {
|
|
5237
5239
|
let typeList = registry[type];
|
package/lib/node/index.qwik.mjs
CHANGED
|
@@ -5226,10 +5226,12 @@ const DEFAULT_TRUSTED_HOSTS = [
|
|
|
5226
5226
|
"qa.builder.io"
|
|
5227
5227
|
];
|
|
5228
5228
|
function isFromTrustedHost(trustedHosts, e) {
|
|
5229
|
+
if (!e.origin.startsWith("http") && !e.origin.startsWith("https"))
|
|
5230
|
+
return false;
|
|
5229
5231
|
const url = new URL(e.origin), hostname = url.hostname;
|
|
5230
5232
|
return (trustedHosts || DEFAULT_TRUSTED_HOSTS).findIndex((trustedHost) => trustedHost.startsWith("*.") ? hostname.endsWith(trustedHost.slice(1)) : trustedHost === hostname) > -1;
|
|
5231
5233
|
}
|
|
5232
|
-
const SDK_VERSION = "0.14.
|
|
5234
|
+
const SDK_VERSION = "0.14.28";
|
|
5233
5235
|
const registry = {};
|
|
5234
5236
|
function register(type, info) {
|
|
5235
5237
|
let typeList = registry[type];
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "0.14.
|
|
1
|
+
export declare const SDK_VERSION = "0.14.28";
|