From e5349d4e5977c3c6a8df6aeaa55448b5358e83c2 Mon Sep 17 00:00:00 2001 From: David Hyde Date: Sun, 6 Sep 2026 22:27:55 -0500 Subject: [PATCH 1/2] Document DABH LLC maintenance and restore CI (#5) * Document DABH LLC distribution and maintenance * Repair and enable reproducible package CI --- .github/workflows/ci.yml | 26 ++++++++++++++++++++++ DISTRIBUTION.md | 10 +++++++++ README.md | 10 +++++++++ package-lock.json | 48 ---------------------------------------- package.json | 1 - 5 files changed, 46 insertions(+), 49 deletions(-) create mode 100644 .github/workflows/ci.yml create mode 100644 DISTRIBUTION.md diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..8a4af50 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,26 @@ +name: CI + +on: + pull_request: + branches: [master] + push: + branches: [master] + +permissions: + contents: read + +jobs: + test: + runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + node: [22, 24, 26] + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 + with: + node-version: ${{ matrix.node }} + cache: npm + - run: npm ci + - run: npm test diff --git a/DISTRIBUTION.md b/DISTRIBUTION.md new file mode 100644 index 0000000..c13cc52 --- /dev/null +++ b/DISTRIBUTION.md @@ -0,0 +1,10 @@ +# DABH distribution + +Distributed and maintained by DABH LLC. + +Website: https://dabh.llc/ +Contact: hello@dabh.llc + +This statement identifies the distributor and maintainer. It does not replace +the project license or the copyright and attribution notices for existing work. +See LICENSE and the source files for applicable terms and credits. diff --git a/README.md b/README.md index 0cd2519..e995417 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,15 @@ # `diagnostics` +## Distribution and maintenance + +**DABH** — Distributed and maintained by [DABH LLC](https://dabh.llc/). +For maintenance and software consulting inquiries: [hello@dabh.llc](mailto:hello@dabh.llc). + +This distribution builds on diagnostics by Arnout Kazemier, Martijn Swaagman, +and its contributors. Original copyright notices and the MIT license are +preserved in [LICENSE](LICENSE). + + Diagnostics in the evolution of debug pattern that is used in the Node.js core, this extremely small but powerful technique can best be compared as feature flags for loggers. The created debug logger is disabled by default but can be diff --git a/package-lock.json b/package-lock.json index 1d9ab42..6e8fb90 100644 --- a/package-lock.json +++ b/package-lock.json @@ -19,7 +19,6 @@ "mocha": "^11.7.2", "nyc": "^17.1.0", "objstorage": "^1.0.0", - "pre-commit": "github:metcalfc/pre-commit#b36c649fd5348d7604a86b7b2f3429c780d1478f", "require-poisoning": "^2.0.0", "webpack": "5.x", "webpack-bundle-size-analyzer": "^3.0.0", @@ -3157,18 +3156,6 @@ "node": ">=8" } }, - "node_modules/pre-commit": { - "version": "1.3.0", - "resolved": "git+ssh://git@github.com/metcalfc/pre-commit.git#b36c649fd5348d7604a86b7b2f3429c780d1478f", - "integrity": "sha512-0li0g7qnU/wI9icYejxKtzFoFldwU8COJCYrmRxy1u/qhyhVqF/lMbgHVsVj5DvZODGs8wLu/uVB+EPsLziR1A==", - "dev": true, - "hasInstallScript": true, - "license": "MIT", - "dependencies": { - "cross-spawn": "^7.0.3", - "which": "^3.0.1" - } - }, "node_modules/process-on-spawn": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/process-on-spawn/-/process-on-spawn-1.0.0.tgz", @@ -3912,22 +3899,6 @@ "node": ">=10.13.0" } }, - "node_modules/which": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/which/-/which-3.0.1.tgz", - "integrity": "sha512-XA1b62dzQzLfaEOSQFTCOd5KFf/1VSzZo7/7TUjnya6u0vGGKzU96UQBZTAThCb2j4/xjBAyii1OhRLJEivHvg==", - "dev": true, - "license": "ISC", - "dependencies": { - "isexe": "^2.0.0" - }, - "bin": { - "node-which": "bin/which.js" - }, - "engines": { - "node": "^14.17.0 || ^16.13.0 || >=18.0.0" - } - }, "node_modules/which-module": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/which-module/-/which-module-2.0.0.tgz", @@ -6358,16 +6329,6 @@ "find-up": "^4.0.0" } }, - "pre-commit": { - "version": "git+ssh://git@github.com/metcalfc/pre-commit.git#b36c649fd5348d7604a86b7b2f3429c780d1478f", - "integrity": "sha512-0li0g7qnU/wI9icYejxKtzFoFldwU8COJCYrmRxy1u/qhyhVqF/lMbgHVsVj5DvZODGs8wLu/uVB+EPsLziR1A==", - "dev": true, - "from": "pre-commit@github:metcalfc/pre-commit#b36c649fd5348d7604a86b7b2f3429c780d1478f", - "requires": { - "cross-spawn": "^7.0.3", - "which": "^3.0.1" - } - }, "process-on-spawn": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/process-on-spawn/-/process-on-spawn-1.0.0.tgz", @@ -6863,15 +6824,6 @@ "integrity": "sha512-yd1RBzSGanHkitROoPFd6qsrxt+oFhg/129YzheDGqeustzX0vTZJZsSsQjVQC4yzBQ56K55XU8gaNCtIzOnTg==", "dev": true }, - "which": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/which/-/which-3.0.1.tgz", - "integrity": "sha512-XA1b62dzQzLfaEOSQFTCOd5KFf/1VSzZo7/7TUjnya6u0vGGKzU96UQBZTAThCb2j4/xjBAyii1OhRLJEivHvg==", - "dev": true, - "requires": { - "isexe": "^2.0.0" - } - }, "which-module": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/which-module/-/which-module-2.0.0.tgz", diff --git a/package.json b/package.json index 89f8650..404a59b 100644 --- a/package.json +++ b/package.json @@ -42,7 +42,6 @@ "mocha": "^11.7.2", "nyc": "^17.1.0", "objstorage": "^1.0.0", - "pre-commit": "github:metcalfc/pre-commit#b36c649fd5348d7604a86b7b2f3429c780d1478f", "require-poisoning": "^2.0.0", "webpack": "5.x", "webpack-bundle-size-analyzer": "^3.0.0", From 38a6ec06e5e15403535bf974bece3bffa5f551cc Mon Sep 17 00:00:00 2001 From: DABH Date: Sun, 6 Sep 2026 22:46:02 -0500 Subject: [PATCH 2/2] Prepare patch release with DABH LLC distribution notices --- package-lock.json | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index 6e8fb90..fb0d5e0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@dabh/diagnostics", - "version": "2.0.8", + "version": "2.0.9", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@dabh/diagnostics", - "version": "2.0.8", + "version": "2.0.9", "license": "MIT", "dependencies": { "@so-ric/colorspace": "^1.1.6", diff --git a/package.json b/package.json index 404a59b..f3fab39 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@dabh/diagnostics", - "version": "2.0.8", + "version": "2.0.9", "description": "Tools for debugging your node.js modules and event loop", "main": "./node", "browser": "./browser",