Repository: netlify/build
Pull request #4090 (2022-02-04 18:37:55)

chore(deps): update dependency process-exists to v5
[![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [process-exists](https://togithub.com/sindresorhus/process-exists) | [`^4.0.0` -> `^5.0.0`](https://renovatebot.com/diffs/npm/process-exists/4.1.0/5.0.0) | [![age](https://badges.renovateapi.com/packages/npm/process-exists/5.0.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/process-exists/5.0.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/process-exists/5.0.0/compatibility-slim/4.1.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/process-exists/5.0.0/confidence-slim/4.1.0)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

<details>
<summary>sindresorhus/process-exists</summary>

### [`v5.0.0`](https://togithub.com/sindresorhus/process-exists/releases/v5.0.0)

[Compare Source](https://togithub.com/sindresorhus/process-exists/compare/v4.1.0...v5.0.0)

##### Breaking

-   Require Node.js 12.20  [`30e5ada`](https://togithub.com/sindresorhus/process-exists/commit/30e5ada)
-   This package is now pure ESM. **Please [read this](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c).**
-   `processExists` is now a named export.
-   `processExists.all` moved to be a named export `processExistsMultiple`.
-   `processExists.filterExists` moved to be a named export `filterExistingProcesses`.

</details>

---

### Configuration

📅 **Schedule**: "before 3am on Monday" (UTC).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **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 ca33c1b06..c2dac72a3 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -13576,27 +13576,30 @@
       "integrity": "sha1-xrs4n5qVH4K9TrFpYAEFvS/5x3g="
     },
     "node_modules/process-exists": {
-      "version": "4.1.0",
-      "resolved": "https://registry.npmjs.org/process-exists/-/process-exists-4.1.0.tgz",
-      "integrity": "sha512-BBJoiorUKoP2AuM5q/yKwIfT1YWRHsaxjW+Ayu9erLhqKOfnXzzVVML0XTYoQZuI1YvcWKmc1dh06DEy4+KzfA==",
+      "version": "5.0.0",
+      "resolved": "https://registry.npmjs.org/process-exists/-/process-exists-5.0.0.tgz",
+      "integrity": "sha512-6QPRh5fyHD8MaXr4GYML8K/YY0Sq5dKHGIOrAKS3cYpHQdmygFCcijIu1dVoNKAZ0TWAMoeh8KDK9dF8auBkJA==",
       "dev": true,
       "dependencies": {
-        "ps-list": "^6.3.0"
+        "ps-list": "^8.0.0"
       },
       "engines": {
-        "node": ">=10"
+        "node": "^12.20.0 || ^14.13.1 || >=16.0.0"
       },
       "funding": {
         "url": "https://github.com/sponsors/sindresorhus"
       }
     },
     "node_modules/process-exists/node_modules/ps-list": {
-      "version": "6.3.0",
-      "resolved": "https://registry.npmjs.org/ps-list/-/ps-list-6.3.0.tgz",
-      "integrity": "sha512-qau0czUSB0fzSlBOQt0bo+I2v6R+xiQdj78e1BR/Qjfl5OHWJ/urXi8+ilw1eHe+5hSeDI1wrwVTgDp2wst4oA==",
+      "version": "8.1.0",
+      "resolved": "https://registry.npmjs.org/ps-list/-/ps-list-8.1.0.tgz",
+      "integrity": "sha512-NoGBqJe7Ou3kfQxEvDzDyKGAyEgwIuD3YrfXinjcCmBRv0hTld0Xb71hrXvtsNPj7HSFATfemvzB8PPJtq6Yag==",
       "dev": true,
       "engines": {
-        "node": ">=8"
+        "node": "^12.20.0 || ^14.13.1 || >=16.0.0"
+      },
+      "funding": {
+        "url": "https://github.com/sponsors/sindresorhus"
       }
     },
     "node_modules/process-nextick-args": {
@@ -16948,7 +16951,7 @@
         "is-ci": "^3.0.0",
         "moize": "^6.0.0",
         "path-key": "^3.1.1",
-        "process-exists": "^4.0.0",
+        "process-exists": "^5.0.0",
         "sinon": "^13.0.0",
         "yarn": "^1.22.4"
       },
@@ -18852,7 +18855,7 @@
         "path-type": "^5.0.0",
         "pkg-dir": "^5.0.0",
         "pretty-ms": "^7.0.0",
-        "process-exists": "^4.0.0",
+        "process-exists": "^5.0.0",
         "ps-list": "^7.0.0",
         "read-pkg-up": "^9.0.0",
         "readdirp": "^3.4.0",
@@ -27218,18 +27221,18 @@
       "integrity": "sha1-xrs4n5qVH4K9TrFpYAEFvS/5x3g="
     },
     "process-exists": {
-      "version": "4.1.0",
-      "resolved": "https://registry.npmjs.org/process-exists/-/process-exists-4.1.0.tgz",
-      "integrity": "sha512-BBJoiorUKoP2AuM5q/yKwIfT1YWRHsaxjW+Ayu9erLhqKOfnXzzVVML0XTYoQZuI1YvcWKmc1dh06DEy4+KzfA==",
+      "version": "5.0.0",
+      "resolved": "https://registry.npmjs.org/process-exists/-/process-exists-5.0.0.tgz",
+      "integrity": "sha512-6QPRh5fyHD8MaXr4GYML8K/YY0Sq5dKHGIOrAKS3cYpHQdmygFCcijIu1dVoNKAZ0TWAMoeh8KDK9dF8auBkJA==",
       "dev": true,
       "requires": {
-        "ps-list": "^6.3.0"
+        "ps-list": "^8.0.0"
       },
       "dependencies": {
         "ps-list": {
-          "version": "6.3.0",
-          "resolved": "https://registry.npmjs.org/ps-list/-/ps-list-6.3.0.tgz",
-          "integrity": "sha512-qau0czUSB0fzSlBOQt0bo+I2v6R+xiQdj78e1BR/Qjfl5OHWJ/urXi8+ilw1eHe+5hSeDI1wrwVTgDp2wst4oA==",
+          "version": "8.1.0",
+          "resolved": "https://registry.npmjs.org/ps-list/-/ps-list-8.1.0.tgz",
+          "integrity": "sha512-NoGBqJe7Ou3kfQxEvDzDyKGAyEgwIuD3YrfXinjcCmBRv0hTld0Xb71hrXvtsNPj7HSFATfemvzB8PPJtq6Yag==",
           "dev": true
         }
       }
diff --git a/packages/build/package.json b/packages/build/package.json
index 79bc8ff01..5ed7f8edf 100644
--- a/packages/build/package.json
+++ b/packages/build/package.json
@@ -124,7 +124,7 @@
     "is-ci": "^3.0.0",
     "moize": "^6.0.0",
     "path-key": "^3.1.1",
-    "process-exists": "^4.0.0",
+    "process-exists": "^5.0.0",
     "sinon": "^13.0.0",
     "yarn": "^1.22.4"
   },


Test patch:
diff --git a/packages/build/tests/error/fixtures/early_exit/plugin_slow.js b/packages/build/tests/error/fixtures/early_exit/plugin_slow.js
index 41fce9f70..b64806b1b 100644
--- a/packages/build/tests/error/fixtures/early_exit/plugin_slow.js
+++ b/packages/build/tests/error/fixtures/early_exit/plugin_slow.js
@@ -1,7 +1,7 @@
 import { env, kill } from 'process'
 import { promisify } from 'util'
 
-import processExists from 'process-exists'
+import { processExists } from 'process-exists'
 
 // TODO: replace with `timers/promises` after dropping Node < 15.0.0
 const pSetTimeout = promisify(setTimeout)