@builder.io/sdk-qwik 0.14.16 → 0.14.17

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.
@@ -279,10 +279,8 @@ _EvalCache.cacheLimit = 20;
279
279
  _EvalCache.cache = /* @__PURE__ */ new Map();
280
280
  let EvalCache = _EvalCache;
281
281
  function evaluate({ code, context, localState, rootState, rootSetState, event, isExpression = true, enableCache }) {
282
- if (code === "") {
283
- logger.warn("Skipping evaluation of empty code block.");
282
+ if (code === "")
284
283
  return void 0;
285
- }
286
284
  const args = {
287
285
  code: parseCode(code, {
288
286
  isExpression
@@ -4384,7 +4382,7 @@ function isFromTrustedHost(trustedHosts, e) {
4384
4382
  const url = new URL(e.origin), hostname = url.hostname;
4385
4383
  return (trustedHosts || DEFAULT_TRUSTED_HOSTS).findIndex((trustedHost) => trustedHost.startsWith("*.") ? hostname.endsWith(trustedHost.slice(1)) : trustedHost === hostname) > -1;
4386
4384
  }
4387
- const SDK_VERSION = "0.14.16";
4385
+ const SDK_VERSION = "0.14.17";
4388
4386
  const registry = {};
4389
4387
  function register(type, info) {
4390
4388
  let typeList = registry[type];
@@ -277,10 +277,8 @@ _EvalCache.cacheLimit = 20;
277
277
  _EvalCache.cache = /* @__PURE__ */ new Map();
278
278
  let EvalCache = _EvalCache;
279
279
  function evaluate({ code, context, localState, rootState, rootSetState, event, isExpression = true, enableCache }) {
280
- if (code === "") {
281
- logger.warn("Skipping evaluation of empty code block.");
280
+ if (code === "")
282
281
  return void 0;
283
- }
284
282
  const args = {
285
283
  code: parseCode(code, {
286
284
  isExpression
@@ -4382,7 +4380,7 @@ function isFromTrustedHost(trustedHosts, e) {
4382
4380
  const url = new URL(e.origin), hostname = url.hostname;
4383
4381
  return (trustedHosts || DEFAULT_TRUSTED_HOSTS).findIndex((trustedHost) => trustedHost.startsWith("*.") ? hostname.endsWith(trustedHost.slice(1)) : trustedHost === hostname) > -1;
4384
4382
  }
4385
- const SDK_VERSION = "0.14.16";
4383
+ const SDK_VERSION = "0.14.17";
4386
4384
  const registry = {};
4387
4385
  function register(type, info) {
4388
4386
  let typeList = registry[type];
@@ -3517,10 +3517,8 @@ _EvalCache.cacheLimit = 20;
3517
3517
  _EvalCache.cache = /* @__PURE__ */ new Map();
3518
3518
  let EvalCache = _EvalCache;
3519
3519
  function evaluate({ code, context, localState, rootState, rootSetState, event, isExpression = true, enableCache }) {
3520
- if (code === "") {
3521
- logger.warn("Skipping evaluation of empty code block.");
3520
+ if (code === "")
3522
3521
  return void 0;
3523
- }
3524
3522
  const args = {
3525
3523
  code: parseCode(code, {
3526
3524
  isExpression
@@ -7615,7 +7613,7 @@ function isFromTrustedHost(trustedHosts, e) {
7615
7613
  const url = new URL(e.origin), hostname = url.hostname;
7616
7614
  return (trustedHosts || DEFAULT_TRUSTED_HOSTS).findIndex((trustedHost) => trustedHost.startsWith("*.") ? hostname.endsWith(trustedHost.slice(1)) : trustedHost === hostname) > -1;
7617
7615
  }
7618
- const SDK_VERSION = "0.14.16";
7616
+ const SDK_VERSION = "0.14.17";
7619
7617
  const registry = {};
7620
7618
  function register(type, info) {
7621
7619
  let typeList = registry[type];
@@ -3515,10 +3515,8 @@ _EvalCache.cacheLimit = 20;
3515
3515
  _EvalCache.cache = /* @__PURE__ */ new Map();
3516
3516
  let EvalCache = _EvalCache;
3517
3517
  function evaluate({ code, context, localState, rootState, rootSetState, event, isExpression = true, enableCache }) {
3518
- if (code === "") {
3519
- logger.warn("Skipping evaluation of empty code block.");
3518
+ if (code === "")
3520
3519
  return void 0;
3521
- }
3522
3520
  const args = {
3523
3521
  code: parseCode(code, {
3524
3522
  isExpression
@@ -7613,7 +7611,7 @@ function isFromTrustedHost(trustedHosts, e) {
7613
7611
  const url = new URL(e.origin), hostname = url.hostname;
7614
7612
  return (trustedHosts || DEFAULT_TRUSTED_HOSTS).findIndex((trustedHost) => trustedHost.startsWith("*.") ? hostname.endsWith(trustedHost.slice(1)) : trustedHost === hostname) > -1;
7615
7613
  }
7616
- const SDK_VERSION = "0.14.16";
7614
+ const SDK_VERSION = "0.14.17";
7617
7615
  const registry = {};
7618
7616
  function register(type, info) {
7619
7617
  let typeList = registry[type];
@@ -409,10 +409,8 @@ _EvalCache.cacheLimit = 20;
409
409
  _EvalCache.cache = /* @__PURE__ */ new Map();
410
410
  let EvalCache = _EvalCache;
411
411
  function evaluate({ code, context, localState, rootState, rootSetState, event, isExpression = true, enableCache }) {
412
- if (code === "") {
413
- logger.warn("Skipping evaluation of empty code block.");
412
+ if (code === "")
414
413
  return void 0;
415
- }
416
414
  const args = {
417
415
  code: parseCode(code, {
418
416
  isExpression
@@ -4506,7 +4504,7 @@ function isFromTrustedHost(trustedHosts, e) {
4506
4504
  const url = new URL(e.origin), hostname = url.hostname;
4507
4505
  return (trustedHosts || DEFAULT_TRUSTED_HOSTS).findIndex((trustedHost) => trustedHost.startsWith("*.") ? hostname.endsWith(trustedHost.slice(1)) : trustedHost === hostname) > -1;
4508
4506
  }
4509
- const SDK_VERSION = "0.14.16";
4507
+ const SDK_VERSION = "0.14.17";
4510
4508
  const registry = {};
4511
4509
  function register(type, info) {
4512
4510
  let typeList = registry[type];
@@ -407,10 +407,8 @@ _EvalCache.cacheLimit = 20;
407
407
  _EvalCache.cache = /* @__PURE__ */ new Map();
408
408
  let EvalCache = _EvalCache;
409
409
  function evaluate({ code, context, localState, rootState, rootSetState, event, isExpression = true, enableCache }) {
410
- if (code === "") {
411
- logger.warn("Skipping evaluation of empty code block.");
410
+ if (code === "")
412
411
  return void 0;
413
- }
414
412
  const args = {
415
413
  code: parseCode(code, {
416
414
  isExpression
@@ -4504,7 +4502,7 @@ function isFromTrustedHost(trustedHosts, e) {
4504
4502
  const url = new URL(e.origin), hostname = url.hostname;
4505
4503
  return (trustedHosts || DEFAULT_TRUSTED_HOSTS).findIndex((trustedHost) => trustedHost.startsWith("*.") ? hostname.endsWith(trustedHost.slice(1)) : trustedHost === hostname) > -1;
4506
4504
  }
4507
- const SDK_VERSION = "0.14.16";
4505
+ const SDK_VERSION = "0.14.17";
4508
4506
  const registry = {};
4509
4507
  function register(type, info) {
4510
4508
  let typeList = registry[type];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@builder.io/sdk-qwik",
3
- "version": "0.14.16",
3
+ "version": "0.14.17",
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.14.16";
1
+ export declare const SDK_VERSION = "0.14.17";