diff --git a/.github/workflows/build-publish.yaml b/.github/workflows/build-publish.yaml index 8b3c0a9..22afddd 100644 --- a/.github/workflows/build-publish.yaml +++ b/.github/workflows/build-publish.yaml @@ -3,7 +3,7 @@ name: CI on: pull_request: push: - branches: [ master ] + branches: [ main ] # Allow workflow to be manually run from the GitHub UI workflow_dispatch: diff --git a/.github/workflows/chart-release.yaml b/.github/workflows/chart-release.yaml index 9972c11..7a8e851 100644 --- a/.github/workflows/chart-release.yaml +++ b/.github/workflows/chart-release.yaml @@ -2,7 +2,7 @@ name: Chart Release on: push: - branches: [ master ] + branches: [ main ] paths: - .github/workflows/chart-release.yaml - artifacthub-repo.yml diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 0e4b4dd..c0f4cc9 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -3,7 +3,7 @@ name: "Code Scanning - Action" on: pull_request: push: - branches: [ master ] + branches: [ main ] schedule: - cron: '30 1 * * 0' diff --git a/artifacthub-repo.yml b/artifacthub-repo.yml index 2c8118b..bde5839 100644 --- a/artifacthub-repo.yml +++ b/artifacthub-repo.yml @@ -2,9 +2,8 @@ # This file must be served from the same path as index.yaml: # https://phpdocker-io.github.io/readability-js-server/artifacthub-repo.yml # -# Add repositoryID after the repository has been created in Artifact Hub to -# enable verified publisher checks. -# repositoryID: 00000000-0000-0000-0000-000000000000 +# repositoryID enables the Verified Publisher badge on Artifact Hub. +repositoryID: b10e28bd-f8e0-420d-ba48-d5d31f87ae5d owners: - name: Luis Pabon diff --git a/charts/readability-js-server/Chart.yaml b/charts/readability-js-server/Chart.yaml index 3867f66..6b4e3d4 100644 --- a/charts/readability-js-server/Chart.yaml +++ b/charts/readability-js-server/Chart.yaml @@ -2,8 +2,8 @@ apiVersion: v2 name: readability-js-server description: A production-usable Helm chart for Readability JS Server type: application -version: 2.0.3 -appVersion: "2.0.3" +version: 2.0.4 +appVersion: "2.0.4" home: https://github.com/phpdocker-io/readability-js-server annotations: artifacthub.io/license: Apache-2.0 @@ -18,10 +18,8 @@ annotations: - name: Luis Pabon email: luis.pabon@auronconsulting.co.uk artifacthub.io/changes: | - - kind: added - description: Publish chart packages and index.yaml to the GitHub Pages Helm repository. - - kind: added - description: Add Artifact Hub repository metadata and installation guidance for the hosted chart repository. + - kind: changed + description: Update npm dependencies to latest compatible releases. sources: - https://github.com/phpdocker-io/readability-js-server keywords: diff --git a/charts/readability-js-server/README.md b/charts/readability-js-server/README.md index fa893dd..8ba3a3c 100644 --- a/charts/readability-js-server/README.md +++ b/charts/readability-js-server/README.md @@ -38,8 +38,8 @@ helm upgrade --install readability-js-server ./charts/readability-js-server \ ## Defaults -- Chart version: `0.1.0` -- App version: `1.8.0` +- Chart version: `2.0.4` +- App version: `2.0.4` - Image repository: `phpdockerio/readability-js-server` - Image tag: chart `appVersion` (override with `image.tag`) - Container listen port: `3000` diff --git a/package-lock.json b/package-lock.json index 4fcfe09..558c634 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,26 +9,21 @@ "dependencies": { "@mozilla/readability": "^0.6.0", "express": "^5.3.0", - "linkedom": "^0.18.13", - "sanitize-html": "^2.18.1", - "turndown": "^7.2.4", + "linkedom": "^0.18.15", + "sanitize-html": "^2.18.2", + "turndown": "^7.2.5", "turndown-plugin-gfm": "^1.0.2" }, "devDependencies": { "@eslint/js": "^10.0.1", - "eslint": "^10.12.0", + "eslint": "^10.15.0", "eslint-config-prettier": "^10.1.8", - "eslint-plugin-n": "^18.4.1", + "eslint-plugin-n": "^18.5.0", "nodemon": "^3.1.14", - "prettier": "^3.9.10", - "supertest": "^7.3.1" + "prettier": "^3.10.1", + "supertest": "^7.3.2" } }, - "node_modules/@acemir/cssom": { - "version": "0.9.32", - "resolved": "https://registry.npmjs.org/@acemir/cssom/-/cssom-0.9.32.tgz", - "integrity": "sha512-OijrAUu7rrJhSIoHNg6LMPS5e344nwUHA+1EFYYjrh64D+GmytUsfBQjci45TjT+rd5Spsp8B5xsZDT+TgyXXQ==" - }, "node_modules/@cacheable/memory": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/@cacheable/memory/-/memory-2.2.0.tgz", @@ -91,19 +86,35 @@ } }, "node_modules/@eslint/config-array": { - "version": "0.23.5", - "resolved": "https://registry.npmjs.org/@eslint/config-array/-/config-array-0.23.5.tgz", - "integrity": "sha512-Y3kKLvC1dvTOT+oGlqNQ1XLqK6D1HU2YXPc52NmAlJZbMMWDzGYXMiPRJ8TYD39muD/OTjlZmNJ4ib7dvSrMBA==", + "version": "0.23.6", + "resolved": "https://registry.npmjs.org/@eslint/config-array/-/config-array-0.23.6.tgz", + "integrity": "sha512-WrTH7nioI9QPY4NZGnsywmecswJdgeq4BCM76qok9VgjTO29ZgUzUvcuJLVPYVQM4uDbaPBU0M33R9DIxI8X3w==", "dev": true, "dependencies": { "@eslint/object-schema": "^3.0.5", "debug": "^4.3.1", - "minimatch": "^10.2.4" + "minimatch": "^11.0.5" }, "engines": { "node": "^20.19.0 || ^22.13.0 || >=24" } }, + "node_modules/@eslint/config-array/node_modules/minimatch": { + "version": "11.0.9", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-11.0.9.tgz", + "integrity": "sha512-KCFkfyjqerNlSstjlhIGNXIKZGA/6O4V4RlhZ+Dsr621SPPw0mzlypE9D9ZOoPiVefHID+j7/XuMMlqfD/F60Q==", + "dev": true, + "dependencies": { + "@isaacs/nonrecursive-glob-match": "^1.1.0", + "brace-expansion": "^5.0.12" + }, + "engines": { + "node": "20 || >=22" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, "node_modules/@eslint/config-helpers": { "version": "0.7.0", "resolved": "https://registry.npmjs.org/@eslint/config-helpers/-/config-helpers-0.7.0.tgz", @@ -231,6 +242,12 @@ "url": "https://github.com/sponsors/nzakas" } }, + "node_modules/@isaacs/nonrecursive-glob-match": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@isaacs/nonrecursive-glob-match/-/nonrecursive-glob-match-1.1.0.tgz", + "integrity": "sha512-GPm/Dbvk5RLmhRnxXIa7nTpK0xtl4E0wj0MslsuNiJ1FIROU+2+9lgUC/dgF7Ey4QCWhfEsgxilMRMCdHPfDfw==", + "dev": true + }, "node_modules/@keyv/bigmap": { "version": "1.3.1", "resolved": "https://registry.npmjs.org/@keyv/bigmap/-/bigmap-1.3.1.tgz", @@ -671,6 +688,14 @@ "url": "https://github.com/sponsors/fb55" } }, + "node_modules/cssomnom": { + "version": "0.1.12", + "resolved": "https://registry.npmjs.org/cssomnom/-/cssomnom-0.1.12.tgz", + "integrity": "sha512-nlsLjRxRN2RPomw3r+e+oD3KQBbEbKK0+oBUATbodf5N38FlOMg/5nqV0CdClNvpVsjFLikD63H6dgKTgeuuUg==", + "engines": { + "node": ">=20.0.0" + } + }, "node_modules/dayjs": { "version": "1.11.23", "resolved": "https://registry.npmjs.org/dayjs/-/dayjs-1.11.23.tgz", @@ -897,18 +922,18 @@ } }, "node_modules/eslint": { - "version": "10.13.0", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-10.13.0.tgz", - "integrity": "sha512-UohDjD4zSzEwhf58M3O7vc/ycc8O1I7dNlhtD0WxE8Px8EHNJKtUwzBqrzeGhisRuv2ag4sAYswszCJRgKXYUg==", + "version": "10.15.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-10.15.0.tgz", + "integrity": "sha512-+5Wg4p+ze3sG1WErYgUO/3H1IQIfFBymVUA0Fo/XTeBOLS6UQIUekpSJ8sdRkn7O7wjh84b55w/roqavH2aScg==", "dev": true, "dependencies": { "@eslint-community/eslint-utils": "^4.8.0", "@eslint-community/regexpp": "^4.12.2", - "@eslint/config-array": "^0.23.5", + "@eslint/config-array": "^0.23.6", "@eslint/config-helpers": "^0.7.0", "@eslint/core": "^1.2.1", "@eslint/plugin-kit": "^0.7.3", - "@humanfs/node": "^0.16.6", + "@humanfs/node": "^0.16.8", "@humanwhocodes/module-importer": "^1.0.1", "@humanwhocodes/retry": "^0.4.2", "@types/estree": "^1.0.6", @@ -929,7 +954,7 @@ "imurmurhash": "^0.1.4", "is-glob": "^4.0.0", "json-stable-stringify-without-jsonify": "^1.0.1", - "minimatch": "^10.2.5", + "minimatch": "^11.0.5", "natural-compare": "^1.4.0", "optionator": "^0.9.3" }, @@ -1068,6 +1093,22 @@ "url": "https://opencollective.com/eslint" } }, + "node_modules/eslint/node_modules/minimatch": { + "version": "11.0.9", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-11.0.9.tgz", + "integrity": "sha512-KCFkfyjqerNlSstjlhIGNXIKZGA/6O4V4RlhZ+Dsr621SPPw0mzlypE9D9ZOoPiVefHID+j7/XuMMlqfD/F60Q==", + "dev": true, + "dependencies": { + "@isaacs/nonrecursive-glob-match": "^1.1.0", + "brace-expansion": "^5.0.12" + }, + "engines": { + "node": "20 || >=22" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, "node_modules/espree": { "version": "11.2.0", "resolved": "https://registry.npmjs.org/espree/-/espree-11.2.0.tgz", @@ -1818,12 +1859,12 @@ } }, "node_modules/linkedom": { - "version": "0.18.14", - "resolved": "https://registry.npmjs.org/linkedom/-/linkedom-0.18.14.tgz", - "integrity": "sha512-BRUnkOm4YR5vo+qI3j0EbungB0vZPSCue5AdnTQRaxAGSbsOZiBFRO0rh4zlo8qXUhli8pxvnpEXDklMnlq2Rg==", + "version": "0.18.15", + "resolved": "https://registry.npmjs.org/linkedom/-/linkedom-0.18.15.tgz", + "integrity": "sha512-o0w7eD/SvoCao+pUi6dzocCLuMR11g4Tv/et0W2OUzwWmUcewntSzyl+Ua/K+0yKym0Y/Mav3nFAaI5Av5jvZg==", "dependencies": { - "@acemir/cssom": "^0.9.32", "css-select": "^7.0.0", + "cssomnom": "^0.1.11", "html-escaper": "^3.0.3", "htmlparser2": "^10.1.0", "uhyphen": "^0.2.0" @@ -2215,9 +2256,9 @@ } }, "node_modules/prettier": { - "version": "3.9.10", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.9.10.tgz", - "integrity": "sha512-skGHTH1Yb9QvaTC4hWnRTzEYtCpApF0UMBPz+t/0ZPzP8ihefo/btKd+QA7pUE0fEwA1SbS/NmhyEcstdXOIdA==", + "version": "3.10.1", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.10.1.tgz", + "integrity": "sha512-70vp3ZUYoPlFbF9uiTdXHUUCGEIp7d4+6p+8DYbkm2jP7x/3i/paXVF6dopSI3zd/CEitrZN1rc4i85xWmmXlg==", "dev": true, "bin": { "prettier": "bin/prettier.cjs" @@ -2361,9 +2402,9 @@ "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" }, "node_modules/sanitize-html": { - "version": "2.18.1", - "resolved": "https://registry.npmjs.org/sanitize-html/-/sanitize-html-2.18.1.tgz", - "integrity": "sha512-2X5lC8fYla8YaT8g73Nj+HcLWXan5dLyCWLgVvaOmfw7JI78IRsyNtIDytTHdn7hBQbIkCah7Zbmd5jabzeDig==", + "version": "2.18.2", + "resolved": "https://registry.npmjs.org/sanitize-html/-/sanitize-html-2.18.2.tgz", + "integrity": "sha512-LTQVNHBeKB5qIae9x2J2Fw68ORnES++8vzYaG7DFT8P4GVCJFeHffHnRUzf5Mrxfx+4GweIvMRqkBPHHodaVNg==", "dependencies": { "escape-string-regexp": "^4.0.0", "htmlparser2": "^12.0.0", @@ -2595,14 +2636,14 @@ } }, "node_modules/supertest": { - "version": "7.3.1", - "resolved": "https://registry.npmjs.org/supertest/-/supertest-7.3.1.tgz", - "integrity": "sha512-vNaNCFoCR/edDbErQZp5KLNT8R4dSPHX7rlDLoE8hWLAm/878j6ShMbe8HK/E6RwwuhlSXVelXAIg9AxR5WWPw==", + "version": "7.3.2", + "resolved": "https://registry.npmjs.org/supertest/-/supertest-7.3.2.tgz", + "integrity": "sha512-hR0dKRUE+PwZhHLdq/GRhf97HbUQte+AhbpWBQ9nh02tpjujVJj0GY4aygd1dAKdNZ7UZexWHpeItyJi/jLsgw==", "dev": true, "dependencies": { "cookie-signature": "^1.2.2", "methods": "^1.1.2", - "superagent": "^10.3.0" + "superagent": "^10.4.1" }, "engines": { "node": ">=14.18.0" @@ -2663,9 +2704,9 @@ } }, "node_modules/turndown": { - "version": "7.2.4", - "resolved": "https://registry.npmjs.org/turndown/-/turndown-7.2.4.tgz", - "integrity": "sha512-I8yFsfRzmzK0WV1pNNOA4A7y4RDfFxPRxb3t+e3ui14qSGOxGtiSP6GjeX+Y6CHb7HYaFj7ECUD7VE5kQMZWGQ==", + "version": "7.2.5", + "resolved": "https://registry.npmjs.org/turndown/-/turndown-7.2.5.tgz", + "integrity": "sha512-EKZvCCFHh8sWttpAMs10U6niZFJ2cpz8LkCPlylxoG4JcHF50J7EHnnBW3AY1qXtUMu7kDjCp7dnggB1sIbqEQ==", "dependencies": { "@mixmark-io/domino": "^2.2.0" }, diff --git a/package.json b/package.json index 073b3ff..8b1318f 100644 --- a/package.json +++ b/package.json @@ -7,9 +7,9 @@ "dependencies": { "@mozilla/readability": "^0.6.0", "express": "^5.3.0", - "linkedom": "^0.18.13", - "sanitize-html": "^2.18.1", - "turndown": "^7.2.4", + "linkedom": "^0.18.15", + "sanitize-html": "^2.18.2", + "turndown": "^7.2.5", "turndown-plugin-gfm": "^1.0.2" }, "scripts": { @@ -21,11 +21,11 @@ }, "devDependencies": { "@eslint/js": "^10.0.1", - "eslint": "^10.12.0", + "eslint": "^10.15.0", "eslint-config-prettier": "^10.1.8", - "eslint-plugin-n": "^18.4.1", + "eslint-plugin-n": "^18.5.0", "nodemon": "^3.1.14", - "prettier": "^3.9.10", - "supertest": "^7.3.1" + "prettier": "^3.10.1", + "supertest": "^7.3.2" } }