fullbleed 0.4.0 → 0.4.1
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/README.md +8 -3
- package/dist/THIRD_PARTY_NOTICES.txt +7 -7
- package/dist/browser/asset-manifest.json +10 -7
- package/dist/browser/client.js +2 -2
- package/dist/browser/worker.js +3 -3
- package/dist/build.json +14 -11
- package/dist/engine.wasm +0 -0
- package/package.json +2 -2
- package/src/copy-browser-assets.cjs +1 -1
package/README.md
CHANGED
|
@@ -14,8 +14,8 @@ also includes a ZIP for local development.
|
|
|
14
14
|
Using Vue? The [Vue and TypeScript starter](examples/vue) includes editable
|
|
15
15
|
templates, automatic previews, downloads, and a reusable `usePdfPreview` composable.
|
|
16
16
|
|
|
17
|
-
This is an optional integration around the published **Fullbleed 2.5.
|
|
18
|
-
The package has its own version, **0.4.
|
|
17
|
+
This is an optional integration around the published **Fullbleed 2.5.22** engine.
|
|
18
|
+
The package has its own version, **0.4.1**. Node applications can use a shared
|
|
19
19
|
render queue to bound active renders and waiting requests, include queue time in
|
|
20
20
|
deadlines, cancel waiting jobs, and stop rendering cleanly during shutdown.
|
|
21
21
|
The browser entry renders in a Web Worker, and the Node API supports worker and
|
|
@@ -25,6 +25,11 @@ process isolation. See the [browser guide](docs/browser.md),
|
|
|
25
25
|
[font-family checks](https://github.com/fullbleed-engine/fullbleed-node/blob/main/docs/font-families.md), and
|
|
26
26
|
[embedded-font checks](https://github.com/fullbleed-engine/fullbleed-node/blob/main/docs/font-subsets.md) for the retained fixtures.
|
|
27
27
|
|
|
28
|
+
Version 0.4.1 brings the engine's recent layout fixes to both JavaScript entries.
|
|
29
|
+
The [engine update checks](https://github.com/fullbleed-engine/fullbleed-node/blob/main/docs/engine-2.5.22.md)
|
|
30
|
+
cover nested counters, clipped effects, border-image tiling, and floated initials
|
|
31
|
+
with independent text, color, and Chrome print expectations.
|
|
32
|
+
|
|
28
33
|
## Install and render
|
|
29
34
|
|
|
30
35
|
Use Node.js 22 or newer. Install the [npm package](https://www.npmjs.com/package/fullbleed):
|
|
@@ -33,7 +38,7 @@ Use Node.js 22 or newer. Install the [npm package](https://www.npmjs.com/package
|
|
|
33
38
|
npm install fullbleed
|
|
34
39
|
```
|
|
35
40
|
|
|
36
|
-
For a version-pinned installation, use `npm install --save-exact fullbleed@0.4.
|
|
41
|
+
For a version-pinned installation, use `npm install --save-exact fullbleed@0.4.1`.
|
|
37
42
|
Package archives and retained PDF/PNG evidence are attached to each
|
|
38
43
|
[GitHub release](https://github.com/fullbleed-engine/fullbleed-node/releases).
|
|
39
44
|
The [installation verification records](https://github.com/fullbleed-engine/fullbleed-node/tree/main/verification)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
fullbleed 2.5.
|
|
1
|
+
fullbleed 2.5.22 / LICENSE
|
|
2
2
|
|
|
3
3
|
MIT License
|
|
4
4
|
|
|
@@ -23,7 +23,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
|
23
23
|
SOFTWARE.
|
|
24
24
|
|
|
25
25
|
|
|
26
|
-
fullbleed 2.5.
|
|
26
|
+
fullbleed 2.5.22 / THIRD_PARTY_LICENSES.md
|
|
27
27
|
|
|
28
28
|
<!-- SPDX-License-Identifier: MIT -->
|
|
29
29
|
# Third-Party Licenses
|
|
@@ -826,7 +826,7 @@ IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
|
|
826
826
|
DEALINGS IN THE SOFTWARE.
|
|
827
827
|
|
|
828
828
|
|
|
829
|
-
fullbleed 2.5.
|
|
829
|
+
fullbleed 2.5.22 / src/preview_fonts/LICENSE-Liberation.txt
|
|
830
830
|
|
|
831
831
|
Digitized data copyright (c) 2010 Google Corporation
|
|
832
832
|
with Reserved Font Arimo, Tinos and Cousine.
|
|
@@ -932,7 +932,7 @@ DEALINGS IN THE FONT SOFTWARE.
|
|
|
932
932
|
|
|
933
933
|
|
|
934
934
|
|
|
935
|
-
fullbleed 2.5.
|
|
935
|
+
fullbleed 2.5.22 / src/preview_fonts/LICENSE-NotoSans.txt
|
|
936
936
|
|
|
937
937
|
Copyright 2022 The Noto Project Authors (https://github.com/notofonts/latin-greek-cyrillic)
|
|
938
938
|
|
|
@@ -1031,7 +1031,7 @@ FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
|
|
1031
1031
|
OTHER DEALINGS IN THE FONT SOFTWARE.
|
|
1032
1032
|
|
|
1033
1033
|
|
|
1034
|
-
fullbleed 2.5.
|
|
1034
|
+
fullbleed 2.5.22 / src/preview_fonts/LICENSE-NotoSansMath.txt
|
|
1035
1035
|
|
|
1036
1036
|
Copyright 2018 Google LLC. All Rights Reserved.
|
|
1037
1037
|
|
|
@@ -1130,7 +1130,7 @@ FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
|
|
1130
1130
|
OTHER DEALINGS IN THE FONT SOFTWARE.
|
|
1131
1131
|
|
|
1132
1132
|
|
|
1133
|
-
fullbleed 2.5.
|
|
1133
|
+
fullbleed 2.5.22 / src/preview_fonts/LICENSE-NotoSansSymbols.txt
|
|
1134
1134
|
|
|
1135
1135
|
Copyright 2016 Google LLC. All Rights Reserved.
|
|
1136
1136
|
|
|
@@ -1229,7 +1229,7 @@ FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
|
|
1229
1229
|
OTHER DEALINGS IN THE FONT SOFTWARE.
|
|
1230
1230
|
|
|
1231
1231
|
|
|
1232
|
-
fullbleed 2.5.
|
|
1232
|
+
fullbleed 2.5.22 / src/preview_fonts/LICENSE-NotoSansSymbols2.txt
|
|
1233
1233
|
|
|
1234
1234
|
Copyright 2017 Google Inc. All Rights Reserved.
|
|
1235
1235
|
|
|
@@ -1,27 +1,30 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schema": "fullbleed.browser-assets.v1",
|
|
3
|
-
"packageVersion": "0.4.
|
|
4
|
-
"engineVersion": "2.5.
|
|
3
|
+
"packageVersion": "0.4.1",
|
|
4
|
+
"engineVersion": "2.5.22",
|
|
5
|
+
"engineFeatures": [
|
|
6
|
+
"svg_raster"
|
|
7
|
+
],
|
|
5
8
|
"files": {
|
|
6
9
|
"client.js": {
|
|
7
10
|
"source": "dist/browser/client.js",
|
|
8
11
|
"bytes": 12043,
|
|
9
|
-
"sha256": "
|
|
12
|
+
"sha256": "7cf701296f165f39bec30d992f6e9eacf2f0d09a6fa79bca84a598baa5fc3de9"
|
|
10
13
|
},
|
|
11
14
|
"worker.js": {
|
|
12
15
|
"source": "dist/browser/worker.js",
|
|
13
16
|
"bytes": 52109,
|
|
14
|
-
"sha256": "
|
|
17
|
+
"sha256": "44152f218784ffd37f891ca10681264074d4eb6a08380cd15e3548aead3ad675"
|
|
15
18
|
},
|
|
16
19
|
"engine.wasm": {
|
|
17
20
|
"source": "dist/engine.wasm",
|
|
18
|
-
"bytes":
|
|
19
|
-
"sha256": "
|
|
21
|
+
"bytes": 5640040,
|
|
22
|
+
"sha256": "508c3dc58b51ec5568610cd5b8a329683f9e6d3677a464d8fc422ea9071b450d"
|
|
20
23
|
},
|
|
21
24
|
"THIRD_PARTY_NOTICES.txt": {
|
|
22
25
|
"source": "dist/THIRD_PARTY_NOTICES.txt",
|
|
23
26
|
"bytes": 81572,
|
|
24
|
-
"sha256": "
|
|
27
|
+
"sha256": "b8e9cf0c642fb3790a77654d514dd8a1c37fb1edb2e92a6fffdeb62de0efb43d"
|
|
25
28
|
},
|
|
26
29
|
"LICENSE.txt": {
|
|
27
30
|
"source": "LICENSE",
|
package/dist/browser/client.js
CHANGED
|
@@ -109,8 +109,8 @@ var require_render_input = __commonJS({
|
|
|
109
109
|
init_define_FULLBLEED_FONT_NAMES();
|
|
110
110
|
init_define_FULLBLEED_RUNTIME_FILES();
|
|
111
111
|
var import_render_input = __toESM(require_render_input(), 1);
|
|
112
|
-
var version = "0.4.
|
|
113
|
-
var engineVersion = "2.5.
|
|
112
|
+
var version = "0.4.1";
|
|
113
|
+
var engineVersion = "2.5.22";
|
|
114
114
|
var FullbleedError = import_render_input.default.FullbleedError;
|
|
115
115
|
var invalid = (message) => {
|
|
116
116
|
throw new FullbleedError("INVALID_INPUT", message);
|
package/dist/browser/worker.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
var define_FULLBLEED_FONT_NAMES_default = ["Inter-Variable.ttf", "DMSerifDisplay-Regular.ttf", "DMSerifDisplay-Italic.ttf", "BebasNeue-Regular.ttf"];
|
|
3
3
|
|
|
4
4
|
// <define:__FULLBLEED_RUNTIME_FILES__>
|
|
5
|
-
var define_FULLBLEED_RUNTIME_FILES_default = { "engine.wasm": { bytes:
|
|
5
|
+
var define_FULLBLEED_RUNTIME_FILES_default = { "engine.wasm": { bytes: 5640040, sha256: "508c3dc58b51ec5568610cd5b8a329683f9e6d3677a464d8fc422ea9071b450d" }, "fonts/Inter-Variable.ttf": { bytes: 876576, sha256: "29160a80ff49ddcab2c97711247e08b1fab27a484a329ce8b813d820dc559031" }, "fonts/DMSerifDisplay-Regular.ttf": { bytes: 76580, sha256: "8cc3643535edf039aa5d95440a8542735e9197e4f4b8d9303e980fefbf5ab616" }, "fonts/DMSerifDisplay-Italic.ttf": { bytes: 71208, sha256: "df74c0ac387baeaeb0fe4f2324e1668e6a3ed8c09cd9796fe162c71753e19e45" }, "fonts/BebasNeue-Regular.ttf": { bytes: 61400, sha256: "08e4623805102d819f58601e46e345648846075e363b2ceb23313c2d1c83ec73" } };
|
|
6
6
|
|
|
7
7
|
// node_modules/@bjorn3/browser_wasi_shim/dist/wasi_defs.js
|
|
8
8
|
var CLOCKID_REALTIME = 0;
|
|
@@ -1438,8 +1438,8 @@ async function runEngine(job) {
|
|
|
1438
1438
|
}
|
|
1439
1439
|
|
|
1440
1440
|
// src/browser-worker.js
|
|
1441
|
-
var version = "0.4.
|
|
1442
|
-
var engineVersion = "2.5.
|
|
1441
|
+
var version = "0.4.1";
|
|
1442
|
+
var engineVersion = "2.5.22";
|
|
1443
1443
|
var files = define_FULLBLEED_RUNTIME_FILES_default;
|
|
1444
1444
|
var fontNames = define_FULLBLEED_FONT_NAMES_default;
|
|
1445
1445
|
var hex = (bytes) => Array.from(new Uint8Array(bytes), (value) => value.toString(16).padStart(2, "0")).join("");
|
package/dist/build.json
CHANGED
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
{
|
|
2
|
-
"packageVersion": "0.4.
|
|
3
|
-
"engineVersion": "2.5.
|
|
4
|
-
"engineSource": "https://crates.io/crates/fullbleed/2.5.
|
|
2
|
+
"packageVersion": "0.4.1",
|
|
3
|
+
"engineVersion": "2.5.22",
|
|
4
|
+
"engineSource": "https://crates.io/crates/fullbleed/2.5.22",
|
|
5
|
+
"engineFeatures": [
|
|
6
|
+
"svg_raster"
|
|
7
|
+
],
|
|
5
8
|
"target": "wasm32-wasip1",
|
|
6
9
|
"memoryMaximumBytes": 536870912,
|
|
7
10
|
"fonts": [
|
|
@@ -13,7 +16,7 @@
|
|
|
13
16
|
"dependencies": [
|
|
14
17
|
{
|
|
15
18
|
"name": "fullbleed",
|
|
16
|
-
"version": "2.5.
|
|
19
|
+
"version": "2.5.22",
|
|
17
20
|
"source": "registry+https://github.com/rust-lang/crates.io-index",
|
|
18
21
|
"license": "MIT"
|
|
19
22
|
},
|
|
@@ -44,12 +47,12 @@
|
|
|
44
47
|
],
|
|
45
48
|
"files": {
|
|
46
49
|
"dist/engine.wasm": {
|
|
47
|
-
"bytes":
|
|
48
|
-
"sha256": "
|
|
50
|
+
"bytes": 5640040,
|
|
51
|
+
"sha256": "508c3dc58b51ec5568610cd5b8a329683f9e6d3677a464d8fc422ea9071b450d"
|
|
49
52
|
},
|
|
50
53
|
"dist/THIRD_PARTY_NOTICES.txt": {
|
|
51
54
|
"bytes": 81572,
|
|
52
|
-
"sha256": "
|
|
55
|
+
"sha256": "b8e9cf0c642fb3790a77654d514dd8a1c37fb1edb2e92a6fffdeb62de0efb43d"
|
|
53
56
|
},
|
|
54
57
|
"dist/preview-font-notices/LICENSE-Liberation.txt": {
|
|
55
58
|
"bytes": 4414,
|
|
@@ -101,15 +104,15 @@
|
|
|
101
104
|
},
|
|
102
105
|
"dist/browser/client.js": {
|
|
103
106
|
"bytes": 12043,
|
|
104
|
-
"sha256": "
|
|
107
|
+
"sha256": "7cf701296f165f39bec30d992f6e9eacf2f0d09a6fa79bca84a598baa5fc3de9"
|
|
105
108
|
},
|
|
106
109
|
"dist/browser/worker.js": {
|
|
107
110
|
"bytes": 52109,
|
|
108
|
-
"sha256": "
|
|
111
|
+
"sha256": "44152f218784ffd37f891ca10681264074d4eb6a08380cd15e3548aead3ad675"
|
|
109
112
|
},
|
|
110
113
|
"dist/browser/asset-manifest.json": {
|
|
111
|
-
"bytes":
|
|
112
|
-
"sha256": "
|
|
114
|
+
"bytes": 2443,
|
|
115
|
+
"sha256": "211481ebdda0022296dbce43d95b0dd49848c8a4e7298aa075fda1f3701c6a46"
|
|
113
116
|
}
|
|
114
117
|
}
|
|
115
118
|
}
|
package/dist/engine.wasm
CHANGED
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "fullbleed",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.1",
|
|
4
4
|
"description": "Generate PDFs from HTML and CSS in Node.js or a browser worker with the Fullbleed Rust engine, bundled fonts, and optional PNG previews.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./src/index.cjs",
|
|
@@ -77,7 +77,7 @@
|
|
|
77
77
|
"access": "public"
|
|
78
78
|
},
|
|
79
79
|
"fullbleed": {
|
|
80
|
-
"engineVersion": "2.5.
|
|
80
|
+
"engineVersion": "2.5.22"
|
|
81
81
|
},
|
|
82
82
|
"devDependencies": {
|
|
83
83
|
"@types/node": "22.20.5",
|
|
@@ -35,7 +35,7 @@ async function main() {
|
|
|
35
35
|
await writeFile(path, file.data);
|
|
36
36
|
}
|
|
37
37
|
await writeFile(join(destination, 'build.json'), JSON.stringify({ schema: manifest.schema,
|
|
38
|
-
packageVersion: pkg.version, engineVersion: manifest.engineVersion,
|
|
38
|
+
packageVersion: pkg.version, engineVersion: manifest.engineVersion, engineFeatures: manifest.engineFeatures,
|
|
39
39
|
files: Object.fromEntries(files.map(({ name, bytes, sha256 }) => [name, { bytes, sha256 }])) }, null, 2) + '\n');
|
|
40
40
|
console.log(JSON.stringify({ ok: true, directory: destination, packageVersion: pkg.version,
|
|
41
41
|
engineVersion: manifest.engineVersion, files: files.length + 1, bytes: files.reduce((sum, file) => sum + file.bytes, 0) }));
|