netlify-cli 17.2.1 → 17.2.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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "netlify-cli",
3
3
  "description": "Netlify command line tool",
4
- "version": "17.2.1",
4
+ "version": "17.2.2",
5
5
  "author": "Netlify Inc.",
6
6
  "type": "module",
7
7
  "engines": {
@@ -45,12 +45,12 @@
45
45
  "@bugsnag/js": "7.20.2",
46
46
  "@fastify/static": "6.10.2",
47
47
  "@netlify/blobs": "^4.0.0",
48
- "@netlify/build": "29.25.0",
49
- "@netlify/build-info": "7.10.2",
48
+ "@netlify/build": "29.26.3",
49
+ "@netlify/build-info": "7.11.1",
50
50
  "@netlify/config": "20.9.0",
51
51
  "@netlify/edge-bundler": "^10.1.0",
52
52
  "@netlify/local-functions-proxy": "1.1.1",
53
- "@netlify/zip-it-and-ship-it": "9.25.7",
53
+ "@netlify/zip-it-and-ship-it": "9.26.1",
54
54
  "@octokit/rest": "19.0.13",
55
55
  "ansi-escapes": "6.2.0",
56
56
  "ansi-styles": "6.2.1",
@@ -184,7 +184,7 @@ export default class NetlifyFunction {
184
184
  }
185
185
 
186
186
  // Invokes the function and returns its response object.
187
- async invoke(event, context = {}) {
187
+ async invoke(event = {}, context = {}) {
188
188
  await this.buildQueue
189
189
 
190
190
  if (this.buildError) {
@@ -200,10 +200,7 @@ export default class NetlifyFunction {
200
200
  token: this.blobsContext.token,
201
201
  })
202
202
 
203
- context.custom = {
204
- ...context?.custom,
205
- blobs: Buffer.from(payload).toString('base64'),
206
- }
203
+ event.blobs = Buffer.from(payload).toString('base64')
207
204
  }
208
205
 
209
206
  try {