vite-plugin-singlefile-compression 2.3.0 → 2.3.2

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/README.md CHANGED
@@ -153,20 +153,20 @@ Preview: https://bddjr.github.io/vite-plugin-singlefile-compression/
153
153
 
154
154
  ```
155
155
  vite v8.0.8 building client environment for production...
156
- 42 modules transformed.
156
+ 43 modules transformed.
157
157
  rendering chunks (1)...
158
158
 
159
- vite-plugin-singlefile-compression 2.3.0 deflate-raw base128-ascii
159
+ vite-plugin-singlefile-compression 2.3.2 deflate-raw base128-ascii
160
160
 
161
161
  file:///D:/code/js/vite-plugin-singlefile-compression/test/dist/index.html
162
- 122.767 kB -> 50.111 kB
162
+ 125.847 kB -> 51.312 kB
163
163
 
164
164
  Finish.
165
165
 
166
166
  computing gzip size...
167
- dist/index.html 50.11 kB │ gzip: 43.67 kB
167
+ dist/index.html 51.31 kB │ gzip: 44.73 kB
168
168
 
169
- ✓ built in 313ms
169
+ ✓ built in 288ms
170
170
  ```
171
171
 
172
172
  ## Clone
@@ -174,9 +174,6 @@ dist/index.html 50.11 kB │ gzip: 43.67 kB
174
174
  ```
175
175
  git clone https://github.com/bddjr/vite-plugin-singlefile-compression
176
176
  cd vite-plugin-singlefile-compression
177
- npm i
178
- cd test
179
- npm i
180
- cd ..
181
- npm run build
177
+ pnpm i
178
+ pnpm build
182
179
  ```
package/dist/index.js CHANGED
@@ -9,7 +9,7 @@ import zlib from "zlib";
9
9
  import svgToTinyDataUri from "mini-svg-data-uri";
10
10
  import { lookup } from "mrmime";
11
11
  //#region package.json
12
- var version = "2.3.0";
12
+ var version = "2.3.2";
13
13
  //#endregion
14
14
  //#region src/compress.ts
15
15
  const compressors = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vite-plugin-singlefile-compression",
3
- "version": "2.3.0",
3
+ "version": "2.3.2",
4
4
  "author": "bddjr",
5
5
  "license": "MIT",
6
6
  "description": "Compress all assets and embeds them into dist/index.html, making it convenient to share as a single HTML file.",
@@ -89,7 +89,7 @@
89
89
  },
90
90
  "dependencies": {
91
91
  "@types/html-minifier-terser": ">=7.0.2",
92
- "base128-ascii": "^2.1.12",
92
+ "base128-ascii": ">=3.1.1",
93
93
  "html-minifier-terser": ">=7.2.0",
94
94
  "jsdom": ">=29.0.2",
95
95
  "mini-svg-data-uri": ">=1.4.4",
@@ -98,11 +98,11 @@
98
98
  },
99
99
  "devDependencies": {
100
100
  "@types/jsdom": ">=28.0.1",
101
- "@types/node": "^22.19.17",
101
+ "@types/node": "^24.12.2",
102
102
  "rolldown": ">=1.0.0-rc.15",
103
- "rolldown-plugin-dts": ">=0.22.5",
103
+ "rolldown-plugin-dts": ">=0.23.2",
104
104
  "terser": ">=5.46.1",
105
105
  "typescript": ">=6.0.2",
106
106
  "vite": ">=8.0.8"
107
107
  }
108
- }
108
+ }