graphql-upload 18.0.2 → 18.0.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "graphql-upload",
3
- "version": "18.0.2",
3
+ "version": "18.0.3",
4
4
  "description": "Middleware and a scalar Upload to add support for GraphQL multipart requests (file uploads via queries and mutations) to various Node.js GraphQL servers.",
5
5
  "license": "MIT",
6
6
  "author": {
@@ -65,7 +65,7 @@
65
65
  }
66
66
  },
67
67
  "dependencies": {
68
- "@types/busboy": "^1.5.0",
68
+ "@types/busboy": "^1.5.5",
69
69
  "@types/node": "*",
70
70
  "@types/object-path": "^0.11.1",
71
71
  "busboy": "^1.6.0",
@@ -384,7 +384,7 @@ export default function processRequest(
384
384
  * [GraphQL multipart request](https://github.com/jaydenseric/graphql-multipart-request-spec)
385
385
  * has begun streaming in.
386
386
  * @typedef {object} FileUpload
387
- * @property {string} filename File name.
387
+ * @property {string | undefined} filename File name, if provided by the client.
388
388
  * @property {string} mimetype File MIME type. Provided by the client and can’t
389
389
  * be trusted.
390
390
  * @property {string} encoding File stream transfer encoding.