Docs: minimum Node.js version requirement of 12.13.0

This commit is contained in:
Lovell Fuller 2021-08-03 10:25:04 +01:00
parent 513ed02b76
commit eabb671b10
5 changed files with 8 additions and 15 deletions

View File

@ -16,7 +16,7 @@ Lanczos resampling ensures quality is not sacrificed for speed.
As well as image resizing, operations such as As well as image resizing, operations such as
rotation, extraction, compositing and gamma correction are available. rotation, extraction, compositing and gamma correction are available.
Most modern macOS, Windows and Linux systems running Node.js v10+ Most modern macOS, Windows and Linux systems running Node.js >= 12.13.0
do not require any additional install or runtime dependencies. do not require any additional install or runtime dependencies.
## Documentation ## Documentation

View File

@ -16,7 +16,7 @@ Lanczos resampling ensures quality is not sacrificed for speed.
As well as image resizing, operations such as As well as image resizing, operations such as
rotation, extraction, compositing and gamma correction are available. rotation, extraction, compositing and gamma correction are available.
Most modern macOS, Windows and Linux systems running Node.js v10+ Most modern macOS, Windows and Linux systems running Node.js >= 12.13.0
do not require any additional install or runtime dependencies. do not require any additional install or runtime dependencies.
### Formats ### Formats

View File

@ -10,12 +10,11 @@ yarn add sharp
## Prerequisites ## Prerequisites
* Node.js v10+ * Node.js >= 12.13.0
## Prebuilt binaries ## Prebuilt binaries
Ready-compiled sharp and libvips binaries are provided for use with Ready-compiled sharp and libvips binaries are provided for use on the most common platforms:
Node.js v10+ on the most common platforms:
* macOS x64 (>= 10.13) * macOS x64 (>= 10.13)
* macOS ARM64 * macOS ARM64
@ -61,15 +60,9 @@ Check the output of running `npm install --verbose sharp` for useful error messa
## Apple M1 ## Apple M1
Prebuilt libvips binaries are provided for macOS on ARM64 (since sharp v0.28.0). Prebuilt sharp and libvips binaries are provided for macOS on ARM64 from sharp v0.29.0.
During `npm install` sharp will be built locally, Prebuilt libvips binaries were provided for macOS on ARM64 from sharp v0.28.0.
which requires Xcode and Python - see
[building from source](#building-from-source).
When this new ARM64 CPU is made freely available
to open source projects via a CI service
then prebuilt sharp binaries can also be provided.
## Cross-platform ## Cross-platform

File diff suppressed because one or more lines are too long

View File

@ -139,7 +139,7 @@
"exif-reader": "^1.0.3", "exif-reader": "^1.0.3",
"icc": "^2.0.0", "icc": "^2.0.0",
"license-checker": "^25.0.1", "license-checker": "^25.0.1",
"mocha": "^9.0.2", "mocha": "^9.0.3",
"mock-fs": "^5.0.0", "mock-fs": "^5.0.0",
"nyc": "^15.1.0", "nyc": "^15.1.0",
"prebuild": "^10.0.1", "prebuild": "^10.0.1",