deepspace 0.26.1 → 0.26.2

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/dist/cli.js CHANGED
@@ -5649,6 +5649,7 @@ function oversizedAssetRefusal(assets) {
5649
5649
  return `${tooBig.path} is ${formatBytes(tooBig.size)}; the per-file limit for deploy assets is ${formatBytes(MAX_DEPLOY_ASSET_FILE_BYTES)}. ${LARGE_MEDIA_HOME}`;
5650
5650
  }
5651
5651
  var CLIENT_CODE_ASSET = /\.(?:js|mjs|html)$/i;
5652
+ var DOCUMENTATION_PAGE_CHUNK = /(?:^|\/)documentation-page-[^/]+\.js$/i;
5652
5653
  var APP_ID_LITERAL = /app_[0-9A-HJKMNP-TV-Z]{26}/g;
5653
5654
  var APP_ID_DEFINE = "__DEEPSPACE_APP_ID__";
5654
5655
  function clientAppIdRefusal(assets, appId, envName) {
@@ -5656,6 +5657,7 @@ function clientAppIdRefusal(assets, appId, envName) {
5656
5657
  let unsubstituted;
5657
5658
  for (const asset of assets) {
5658
5659
  if (!CLIENT_CODE_ASSET.test(asset.path)) continue;
5660
+ if (DOCUMENTATION_PAGE_CHUNK.test(asset.path)) continue;
5659
5661
  const source = readFileSync15(asset.sourcePath, "utf-8");
5660
5662
  if (unsubstituted === void 0 && source.includes(APP_ID_DEFINE)) unsubstituted = asset.path;
5661
5663
  for (const found of source.matchAll(APP_ID_LITERAL)) {
@@ -15105,7 +15107,7 @@ import { join as join28, resolve as resolve22 } from "path";
15105
15107
  // package.json
15106
15108
  var package_default = {
15107
15109
  name: "deepspace",
15108
- version: "0.26.1",
15110
+ version: "0.26.2",
15109
15111
  engines: {
15110
15112
  node: ">=22.15.0 <23 || >=24 <25 || >=26 <27"
15111
15113
  },