@datarails-ai/dr-appspace-cli 0.12.33 → 0.12.34

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/cli.js +4 -5
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -13,7 +13,7 @@ import { fileURLToPath as fileURLToPath6 } from "url";
13
13
  // package.json
14
14
  var package_default = {
15
15
  name: "@datarails-ai/dr-appspace-cli",
16
- version: "0.12.33",
16
+ version: "0.12.34",
17
17
  description: "Datarails App Space CLI \u2014 build, try, push and publish App Space apps",
18
18
  type: "module",
19
19
  engines: {
@@ -57,7 +57,7 @@ var package_default = {
57
57
  };
58
58
 
59
59
  // src/buildInfo.ts
60
- var BUILD_TIME = "2026-10-26T12:07:09.192Z";
60
+ var BUILD_TIME = "2026-10-26T12:43:18.858Z";
61
61
  function formatBuildTime(iso) {
62
62
  if (iso === "") return "";
63
63
  const d = new Date(iso);
@@ -34231,16 +34231,15 @@ var SEE = {
34231
34231
  };
34232
34232
  var NO_COMPONENTS = "This page did not load dr-components; compile it again with the current CLI.";
34233
34233
  var NO_PART = (type) => `${type} is not a part this page's dr-components draws.`;
34234
- var EMBEDDED = /<script\b[^>]*\bid\s*=\s*["']dr-contract["'][^>]*>([\s\S]*?)<\/script>/i;
34235
34234
  function pushedContract(bundle, pages) {
34236
34235
  const order2 = [...pages, ...Object.keys(bundle).filter((path3) => !pages.includes(path3))];
34237
34236
  for (const path3 of order2) {
34238
34237
  const html = bundle[path3];
34239
34238
  if (typeof html !== "string") continue;
34240
- const found = EMBEDDED.exec(html);
34239
+ const found = contractBlockText(html);
34241
34240
  if (found === null) continue;
34242
34241
  try {
34243
- const parsed = JSON.parse(found[1] ?? "");
34242
+ const parsed = JSON.parse(found);
34244
34243
  if (typeof parsed === "object" && parsed !== null && !Array.isArray(parsed)) {
34245
34244
  return parsed;
34246
34245
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@datarails-ai/dr-appspace-cli",
3
- "version": "0.12.33",
3
+ "version": "0.12.34",
4
4
  "description": "Datarails App Space CLI — build, try, push and publish App Space apps",
5
5
  "type": "module",
6
6
  "engines": {