@serwist/build 9.0.8 → 9.0.10

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.
@@ -1 +1 @@
1
- {"version":3,"file":"get-file-size.d.ts","sourceRoot":"","sources":["../../src/lib/get-file-size.ts"],"names":[],"mappings":"AAWA,eAAO,MAAM,WAAW,SAAU,MAAM,KAAG,MAAM,GAAG,IAUnD,CAAA"}
1
+ {"version":3,"file":"get-file-size.d.ts","sourceRoot":"","sources":["../../src/lib/get-file-size.ts"],"names":[],"mappings":"AAWA,eAAO,MAAM,WAAW,SAAU,MAAM,KAAG,MAAM,GAAG,IAUnD,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@serwist/build",
3
- "version": "9.0.8",
3
+ "version": "9.0.10",
4
4
  "type": "module",
5
5
  "description": "A module that integrates into your build process, helping you generate a manifest of local files that should be precached.",
6
6
  "files": [
@@ -51,17 +51,17 @@
51
51
  "common-tags": "1.8.2",
52
52
  "glob": "10.4.5",
53
53
  "pretty-bytes": "6.1.1",
54
- "rollup": "4.21.3",
55
54
  "source-map": "0.8.0-beta.0",
56
55
  "zod": "3.23.8"
57
56
  },
58
57
  "devDependencies": {
59
58
  "@types/common-tags": "1.8.4",
60
- "@types/node": "22.5.5",
59
+ "@types/node": "22.8.6",
60
+ "rollup": "4.24.3",
61
61
  "type-fest": "4.26.1",
62
- "typescript": "5.6.2",
63
- "@serwist/configs": "9.0.8",
64
- "@serwist/utils": "9.0.8"
62
+ "typescript": "5.6.3",
63
+ "@serwist/configs": "9.0.10",
64
+ "@serwist/utils": "9.0.10"
65
65
  },
66
66
  "peerDependencies": {
67
67
  "typescript": ">=5.0.0"
package/src/index.ts CHANGED
@@ -20,7 +20,7 @@ import { validateGetManifestOptions, validateInjectManifestOptions } from "./lib
20
20
  // TODO: remove in v10.
21
21
  /**
22
22
  * Use `JSON.stringify` instead.
23
- *
23
+ *
24
24
  * @deprecated
25
25
  */
26
26
  const stringify = JSON.stringify;
@@ -19,4 +19,4 @@ export const getFileSize = (file: string): number | null => {
19
19
  } catch (err) {
20
20
  throw new Error(`${errors["unable-to-get-file-size"]} '${err instanceof Error && err.message ? err.message : ""}'`);
21
21
  }
22
- }
22
+ };