netlify-cli 16.4.0 → 16.4.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.
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "netlify-cli",
3
- "version": "16.4.0",
3
+ "version": "16.4.2",
4
4
  "lockfileVersion": 2,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "netlify-cli",
9
- "version": "16.4.0",
9
+ "version": "16.4.2",
10
10
  "hasInstallScript": true,
11
11
  "license": "MIT",
12
12
  "dependencies": {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "netlify-cli",
3
3
  "description": "Netlify command line tool",
4
- "version": "16.4.0",
4
+ "version": "16.4.2",
5
5
  "author": "Netlify Inc.",
6
6
  "type": "module",
7
7
  "engines": {
@@ -1,5 +1,5 @@
1
1
  import { env } from 'process'
2
2
 
3
- const latestBootstrapURL = 'https://64f73321fdd56900083fa618--edge.netlify.com/bootstrap/index-combined.ts'
3
+ const latestBootstrapURL = 'https://650bfd807b21ed000893e25c--edge.netlify.com/bootstrap/index-combined.ts'
4
4
 
5
5
  export const getBootstrapURL = () => env.NETLIFY_EDGE_BOOTSTRAP || latestBootstrapURL
@@ -106,7 +106,7 @@ const hashFns = async (
106
106
  statusCb,
107
107
  tmpDir,
108
108
  })
109
- const fileObjs = functionZips.map(({ displayName, generator, path: functionPath, runtime }) => ({
109
+ const fileObjs = functionZips.map(({ displayName, generator, invocationMode, path: functionPath, runtime }) => ({
110
110
  filepath: functionPath,
111
111
  root: tmpDir,
112
112
  relname: path.relative(tmpDir, functionPath),
@@ -118,6 +118,7 @@ const hashFns = async (
118
118
  runtime,
119
119
  displayName,
120
120
  generator,
121
+ invocationMode,
121
122
  }))
122
123
  const fnConfig = functionZips
123
124
  .filter((func) => Boolean(func.displayName || func.generator))
@@ -14,7 +14,7 @@ const uploadFiles = async (api, deployId, uploadList, { concurrentUpload, maxRet
14
14
  })
15
15
 
16
16
  const uploadFile = async (fileObj, index) => {
17
- const { assetType, filepath, normalizedPath, runtime } = fileObj
17
+ const { assetType, filepath, invocationMode, normalizedPath, runtime } = fileObj
18
18
  const readStreamCtor = () => fs.createReadStream(filepath)
19
19
 
20
20
  statusCb({
@@ -41,6 +41,7 @@ const uploadFiles = async (api, deployId, uploadList, { concurrentUpload, maxRet
41
41
  const params = {
42
42
  body: readStreamCtor,
43
43
  deployId,
44
+ invocationMode,
44
45
  name: encodeURI(normalizedPath),
45
46
  runtime,
46
47
  }