@strapi/provider-upload-local 5.52.0 → 5.52.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.
Files changed (2) hide show
  1. package/README.md +1 -1
  2. package/package.json +6 -6
package/README.md CHANGED
@@ -44,7 +44,7 @@ module.exports = ({ env }) => ({
44
44
  });
45
45
  ```
46
46
 
47
- The `sizeLimit` parameter must be a number. Be aware that the unit is in bytes, and the default is 1000000. When setting this value high, you should make sure to also configure the body parser middleware `maxFileSize` so the file can be sent and processed. Read more [here](https://docs.strapi.io/developer-docs/latest/plugins/upload.html#configuration)
47
+ The `sizeLimit` parameter must be a number. Be aware that the unit is in bytes, and the default is 1000000000 (1GB). When setting this value high, you should make sure to also configure the body parser middleware `maxFileSize` so the file can be sent and processed — it defaults to roughly 200MB, and rejects larger files before the upload plugin ever sees them. Read more [here](https://docs.strapi.io/developer-docs/latest/plugins/upload.html#configuration)
48
48
 
49
49
  ### Security Middleware Configuration
50
50
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@strapi/provider-upload-local",
3
- "version": "5.52.0",
3
+ "version": "5.52.2",
4
4
  "description": "Local provider for strapi upload",
5
5
  "keywords": [
6
6
  "upload",
@@ -47,17 +47,17 @@
47
47
  "watch": "run -T rollup -c -w"
48
48
  },
49
49
  "dependencies": {
50
- "@strapi/utils": "5.52.0",
50
+ "@strapi/utils": "5.52.2",
51
51
  "fs-extra": "11.3.4"
52
52
  },
53
53
  "devDependencies": {
54
- "@strapi/types": "5.52.0",
54
+ "@strapi/types": "5.52.2",
55
55
  "@types/fs-extra": "11.0.4",
56
56
  "@types/node": "20.19.41",
57
- "eslint-config-custom": "5.52.0",
58
- "tsconfig": "5.52.0",
57
+ "eslint-config-custom": "5.52.2",
58
+ "tsconfig": "5.52.2",
59
59
  "vitest": "catalog:",
60
- "vitest-config": "5.52.0"
60
+ "vitest-config": "5.52.2"
61
61
  },
62
62
  "engines": {
63
63
  "node": ">=20.0.0 <=26.x.x",