mirror of
https://github.com/lovell/sharp.git
synced 2025-12-06 03:51:40 +01:00
Upgrade sharp-libvips to v1.2.2
This commit is contained in:
parent
93b814f849
commit
b0154ed83c
@ -15,7 +15,7 @@
|
|||||||
},
|
},
|
||||||
"preferUnplugged": true,
|
"preferUnplugged": true,
|
||||||
"optionalDependencies": {
|
"optionalDependencies": {
|
||||||
"@img/sharp-libvips-darwin-arm64": "1.2.2-rc.2"
|
"@img/sharp-libvips-darwin-arm64": "1.2.2"
|
||||||
},
|
},
|
||||||
"files": [
|
"files": [
|
||||||
"lib"
|
"lib"
|
||||||
|
|||||||
@ -15,7 +15,7 @@
|
|||||||
},
|
},
|
||||||
"preferUnplugged": true,
|
"preferUnplugged": true,
|
||||||
"optionalDependencies": {
|
"optionalDependencies": {
|
||||||
"@img/sharp-libvips-darwin-x64": "1.2.2-rc.2"
|
"@img/sharp-libvips-darwin-x64": "1.2.2"
|
||||||
},
|
},
|
||||||
"files": [
|
"files": [
|
||||||
"lib"
|
"lib"
|
||||||
|
|||||||
@ -15,7 +15,7 @@
|
|||||||
},
|
},
|
||||||
"preferUnplugged": true,
|
"preferUnplugged": true,
|
||||||
"optionalDependencies": {
|
"optionalDependencies": {
|
||||||
"@img/sharp-libvips-linux-arm": "1.2.2-rc.2"
|
"@img/sharp-libvips-linux-arm": "1.2.2"
|
||||||
},
|
},
|
||||||
"files": [
|
"files": [
|
||||||
"lib"
|
"lib"
|
||||||
|
|||||||
@ -15,7 +15,7 @@
|
|||||||
},
|
},
|
||||||
"preferUnplugged": true,
|
"preferUnplugged": true,
|
||||||
"optionalDependencies": {
|
"optionalDependencies": {
|
||||||
"@img/sharp-libvips-linux-arm64": "1.2.2-rc.2"
|
"@img/sharp-libvips-linux-arm64": "1.2.2"
|
||||||
},
|
},
|
||||||
"files": [
|
"files": [
|
||||||
"lib"
|
"lib"
|
||||||
|
|||||||
@ -15,7 +15,7 @@
|
|||||||
},
|
},
|
||||||
"preferUnplugged": true,
|
"preferUnplugged": true,
|
||||||
"optionalDependencies": {
|
"optionalDependencies": {
|
||||||
"@img/sharp-libvips-linux-ppc64": "1.2.2-rc.2"
|
"@img/sharp-libvips-linux-ppc64": "1.2.2"
|
||||||
},
|
},
|
||||||
"files": [
|
"files": [
|
||||||
"lib"
|
"lib"
|
||||||
|
|||||||
@ -15,7 +15,7 @@
|
|||||||
},
|
},
|
||||||
"preferUnplugged": true,
|
"preferUnplugged": true,
|
||||||
"optionalDependencies": {
|
"optionalDependencies": {
|
||||||
"@img/sharp-libvips-linux-s390x": "1.2.2-rc.2"
|
"@img/sharp-libvips-linux-s390x": "1.2.2"
|
||||||
},
|
},
|
||||||
"files": [
|
"files": [
|
||||||
"lib"
|
"lib"
|
||||||
|
|||||||
@ -15,7 +15,7 @@
|
|||||||
},
|
},
|
||||||
"preferUnplugged": true,
|
"preferUnplugged": true,
|
||||||
"optionalDependencies": {
|
"optionalDependencies": {
|
||||||
"@img/sharp-libvips-linux-x64": "1.2.2-rc.2"
|
"@img/sharp-libvips-linux-x64": "1.2.2"
|
||||||
},
|
},
|
||||||
"files": [
|
"files": [
|
||||||
"lib"
|
"lib"
|
||||||
|
|||||||
@ -15,7 +15,7 @@
|
|||||||
},
|
},
|
||||||
"preferUnplugged": true,
|
"preferUnplugged": true,
|
||||||
"optionalDependencies": {
|
"optionalDependencies": {
|
||||||
"@img/sharp-libvips-linuxmusl-arm64": "1.2.2-rc.2"
|
"@img/sharp-libvips-linuxmusl-arm64": "1.2.2"
|
||||||
},
|
},
|
||||||
"files": [
|
"files": [
|
||||||
"lib"
|
"lib"
|
||||||
|
|||||||
@ -15,7 +15,7 @@
|
|||||||
},
|
},
|
||||||
"preferUnplugged": true,
|
"preferUnplugged": true,
|
||||||
"optionalDependencies": {
|
"optionalDependencies": {
|
||||||
"@img/sharp-libvips-linuxmusl-x64": "1.2.2-rc.2"
|
"@img/sharp-libvips-linuxmusl-x64": "1.2.2"
|
||||||
},
|
},
|
||||||
"files": [
|
"files": [
|
||||||
"lib"
|
"lib"
|
||||||
|
|||||||
30
package.json
30
package.json
@ -138,21 +138,21 @@
|
|||||||
],
|
],
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@img/colour": "^1.0.0",
|
"@img/colour": "^1.0.0",
|
||||||
"detect-libc": "^2.0.4",
|
"detect-libc": "^2.1.0",
|
||||||
"semver": "^7.7.2"
|
"semver": "^7.7.2"
|
||||||
},
|
},
|
||||||
"optionalDependencies": {
|
"optionalDependencies": {
|
||||||
"@img/sharp-darwin-arm64": "0.34.4-rc.1",
|
"@img/sharp-darwin-arm64": "0.34.4-rc.1",
|
||||||
"@img/sharp-darwin-x64": "0.34.4-rc.1",
|
"@img/sharp-darwin-x64": "0.34.4-rc.1",
|
||||||
"@img/sharp-libvips-darwin-arm64": "1.2.2-rc.2",
|
"@img/sharp-libvips-darwin-arm64": "1.2.2",
|
||||||
"@img/sharp-libvips-darwin-x64": "1.2.2-rc.2",
|
"@img/sharp-libvips-darwin-x64": "1.2.2",
|
||||||
"@img/sharp-libvips-linux-arm": "1.2.2-rc.2",
|
"@img/sharp-libvips-linux-arm": "1.2.2",
|
||||||
"@img/sharp-libvips-linux-arm64": "1.2.2-rc.2",
|
"@img/sharp-libvips-linux-arm64": "1.2.2",
|
||||||
"@img/sharp-libvips-linux-ppc64": "1.2.2-rc.2",
|
"@img/sharp-libvips-linux-ppc64": "1.2.2",
|
||||||
"@img/sharp-libvips-linux-s390x": "1.2.2-rc.2",
|
"@img/sharp-libvips-linux-s390x": "1.2.2",
|
||||||
"@img/sharp-libvips-linux-x64": "1.2.2-rc.2",
|
"@img/sharp-libvips-linux-x64": "1.2.2",
|
||||||
"@img/sharp-libvips-linuxmusl-arm64": "1.2.2-rc.2",
|
"@img/sharp-libvips-linuxmusl-arm64": "1.2.2",
|
||||||
"@img/sharp-libvips-linuxmusl-x64": "1.2.2-rc.2",
|
"@img/sharp-libvips-linuxmusl-x64": "1.2.2",
|
||||||
"@img/sharp-linux-arm": "0.34.4-rc.1",
|
"@img/sharp-linux-arm": "0.34.4-rc.1",
|
||||||
"@img/sharp-linux-arm64": "0.34.4-rc.1",
|
"@img/sharp-linux-arm64": "0.34.4-rc.1",
|
||||||
"@img/sharp-linux-ppc64": "0.34.4-rc.1",
|
"@img/sharp-linux-ppc64": "0.34.4-rc.1",
|
||||||
@ -167,11 +167,11 @@
|
|||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@emnapi/runtime": "^1.5.0",
|
"@emnapi/runtime": "^1.5.0",
|
||||||
"@img/sharp-libvips-dev": "1.2.2-rc.2",
|
"@img/sharp-libvips-dev": "1.2.2",
|
||||||
"@img/sharp-libvips-dev-wasm32": "1.2.2-rc.2",
|
"@img/sharp-libvips-dev-wasm32": "1.2.2",
|
||||||
"@img/sharp-libvips-win32-arm64": "1.2.2-rc.2",
|
"@img/sharp-libvips-win32-arm64": "1.2.2",
|
||||||
"@img/sharp-libvips-win32-ia32": "1.2.2-rc.2",
|
"@img/sharp-libvips-win32-ia32": "1.2.2",
|
||||||
"@img/sharp-libvips-win32-x64": "1.2.2-rc.2",
|
"@img/sharp-libvips-win32-x64": "1.2.2",
|
||||||
"@types/node": "*",
|
"@types/node": "*",
|
||||||
"cc": "^3.0.1",
|
"cc": "^3.0.1",
|
||||||
"emnapi": "^1.5.0",
|
"emnapi": "^1.5.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, 'b5865b53e1');
|
assert.strictEqual(locatorHash, '9773928ef2');
|
||||||
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