mirror of
https://github.com/lovell/sharp.git
synced 2025-07-09 18:40:16 +02:00
parent
aa5f0f4e40
commit
f79760b4f2
@ -19,6 +19,9 @@ Requires libvips v8.14.0
|
|||||||
* Allow use of GPS (IFD3) EXIF metadata.
|
* Allow use of GPS (IFD3) EXIF metadata.
|
||||||
[#2767](https://github.com/lovell/sharp/issues/2767)
|
[#2767](https://github.com/lovell/sharp/issues/2767)
|
||||||
|
|
||||||
|
* TypeScript definitions are now maintained and published directly, deprecating the `@types/sharp` package.
|
||||||
|
[#3369](https://github.com/lovell/sharp/issues/3369)
|
||||||
|
|
||||||
* Prebuilt binaries: ensure macOS 10.13+ support, as documented.
|
* Prebuilt binaries: ensure macOS 10.13+ support, as documented.
|
||||||
[#3438](https://github.com/lovell/sharp/issues/3438)
|
[#3438](https://github.com/lovell/sharp/issues/3438)
|
||||||
|
|
||||||
|
@ -302,6 +302,17 @@ custom:
|
|||||||
- npm install --arch=x64 --platform=linux sharp
|
- npm install --arch=x64 --platform=linux sharp
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## TypeScript
|
||||||
|
|
||||||
|
TypeScript definitions are published as part of
|
||||||
|
the `sharp` package from v0.32.0.
|
||||||
|
|
||||||
|
Previously these were available via the `@types/sharp` package,
|
||||||
|
which is now deprecated.
|
||||||
|
|
||||||
|
When using Typescript, please ensure `devDependencies` includes
|
||||||
|
the `@types/node` package.
|
||||||
|
|
||||||
## Fonts
|
## Fonts
|
||||||
|
|
||||||
When creating text images or rendering SVG images that contain text elements,
|
When creating text images or rendering SVG images that contain text elements,
|
||||||
|
1
lib/index.d.ts
vendored
1
lib/index.d.ts
vendored
@ -1,5 +1,6 @@
|
|||||||
/**
|
/**
|
||||||
* Type definitions originally lifted from `@types/sharp`, MIT-licensed.
|
* Type definitions originally lifted from `@types/sharp`, MIT-licensed.
|
||||||
|
* https://opensource.org/licenses/MIT
|
||||||
*
|
*
|
||||||
* Original definition authors:
|
* Original definition authors:
|
||||||
* - Wooseop Kim <https://github.com/wooseopkim>
|
* - Wooseop Kim <https://github.com/wooseopkim>
|
||||||
|
@ -155,7 +155,7 @@
|
|||||||
"prebuild": "^11.0.4",
|
"prebuild": "^11.0.4",
|
||||||
"rimraf": "^3.0.2",
|
"rimraf": "^3.0.2",
|
||||||
"semistandard": "^16.0.1",
|
"semistandard": "^16.0.1",
|
||||||
"tsd": "^0.24.1"
|
"tsd": "^0.25.0"
|
||||||
},
|
},
|
||||||
"license": "Apache-2.0",
|
"license": "Apache-2.0",
|
||||||
"config": {
|
"config": {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user