mirror of
https://github.com/lovell/sharp.git
synced 2025-12-08 04:51:41 +01:00
Compare commits
4 Commits
93b814f849
...
9f4bace03b
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9f4bace03b | ||
|
|
b507831a11 | ||
|
|
905f69837e | ||
|
|
b0154ed83c |
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
@ -330,7 +330,7 @@ jobs:
|
||||
bodyFile: release-notes.md
|
||||
- name: Publish platform-specific npm packages
|
||||
if: startsWith(github.ref, 'refs/tags/v')
|
||||
run: cd npm && npm publish --workspaces --tag=${{ contains(github.ref, '-rc') && 'next' || 'latest' }} --dry-run
|
||||
run: cd npm && npm publish --workspaces --tag=${{ contains(github.ref, '-rc') && 'next' || 'latest' }}
|
||||
- name: Publish sharp npm package
|
||||
if: startsWith(github.ref, 'refs/tags/v')
|
||||
run: npm publish --tag=${{ contains(github.ref, '-rc') && 'next' || 'latest' }} --dry-run
|
||||
run: npm publish --tag=${{ contains(github.ref, '-rc') && 'next' || 'latest' }}
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@img/sharp-darwin-arm64",
|
||||
"version": "0.34.4-rc.1",
|
||||
"version": "0.34.4-rc.3",
|
||||
"description": "Prebuilt sharp for use with macOS 64-bit ARM",
|
||||
"author": "Lovell Fuller <npm@lovell.info>",
|
||||
"homepage": "https://sharp.pixelplumbing.com",
|
||||
@ -15,7 +15,7 @@
|
||||
},
|
||||
"preferUnplugged": true,
|
||||
"optionalDependencies": {
|
||||
"@img/sharp-libvips-darwin-arm64": "1.2.2-rc.2"
|
||||
"@img/sharp-libvips-darwin-arm64": "1.2.2"
|
||||
},
|
||||
"files": [
|
||||
"lib"
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@img/sharp-darwin-x64",
|
||||
"version": "0.34.4-rc.1",
|
||||
"version": "0.34.4-rc.3",
|
||||
"description": "Prebuilt sharp for use with macOS x64",
|
||||
"author": "Lovell Fuller <npm@lovell.info>",
|
||||
"homepage": "https://sharp.pixelplumbing.com",
|
||||
@ -15,7 +15,7 @@
|
||||
},
|
||||
"preferUnplugged": true,
|
||||
"optionalDependencies": {
|
||||
"@img/sharp-libvips-darwin-x64": "1.2.2-rc.2"
|
||||
"@img/sharp-libvips-darwin-x64": "1.2.2"
|
||||
},
|
||||
"files": [
|
||||
"lib"
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@img/sharp-linux-arm",
|
||||
"version": "0.34.4-rc.1",
|
||||
"version": "0.34.4-rc.3",
|
||||
"description": "Prebuilt sharp for use with Linux (glibc) ARM (32-bit)",
|
||||
"author": "Lovell Fuller <npm@lovell.info>",
|
||||
"homepage": "https://sharp.pixelplumbing.com",
|
||||
@ -15,7 +15,7 @@
|
||||
},
|
||||
"preferUnplugged": true,
|
||||
"optionalDependencies": {
|
||||
"@img/sharp-libvips-linux-arm": "1.2.2-rc.2"
|
||||
"@img/sharp-libvips-linux-arm": "1.2.2"
|
||||
},
|
||||
"files": [
|
||||
"lib"
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@img/sharp-linux-arm64",
|
||||
"version": "0.34.4-rc.1",
|
||||
"version": "0.34.4-rc.3",
|
||||
"description": "Prebuilt sharp for use with Linux (glibc) 64-bit ARM",
|
||||
"author": "Lovell Fuller <npm@lovell.info>",
|
||||
"homepage": "https://sharp.pixelplumbing.com",
|
||||
@ -15,7 +15,7 @@
|
||||
},
|
||||
"preferUnplugged": true,
|
||||
"optionalDependencies": {
|
||||
"@img/sharp-libvips-linux-arm64": "1.2.2-rc.2"
|
||||
"@img/sharp-libvips-linux-arm64": "1.2.2"
|
||||
},
|
||||
"files": [
|
||||
"lib"
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@img/sharp-linux-ppc64",
|
||||
"version": "0.34.4-rc.1",
|
||||
"version": "0.34.4-rc.3",
|
||||
"description": "Prebuilt sharp for use with Linux (glibc) ppc64",
|
||||
"author": "Lovell Fuller <npm@lovell.info>",
|
||||
"homepage": "https://sharp.pixelplumbing.com",
|
||||
@ -15,7 +15,7 @@
|
||||
},
|
||||
"preferUnplugged": true,
|
||||
"optionalDependencies": {
|
||||
"@img/sharp-libvips-linux-ppc64": "1.2.2-rc.2"
|
||||
"@img/sharp-libvips-linux-ppc64": "1.2.2"
|
||||
},
|
||||
"files": [
|
||||
"lib"
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@img/sharp-linux-s390x",
|
||||
"version": "0.34.4-rc.1",
|
||||
"version": "0.34.4-rc.3",
|
||||
"description": "Prebuilt sharp for use with Linux (glibc) s390x",
|
||||
"author": "Lovell Fuller <npm@lovell.info>",
|
||||
"homepage": "https://sharp.pixelplumbing.com",
|
||||
@ -15,7 +15,7 @@
|
||||
},
|
||||
"preferUnplugged": true,
|
||||
"optionalDependencies": {
|
||||
"@img/sharp-libvips-linux-s390x": "1.2.2-rc.2"
|
||||
"@img/sharp-libvips-linux-s390x": "1.2.2"
|
||||
},
|
||||
"files": [
|
||||
"lib"
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@img/sharp-linux-x64",
|
||||
"version": "0.34.4-rc.1",
|
||||
"version": "0.34.4-rc.3",
|
||||
"description": "Prebuilt sharp for use with Linux (glibc) x64",
|
||||
"author": "Lovell Fuller <npm@lovell.info>",
|
||||
"homepage": "https://sharp.pixelplumbing.com",
|
||||
@ -15,7 +15,7 @@
|
||||
},
|
||||
"preferUnplugged": true,
|
||||
"optionalDependencies": {
|
||||
"@img/sharp-libvips-linux-x64": "1.2.2-rc.2"
|
||||
"@img/sharp-libvips-linux-x64": "1.2.2"
|
||||
},
|
||||
"files": [
|
||||
"lib"
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@img/sharp-linuxmusl-arm64",
|
||||
"version": "0.34.4-rc.1",
|
||||
"version": "0.34.4-rc.3",
|
||||
"description": "Prebuilt sharp for use with Linux (musl) 64-bit ARM",
|
||||
"author": "Lovell Fuller <npm@lovell.info>",
|
||||
"homepage": "https://sharp.pixelplumbing.com",
|
||||
@ -15,7 +15,7 @@
|
||||
},
|
||||
"preferUnplugged": true,
|
||||
"optionalDependencies": {
|
||||
"@img/sharp-libvips-linuxmusl-arm64": "1.2.2-rc.2"
|
||||
"@img/sharp-libvips-linuxmusl-arm64": "1.2.2"
|
||||
},
|
||||
"files": [
|
||||
"lib"
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@img/sharp-linuxmusl-x64",
|
||||
"version": "0.34.4-rc.1",
|
||||
"version": "0.34.4-rc.3",
|
||||
"description": "Prebuilt sharp for use with Linux (musl) x64",
|
||||
"author": "Lovell Fuller <npm@lovell.info>",
|
||||
"homepage": "https://sharp.pixelplumbing.com",
|
||||
@ -15,7 +15,7 @@
|
||||
},
|
||||
"preferUnplugged": true,
|
||||
"optionalDependencies": {
|
||||
"@img/sharp-libvips-linuxmusl-x64": "1.2.2-rc.2"
|
||||
"@img/sharp-libvips-linuxmusl-x64": "1.2.2"
|
||||
},
|
||||
"files": [
|
||||
"lib"
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@img/sharp",
|
||||
"version": "0.34.4-rc.1",
|
||||
"version": "0.34.4-rc.3",
|
||||
"private": "true",
|
||||
"workspaces": [
|
||||
"darwin-arm64",
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@img/sharp-wasm32",
|
||||
"version": "0.34.4-rc.1",
|
||||
"version": "0.34.4-rc.3",
|
||||
"description": "Prebuilt sharp for use with wasm32",
|
||||
"author": "Lovell Fuller <npm@lovell.info>",
|
||||
"homepage": "https://sharp.pixelplumbing.com",
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@img/sharp-win32-arm64",
|
||||
"version": "0.34.4-rc.1",
|
||||
"version": "0.34.4-rc.3",
|
||||
"description": "Prebuilt sharp for use with Windows 64-bit ARM",
|
||||
"author": "Lovell Fuller <npm@lovell.info>",
|
||||
"homepage": "https://sharp.pixelplumbing.com",
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@img/sharp-win32-ia32",
|
||||
"version": "0.34.4-rc.1",
|
||||
"version": "0.34.4-rc.3",
|
||||
"description": "Prebuilt sharp for use with Windows x86 (32-bit)",
|
||||
"author": "Lovell Fuller <npm@lovell.info>",
|
||||
"homepage": "https://sharp.pixelplumbing.com",
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@img/sharp-win32-x64",
|
||||
"version": "0.34.4-rc.1",
|
||||
"version": "0.34.4-rc.3",
|
||||
"description": "Prebuilt sharp for use with Windows x64",
|
||||
"author": "Lovell Fuller <npm@lovell.info>",
|
||||
"homepage": "https://sharp.pixelplumbing.com",
|
||||
|
||||
58
package.json
58
package.json
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "sharp",
|
||||
"description": "High performance Node.js image processing, the fastest module to resize JPEG, PNG, WebP, GIF, AVIF and TIFF images",
|
||||
"version": "0.34.4-rc.1",
|
||||
"version": "0.34.4-rc.3",
|
||||
"author": "Lovell Fuller <npm@lovell.info>",
|
||||
"homepage": "https://sharp.pixelplumbing.com",
|
||||
"contributors": [
|
||||
@ -138,40 +138,40 @@
|
||||
],
|
||||
"dependencies": {
|
||||
"@img/colour": "^1.0.0",
|
||||
"detect-libc": "^2.0.4",
|
||||
"detect-libc": "^2.1.0",
|
||||
"semver": "^7.7.2"
|
||||
},
|
||||
"optionalDependencies": {
|
||||
"@img/sharp-darwin-arm64": "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-x64": "1.2.2-rc.2",
|
||||
"@img/sharp-libvips-linux-arm": "1.2.2-rc.2",
|
||||
"@img/sharp-libvips-linux-arm64": "1.2.2-rc.2",
|
||||
"@img/sharp-libvips-linux-ppc64": "1.2.2-rc.2",
|
||||
"@img/sharp-libvips-linux-s390x": "1.2.2-rc.2",
|
||||
"@img/sharp-libvips-linux-x64": "1.2.2-rc.2",
|
||||
"@img/sharp-libvips-linuxmusl-arm64": "1.2.2-rc.2",
|
||||
"@img/sharp-libvips-linuxmusl-x64": "1.2.2-rc.2",
|
||||
"@img/sharp-linux-arm": "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-s390x": "0.34.4-rc.1",
|
||||
"@img/sharp-linux-x64": "0.34.4-rc.1",
|
||||
"@img/sharp-linuxmusl-arm64": "0.34.4-rc.1",
|
||||
"@img/sharp-linuxmusl-x64": "0.34.4-rc.1",
|
||||
"@img/sharp-wasm32": "0.34.4-rc.1",
|
||||
"@img/sharp-win32-arm64": "0.34.4-rc.1",
|
||||
"@img/sharp-win32-ia32": "0.34.4-rc.1",
|
||||
"@img/sharp-win32-x64": "0.34.4-rc.1"
|
||||
"@img/sharp-darwin-arm64": "0.34.4-rc.3",
|
||||
"@img/sharp-darwin-x64": "0.34.4-rc.3",
|
||||
"@img/sharp-libvips-darwin-arm64": "1.2.2",
|
||||
"@img/sharp-libvips-darwin-x64": "1.2.2",
|
||||
"@img/sharp-libvips-linux-arm": "1.2.2",
|
||||
"@img/sharp-libvips-linux-arm64": "1.2.2",
|
||||
"@img/sharp-libvips-linux-ppc64": "1.2.2",
|
||||
"@img/sharp-libvips-linux-s390x": "1.2.2",
|
||||
"@img/sharp-libvips-linux-x64": "1.2.2",
|
||||
"@img/sharp-libvips-linuxmusl-arm64": "1.2.2",
|
||||
"@img/sharp-libvips-linuxmusl-x64": "1.2.2",
|
||||
"@img/sharp-linux-arm": "0.34.4-rc.3",
|
||||
"@img/sharp-linux-arm64": "0.34.4-rc.3",
|
||||
"@img/sharp-linux-ppc64": "0.34.4-rc.3",
|
||||
"@img/sharp-linux-s390x": "0.34.4-rc.3",
|
||||
"@img/sharp-linux-x64": "0.34.4-rc.3",
|
||||
"@img/sharp-linuxmusl-arm64": "0.34.4-rc.3",
|
||||
"@img/sharp-linuxmusl-x64": "0.34.4-rc.3",
|
||||
"@img/sharp-wasm32": "0.34.4-rc.3",
|
||||
"@img/sharp-win32-arm64": "0.34.4-rc.3",
|
||||
"@img/sharp-win32-ia32": "0.34.4-rc.3",
|
||||
"@img/sharp-win32-x64": "0.34.4-rc.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@emnapi/runtime": "^1.5.0",
|
||||
"@img/sharp-libvips-dev": "1.2.2-rc.2",
|
||||
"@img/sharp-libvips-dev-wasm32": "1.2.2-rc.2",
|
||||
"@img/sharp-libvips-win32-arm64": "1.2.2-rc.2",
|
||||
"@img/sharp-libvips-win32-ia32": "1.2.2-rc.2",
|
||||
"@img/sharp-libvips-win32-x64": "1.2.2-rc.2",
|
||||
"@img/sharp-libvips-dev": "1.2.2",
|
||||
"@img/sharp-libvips-dev-wasm32": "1.2.2",
|
||||
"@img/sharp-libvips-win32-arm64": "1.2.2",
|
||||
"@img/sharp-libvips-win32-ia32": "1.2.2",
|
||||
"@img/sharp-libvips-win32-x64": "1.2.2",
|
||||
"@types/node": "*",
|
||||
"cc": "^3.0.1",
|
||||
"emnapi": "^1.5.0",
|
||||
|
||||
@ -179,7 +179,7 @@ describe('libvips binaries', function () {
|
||||
process.env.npm_config_arch = 's390x';
|
||||
process.env.npm_config_libc = '';
|
||||
const locatorHash = libvips.yarnLocator();
|
||||
assert.strictEqual(locatorHash, 'b5865b53e1');
|
||||
assert.strictEqual(locatorHash, '9773928ef2');
|
||||
delete process.env.npm_config_platform;
|
||||
delete process.env.npm_config_arch;
|
||||
delete process.env.npm_config_libc;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user