wasm-vips 0.0.7 → 0.0.9
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 +2 -2
- package/lib/vips-es6.js +238 -304
- package/lib/vips-heif.wasm +0 -0
- package/lib/vips-jxl.wasm +0 -0
- package/lib/vips-node.js +241 -300
- package/lib/vips-node.mjs +242 -301
- package/lib/vips-resvg.wasm +0 -0
- package/lib/vips.d.ts +267 -242
- package/lib/vips.js +238 -305
- package/lib/vips.wasm +0 -0
- package/package.json +4 -4
- package/versions.json +14 -13
- package/lib/vips-es6.worker.js +0 -1
- package/lib/vips-node.worker.js +0 -1
- package/lib/vips-node.worker.mjs +0 -1
- package/lib/vips.worker.js +0 -1
package/README.md
CHANGED
|
@@ -48,13 +48,13 @@ yarn add wasm-vips
|
|
|
48
48
|
|
|
49
49
|
### Browser
|
|
50
50
|
|
|
51
|
-
Requires `vips.js
|
|
51
|
+
Requires `vips.js` (or `vips-es6.js`) and `vips.wasm` to be served from
|
|
52
52
|
the same directory.
|
|
53
53
|
|
|
54
54
|
Since wasm-vips requires [the `SharedArrayBuffer` API](
|
|
55
55
|
https://caniuse.com/sharedarraybuffer), the website needs to opt-in to
|
|
56
56
|
a cross-origin isolated state, by serving the following HTTP headers on
|
|
57
|
-
the main document:
|
|
57
|
+
both the main document and `vips*.js` script:
|
|
58
58
|
|
|
59
59
|
```http
|
|
60
60
|
Cross-Origin-Embedder-Policy: require-corp
|