@hyperframes/producer 0.1.2 → 0.1.3

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.
@@ -104839,6 +104839,7 @@ import { existsSync as existsSync11, readFileSync as readFileSync5 } from "node:
104839
104839
  import { dirname as dirname7, resolve as resolve6 } from "node:path";
104840
104840
  import { fileURLToPath as fileURLToPath2 } from "node:url";
104841
104841
  var PRODUCER_DIR = dirname7(fileURLToPath2(import.meta.url));
104842
+ var SIBLING_MANIFEST_PATH = resolve6(PRODUCER_DIR, "hyperframe.manifest.json");
104842
104843
  var MODULE_RELATIVE_MANIFEST_PATH = resolve6(
104843
104844
  PRODUCER_DIR,
104844
104845
  "../../../core/dist/hyperframe.manifest.json"
@@ -104851,7 +104852,11 @@ function resolveHyperframeManifestPath() {
104851
104852
  if (process.env.PRODUCER_HYPERFRAME_MANIFEST_PATH) {
104852
104853
  return process.env.PRODUCER_HYPERFRAME_MANIFEST_PATH;
104853
104854
  }
104854
- const candidates = [...CWD_RELATIVE_MANIFEST_PATHS, MODULE_RELATIVE_MANIFEST_PATH];
104855
+ const candidates = [
104856
+ SIBLING_MANIFEST_PATH,
104857
+ ...CWD_RELATIVE_MANIFEST_PATHS,
104858
+ MODULE_RELATIVE_MANIFEST_PATH
104859
+ ];
104855
104860
  for (const candidate of candidates) {
104856
104861
  if (existsSync11(candidate)) {
104857
104862
  return candidate;
@@ -105790,8 +105795,9 @@ function ensureFullDocument(html) {
105790
105795
  <html>
105791
105796
  <head>
105792
105797
  <meta charset="UTF-8">
105798
+ <style>*{margin:0;padding:0;box-sizing:border-box}body{overflow:hidden;background:#000}</style>
105793
105799
  </head>
105794
- <body>
105800
+ <body style="margin:0;overflow:hidden">
105795
105801
  ${html}
105796
105802
  </body>
105797
105803
  </html>`;