sharp 0.33.0-alpha.7 → 0.33.0-alpha.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/lib/sharp.js +6 -7
  2. package/package.json +10 -10
package/lib/sharp.js CHANGED
@@ -30,11 +30,8 @@ try {
30
30
  help.push('Possible solutions:');
31
31
  // Common error messages
32
32
  if (prebuiltPlatforms.includes(runtimePlatform)) {
33
- help.push('- Add explicit dependencies for the runtime platform:');
34
- help.push(` npm install --force @sharpen/sharp-${runtimePlatform}`);
35
- if (!isWindows) {
36
- help.push(` npm install --force @sharpen/sharp-libvips-${runtimePlatform}`);
37
- }
33
+ help.push('- Add an explicit dependency for the runtime platform:');
34
+ help.push(` npm install --force @sharpen/sharp-${runtimePlatform}"`);
38
35
  } else {
39
36
  help.push(`- The ${runtimePlatform} platform requires manual installation of libvips >= ${minimumLibvipsVersion}`);
40
37
  }
@@ -43,7 +40,9 @@ try {
43
40
  const { engines } = require(`@sharpen/sharp-libvips-${runtimePlatform}/package`);
44
41
  const libcFound = `${familySync()} ${versionSync()}`;
45
42
  const libcRequires = `${engines.musl ? 'musl' : 'glibc'} ${engines.musl || engines.glibc}`;
46
- help.push(`- Update your OS: found ${libcFound}, requires ${libcRequires}`);
43
+ help.push('- Update your OS:');
44
+ help.push(` Found ${libcFound}`);
45
+ help.push(` Requires ${libcRequires}`);
47
46
  } catch (errEngines) {}
48
47
  }
49
48
  if (isMacOs && /Incompatible library version/.test(errLocal.message)) {
@@ -54,7 +53,7 @@ try {
54
53
  help.push('- Run Node.js without using the --no-addons flag');
55
54
  }
56
55
  if (process.versions.pnp) {
57
- help.push('- Use a supported yarn linker, either pnpm or node-modules');
56
+ help.push('- Use a supported yarn linker, either pnpm or node-modules:');
58
57
  help.push(' yarn config set nodeLinker node-modules');
59
58
  }
60
59
  // Link to installation docs
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "sharp",
3
3
  "description": "High performance Node.js image processing, the fastest module to resize JPEG, PNG, WebP, GIF, AVIF and TIFF images",
4
- "version": "0.33.0-alpha.7",
4
+ "version": "0.33.0-alpha.8",
5
5
  "author": "Lovell Fuller <npm@lovell.info>",
6
6
  "homepage": "https://github.com/lovell/sharp",
7
7
  "contributors": [
@@ -139,8 +139,8 @@
139
139
  "semver": "^7.5.4"
140
140
  },
141
141
  "optionalDependencies": {
142
- "@sharpen/sharp-darwin-arm64": "0.0.1-alpha.7",
143
- "@sharpen/sharp-darwin-x64": "0.0.1-alpha.7",
142
+ "@sharpen/sharp-darwin-arm64": "0.0.1-alpha.8",
143
+ "@sharpen/sharp-darwin-x64": "0.0.1-alpha.8",
144
144
  "@sharpen/sharp-libvips-darwin-arm64": "0.0.1-alpha.2",
145
145
  "@sharpen/sharp-libvips-darwin-x64": "0.0.1-alpha.2",
146
146
  "@sharpen/sharp-libvips-linux-arm": "0.0.1-alpha.2",
@@ -148,13 +148,13 @@
148
148
  "@sharpen/sharp-libvips-linux-x64": "0.0.1-alpha.2",
149
149
  "@sharpen/sharp-libvips-linuxmusl-arm64": "0.0.1-alpha.2",
150
150
  "@sharpen/sharp-libvips-linuxmusl-x64": "0.0.1-alpha.2",
151
- "@sharpen/sharp-linux-arm": "0.0.1-alpha.7",
152
- "@sharpen/sharp-linux-arm64": "0.0.1-alpha.7",
153
- "@sharpen/sharp-linux-x64": "0.0.1-alpha.7",
154
- "@sharpen/sharp-linuxmusl-arm64": "0.0.1-alpha.7",
155
- "@sharpen/sharp-linuxmusl-x64": "0.0.1-alpha.7",
156
- "@sharpen/sharp-win32-ia32": "0.0.1-alpha.7",
157
- "@sharpen/sharp-win32-x64": "0.0.1-alpha.7"
151
+ "@sharpen/sharp-linux-arm": "0.0.1-alpha.8",
152
+ "@sharpen/sharp-linux-arm64": "0.0.1-alpha.8",
153
+ "@sharpen/sharp-linux-x64": "0.0.1-alpha.8",
154
+ "@sharpen/sharp-linuxmusl-arm64": "0.0.1-alpha.8",
155
+ "@sharpen/sharp-linuxmusl-x64": "0.0.1-alpha.8",
156
+ "@sharpen/sharp-win32-ia32": "0.0.1-alpha.8",
157
+ "@sharpen/sharp-win32-x64": "0.0.1-alpha.8"
158
158
  },
159
159
  "devDependencies": {
160
160
  "@sharpen/sharp-libvips-dev": "0.0.1-alpha.2",