@revizly/sharp 0.34.0-revizly7 → 0.34.0-revizly8

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.
package/lib/libvips.js CHANGED
@@ -113,7 +113,9 @@ const sha512 = (s) => createHash('sha512').update(s).digest('hex');
113
113
  const yarnLocator = () => {
114
114
  try {
115
115
  const identHash = sha512(`imgsharp-libvips-${buildPlatformArch()}`);
116
- const npmVersion = semverCoerce(optionalDependencies[`@revizly/sharp-libvips-${buildPlatformArch()}`]).version;
116
+ const npmVersion = semverCoerce(optionalDependencies[`@revizly/sharp-libvips-${buildPlatformArch()}`], {
117
+ includePrerelease: true
118
+ }).version;
117
119
  return sha512(`${identHash}npm:${npmVersion}`).slice(0, 10);
118
120
  } catch {}
119
121
  return '';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@revizly/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.34.0-revizly7",
4
+ "version": "0.34.0-revizly8",
5
5
  "author": "Lovell Fuller <npm@lovell.info>",
6
6
  "homepage": "https://sharp.pixelplumbing.com",
7
7
  "contributors": [
@@ -139,17 +139,17 @@
139
139
  "dependencies": {
140
140
  "color": "^4.2.3",
141
141
  "detect-libc": "^2.0.3",
142
- "semver": "^7.6.3"
142
+ "semver": "^7.7.1"
143
143
  },
144
144
  "optionalDependencies": {
145
- "@revizly/sharp-libvips-linux-arm64": "1.0.10",
146
- "@revizly/sharp-libvips-linux-x64": "1.0.10",
145
+ "@revizly/sharp-libvips-linux-arm64": "1.0.11",
146
+ "@revizly/sharp-libvips-linux-x64": "1.0.11",
147
147
  "@revizly/sharp-linux-arm64": "0.34.0-revizly6",
148
148
  "@revizly/sharp-linux-x64": "0.34.0-revizly6"
149
149
  },
150
150
  "devDependencies": {
151
151
  "@emnapi/runtime": "^1.3.1",
152
- "@revizly/sharp-libvips-dev": "1.0.10",
152
+ "@revizly/sharp-libvips-dev": "1.0.11",
153
153
  "@types/node": "*",
154
154
  "cc": "^3.0.1",
155
155
  "emnapi": "^1.3.1",
@@ -158,12 +158,12 @@
158
158
  "icc": "^3.0.0",
159
159
  "jsdoc-to-markdown": "^9.1.1",
160
160
  "license-checker": "^25.0.1",
161
- "mocha": "^11.0.1",
162
- "node-addon-api": "^8.3.0",
161
+ "mocha": "^11.1.0",
162
+ "node-addon-api": "^8.3.1",
163
163
  "nyc": "^17.1.0",
164
164
  "prebuild": "^13.0.1",
165
165
  "semistandard": "^17.0.0",
166
- "tar-fs": "3.0.6",
166
+ "tar-fs": "^3.0.8",
167
167
  "tsd": "^0.31.2"
168
168
  },
169
169
  "license": "Apache-2.0",
@@ -171,7 +171,7 @@
171
171
  "node": "^18.17.0 || ^20.3.0 || >=21.0.0"
172
172
  },
173
173
  "config": {
174
- "libvips": ">=8.16.0"
174
+ "libvips": ">=8.16.1"
175
175
  },
176
176
  "funding": {
177
177
  "url": "https://opencollective.com/libvips"
package/src/common.h CHANGED
@@ -16,8 +16,8 @@
16
16
 
17
17
  #if (VIPS_MAJOR_VERSION < 8) || \
18
18
  (VIPS_MAJOR_VERSION == 8 && VIPS_MINOR_VERSION < 16) || \
19
- (VIPS_MAJOR_VERSION == 8 && VIPS_MINOR_VERSION == 16 && VIPS_MICRO_VERSION < 0)
20
- #error "libvips version 8.16.0+ is required - please see https://sharp.pixelplumbing.com/install"
19
+ (VIPS_MAJOR_VERSION == 8 && VIPS_MINOR_VERSION == 16 && VIPS_MICRO_VERSION < 1)
20
+ #error "libvips version 8.16.1+ is required - please see https://sharp.pixelplumbing.com/install"
21
21
  #endif
22
22
 
23
23
  #if defined(__has_include)
package/src/pipeline.cc CHANGED
@@ -1369,6 +1369,9 @@ class PipelineWorker : public Napi::AsyncWorker {
1369
1369
  for (sharp::InputDescriptor *input : baton->joinChannelIn) {
1370
1370
  delete input;
1371
1371
  }
1372
+ for (sharp::InputDescriptor *input : baton->join) {
1373
+ delete input;
1374
+ }
1372
1375
  delete baton;
1373
1376
 
1374
1377
  // Decrement processing task counter