From e6a7f7e0cc117177309c228e42290d2733f2c77b Mon Sep 17 00:00:00 2001 From: Markus Felten Date: Sun, 7 Dec 2025 23:25:59 +0000 Subject: [PATCH 1/4] chore(package): add 0BSD (license) chore(scripts): add documentation readme --section=API ./src**/*.mjs (scripts.docs) chore(scripts): add documentation lint ./src**/*.mjs (scripts.lint:docs) --- package.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 141b7ce..ecc5eb6 100644 --- a/package.json +++ b/package.json @@ -5,6 +5,7 @@ "access": "public", "provenance": true }, + "packageManager": "npm@11.6.4+sha512.1118cab46a05a50aee6bff5b1b4fa1df18afff89d57465620a3518035026955db87c5bdf9d207b07b7487d99f2490d450cb774655ad63ec2cba7bf1d0ad25d45", "exports": { ".": "./src/stream2object-interceptor.mjs" }, @@ -25,14 +26,14 @@ "email": "markus.felten@gmx.de" } ], - "license": "BSD-2-Clause", + "license": "0BSD", "scripts": { "test": "node --run test:ava", "test:ava": "ava --timeout 4m tests/*-ava.mjs tests/*-ava-node.mjs", "cover": "c8 -x 'tests/**/*' --temp-directory build/tmp ava --timeout 4m tests/*-ava.mjs tests/*-ava-node.mjs && c8 report -r lcov -o build/coverage --temp-directory build/tmp", - "docs": "documentation readme --section=API ./src/**/*.mjs", + "docs": "documentation readme --section=API ./src**/*.mjs", "lint": "node --run lint:docs", - "lint:docs": "documentation lint ./src/**/*.mjs" + "lint:docs": "documentation lint ./src**/*.mjs" }, "dependencies": { "@kronos-integration/interceptor": "^13.0.6" @@ -60,6 +61,5 @@ "arlac77/template-arlac77-github", "arlac77/template-kronos-component" ] - }, - "packageManager": "npm@11.6.4+sha512.1118cab46a05a50aee6bff5b1b4fa1df18afff89d57465620a3518035026955db87c5bdf9d207b07b7487d99f2490d450cb774655ad63ec2cba7bf1d0ad25d45" + } } From 8f2e1c12303202ab3823454695919553228c8ff2 Mon Sep 17 00:00:00 2001 From: Markus Felten Date: Sun, 7 Dec 2025 23:26:02 +0000 Subject: [PATCH 2/4] chore: add next (on.push.branches) chore: add next (on.pull_request.branches) --- .github/workflows/codeql_analysis.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/codeql_analysis.yml b/.github/workflows/codeql_analysis.yml index 0198aac..d14d100 100644 --- a/.github/workflows/codeql_analysis.yml +++ b/.github/workflows/codeql_analysis.yml @@ -3,9 +3,11 @@ on: push: branches: - master + - next pull_request: branches: - master + - next jobs: analyze: name: Analyze @@ -16,14 +18,14 @@ jobs: - name: git checkout run: git checkout if: ${{ github.event_name == 'pull_request' }} - - name: prepare CodeQL - uses: github/codeql-action/init@v4 - with: - languages: javascript - name: prepare node uses: actions/setup-node@v6.1.0 with: node-version: 24.11.1 + - name: prepare CodeQL + uses: github/codeql-action/init@v4 + with: + languages: javascript - name: install run: npm ci - name: perform CodeQL analysis From eafc5adc197fb6cb9eb049bb07ded91c25c499f8 Mon Sep 17 00:00:00 2001 From: Markus Felten Date: Sun, 7 Dec 2025 23:26:04 +0000 Subject: [PATCH 3/4] chore: add npx playwright install --with-deps (jobs.update_package_lock.steps.run) --- .github/workflows/update_package_lock.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/update_package_lock.yml b/.github/workflows/update_package_lock.yml index 5bb2d97..2773687 100644 --- a/.github/workflows/update_package_lock.yml +++ b/.github/workflows/update_package_lock.yml @@ -18,7 +18,7 @@ jobs: - name: remove lock run: rm package-lock.json - name: install playwright - run: npx playwright install + run: npx playwright install --with-deps - name: test run: npm install-test env: From babf1cf0473c2ffcc4815e3e3c87f73fa70a8885 Mon Sep 17 00:00:00 2001 From: Markus Felten Date: Sun, 7 Dec 2025 23:26:06 +0000 Subject: [PATCH 4/4] docs(README): update from template --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index bc18c14..c571242 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,12 @@ +[![npm](https://img.shields.io/npm/v/@kronos-integration/interceptor-stream-obj2string.svg)](https://www.npmjs.com/package/@kronos-integration/interceptor-stream-obj2string) [![License](https://img.shields.io/badge/License-0BSD-blue.svg)](https://spdx.org/licenses/0BSD.html) +[![bundlejs](https://deno.bundlejs.com/?q=@kronos-integration/interceptor-stream-obj2string\&badge=detailed)](https://bundlejs.com/?q=@kronos-integration/interceptor-stream-obj2string) +[![downloads](http://img.shields.io/npm/dm/@kronos-integration/interceptor-stream-obj2string.svg?style=flat-square)](https://npmjs.org/package/@kronos-integration/interceptor-stream-obj2string) [![GitHub Issues](https://img.shields.io/github/issues/Kronos-Integration/interceptor-stream-obj2string.svg?style=flat-square)](https://github.com/Kronos-Integration/interceptor-stream-obj2string/issues) [![Build Status](https://img.shields.io/endpoint.svg?url=https%3A%2F%2Factions-badge.atrox.dev%2FKronos-Integration%2Finterceptor-stream-obj2string%2Fbadge\&style=flat)](https://actions-badge.atrox.dev/Kronos-Integration/interceptor-stream-obj2string/goto) [![Styled with prettier](https://img.shields.io/badge/styled_with-prettier-ff69b4.svg)](https://github.com/prettier/prettier) [![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/) [![Known Vulnerabilities](https://snyk.io/test/github/Kronos-Integration/interceptor-stream-obj2string/badge.svg)](https://snyk.io/test/github/Kronos-Integration/interceptor-stream-obj2string) -[![Coverage Status](https://coveralls.io/repos/Kronos-Integration/interceptor-stream-obj2string/badge.svg)](https://coveralls.io/github/Kronos-Integration/interceptor-stream-obj2string) # kronos-interceptor-stream-obj2string