Expose platform-arch of vendored binaries #2928

This commit is contained in:
Lovell Fuller
2021-12-12 13:38:00 +00:00
parent 9755629cfd
commit 3da258f6fb
5 changed files with 43 additions and 2 deletions

View File

@@ -52,6 +52,17 @@ An Object containing the version numbers of libvips and its dependencies.
console.log(sharp.versions);
```
## vendor
An Object containing information about the platform and architecture
of the current and installed vendored binaries.
### Examples
```javascript
console.log(sharp.vendor);
```
## cache
Gets or, when options are provided, sets the limits of *libvips'* operation cache.

View File

@@ -21,6 +21,9 @@ Requires libvips v8.12.1
[#2789](https://github.com/lovell/sharp/pull/2789)
[@kleisauke](https://github.com/kleisauke)
* Expose platform and architecture of vendored binaries as `sharp.vendor`.
[#2928](https://github.com/lovell/sharp/issues/2928)
* Ensure 16-bit PNG output uses correct bitdepth.
[#2958](https://github.com/lovell/sharp/pull/2958)
[@gforge](https://github.com/gforge)

File diff suppressed because one or more lines are too long