mirror of
https://github.com/lovell/sharp.git
synced 2025-08-24 21:41:40 +02:00
Compare commits
2 Commits
08b4242efe
...
fefda85d2d
Author | SHA1 | Date | |
---|---|---|---|
|
fefda85d2d | ||
|
e045235545 |
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
@ -230,14 +230,14 @@ jobs:
|
|||||||
nodejs_version: "18.17.0"
|
nodejs_version: "18.17.0"
|
||||||
nodejs_version_major: 18
|
nodejs_version_major: 18
|
||||||
- platform: linux-s390x
|
- platform: linux-s390x
|
||||||
distro: bullseye
|
distro: bookworm
|
||||||
run_on_arch: s390x
|
run_on_arch: s390x
|
||||||
nodejs_arch: s390x
|
nodejs_arch: s390x
|
||||||
nodejs_hostname: nodejs.org
|
nodejs_hostname: nodejs.org
|
||||||
nodejs_version: "18.17.0"
|
nodejs_version: "18.17.0"
|
||||||
nodejs_version_major: 18
|
nodejs_version_major: 18
|
||||||
- platform: linux-ppc64
|
- platform: linux-ppc64
|
||||||
distro: bullseye
|
distro: bookworm
|
||||||
run_on_arch: ppc64le
|
run_on_arch: ppc64le
|
||||||
nodejs_arch: ppc64le
|
nodejs_arch: ppc64le
|
||||||
nodejs_hostname: nodejs.org
|
nodejs_hostname: nodejs.org
|
||||||
@ -269,7 +269,7 @@ jobs:
|
|||||||
contents: read
|
contents: read
|
||||||
name: "build-wasm32 [package]"
|
name: "build-wasm32 [package]"
|
||||||
runs-on: ubuntu-24.04
|
runs-on: ubuntu-24.04
|
||||||
container: "emscripten/emsdk:4.0.10"
|
container: "emscripten/emsdk:4.0.11"
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: Dependencies
|
- name: Dependencies
|
||||||
|
@ -48,8 +48,8 @@ Ready-compiled sharp and libvips binaries are provided for use on the most commo
|
|||||||
* macOS ARM64
|
* macOS ARM64
|
||||||
* Linux ARM (glibc >= 2.31)
|
* Linux ARM (glibc >= 2.31)
|
||||||
* Linux ARM64 (glibc >= 2.26, musl >= 1.2.2)
|
* Linux ARM64 (glibc >= 2.26, musl >= 1.2.2)
|
||||||
* Linux ppc64 (glibc >= 2.31)
|
* Linux ppc64 (glibc >= 2.36)
|
||||||
* Linux s390x (glibc >= 2.31)
|
* Linux s390x (glibc >= 2.36)
|
||||||
* Linux x64 (glibc >= 2.26, musl >= 1.2.2, CPU with SSE4.2)
|
* Linux x64 (glibc >= 2.26, musl >= 1.2.2, CPU with SSE4.2)
|
||||||
* Windows x64
|
* Windows x64
|
||||||
* Windows x86
|
* Windows x86
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
},
|
},
|
||||||
"preferUnplugged": true,
|
"preferUnplugged": true,
|
||||||
"optionalDependencies": {
|
"optionalDependencies": {
|
||||||
"@img/sharp-libvips-darwin-arm64": "1.2.0"
|
"@img/sharp-libvips-darwin-arm64": "1.2.1"
|
||||||
},
|
},
|
||||||
"files": [
|
"files": [
|
||||||
"lib"
|
"lib"
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
},
|
},
|
||||||
"preferUnplugged": true,
|
"preferUnplugged": true,
|
||||||
"optionalDependencies": {
|
"optionalDependencies": {
|
||||||
"@img/sharp-libvips-darwin-x64": "1.2.0"
|
"@img/sharp-libvips-darwin-x64": "1.2.1"
|
||||||
},
|
},
|
||||||
"files": [
|
"files": [
|
||||||
"lib"
|
"lib"
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
},
|
},
|
||||||
"preferUnplugged": true,
|
"preferUnplugged": true,
|
||||||
"optionalDependencies": {
|
"optionalDependencies": {
|
||||||
"@img/sharp-libvips-linux-arm": "1.2.0"
|
"@img/sharp-libvips-linux-arm": "1.2.1"
|
||||||
},
|
},
|
||||||
"files": [
|
"files": [
|
||||||
"lib"
|
"lib"
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
},
|
},
|
||||||
"preferUnplugged": true,
|
"preferUnplugged": true,
|
||||||
"optionalDependencies": {
|
"optionalDependencies": {
|
||||||
"@img/sharp-libvips-linux-arm64": "1.2.0"
|
"@img/sharp-libvips-linux-arm64": "1.2.1"
|
||||||
},
|
},
|
||||||
"files": [
|
"files": [
|
||||||
"lib"
|
"lib"
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
},
|
},
|
||||||
"preferUnplugged": true,
|
"preferUnplugged": true,
|
||||||
"optionalDependencies": {
|
"optionalDependencies": {
|
||||||
"@img/sharp-libvips-linux-ppc64": "1.2.0"
|
"@img/sharp-libvips-linux-ppc64": "1.2.1"
|
||||||
},
|
},
|
||||||
"files": [
|
"files": [
|
||||||
"lib"
|
"lib"
|
||||||
@ -32,7 +32,7 @@
|
|||||||
"node": "^18.17.0 || ^20.3.0 || >=21.0.0"
|
"node": "^18.17.0 || ^20.3.0 || >=21.0.0"
|
||||||
},
|
},
|
||||||
"config": {
|
"config": {
|
||||||
"glibc": ">=2.31"
|
"glibc": ">=2.36"
|
||||||
},
|
},
|
||||||
"os": [
|
"os": [
|
||||||
"linux"
|
"linux"
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
},
|
},
|
||||||
"preferUnplugged": true,
|
"preferUnplugged": true,
|
||||||
"optionalDependencies": {
|
"optionalDependencies": {
|
||||||
"@img/sharp-libvips-linux-s390x": "1.2.0"
|
"@img/sharp-libvips-linux-s390x": "1.2.1"
|
||||||
},
|
},
|
||||||
"files": [
|
"files": [
|
||||||
"lib"
|
"lib"
|
||||||
@ -32,7 +32,7 @@
|
|||||||
"node": "^18.17.0 || ^20.3.0 || >=21.0.0"
|
"node": "^18.17.0 || ^20.3.0 || >=21.0.0"
|
||||||
},
|
},
|
||||||
"config": {
|
"config": {
|
||||||
"glibc": ">=2.31"
|
"glibc": ">=2.36"
|
||||||
},
|
},
|
||||||
"os": [
|
"os": [
|
||||||
"linux"
|
"linux"
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
},
|
},
|
||||||
"preferUnplugged": true,
|
"preferUnplugged": true,
|
||||||
"optionalDependencies": {
|
"optionalDependencies": {
|
||||||
"@img/sharp-libvips-linux-x64": "1.2.0"
|
"@img/sharp-libvips-linux-x64": "1.2.1"
|
||||||
},
|
},
|
||||||
"files": [
|
"files": [
|
||||||
"lib"
|
"lib"
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
},
|
},
|
||||||
"preferUnplugged": true,
|
"preferUnplugged": true,
|
||||||
"optionalDependencies": {
|
"optionalDependencies": {
|
||||||
"@img/sharp-libvips-linuxmusl-arm64": "1.2.0"
|
"@img/sharp-libvips-linuxmusl-arm64": "1.2.1"
|
||||||
},
|
},
|
||||||
"files": [
|
"files": [
|
||||||
"lib"
|
"lib"
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
},
|
},
|
||||||
"preferUnplugged": true,
|
"preferUnplugged": true,
|
||||||
"optionalDependencies": {
|
"optionalDependencies": {
|
||||||
"@img/sharp-libvips-linuxmusl-x64": "1.2.0"
|
"@img/sharp-libvips-linuxmusl-x64": "1.2.1"
|
||||||
},
|
},
|
||||||
"files": [
|
"files": [
|
||||||
"lib"
|
"lib"
|
||||||
|
@ -31,7 +31,7 @@
|
|||||||
"node": "^18.17.0 || ^20.3.0 || >=21.0.0"
|
"node": "^18.17.0 || ^20.3.0 || >=21.0.0"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@emnapi/runtime": "^1.4.4"
|
"@emnapi/runtime": "^1.4.5"
|
||||||
},
|
},
|
||||||
"cpu": [
|
"cpu": [
|
||||||
"wasm32"
|
"wasm32"
|
||||||
|
36
package.json
36
package.json
@ -143,15 +143,15 @@
|
|||||||
"optionalDependencies": {
|
"optionalDependencies": {
|
||||||
"@img/sharp-darwin-arm64": "0.34.3",
|
"@img/sharp-darwin-arm64": "0.34.3",
|
||||||
"@img/sharp-darwin-x64": "0.34.3",
|
"@img/sharp-darwin-x64": "0.34.3",
|
||||||
"@img/sharp-libvips-darwin-arm64": "1.2.0",
|
"@img/sharp-libvips-darwin-arm64": "1.2.1",
|
||||||
"@img/sharp-libvips-darwin-x64": "1.2.0",
|
"@img/sharp-libvips-darwin-x64": "1.2.1",
|
||||||
"@img/sharp-libvips-linux-arm": "1.2.0",
|
"@img/sharp-libvips-linux-arm": "1.2.1",
|
||||||
"@img/sharp-libvips-linux-arm64": "1.2.0",
|
"@img/sharp-libvips-linux-arm64": "1.2.1",
|
||||||
"@img/sharp-libvips-linux-ppc64": "1.2.0",
|
"@img/sharp-libvips-linux-ppc64": "1.2.1",
|
||||||
"@img/sharp-libvips-linux-s390x": "1.2.0",
|
"@img/sharp-libvips-linux-s390x": "1.2.1",
|
||||||
"@img/sharp-libvips-linux-x64": "1.2.0",
|
"@img/sharp-libvips-linux-x64": "1.2.1",
|
||||||
"@img/sharp-libvips-linuxmusl-arm64": "1.2.0",
|
"@img/sharp-libvips-linuxmusl-arm64": "1.2.1",
|
||||||
"@img/sharp-libvips-linuxmusl-x64": "1.2.0",
|
"@img/sharp-libvips-linuxmusl-x64": "1.2.1",
|
||||||
"@img/sharp-linux-arm": "0.34.3",
|
"@img/sharp-linux-arm": "0.34.3",
|
||||||
"@img/sharp-linux-arm64": "0.34.3",
|
"@img/sharp-linux-arm64": "0.34.3",
|
||||||
"@img/sharp-linux-ppc64": "0.34.3",
|
"@img/sharp-linux-ppc64": "0.34.3",
|
||||||
@ -165,22 +165,22 @@
|
|||||||
"@img/sharp-win32-x64": "0.34.3"
|
"@img/sharp-win32-x64": "0.34.3"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@emnapi/runtime": "^1.4.4",
|
"@emnapi/runtime": "^1.4.5",
|
||||||
"@img/sharp-libvips-dev": "1.2.0",
|
"@img/sharp-libvips-dev": "1.2.1",
|
||||||
"@img/sharp-libvips-dev-wasm32": "1.2.0",
|
"@img/sharp-libvips-dev-wasm32": "1.2.1",
|
||||||
"@img/sharp-libvips-win32-arm64": "1.2.0",
|
"@img/sharp-libvips-win32-arm64": "1.2.1",
|
||||||
"@img/sharp-libvips-win32-ia32": "1.2.0",
|
"@img/sharp-libvips-win32-ia32": "1.2.1",
|
||||||
"@img/sharp-libvips-win32-x64": "1.2.0",
|
"@img/sharp-libvips-win32-x64": "1.2.1",
|
||||||
"@types/node": "*",
|
"@types/node": "*",
|
||||||
"cc": "^3.0.1",
|
"cc": "^3.0.1",
|
||||||
"emnapi": "^1.4.4",
|
"emnapi": "^1.4.5",
|
||||||
"exif-reader": "^2.0.2",
|
"exif-reader": "^2.0.2",
|
||||||
"extract-zip": "^2.0.1",
|
"extract-zip": "^2.0.1",
|
||||||
"icc": "^3.0.0",
|
"icc": "^3.0.0",
|
||||||
"jsdoc-to-markdown": "^9.1.1",
|
"jsdoc-to-markdown": "^9.1.2",
|
||||||
"license-checker": "^25.0.1",
|
"license-checker": "^25.0.1",
|
||||||
"mocha": "^11.7.1",
|
"mocha": "^11.7.1",
|
||||||
"node-addon-api": "^8.4.0",
|
"node-addon-api": "^8.5.0",
|
||||||
"node-gyp": "^11.2.0",
|
"node-gyp": "^11.2.0",
|
||||||
"nyc": "^17.1.0",
|
"nyc": "^17.1.0",
|
||||||
"semistandard": "^17.0.0",
|
"semistandard": "^17.0.0",
|
||||||
|
@ -179,7 +179,7 @@ describe('libvips binaries', function () {
|
|||||||
process.env.npm_config_arch = 's390x';
|
process.env.npm_config_arch = 's390x';
|
||||||
process.env.npm_config_libc = '';
|
process.env.npm_config_libc = '';
|
||||||
const locatorHash = libvips.yarnLocator();
|
const locatorHash = libvips.yarnLocator();
|
||||||
assert.strictEqual(locatorHash, '30afd744f9');
|
assert.strictEqual(locatorHash, '7e40558001');
|
||||||
delete process.env.npm_config_platform;
|
delete process.env.npm_config_platform;
|
||||||
delete process.env.npm_config_arch;
|
delete process.env.npm_config_arch;
|
||||||
delete process.env.npm_config_libc;
|
delete process.env.npm_config_libc;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user