@revizly/sharp 0.35.0-revizly35 → 0.35.0-revizly36

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/index.d.ts CHANGED
@@ -27,8 +27,8 @@
27
27
 
28
28
  /// <reference types="node" />
29
29
 
30
- import type { Duplex } from 'node:stream';
31
- import { ColorLike } from '@img/colour';
30
+ declare type Duplex = import('node:stream').Duplex;
31
+ declare type ColorLike = import('@img/colour').ColorLike;
32
32
 
33
33
  //#region Constructor functions
34
34
 
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.35.0-revizly35",
4
+ "version": "0.35.0-revizly36",
5
5
  "author": "Lovell Fuller <npm@lovell.info>",
6
6
  "homepage": "https://sharp.pixelplumbing.com",
7
7
  "contributors": [
@@ -98,9 +98,10 @@
98
98
  "build:dist": "node scripts/build.mjs",
99
99
  "clean": "rm -rf src/build/ test/fixtures/output.*",
100
100
  "test": "npm run lint && npm run test-unit",
101
- "lint": "npm run lint-cpp && npm run lint-js && npm run lint-types",
101
+ "lint": "npm run lint-cpp && npm run lint-js && npm run lint-types && npm run lint-publish",
102
102
  "lint-cpp": "cpplint --quiet src/*.h src/*.cc",
103
103
  "lint-js": "biome lint",
104
+ "lint-publish": "publint --strict",
104
105
  "lint-types": "tsd --files ./test/types/sharp.test-d.ts",
105
106
  "test-leak": "./test/leak/leak.sh",
106
107
  "test-unit": "node --experimental-test-coverage test/unit.mjs",
@@ -120,13 +121,20 @@
120
121
  ],
121
122
  "main": "./dist/index.cjs",
122
123
  "module": "./dist/index.mjs",
123
- "types": "./lib/index.d.ts",
124
+ "types": "./dist/index.d.mts",
124
125
  "exports": {
125
126
  ".": {
126
- "import": "./dist/index.mjs",
127
- "require": "./dist/index.cjs"
127
+ "import": {
128
+ "types": "./dist/index.d.mts",
129
+ "default": "./dist/index.mjs"
130
+ },
131
+ "require": {
132
+ "types": "./dist/index.d.cts",
133
+ "default": "./dist/index.cjs"
134
+ }
128
135
  }
129
136
  },
137
+ "sideEffects": true,
130
138
  "repository": {
131
139
  "type": "git",
132
140
  "url": "git://github.com/janaz/sharp.git"
@@ -152,19 +160,19 @@
152
160
  "dependencies": {
153
161
  "@img/colour": "^1.1.0",
154
162
  "detect-libc": "^2.1.2",
155
- "semver": "^7.8.3"
163
+ "semver": "^7.8.4"
156
164
  },
157
165
  "optionalDependencies": {
158
- "@revizly/sharp-libvips-linux-arm64": "1.0.38",
159
- "@revizly/sharp-libvips-linux-x64": "1.0.38",
160
- "@revizly/sharp-linux-arm64": "0.35.0-revizly35",
161
- "@revizly/sharp-linux-x64": "0.35.0-revizly35"
166
+ "@revizly/sharp-libvips-linux-arm64": "1.0.39",
167
+ "@revizly/sharp-libvips-linux-x64": "1.0.39",
168
+ "@revizly/sharp-linux-arm64": "0.35.0-revizly36",
169
+ "@revizly/sharp-linux-x64": "0.35.0-revizly36"
162
170
  },
163
171
  "devDependencies": {
164
172
  "@biomejs/biome": "^2.4.16",
165
173
  "@cpplint/cli": "^0.1.0",
166
174
  "@emnapi/runtime": "^1.11.0",
167
- "@revizly/sharp-libvips-dev": "1.0.38",
175
+ "@revizly/sharp-libvips-dev": "1.0.39",
168
176
  "@types/node": "*",
169
177
  "emnapi": "^1.11.0",
170
178
  "exif-reader": "^2.0.3",
@@ -172,6 +180,7 @@
172
180
  "icc": "^4.0.0",
173
181
  "node-addon-api": "^8.8.0",
174
182
  "node-gyp": "^12.4.0",
183
+ "publint": "^0.3.21",
175
184
  "tar-fs": "^3.1.2",
176
185
  "tsd": "^0.33.0"
177
186
  },