This is an automated email from the ASF dual-hosted git repository.
breautek pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cordova-plugman.git
The following commit(s) were added to refs/heads/master by this push:
new 325b462 chore: Remove obsolete loud-rejection dependency (#199)
325b462 is described below
commit 325b4621ec1e0d312a6095588b62eb8899581d6f
Author: Norman Breau <[email protected]>
AuthorDate: Thu Jun 18 13:50:29 2026 -0300
chore: Remove obsolete loud-rejection dependency (#199)
---
main.js | 3 ---
package-lock.json | 35 -----------------------------------
package.json | 1 -
3 files changed, 39 deletions(-)
diff --git a/main.js b/main.js
index 2430676..bf46d12 100755
--- a/main.js
+++ b/main.js
@@ -22,9 +22,6 @@
// Register custom fail handler for uncaughtException event
process.on('uncaughtException', fail);
-// On unhandled promise rejection, log it to STDERR and exit with code 1
-require('loud-rejection/register');
-
const url = require('node:url');
const path = require('node:path');
diff --git a/package-lock.json b/package-lock.json
index b1b0521..2473032 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -10,7 +10,6 @@
"license": "Apache-2.0",
"dependencies": {
"cordova-lib": "^13.0.0",
- "loud-rejection": "^2.2.0",
"nopt": "^9.0.0"
},
"bin": {
@@ -988,15 +987,6 @@
"url": "https://github.com/sponsors/ljharb"
}
},
- "node_modules/array-find-index": {
- "version": "1.0.2",
- "resolved":
"https://registry.npmjs.org/array-find-index/-/array-find-index-1.0.2.tgz",
- "integrity":
"sha512-M1HQyIXcBGtVywBt8WVdim+lrNaK7VHp99Qt5pSNziXznKHViIBbXWtfRTpEFpF/c4FdfxNAsCCwPp5phBYJtw==",
- "license": "MIT",
- "engines": {
- "node": ">=0.10.0"
- }
- },
"node_modules/array-includes": {
"version": "3.1.9",
"resolved":
"https://registry.npmjs.org/array-includes/-/array-includes-3.1.9.tgz",
@@ -1549,18 +1539,6 @@
"node": ">=4"
}
},
- "node_modules/currently-unhandled": {
- "version": "0.4.1",
- "resolved":
"https://registry.npmjs.org/currently-unhandled/-/currently-unhandled-0.4.1.tgz",
- "integrity":
"sha512-/fITjgjGU50vjQ4FH6eUoYu+iUoUKIXws2hL15JJpIR+BbTxaXQsMuuyjtNh2WqsSBS5nsaZHFsFecyw5CCAng==",
- "license": "MIT",
- "dependencies": {
- "array-find-index": "^1.0.1"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
"node_modules/data-view-buffer": {
"version": "1.0.2",
"resolved":
"https://registry.npmjs.org/data-view-buffer/-/data-view-buffer-1.0.2.tgz",
@@ -3805,19 +3783,6 @@
"dev": true,
"license": "MIT"
},
- "node_modules/loud-rejection": {
- "version": "2.2.0",
- "resolved":
"https://registry.npmjs.org/loud-rejection/-/loud-rejection-2.2.0.tgz",
- "integrity":
"sha512-S0FayMXku80toa5sZ6Ro4C+s+EtFDCsyJNG/AzFMfX3AxD5Si4dZsgzm/kKnbOxHl5Cv8jBlno8+3XYIh2pNjQ==",
- "license": "MIT",
- "dependencies": {
- "currently-unhandled": "^0.4.1",
- "signal-exit": "^3.0.2"
- },
- "engines": {
- "node": ">=8"
- }
- },
"node_modules/lru-cache": {
"version": "11.5.1",
"resolved":
"https://registry.npmjs.org/lru-cache/-/lru-cache-11.5.1.tgz",
diff --git a/package.json b/package.json
index 874febb..ea1b38a 100644
--- a/package.json
+++ b/package.json
@@ -11,7 +11,6 @@
},
"dependencies": {
"cordova-lib": "^13.0.0",
- "loud-rejection": "^2.2.0",
"nopt": "^9.0.0"
},
"devDependencies": {
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]