Repository: netlify/build
Pull request #3973 (2021-12-21 12:34:17)

fix(deps): update dependency @netlify/zip-it-and-ship-it to ^5.4.0
[![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@netlify/zip-it-and-ship-it](https://togithub.com/netlify/zip-it-and-ship-it) | [`^5.3.1` -> `^5.4.0`](https://renovatebot.com/diffs/npm/@netlify%2fzip-it-and-ship-it/5.3.1/5.4.0) | [![age](https://badges.renovateapi.com/packages/npm/@netlify%2fzip-it-and-ship-it/5.4.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@netlify%2fzip-it-and-ship-it/5.4.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@netlify%2fzip-it-and-ship-it/5.4.0/compatibility-slim/5.3.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@netlify%2fzip-it-and-ship-it/5.4.0/confidence-slim/5.3.1)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

<details>
<summary>netlify/zip-it-and-ship-it</summary>

### [`v5.4.0`](https://togithub.com/netlify/zip-it-and-ship-it/blob/HEAD/CHANGELOG.md#&#8203;540-httpswwwgithubcomnetlifyzip-it-and-ship-itcomparev531v540-2021-12-21)

[Compare Source](https://togithub.com/netlify/zip-it-and-ship-it/compare/v5.3.1...v5.4.0)

##### Features

-   add in-source-config detection to listFunctions ([#&#8203;899](https://www.togithub.com/netlify/zip-it-and-ship-it/issues/899)) ([0703934](https://www.github.com/netlify/zip-it-and-ship-it/commit/070393471c9147974f1c11e2b17dfb3fd5a4c6f6))

##### [5.3.1](https://www.github.com/netlify/zip-it-and-ship-it/compare/v5.3.0...v5.3.1) (2021-12-21)

##### Bug Fixes

-   correctly zip symlinks ([#&#8203;792](https://www.togithub.com/netlify/zip-it-and-ship-it/issues/792)) ([8104b72](https://www.github.com/netlify/zip-it-and-ship-it/commit/8104b72dceb3cc9082f811d64f6f4777fe5c8f17))

</details>

---

### Configuration

📅 **Schedule**: At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, click this checkbox.

---

This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/netlify/build).


Patch:
diff --git a/package-lock.json b/package-lock.json
index 6c3f18a0a..c7b1e0eac 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -2360,9 +2360,9 @@
       "link": true
     },
     "node_modules/@netlify/zip-it-and-ship-it": {
-      "version": "5.3.1",
-      "resolved": "https://registry.npmjs.org/@netlify/zip-it-and-ship-it/-/zip-it-and-ship-it-5.3.1.tgz",
-      "integrity": "sha512-J8owr4lft/uKrozivDmIzKKe5IQ6zTWKyemdwljYDMTh2UrCwEH5u35X17zqO5LCS7FJ6uyCy5yBtBUrqdAtMA==",
+      "version": "5.4.0",
+      "resolved": "https://registry.npmjs.org/@netlify/zip-it-and-ship-it/-/zip-it-and-ship-it-5.4.0.tgz",
+      "integrity": "sha512-JVUr7S6GTHnPpwtD+g/+qzhKvhXwXoHGeisaHt1YYARRRd+XdvwFYo8yY2JzT7hM26uz99tpKwzDSfcL+WR1rQ==",
       "dependencies": {
         "@babel/parser": "^7.15.7",
         "@netlify/esbuild": "^0.13.6",
@@ -15842,7 +15842,7 @@
     },
     "packages/build": {
       "name": "@netlify/build",
-      "version": "26.0.0",
+      "version": "26.0.1",
       "license": "MIT",
       "dependencies": {
         "@bugsnag/js": "^7.0.0",
@@ -15853,7 +15853,7 @@
         "@netlify/plugin-edge-handlers": "^3.0.0",
         "@netlify/plugins-list": "^6.2.0",
         "@netlify/run-utils": "^4.0.0",
-        "@netlify/zip-it-and-ship-it": "^5.3.1",
+        "@netlify/zip-it-and-ship-it": "^5.4.0",
         "@sindresorhus/slugify": "^1.1.0",
         "ansi-escapes": "^4.3.2",
         "chalk": "^4.1.2",
@@ -16354,10 +16354,10 @@
     },
     "packages/functions-utils": {
       "name": "@netlify/functions-utils",
-      "version": "4.0.1",
+      "version": "4.0.2",
       "license": "MIT",
       "dependencies": {
-        "@netlify/zip-it-and-ship-it": "^5.3.1",
+        "@netlify/zip-it-and-ship-it": "^5.4.0",
         "cpy": "^8.1.0",
         "path-exists": "^4.0.0"
       },
@@ -18025,7 +18025,7 @@
         "@netlify/plugin-edge-handlers": "^3.0.0",
         "@netlify/plugins-list": "^6.2.0",
         "@netlify/run-utils": "^4.0.0",
-        "@netlify/zip-it-and-ship-it": "^5.3.1",
+        "@netlify/zip-it-and-ship-it": "^5.4.0",
         "@sindresorhus/slugify": "^1.1.0",
         "ansi-escapes": "^4.3.2",
         "atob": "^2.1.2",
@@ -18483,7 +18483,7 @@
     "@netlify/functions-utils": {
       "version": "file:packages/functions-utils",
       "requires": {
-        "@netlify/zip-it-and-ship-it": "^5.3.1",
+        "@netlify/zip-it-and-ship-it": "^5.4.0",
         "ava": "^3.15.0",
         "cpy": "^8.1.0",
         "del": "^5.1.0",
@@ -18597,9 +18597,9 @@
       }
     },
     "@netlify/zip-it-and-ship-it": {
-      "version": "5.3.1",
-      "resolved": "https://registry.npmjs.org/@netlify/zip-it-and-ship-it/-/zip-it-and-ship-it-5.3.1.tgz",
-      "integrity": "sha512-J8owr4lft/uKrozivDmIzKKe5IQ6zTWKyemdwljYDMTh2UrCwEH5u35X17zqO5LCS7FJ6uyCy5yBtBUrqdAtMA==",
+      "version": "5.4.0",
+      "resolved": "https://registry.npmjs.org/@netlify/zip-it-and-ship-it/-/zip-it-and-ship-it-5.4.0.tgz",
+      "integrity": "sha512-JVUr7S6GTHnPpwtD+g/+qzhKvhXwXoHGeisaHt1YYARRRd+XdvwFYo8yY2JzT7hM26uz99tpKwzDSfcL+WR1rQ==",
       "requires": {
         "@babel/parser": "^7.15.7",
         "@netlify/esbuild": "^0.13.6",
diff --git a/packages/build/package.json b/packages/build/package.json
index b0607332d..040c5d0b5 100644
--- a/packages/build/package.json
+++ b/packages/build/package.json
@@ -63,7 +63,7 @@
     "@netlify/plugin-edge-handlers": "^3.0.0",
     "@netlify/plugins-list": "^6.2.0",
     "@netlify/run-utils": "^4.0.0",
-    "@netlify/zip-it-and-ship-it": "^5.3.1",
+    "@netlify/zip-it-and-ship-it": "^5.4.0",
     "@sindresorhus/slugify": "^1.1.0",
     "ansi-escapes": "^4.3.2",
     "chalk": "^4.1.2",
diff --git a/packages/functions-utils/package.json b/packages/functions-utils/package.json
index 081f82fed..1ec776f93 100644
--- a/packages/functions-utils/package.json
+++ b/packages/functions-utils/package.json
@@ -45,7 +45,7 @@
   },
   "license": "MIT",
   "dependencies": {
-    "@netlify/zip-it-and-ship-it": "^5.3.1",
+    "@netlify/zip-it-and-ship-it": "^5.4.0",
     "cpy": "^8.1.0",
     "path-exists": "^4.0.0"
   },


Test patch:
diff --git a/packages/functions-utils/tests/main.mjs b/packages/functions-utils/tests/main.mjs
index 0779e0f66..d4121f4ce 100644
--- a/packages/functions-utils/tests/main.mjs
+++ b/packages/functions-utils/tests/main.mjs
@@ -107,10 +107,10 @@ test('Should allow "fail" option to customize failures', async (t) => {
   t.is(typeof fail.firstCall.firstArg, 'string')
 })
 
-const normalizeFiles = function (fixtureDir, { name, mainFile, runtime, extension, srcFile }) {
+const normalizeFiles = function (fixtureDir, { name, mainFile, runtime, extension, srcFile, schedule }) {
   const mainFileA = normalize(`${fixtureDir}/${mainFile}`)
   const srcFileA = srcFile === undefined ? {} : { srcFile: normalize(`${fixtureDir}/${srcFile}`) }
-  return { name, mainFile: mainFileA, runtime, extension, ...srcFileA }
+  return { name, mainFile: mainFileA, runtime, extension, schedule, ...srcFileA }
 }
 
 test('Can list function main files with list()', async (t) => {