@rsbuild/plugin-image-compress 1.3.2 → 1.3.3

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/dist/index.cjs +3 -3
  2. package/package.json +16 -14
package/dist/index.cjs CHANGED
@@ -22,7 +22,7 @@ var __webpack_require__ = {};
22
22
  })();
23
23
  (()=>{
24
24
  __webpack_require__.r = (exports1)=>{
25
- if ('undefined' != typeof Symbol && Symbol.toStringTag) Object.defineProperty(exports1, Symbol.toStringTag, {
25
+ if ("u" > typeof Symbol && Symbol.toStringTag) Object.defineProperty(exports1, Symbol.toStringTag, {
26
26
  value: 'Module'
27
27
  });
28
28
  Object.defineProperty(exports1, '__esModule', {
@@ -238,12 +238,12 @@ exports.DEFAULT_OPTIONS = __webpack_exports__.DEFAULT_OPTIONS;
238
238
  exports.ImageMinimizerPlugin = __webpack_exports__.ImageMinimizerPlugin;
239
239
  exports.PLUGIN_IMAGE_COMPRESS_NAME = __webpack_exports__.PLUGIN_IMAGE_COMPRESS_NAME;
240
240
  exports.pluginImageCompress = __webpack_exports__.pluginImageCompress;
241
- for(var __webpack_i__ in __webpack_exports__)if (-1 === [
241
+ for(var __rspack_i in __webpack_exports__)if (-1 === [
242
242
  "DEFAULT_OPTIONS",
243
243
  "ImageMinimizerPlugin",
244
244
  "PLUGIN_IMAGE_COMPRESS_NAME",
245
245
  "pluginImageCompress"
246
- ].indexOf(__webpack_i__)) exports[__webpack_i__] = __webpack_exports__[__webpack_i__];
246
+ ].indexOf(__rspack_i)) exports[__rspack_i] = __webpack_exports__[__rspack_i];
247
247
  Object.defineProperty(exports, '__esModule', {
248
248
  value: true
249
249
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rsbuild/plugin-image-compress",
3
- "version": "1.3.2",
3
+ "version": "1.3.3",
4
4
  "repository": "https://github.com/rstackjs/rsbuild-plugin-image-compress",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -14,10 +14,12 @@
14
14
  "main": "./dist/index.js",
15
15
  "module": "./dist/index.mjs",
16
16
  "types": "./dist/index.d.ts",
17
- "files": ["dist"],
17
+ "files": [
18
+ "dist"
19
+ ],
18
20
  "scripts": {
19
- "build": "rslib build",
20
- "dev": "rslib build --watch",
21
+ "build": "rslib",
22
+ "dev": "rslib -w",
21
23
  "lint": "biome check .",
22
24
  "lint:write": "biome check . --write",
23
25
  "prepare": "simple-git-hooks && npm run build",
@@ -33,19 +35,19 @@
33
35
  ]
34
36
  },
35
37
  "dependencies": {
36
- "@napi-rs/image": "^1.11.2",
37
- "svgo": "^3.3.2"
38
+ "@napi-rs/image": "1.11.2",
39
+ "svgo": "^3.3.3"
38
40
  },
39
41
  "devDependencies": {
40
42
  "@biomejs/biome": "^1.9.4",
41
- "@playwright/test": "^1.57.0",
42
- "@rsbuild/core": "1.6.10",
43
- "@rslib/core": "^0.18.2",
44
- "@types/node": "^24.10.1",
45
- "nano-staged": "^0.9.0",
46
- "playwright": "^1.57.0",
43
+ "@playwright/test": "^1.59.1",
44
+ "@rsbuild/core": "^2.0.0",
45
+ "@rslib/core": "^0.21.3",
46
+ "@types/node": "^24.12.2",
47
+ "nano-staged": "^1.0.2",
48
+ "playwright": "^1.59.1",
47
49
  "simple-git-hooks": "^2.13.1",
48
- "typescript": "^5.9.3"
50
+ "typescript": "6.0.3"
49
51
  },
50
52
  "peerDependencies": {
51
53
  "@rsbuild/core": "^1.0.0 || ^2.0.0-0"
@@ -55,7 +57,7 @@
55
57
  "optional": true
56
58
  }
57
59
  },
58
- "packageManager": "pnpm@10.24.0",
60
+ "packageManager": "pnpm@10.33.1",
59
61
  "publishConfig": {
60
62
  "access": "public",
61
63
  "registry": "https://registry.npmjs.org/"