@hyperframes/producer 0.9.41 → 0.9.42
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/distributed.js +174 -108
- package/dist/hyperframe.manifest.json +1 -1
- package/dist/hyperframe.runtime.iife.js +65 -65
- package/dist/index.js +194 -128
- package/dist/public-server.js +173 -109
- package/dist/services/assetMediaType.d.ts +1 -0
- package/dist/services/htmlCompiler.d.ts +1 -1
- package/dist/utils/paths.d.ts +6 -0
- package/package.json +10 -10
package/dist/utils/paths.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Path resolution utilities for the render pipeline.
|
|
3
3
|
*/
|
|
4
|
+
import { type LeftOutReason } from "@hyperframes/studio-server/outside-file";
|
|
4
5
|
export interface RenderPaths {
|
|
5
6
|
absoluteProjectDir: string;
|
|
6
7
|
absoluteOutputPath: string;
|
|
@@ -28,6 +29,11 @@ type IsPathInsideOptions = {
|
|
|
28
29
|
export declare function isPathInside(childPath: string, parentPath: string, options?: IsPathInsideOptions): boolean;
|
|
29
30
|
/** True when `assetRoot` is set and `path`, symlinks resolved, leaves it. */
|
|
30
31
|
export declare function escapesAssetRoot(path: string, assetRoot: string | undefined): boolean;
|
|
32
|
+
/** Why a trusted local render leaves out `path`, which leads outside `projectDir`, as publish does; null to bring it in. */
|
|
33
|
+
export declare function outsideAssetRefusal(projectDir: string, path: string): LeftOutReason | null;
|
|
34
|
+
export declare const leftOutOfRender: (file: string, reference: string, reason: LeftOutReason) => string;
|
|
35
|
+
/** True, after a warning, when a trusted local render must not serve or copy `path`, a project file that leads outside. */
|
|
36
|
+
export declare function refusesOutsideLink(projectDir: string, path: string, warn: (line: string) => void): boolean;
|
|
31
37
|
/**
|
|
32
38
|
* Build a safe, cross-platform relative key for an absolute asset path
|
|
33
39
|
* that lives outside the project directory.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hyperframes/producer",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.42",
|
|
4
4
|
"description": "HTML-to-video rendering engine using Chrome's BeginFrame API",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -33,13 +33,13 @@
|
|
|
33
33
|
"hono": "^4.6.0",
|
|
34
34
|
"linkedom": "^0.18.12",
|
|
35
35
|
"postcss": "^8.4.0",
|
|
36
|
-
"puppeteer": "~25.
|
|
37
|
-
"puppeteer-core": "^25.
|
|
38
|
-
"@hyperframes/
|
|
39
|
-
"@hyperframes/
|
|
40
|
-
"@hyperframes/
|
|
41
|
-
"@hyperframes/
|
|
42
|
-
"@hyperframes/
|
|
36
|
+
"puppeteer": "~25.13.0",
|
|
37
|
+
"puppeteer-core": "^25.13.0",
|
|
38
|
+
"@hyperframes/lint": "0.9.42",
|
|
39
|
+
"@hyperframes/core": "0.9.42",
|
|
40
|
+
"@hyperframes/parsers": "0.9.42",
|
|
41
|
+
"@hyperframes/engine": "0.9.42",
|
|
42
|
+
"@hyperframes/studio-server": "0.9.42"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
45
|
"@types/node": "^25.0.10",
|
|
@@ -47,8 +47,8 @@
|
|
|
47
47
|
"esbuild": "^0.28.2",
|
|
48
48
|
"tsx": "^4.21.0",
|
|
49
49
|
"typescript": "^5.7.2",
|
|
50
|
-
"vitest": "^4.1.
|
|
51
|
-
"@hyperframes/aws-lambda": "0.9.
|
|
50
|
+
"vitest": "^4.1.12",
|
|
51
|
+
"@hyperframes/aws-lambda": "0.9.42"
|
|
52
52
|
},
|
|
53
53
|
"engines": {
|
|
54
54
|
"node": ">=22"
|