wasm-vips 0.0.12 → 0.0.13
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 +11 -7
- package/lib/vips-es6.js +215 -215
- package/lib/vips-heif.wasm +0 -0
- package/lib/vips-jxl.wasm +0 -0
- package/lib/vips-node.js +199 -198
- package/lib/vips-node.mjs +199 -197
- package/lib/vips-resvg.wasm +0 -0
- package/lib/vips.d.ts +8 -1
- package/lib/vips.js +215 -215
- package/lib/vips.wasm +0 -0
- package/package.json +1 -1
- package/versions.json +5 -5
package/lib/vips-resvg.wasm
CHANGED
|
Binary file
|
package/lib/vips.d.ts
CHANGED
|
@@ -121,14 +121,21 @@ declare module Vips {
|
|
|
121
121
|
*/
|
|
122
122
|
abstract class EmbindClassHandle<T extends EmbindClassHandle<T>> {
|
|
123
123
|
/**
|
|
124
|
-
* Returns a new handle. It must eventually also be disposed with {@link
|
|
124
|
+
* Returns a new handle. It must eventually also be disposed with {@link [Symbol.dispose]} or
|
|
125
125
|
* {@link deleteLater}.
|
|
126
126
|
* @return A new handle.
|
|
127
127
|
*/
|
|
128
128
|
clone(): T;
|
|
129
129
|
|
|
130
|
+
/**
|
|
131
|
+
* Support for `using ...`.
|
|
132
|
+
* See also: https://github.com/tc39/proposal-explicit-resource-management
|
|
133
|
+
*/
|
|
134
|
+
[Symbol.dispose](): void;
|
|
135
|
+
|
|
130
136
|
/**
|
|
131
137
|
* Signal that a C++ object is no longer needed and can be deleted.
|
|
138
|
+
* Alias for {@link [Symbol.dispose]}.
|
|
132
139
|
*/
|
|
133
140
|
delete(): void;
|
|
134
141
|
|