@hyperframes/core 0.9.32 → 0.9.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.
@@ -3,9 +3,9 @@ import { createHash, randomBytes } from "node:crypto";
3
3
  import { basename, dirname, isAbsolute, join, resolve, sep } from "node:path";
4
4
  import { realpath } from "./safePath.js";
5
5
  import { renameWithRetry } from "./renameWithRetry.js";
6
- // Codes a volume without hard links (FAT, exFAT, some network shares) answers link() with.
6
+ // Codes a volume without hard links (FAT, exFAT, some network shares, Android app data) answers link() with.
7
7
  // EISDIR: libuv maps Windows ERROR_INVALID_FUNCTION (FAT/exFAT refusing a link) to it; nodejs/node#65817.
8
- const NO_HARD_LINKS = new Set(["EPERM", "ENOTSUP", "EOPNOTSUPP", "EXDEV", "EISDIR"]);
8
+ const NO_HARD_LINKS = new Set(["EPERM", "ENOTSUP", "EOPNOTSUPP", "EXDEV", "EISDIR", "EACCES"]);
9
9
  const MAX_LINK_HOPS = 40;
10
10
  const TEMP_NAME_TRIES = 3;
11
11
  const TEMP_SUFFIX = /\.hf[0-9a-f]{6}\.tmp$/;
@@ -3,6 +3,7 @@ export { compileTimingAttrs, injectDurations, extractResolvedMedia, clampDuratio
3
3
  export { compileHtml, type MediaDurationProber } from "./htmlCompiler.js";
4
4
  export { assignBundledRuntimeCompositionIds, type BundledHostCompositionIdentity, bundleToSingleHtml, type BundleOptions, type BundleScriptProvenance, prepareFlattenedInnerRoot, FLATTENED_INNER_ROOT_STRIP_ATTRS, emitRootCompositionVariableStyles, parsesAsScript, } from "./htmlBundler.js";
5
5
  export { readDeclaredDefaults, parseHostVariableValues } from "../runtime/getVariables.js";
6
+ export { boundMediaSrc } from "../runtime/applyVariableBindings.js";
6
7
  export { extractCompiledHtmlParityContract, type CompiledHtmlParityContract, type HtmlParityComposition, type HtmlParityResource, type HtmlParityTimedElement, } from "./htmlParityContract.js";
7
8
  export { RUNTIME_BOOTSTRAP_ATTR, injectScriptsAtHeadStart, injectTagsAtHeadStart, injectScriptsIntoHtml, insertBeforeCloseTag, insertRuntimeTag, isRuntimeFileUrl, parseHTMLContent, stripEmbeddedRuntimeScripts, } from "./htmlDocument.js";
8
9
  export { addScenePartsManifest } from "./scenePartsManifest.js";
@@ -8,6 +8,7 @@ export { compileHtml } from "./htmlCompiler.js";
8
8
  // HTML bundler (Node.js — requires fs, linkedom, esbuild)
9
9
  export { assignBundledRuntimeCompositionIds, bundleToSingleHtml, prepareFlattenedInnerRoot, FLATTENED_INNER_ROOT_STRIP_ATTRS, emitRootCompositionVariableStyles, parsesAsScript, } from "./htmlBundler.js";
10
10
  export { readDeclaredDefaults, parseHostVariableValues } from "../runtime/getVariables.js";
11
+ export { boundMediaSrc } from "../runtime/applyVariableBindings.js";
11
12
  export { extractCompiledHtmlParityContract, } from "./htmlParityContract.js";
12
13
  export { RUNTIME_BOOTSTRAP_ATTR, injectScriptsAtHeadStart, injectTagsAtHeadStart, injectScriptsIntoHtml, insertBeforeCloseTag, insertRuntimeTag, isRuntimeFileUrl, parseHTMLContent, stripEmbeddedRuntimeScripts, } from "./htmlDocument.js";
13
14
  export { addScenePartsManifest } from "./scenePartsManifest.js";