master
866 Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
95543b1f9d |
chore(deps): update dependency oxlint-tsgolint to ^0.5.0 (#875)
[skip ci] This PR contains the following updates: | Package | Change | Age | Confidence | |---|---|---|---| | [oxlint-tsgolint](https://redirect.github.com/oxc-project/tsgolint) | [`^0.3.0` -> `^0.5.0`](https://renovatebot.com/diffs/npm/oxlint-tsgolint/0.3.0/0.5.0) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>oxc-project/tsgolint (oxlint-tsgolint)</summary> ### [`v0.5.0`](https://redirect.github.com/oxc-project/tsgolint/releases/tag/v0.5.0) [Compare Source](https://redirect.github.com/oxc-project/tsgolint/compare/v0.4.0...v0.5.0) #### What's Changed - chore(deps): update typescript-go digest to [`b278afd`](https://redirect.github.com/oxc-project/tsgolint/commit/b278afd) by [@​renovate](https://redirect.github.com/renovate)\[bot] in [#​344](https://redirect.github.com/oxc-project/tsgolint/pull/344) - perf: `no-unnecessary-boolean-literal-compare`: only build fixes when needed by [@​camchenry](https://redirect.github.com/camchenry) in [#​332](https://redirect.github.com/oxc-project/tsgolint/pull/332) - perf: `no-unnecessary-type-arguments`: only compute remove range when creating fixes by [@​camchenry](https://redirect.github.com/camchenry) in [#​333](https://redirect.github.com/oxc-project/tsgolint/pull/333) - chore(deps): update typescript-go digest to [`24b38de`](https://redirect.github.com/oxc-project/tsgolint/commit/24b38de) by [@​renovate](https://redirect.github.com/renovate)\[bot] in [#​345](https://redirect.github.com/oxc-project/tsgolint/pull/345) - chore(deps): update typescript-go digest to [`d891e4f`](https://redirect.github.com/oxc-project/tsgolint/commit/d891e4f) by [@​renovate](https://redirect.github.com/renovate)\[bot] in [#​348](https://redirect.github.com/oxc-project/tsgolint/pull/348) - chore(deps): update typescript-go digest to [`8ac3092`](https://redirect.github.com/oxc-project/tsgolint/commit/8ac3092) by [@​renovate](https://redirect.github.com/renovate)\[bot] in [#​350](https://redirect.github.com/oxc-project/tsgolint/pull/350) - chore(deps): update typescript-go digest to [`4705d38`](https://redirect.github.com/oxc-project/tsgolint/commit/4705d38) by [@​renovate](https://redirect.github.com/renovate)\[bot] in [#​352](https://redirect.github.com/oxc-project/tsgolint/pull/352) - chore(deps): update crate-ci/typos action to v1.39.0 by [@​renovate](https://redirect.github.com/renovate)\[bot] in [#​354](https://redirect.github.com/oxc-project/tsgolint/pull/354) - chore(deps): update typescript-go digest to [`71a622f`](https://redirect.github.com/oxc-project/tsgolint/commit/71a622f) by [@​renovate](https://redirect.github.com/renovate)\[bot] in [#​353](https://redirect.github.com/oxc-project/tsgolint/pull/353) - chore(deps): update typescript-go digest to [`240b101`](https://redirect.github.com/oxc-project/tsgolint/commit/240b101) by [@​renovate](https://redirect.github.com/renovate)\[bot] in [#​355](https://redirect.github.com/oxc-project/tsgolint/pull/355) - chore(deps): update typescript-go digest to [`6fb55b7`](https://redirect.github.com/oxc-project/tsgolint/commit/6fb55b7) by [@​renovate](https://redirect.github.com/renovate)\[bot] in [#​357](https://redirect.github.com/oxc-project/tsgolint/pull/357) - chore(deps): update dependency dprint-typescript to v0.95.12 by [@​renovate](https://redirect.github.com/renovate)\[bot] in [#​359](https://redirect.github.com/oxc-project/tsgolint/pull/359) - chore(deps): update taiki-e/install-action action to v2.62.45 by [@​renovate](https://redirect.github.com/renovate)\[bot] in [#​360](https://redirect.github.com/oxc-project/tsgolint/pull/360) - chore(deps): update github.com/go-json-experiment/json digest to [`4849db3`](https://redirect.github.com/oxc-project/tsgolint/commit/4849db3) by [@​renovate](https://redirect.github.com/renovate)\[bot] in [#​358](https://redirect.github.com/oxc-project/tsgolint/pull/358) - chore(deps): lock file maintenance npm packages by [@​renovate](https://redirect.github.com/renovate)\[bot] in [#​362](https://redirect.github.com/oxc-project/tsgolint/pull/362) - chore(deps): update typescript-go digest to [`82039b6`](https://redirect.github.com/oxc-project/tsgolint/commit/82039b6) by [@​renovate](https://redirect.github.com/renovate)\[bot] in [#​361](https://redirect.github.com/oxc-project/tsgolint/pull/361) - chore(dpes): update golang to ^1.25.0 by [@​sunrabbit123](https://redirect.github.com/sunrabbit123) in [#​363](https://redirect.github.com/oxc-project/tsgolint/pull/363) - docs: mark `strict-boolean-expressions` as implemented by [@​camc314](https://redirect.github.com/camc314) in [#​364](https://redirect.github.com/oxc-project/tsgolint/pull/364) - feat: improve invalid config diagnostics by [@​camc314](https://redirect.github.com/camc314) in [#​365](https://redirect.github.com/oxc-project/tsgolint/pull/365) - feat: link to github issue for deprecated tsconfig options by [@​camc314](https://redirect.github.com/camc314) in [#​366](https://redirect.github.com/oxc-project/tsgolint/pull/366) - perf: `no-unnecessary-type-assertion`: only do scanning when fixes are generated by [@​camchenry](https://redirect.github.com/camchenry) in [#​334](https://redirect.github.com/oxc-project/tsgolint/pull/334) - chore(deps): update typescript-go digest to [`13d3e19`](https://redirect.github.com/oxc-project/tsgolint/commit/13d3e19) by [@​renovate](https://redirect.github.com/renovate)\[bot] in [#​367](https://redirect.github.com/oxc-project/tsgolint/pull/367) - fix(justfile): fix `just shim` command by [@​camc314](https://redirect.github.com/camc314) in [#​369](https://redirect.github.com/oxc-project/tsgolint/pull/369) - feat: implement `typescript/no-deprecated` by [@​camc314](https://redirect.github.com/camc314) in [#​368](https://redirect.github.com/oxc-project/tsgolint/pull/368) #### New Contributors - [@​sunrabbit123](https://redirect.github.com/sunrabbit123) made their first contribution in [#​363](https://redirect.github.com/oxc-project/tsgolint/pull/363) **Full Changelog**: <https://github.com/oxc-project/tsgolint/compare/v0.4.0...v0.5.0> ### [`v0.4.0`](https://redirect.github.com/oxc-project/tsgolint/releases/tag/v0.4.0) [Compare Source](https://redirect.github.com/oxc-project/tsgolint/compare/v0.3.0...v0.4.0) #### What's Changed - chore(deps): update typescript-go digest to [`def283d`](https://redirect.github.com/oxc-project/tsgolint/commit/def283d) by [@​renovate](https://redirect.github.com/renovate)\[bot] in [#​315](https://redirect.github.com/oxc-project/tsgolint/pull/315) - chore(deps): update typescript-go digest to [`d461fad`](https://redirect.github.com/oxc-project/tsgolint/commit/d461fad) by [@​renovate](https://redirect.github.com/renovate)\[bot] in [#​323](https://redirect.github.com/oxc-project/tsgolint/pull/323) - chore(deps): update taiki-e/install-action action to v2.62.38 by [@​renovate](https://redirect.github.com/renovate)\[bot] in [#​327](https://redirect.github.com/oxc-project/tsgolint/pull/327) - chore(deps): update github.com/go-json-experiment/json digest to [`8a0206d`](https://redirect.github.com/oxc-project/tsgolint/commit/8a0206d) by [@​renovate](https://redirect.github.com/renovate)\[bot] in [#​325](https://redirect.github.com/oxc-project/tsgolint/pull/325) - chore(deps): update github-actions (major) by [@​renovate](https://redirect.github.com/renovate)\[bot] in [#​328](https://redirect.github.com/oxc-project/tsgolint/pull/328) - chore(deps): lock file maintenance npm packages by [@​renovate](https://redirect.github.com/renovate)\[bot] in [#​329](https://redirect.github.com/oxc-project/tsgolint/pull/329) - chore(deps): update typescript-go digest to [`b7840c2`](https://redirect.github.com/oxc-project/tsgolint/commit/b7840c2) by [@​renovate](https://redirect.github.com/renovate)\[bot] in [#​326](https://redirect.github.com/oxc-project/tsgolint/pull/326) - chore(deps): update typescript-go digest to [`33eeaf3`](https://redirect.github.com/oxc-project/tsgolint/commit/33eeaf3) by [@​renovate](https://redirect.github.com/renovate)\[bot] in [#​330](https://redirect.github.com/oxc-project/tsgolint/pull/330) - chore(deps): update typescript-go digest to [`f0ca632`](https://redirect.github.com/oxc-project/tsgolint/commit/f0ca632) by [@​renovate](https://redirect.github.com/renovate)\[bot] in [#​331](https://redirect.github.com/oxc-project/tsgolint/pull/331) - chore(deps): update typescript-go digest to [`a4fa408`](https://redirect.github.com/oxc-project/tsgolint/commit/a4fa408) by [@​renovate](https://redirect.github.com/renovate)\[bot] in [#​337](https://redirect.github.com/oxc-project/tsgolint/pull/337) - chore(deps): update typescript-go digest to [`ca68e0b`](https://redirect.github.com/oxc-project/tsgolint/commit/ca68e0b) by [@​renovate](https://redirect.github.com/renovate)\[bot] in [#​339](https://redirect.github.com/oxc-project/tsgolint/pull/339) - chore(deps): update typescript-go digest to [`4037f3a`](https://redirect.github.com/oxc-project/tsgolint/commit/4037f3a) by [@​renovate](https://redirect.github.com/renovate)\[bot] in [#​340](https://redirect.github.com/oxc-project/tsgolint/pull/340) - refactor: allow suggestions/fixes to be generated lazily by [@​camchenry](https://redirect.github.com/camchenry) in [#​313](https://redirect.github.com/oxc-project/tsgolint/pull/313) - chore(deps): update typescript-go digest to [`6642b0a`](https://redirect.github.com/oxc-project/tsgolint/commit/6642b0a) by [@​renovate](https://redirect.github.com/renovate)\[bot] in [#​342](https://redirect.github.com/oxc-project/tsgolint/pull/342) - feat(overlayfs): implement overlay filesystem with source overrides support by [@​camc314](https://redirect.github.com/camc314) in [#​291](https://redirect.github.com/oxc-project/tsgolint/pull/291) - feat!: make fixes/suggestions opt-in by [@​camchenry](https://redirect.github.com/camchenry) in [#​317](https://redirect.github.com/oxc-project/tsgolint/pull/317) - perf: `no-array-delete`: only get token ranges when fixing by [@​camchenry](https://redirect.github.com/camchenry) in [#​320](https://redirect.github.com/oxc-project/tsgolint/pull/320) - perf: `no-confusing-void-expression`: only generate fixes and suggestions when fixing by [@​camchenry](https://redirect.github.com/camchenry) in [#​321](https://redirect.github.com/oxc-project/tsgolint/pull/321) - perf: `no-duplicate-type-constituents`: only build fixes when needed by [@​camchenry](https://redirect.github.com/camchenry) in [#​324](https://redirect.github.com/oxc-project/tsgolint/pull/324) - feat: expose program diagnostics by [@​camc314](https://redirect.github.com/camc314) in [#​343](https://redirect.github.com/oxc-project/tsgolint/pull/343) **Full Changelog**: <https://github.com/oxc-project/tsgolint/compare/v0.3.0...v0.4.0> </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/cnpm/cnpmcore). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS4xNTkuNCIsInVwZGF0ZWRJblZlciI6IjQxLjE1OS40IiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbXX0=--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> |
||
|
|
d7de1cded8 |
feat: add ffmpeg-builds binary mirror (#879)
[skip ci] <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * FFmpeg builds are now available as a supported binary source, offering static builds for Windows and Linux platforms (x86_64). Both master branch and latest release versions are accessible. <!-- end of auto-generated comment: release notes by coderabbit.ai --> |
||
|
|
0f11e7730a |
fix(deps): update dependency ssri to v13 (#870)
This PR contains the following updates: | Package | Change | Age | Confidence | |---|---|---|---| | [ssri](https://redirect.github.com/npm/ssri) | [`^8.0.1` -> `^13.0.0`](https://renovatebot.com/diffs/npm/ssri/8.0.1/13.0.0) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>npm/ssri (ssri)</summary> ### [`v13.0.0`](https://redirect.github.com/npm/ssri/blob/HEAD/CHANGELOG.md#1300-2025-10-22) [Compare Source](https://redirect.github.com/npm/ssri/compare/v12.0.0...v13.0.0) ##### ⚠️ BREAKING CHANGES - `ssri` now supports node `^20.17.0 || >=22.9.0` ##### Bug Fixes - [`46a2520`]( |
||
|
|
0d32146562 |
chore: add deployment test (#874)
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Added an npm build script to simplify project compilation. * **Chores** * Simplified CI dependency installation to use standard npm install. * Added a new deployment test job that runs multi-service integration checks, build, health checks, and graceful shutdown. * Introduced an environment-variable gate to allow opting into local filesystem behavior in production. <!-- end of auto-generated comment: release notes by coderabbit.ai --> |
||
|
|
6c29f084b2 |
fix(deps): update dependency validate-npm-package-name to v7 [skip ci] (#873)
This PR contains the following updates: | Package | Change | Age | Confidence | |---|---|---|---| | [validate-npm-package-name](https://redirect.github.com/npm/validate-npm-package-name) | [`^6.0.0` -> `^7.0.0`](https://renovatebot.com/diffs/npm/validate-npm-package-name/6.0.2/7.0.0) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>npm/validate-npm-package-name (validate-npm-package-name)</summary> ### [`v7.0.0`](https://redirect.github.com/npm/validate-npm-package-name/blob/HEAD/CHANGELOG.md#700-2025-10-22) [Compare Source](https://redirect.github.com/npm/validate-npm-package-name/compare/v6.0.2...v7.0.0) ##### ⚠️ BREAKING CHANGES - align to npm 11 node engine range ([#​147](https://redirect.github.com/npm/validate-npm-package-name/issues/147)) ##### Bug Fixes - [`69e0cbb`]( |
||
|
|
01385f4954 |
chore(deps): update dependency type-fest to v5 [skip ci] (#871)
This PR contains the following updates: | Package | Change | Age | Confidence | |---|---|---|---| | [type-fest](https://redirect.github.com/sindresorhus/type-fest) | [`^2.5.3` -> `^5.0.0`](https://renovatebot.com/diffs/npm/type-fest/2.19.0/5.1.0) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>sindresorhus/type-fest (type-fest)</summary> ### [`v5.1.0`](https://redirect.github.com/sindresorhus/type-fest/releases/tag/v5.1.0) [Compare Source](https://redirect.github.com/sindresorhus/type-fest/compare/v5.0.1...v5.1.0) ##### New types - [`TupleOf`](https://redirect.github.com/sindresorhus/type-fest/blob/main/source/tuple-of.d.ts) ([#​1247](https://redirect.github.com/sindresorhus/type-fest/issues/1247)) [`7fb2f75`](https://redirect.github.com/sindresorhus/type-fest/commit/7fb2f75) - [`Xor`](https://redirect.github.com/sindresorhus/type-fest/blob/main/source/xor.d.ts) ([#​1254](https://redirect.github.com/sindresorhus/type-fest/issues/1254)) [`ad04bc5`](https://redirect.github.com/sindresorhus/type-fest/commit/ad04bc5) - [`SplitOnRestElement`](https://redirect.github.com/sindresorhus/type-fest/blob/main/source/split-on-rest-element.d.ts) ([#​1166](https://redirect.github.com/sindresorhus/type-fest/issues/1166)) [`34b8fad`](https://redirect.github.com/sindresorhus/type-fest/commit/34b8fad) - [`ExtractRestElement`](https://redirect.github.com/sindresorhus/type-fest/blob/main/source/extract-rest-element.d.ts) ([#​1166](https://redirect.github.com/sindresorhus/type-fest/issues/1166)) [`34b8fad`](https://redirect.github.com/sindresorhus/type-fest/commit/34b8fad) - [`ExcludeRestElement`](https://redirect.github.com/sindresorhus/type-fest/blob/main/source/exclude-rest-element.d.ts) ([#​1166](https://redirect.github.com/sindresorhus/type-fest/issues/1166)) [`34b8fad`](https://redirect.github.com/sindresorhus/type-fest/commit/34b8fad) ##### Improvements - `ReadonlyTuple`: Deprecate in favor of `TupleOf` ([#​1256](https://redirect.github.com/sindresorhus/type-fest/issues/1256)) [`af4bebc`](https://redirect.github.com/sindresorhus/type-fest/commit/af4bebc) - `TsConfigJson`: Add missing lib enum values ([#​1263](https://redirect.github.com/sindresorhus/type-fest/issues/1263)) [`72f491f`](https://redirect.github.com/sindresorhus/type-fest/commit/72f491f) - `TsConfigJson`: Add `rewriteRelativeImportExtensions` ([#​1262](https://redirect.github.com/sindresorhus/type-fest/issues/1262)) [`7d011ce`](https://redirect.github.com/sindresorhus/type-fest/commit/7d011ce) ##### Fixes - `PartialDeep`: Fix behavior with functions containing multiple call signatures ([#​1259](https://redirect.github.com/sindresorhus/type-fest/issues/1259)) [`3bd9de6`](https://redirect.github.com/sindresorhus/type-fest/commit/3bd9de6) - `IsEqual`: Fix behaviour when instantiated with `never` and `unknown` ([#​1251](https://redirect.github.com/sindresorhus/type-fest/issues/1251)) [`785549f`](https://redirect.github.com/sindresorhus/type-fest/commit/785549f) - `FixedLengthArray`: Fix element type ([#​1246](https://redirect.github.com/sindresorhus/type-fest/issues/1246)) [`ee29ef7`](https://redirect.github.com/sindresorhus/type-fest/commit/ee29ef7) - `is-equal`: Fix handling with intersecting wrapped types ([#​1231](https://redirect.github.com/sindresorhus/type-fest/issues/1231)) [`5af60a1`](https://redirect.github.com/sindresorhus/type-fest/commit/5af60a1) *** ### [`v5.0.1`](https://redirect.github.com/sindresorhus/type-fest/releases/tag/v5.0.1) [Compare Source](https://redirect.github.com/sindresorhus/type-fest/compare/v5.0.0...v5.0.1) - Add missing exports [`4f9c248`](https://redirect.github.com/sindresorhus/type-fest/commit/4f9c248) *** ### [`v5.0.0`](https://redirect.github.com/sindresorhus/type-fest/releases/tag/v5.0.0) [Compare Source](https://redirect.github.com/sindresorhus/type-fest/compare/v4.41.0...v5.0.0) ##### Breaking - This package is now pure ESM. **Please [read this](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c).** - Require TypeScript 5.9 [`b5b0214`](https://redirect.github.com/sindresorhus/type-fest/commit/b5b0214) - Require Node.js 20 [`cc2b0f2`](https://redirect.github.com/sindresorhus/type-fest/commit/cc2b0f2) - Reminder: `type-fest` requires `strict: true` in your tsconfig. - `StringKeyOf`: Rename to [`KeyAsString`](https://redirect.github.com/sindresorhus/type-fest/blob/main/source/key-as-string.d.ts) [`e492c9c`](https://redirect.github.com/sindresorhus/type-fest/commit/e492c9c) - [`ArrayTail`](https://redirect.github.com/sindresorhus/type-fest/blob/main/source/array-tail.d.ts): Enable [`preserveReadonly`]( |
||
|
|
098c75a4ca |
fix(deps): update dependency read-env-value to v2 (#869)
[skip ci] This PR contains the following updates: | Package | Change | Age | Confidence | |---|---|---|---| | [read-env-value](https://redirect.github.com/node-modules/read-env-value) | [`^1.0.0` -> `^2.0.0`](https://renovatebot.com/diffs/npm/read-env-value/1.1.0/2.0.2) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>node-modules/read-env-value (read-env-value)</summary> ### [`v2.0.2`](https://redirect.github.com/node-modules/read-env-value/blob/HEAD/CHANGELOG.md#small202-2025-08-08-small) [Compare Source](https://redirect.github.com/node-modules/read-env-value/compare/v2.0.1...v2.0.2) - fix: remove src on publish package ([#​9](https://redirect.github.com/node-modules/read-env-value/issues/9)) ([4a2f39c](https://redirect.github.com/node-modules/read-env-value/commit/4a2f39c)), closes [#​9](https://redirect.github.com/node-modules/read-env-value/issues/9) - test: remove experimental-strip-types flag ([#​8](https://redirect.github.com/node-modules/read-env-value/issues/8)) ([983da2f](https://redirect.github.com/node-modules/read-env-value/commit/983da2f)), closes [#​8](https://redirect.github.com/node-modules/read-env-value/issues/8) - chore: change jsr name to [@​nw/read-env-value](https://redirect.github.com/nw/read-env-value) ([fbbd50b](https://redirect.github.com/node-modules/read-env-value/commit/fbbd50b)) ### [`v2.0.1`](https://redirect.github.com/node-modules/read-env-value/blob/HEAD/CHANGELOG.md#201-2025-07-31) [Compare Source](https://redirect.github.com/node-modules/read-env-value/compare/v2.0.0...v2.0.1) ##### Bug Fixes - duel publish to npm and jsr ([7cd320e]( |
||
|
|
c3059c7138 |
fix(deps): update dependency npm-package-arg to v13 (#866)
[skip ci] This PR contains the following updates: | Package | Change | Age | Confidence | |---|---|---|---| | [npm-package-arg](https://redirect.github.com/npm/npm-package-arg) | [`^10.1.0` -> `^13.0.0`](https://renovatebot.com/diffs/npm/npm-package-arg/10.1.0/13.0.1) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>npm/npm-package-arg (npm-package-arg)</summary> ### [`v13.0.1`](https://redirect.github.com/npm/npm-package-arg/blob/HEAD/CHANGELOG.md#1301-2025-10-06) [Compare Source](https://redirect.github.com/npm/npm-package-arg/compare/v13.0.0...v13.0.1) ##### Bug Fixes - [`f00dea0`]( |
||
|
|
0c987a7225 |
chore(deps): update dependency oxlint-tsgolint to ^0.3.0 (#863)
[skip ci] This PR contains the following updates: | Package | Change | Age | Confidence | |---|---|---|---| | [oxlint-tsgolint](https://redirect.github.com/oxc-project/tsgolint) | [`^0.2.0` -> `^0.3.0`](https://renovatebot.com/diffs/npm/oxlint-tsgolint/0.2.1/0.3.0) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>oxc-project/tsgolint (oxlint-tsgolint)</summary> ### [`v0.3.0`](https://redirect.github.com/oxc-project/tsgolint/releases/tag/v0.3.0) [Compare Source](https://redirect.github.com/oxc-project/tsgolint/compare/v0.2.1...v0.3.0) #### What's Changed - chore(deps): update typescript-go digest to [`48b739c`](https://redirect.github.com/oxc-project/tsgolint/commit/48b739c) by [@​renovate](https://redirect.github.com/renovate)\[bot] in [#​311](https://redirect.github.com/oxc-project/tsgolint/pull/311) - chore(deps): update typescript-go digest to [`06a7b84`](https://redirect.github.com/oxc-project/tsgolint/commit/06a7b84) by [@​renovate](https://redirect.github.com/renovate)\[bot] in [#​312](https://redirect.github.com/oxc-project/tsgolint/pull/312) - chore(deps): update vitest to v4 by [@​camc314](https://redirect.github.com/camc314) in [#​314](https://redirect.github.com/oxc-project/tsgolint/pull/314) - feat(rules): Implement `strict_boolean_expressions` by [@​nnnnoel](https://redirect.github.com/nnnnoel) in [#​222](https://redirect.github.com/oxc-project/tsgolint/pull/222) - fix: resolve panic when compiling wildcard directory patterns and add tests for non-ASCII characters by [@​camc314](https://redirect.github.com/camc314) in [#​319](https://redirect.github.com/oxc-project/tsgolint/pull/319) - fix(strict-boolean-expressions): fix memory leak by [@​camc314](https://redirect.github.com/camc314) in [#​316](https://redirect.github.com/oxc-project/tsgolint/pull/316) #### New Contributors - [@​nnnnoel](https://redirect.github.com/nnnnoel) made their first contribution in [#​222](https://redirect.github.com/oxc-project/tsgolint/pull/222) **Full Changelog**: <https://github.com/oxc-project/tsgolint/compare/v0.2.1...v0.3.0> </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/cnpm/cnpmcore). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS4xNTYuMSIsInVwZGF0ZWRJblZlciI6IjQxLjE1Ni4xIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbXX0=--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> |
||
|
|
89f1250927 |
refactor: use all in one egg v4 (#855)
required https://github.com/eggjs/egg/pull/5654 --------- Signed-off-by: MK (fengmk2) <fengmk2@gmail.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> |
||
|
|
e1848c71ec |
chore(deps): update dependency lint-staged to v16 (#853)
This PR contains the following updates: | Package | Change | Age | Confidence | |---|---|---|---| | [lint-staged](https://redirect.github.com/lint-staged/lint-staged) | [`^15.5.0` -> `^16.0.0`](https://renovatebot.com/diffs/npm/lint-staged/15.5.2/16.2.6) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>lint-staged/lint-staged (lint-staged)</summary> ### [`v16.2.6`](https://redirect.github.com/lint-staged/lint-staged/blob/HEAD/CHANGELOG.md#1626) [Compare Source](https://redirect.github.com/lint-staged/lint-staged/compare/v16.2.5...v16.2.6) ##### Patch Changes - [#​1693](https://redirect.github.com/lint-staged/lint-staged/pull/1693) [`33d4502`]( |
||
|
|
e8a3ee5208 |
chore(deps): update actions/checkout action to v5 (#849)
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [actions/checkout](https://redirect.github.com/actions/checkout) | action | major | `v4` -> `v5` | --- ### Release Notes <details> <summary>actions/checkout (actions/checkout)</summary> ### [`v5`](https://redirect.github.com/actions/checkout/compare/v4...v5) [Compare Source](https://redirect.github.com/actions/checkout/compare/v4...v5) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/cnpm/cnpmcore). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS4xNTYuMSIsInVwZGF0ZWRJblZlciI6IjQxLjE1Ni4xIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbXX0=--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> |
||
|
|
3671c52513 |
chore(deps): update actions/setup-node action to v6 (#851)
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [actions/setup-node](https://redirect.github.com/actions/setup-node) | action | major | `v4` -> `v6` | --- ### Release Notes <details> <summary>actions/setup-node (actions/setup-node)</summary> ### [`v6`](https://redirect.github.com/actions/setup-node/compare/v5...v6) [Compare Source](https://redirect.github.com/actions/setup-node/compare/v5...v6) ### [`v5`](https://redirect.github.com/actions/setup-node/compare/v4...v5) [Compare Source](https://redirect.github.com/actions/setup-node/compare/v4...v5) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/cnpm/cnpmcore). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS4xNTYuMSIsInVwZGF0ZWRJblZlciI6IjQxLjE1Ni4xIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbXX0=--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> |
||
|
|
35a7be34e8 |
chore(deps): update actions/first-interaction action to v3 (#850)
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [actions/first-interaction](https://redirect.github.com/actions/first-interaction) | action | major | `v1` -> `v3` | --- ### Release Notes <details> <summary>actions/first-interaction (actions/first-interaction)</summary> ### [`v3`](https://redirect.github.com/actions/first-interaction/compare/v2...v3) [Compare Source](https://redirect.github.com/actions/first-interaction/compare/v2...v3) ### [`v2`](https://redirect.github.com/actions/first-interaction/compare/v1...v2) [Compare Source](https://redirect.github.com/actions/first-interaction/compare/v1...v2) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/cnpm/cnpmcore). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS4xNTYuMSIsInVwZGF0ZWRJblZlciI6IjQxLjE1Ni4xIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbXX0=--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> |
||
|
|
957f43dab1 |
chore(deps): update actions/attest-build-provenance action to v3 (#847)
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [actions/attest-build-provenance](https://redirect.github.com/actions/attest-build-provenance) | action | major | `v2` -> `v3` | --- ### Release Notes <details> <summary>actions/attest-build-provenance (actions/attest-build-provenance)</summary> ### [`v3`](https://redirect.github.com/actions/attest-build-provenance/compare/v2...v3) [Compare Source](https://redirect.github.com/actions/attest-build-provenance/compare/v2...v3) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/cnpm/cnpmcore). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS4xNTYuMSIsInVwZGF0ZWRJblZlciI6IjQxLjE1Ni4xIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbXX0=--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> |
||
|
|
4213bd8823 |
chore(deps): update dependency mocha to v11.7.4 (#846)
This PR contains the following updates: | Package | Change | Age | Confidence | |---|---|---|---| | [mocha](https://mochajs.org/) ([source](https://redirect.github.com/mochajs/mocha)) | [`11.6.0` -> `11.7.4`](https://renovatebot.com/diffs/npm/mocha/11.6.0/11.7.4) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>mochajs/mocha (mocha)</summary> ### [`v11.7.4`](https://redirect.github.com/mochajs/mocha/blob/HEAD/CHANGELOG.md#1174-2025-10-01) [Compare Source](https://redirect.github.com/mochajs/mocha/compare/v11.7.3...v11.7.4) ##### 🩹 Fixes - watch mode using chokidar v4 ([#​5379](https://redirect.github.com/mochajs/mocha/issues/5379)) ([c2667c3]( |
||
|
|
f3f3584d62 |
chore: Configure Renovate (#845)
Welcome to [Renovate](https://redirect.github.com/renovatebot/renovate)! This is an onboarding PR to help you understand and configure settings before regular Pull Requests begin. 🚦 To activate Renovate, merge this Pull Request. To disable Renovate, simply close this Pull Request unmerged. --- ### Detected Package Files * `docker-compose-es.yml` (docker-compose) * `docker-compose-postgres.yml` (docker-compose) * `docker-compose.yml` (docker-compose) * `.docker/alpine/Dockerfile` (dockerfile) * `.docker/debian/Dockerfile` (dockerfile) * `.github/workflows/greetings.yml` (github-actions) * `.github/workflows/nodejs.yml` (github-actions) * `.github/workflows/release-image.yml` (github-actions) * `.github/workflows/release.yml` (github-actions) * `app/common/package.json` (npm) * `app/core/package.json` (npm) * `app/infra/package.json` (npm) * `app/port/package.json` (npm) * `app/repository/package.json` (npm) * `package.json` (npm) ### Configuration Summary Based on the default config's presets, Renovate will: - Start dependency updates only once this onboarding PR is merged - Hopefully safe environment variables to allow users to configure. - Show all Merge Confidence badges for pull requests. - Enable Renovate Dependency Dashboard creation. - Use semantic commit type `fix` for dependencies and `chore` for all others if semantic commits are in use. - Ignore `node_modules`, `bower_components`, `vendor` and various test/tests (except for nuget) directories. - Group known monorepo packages together. - Use curated list of recommended non-monorepo package groupings. - Show only the Age and Confidence Merge Confidence badges for pull requests. - Apply crowd-sourced package replacement rules. - Apply crowd-sourced workarounds for known problems with packages. 🔡 Do you want to change how Renovate upgrades your dependencies? Add your custom config to `renovate.json` in this branch. Renovate will update the Pull Request description the next time it runs. --- ### What to Expect With your current configuration, Renovate will create 21 Pull Requests: <details> <summary>chore(deps): update dependency mocha to v11.7.4</summary> - Schedule: ["at any time"] - Branch name: `renovate/mocha-11.x` - Merge into: `master` - Upgrade [mocha](https://redirect.github.com/mochajs/mocha) to `11.7.4` </details> <details> <summary>chore(deps): update actions/attest-build-provenance action to v3</summary> - Schedule: ["at any time"] - Branch name: `renovate/actions-attest-build-provenance-3.x` - Merge into: `master` - Upgrade [actions/attest-build-provenance](https://redirect.github.com/actions/attest-build-provenance) to `v3` </details> <details> <summary>chore(deps): update actions/checkout action to v5</summary> - Schedule: ["at any time"] - Branch name: `renovate/actions-checkout-5.x` - Merge into: `master` - Upgrade [actions/checkout](https://redirect.github.com/actions/checkout) to `v5` </details> <details> <summary>chore(deps): update actions/first-interaction action to v3</summary> - Schedule: ["at any time"] - Branch name: `renovate/actions-first-interaction-3.x` - Merge into: `master` - Upgrade [actions/first-interaction](https://redirect.github.com/actions/first-interaction) to `v3` </details> <details> <summary>chore(deps): update actions/setup-node action to v6</summary> - Schedule: ["at any time"] - Branch name: `renovate/actions-setup-node-6.x` - Merge into: `master` - Upgrade [actions/setup-node](https://redirect.github.com/actions/setup-node) to `v6` </details> <details> <summary>chore(deps): update dependency @​simplewebauthn/typescript-types to v8</summary> - Schedule: ["at any time"] - Branch name: `renovate/simplewebauthn-typescript-types-8.x` - Merge into: `master` - Upgrade [@simplewebauthn/typescript-types](https://redirect.github.com/MasterKale/SimpleWebAuthn) to `^8.0.0` </details> <details> <summary>chore(deps): update dependency lint-staged to v16</summary> - Schedule: ["at any time"] - Branch name: `renovate/lint-staged-16.x` - Merge into: `master` - Upgrade [lint-staged](https://redirect.github.com/lint-staged/lint-staged) to `^16.0.0` </details> <details> <summary>chore(deps): update mysql docker tag to v9</summary> - Schedule: ["at any time"] - Branch name: `renovate/mysql-9.x` - Merge into: `master` - Upgrade mysql to `9.5` </details> <details> <summary>chore(deps): update postgres docker tag to v18</summary> - Schedule: ["at any time"] - Branch name: `renovate/postgres-18.x` - Merge into: `master` - Upgrade postgres to `18` </details> <details> <summary>chore(deps): update redis docker tag to v8</summary> - Schedule: ["at any time"] - Branch name: `renovate/redis-8.x` - Merge into: `master` - Upgrade redis to `8-alpine` </details> <details> <summary>fix(deps): update dependency @​elastic/elasticsearch to v9</summary> - Schedule: ["at any time"] - Branch name: `renovate/elastic-elasticsearch-9.x` - Merge into: `master` - Upgrade [@elastic/elasticsearch](https://redirect.github.com/elastic/elasticsearch-js) to `^9.0.0` </details> <details> <summary>fix(deps): update dependency @​simplewebauthn/server to v13</summary> - Schedule: ["at any time"] - Branch name: `renovate/simplewebauthn-server-13.x` - Merge into: `master` - Upgrade [@simplewebauthn/server](https://redirect.github.com/MasterKale/SimpleWebAuthn) to `^13.0.0` </details> <details> <summary>fix(deps): update dependency base-x to v5</summary> - Schedule: ["at any time"] - Branch name: `renovate/base-x-5.x` - Merge into: `master` - Upgrade [base-x](https://redirect.github.com/cryptocoinjs/base-x) to `^5.0.0` </details> <details> <summary>fix(deps): update dependency mime-types to v3</summary> - Schedule: ["at any time"] - Branch name: `renovate/mime-types-3.x` - Merge into: `master` - Upgrade [mime-types](https://redirect.github.com/jshttp/mime-types) to `^3.0.0` - Upgrade [@types/mime-types](https://redirect.github.com/DefinitelyTyped/DefinitelyTyped) to `^3.0.0` </details> <details> <summary>fix(deps): update dependency npm-package-arg to v13</summary> - Schedule: ["at any time"] - Branch name: `renovate/npm-package-arg-13.x` - Merge into: `master` - Upgrade [npm-package-arg](https://redirect.github.com/npm/npm-package-arg) to `^13.0.0` </details> <details> <summary>fix(deps): update dependency p-map to v7</summary> - Schedule: ["at any time"] - Branch name: `renovate/p-map-7.x` - Merge into: `master` - Upgrade [p-map](https://redirect.github.com/sindresorhus/p-map) to `^7.0.0` </details> <details> <summary>fix(deps): update dependency read-env-value to v2</summary> - Schedule: ["at any time"] - Branch name: `renovate/read-env-value-2.x` - Merge into: `master` - Upgrade [read-env-value](https://redirect.github.com/node-modules/read-env-value) to `^2.0.0` </details> <details> <summary>fix(deps): update dependency ssri to v13</summary> - Schedule: ["at any time"] - Branch name: `renovate/ssri-13.x` - Merge into: `master` - Upgrade [ssri](https://redirect.github.com/npm/ssri) to `^13.0.0` </details> <details> <summary>fix(deps): update dependency type-fest to v5</summary> - Schedule: ["at any time"] - Branch name: `renovate/type-fest-5.x` - Merge into: `master` - Upgrade [type-fest](https://redirect.github.com/sindresorhus/type-fest) to `^5.0.0` </details> <details> <summary>fix(deps): update dependency ua-parser-js to v2</summary> - Schedule: ["at any time"] - Branch name: `renovate/ua-parser-js-2.x` - Merge into: `master` - Upgrade [ua-parser-js](https://redirect.github.com/faisalman/ua-parser-js) to `^2.0.0` </details> <details> <summary>fix(deps): update dependency validate-npm-package-name to v7</summary> - Schedule: ["at any time"] - Branch name: `renovate/validate-npm-package-name-7.x` - Merge into: `master` - Upgrade [validate-npm-package-name](https://redirect.github.com/npm/validate-npm-package-name) to `^7.0.0` </details> 🚸 Branch creation will be limited to maximum 2 per hour, so it doesn't swamp any CI resources or overwhelm the project. See docs for `prhourlylimit` for details. --- ❓ Got questions? Check out Renovate's [Docs](https://docs.renovatebot.com/), particularly the Getting Started section. If you need any further assistance then you can also [request help here](https://redirect.github.com/renovatebot/renovate/discussions). --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/cnpm/cnpmcore). <!--renovate-config-hash:e80b4e42a3043bc12fa0640db4bac392d2bf770acf841360d7c8ceeeac2ec1a9--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> |
||
|
|
80663505cb |
Release 4.11.1
[skip ci]
## <small>4.11.1 (2025-10-22)</small>
* fix: improve TypeScript type definitions across codebase (#844) ([
v4.11.1
|
||
|
|
e5162f20aa |
fix: improve TypeScript type definitions across codebase (#844)
This commit enhances type safety and fixes type-related issues throughout the project including: - Updated type definitions in entities, repositories, and models - Improved type annotations in services and controllers - Fixed type issues in adapters and utilities - Enhanced test file type definitions - Added typings/index.d.ts for global type declarations 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Claude <noreply@anthropic.com> |
||
|
|
b6c96defa4 |
Release 4.11.0
[skip ci]
## 4.11.0 (2025-10-15)
* feat: perpage config (#843) ([
v4.11.0
|
||
|
|
3e1dbd819c | feat: perpage config (#843) | ||
|
|
faee3b96f1 |
Release 4.10.0
[skip ci] ## 4.10.0 (2025-10-15) * feat: Add time field to abbreviated metadata for pnpm time-based resolution (#834) ([v4.10.0 |
||
|
|
606c983363 |
feat: mirror microsoft/ripgrep-prebuilt binary (#842)
- [x] Add `ripgrep-prebuilt` configuration to `config/binaries.ts` - [x] Create test file for `ripgrep-prebuilt` binary - [x] Create test fixture data for releases - [x] Run and validate tests - [x] Verify linting passes - [x] Address code review feedback - use assert.equal instead of assert.ok <!-- START COPILOT CODING AGENT SUFFIX --> <details> <summary>Original prompt</summary> > > ---- > > *This section details on the original issue you should resolve* > > <issue_title>mirror microsoft/ripgrep-prebuilt</issue_title> > <issue_description>https://github.com/microsoft/ripgrep-prebuilt/releases > > part of https://github.com/cnpm/binary-mirror-config/issues/57</issue_description> > > ## Comments on the Issue (you are @copilot in this section) > > <comments> > </comments> > </details> Fixes cnpm/cnpmcore#841 <!-- START COPILOT CODING AGENT TIPS --> --- 💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click [here](https://survey3.medallia.com/?EAHeSx-AP01bZqG0Ld9QLQ) to start the survey. --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: fengmk2 <156269+fengmk2@users.noreply.github.com> Co-authored-by: MK <fengmk2@gmail.com> |
||
|
|
cb931417c1 |
docs: Enhance Copilot instructions with DDD architecture [skip ci] (#838)
## Overview
This PR significantly enhances the `.github/copilot-instructions.md`
file to provide comprehensive guidance for GitHub Copilot when assisting
with cnpmcore development. The instructions have been expanded from 281
lines to 564 lines, adding critical sections that align with GitHub's
best practices for coding agents.
## What Changed
### New Sections Added
**1. Code Style and Conventions**
- Detailed Oxlint and Prettier configuration rules
- TypeScript conventions (strict typing, avoiding `any`, ES modules)
- Testing conventions with naming patterns and mock usage
- Complete code examples for test structure
**2. Domain-Driven Design (DDD) Architecture**
- Visual layer architecture showing dependency flow
- Detailed responsibilities for each layer:
- Controller: HTTP interface, validation, authentication
- Service: Business logic orchestration
- Repository: Data access and persistence
- Entity: Domain models with business behavior
- Model: ORM definitions
- Repository method naming conventions (`findX`, `saveX`, `removeX`,
`listXs`)
- Request validation trilogy workflow (params → auth → authorization)
- Database model modification guidelines (update all 3 locations)
**3. Infrastructure Adapters**
- Documentation of enterprise customization points
- Adapter types: NFSClientAdapter, QueueAdapter, AuthAdapter,
BinaryAdapter
**4. Semantic Commit Messages**
- Conventional commit format standards
- Real-world examples for feat, fix, docs, chore, test, refactor, perf
### Sections Enhanced
**Adding New Features** (7 lines → 69 lines)
- Step-by-step bottom-up implementation workflow
- Layer-by-layer implementation guidance
- Complete TypeScript controller code example with decorators:
```typescript
@HTTPController()
export class YourController extends AbstractController {
@Inject()
private readonly yourService: YourService;
@HTTPMethod({ path: '/api/path', method: 'GET' })
async yourMethod(@HTTPQuery() params: YourQueryType) {
// 1. Validate params, 2. Authenticate, 3. Authorize, 4. Execute
}
}
```
**Testing** (15 lines → 42 lines)
- Testing philosophy (test all features, test at right layer, mock
dependencies)
- Common test patterns with setup/execute/assert structure
- Examples for both success and error cases
**Performance Notes**
- Added individual test file timing (~12 seconds)
- Added linting speed (<1 second)
- Comprehensive timing reference for CI/CD planning
## Quality Validation
✅ **Markdown Syntax**: All 48 code blocks properly balanced and closed
✅ **Completeness**: All 13 key sections present with practical examples
✅ **Code Examples**: 21 TypeScript code examples throughout
✅ **Best Practices**: Follows GitHub's recommended structure for Copilot
instructions
## Benefits
With these enhancements, GitHub Copilot can now:
- Generate code following cnpmcore's DDD architecture patterns
- Apply correct code style (Prettier + Oxlint rules)
- Create properly structured tests with appropriate mocking
- Follow repository naming conventions
- Implement the 3-step request validation pattern
- Suggest appropriate architectural layers for new features
- Generate semantic commit messages
## Related
Closes #[issue_number]
The instructions now provide comprehensive, actionable guidance that
enables GitHub Copilot to be a more effective development assistant
while maintaining code quality and architectural consistency across the
cnpmcore project.
<!-- START COPILOT CODING AGENT SUFFIX -->
<details>
<summary>Original prompt</summary>
>
> ----
>
> *This section details on the original issue you should resolve*
>
> <issue_title>✨ Set up Copilot instructions</issue_title>
> <issue_description>Configure instructions for this repository as
documented in [Best practices for Copilot coding agent in your
repository](https://gh.io/copilot-coding-agent-tips).
>
> <Onboard this repo></issue_description>
>
> ## Comments on the Issue (you are @copilot in this section)
>
> <comments>
> </comments>
>
</details>
Fixes cnpm/cnpmcore#837
<!-- START COPILOT CODING AGENT TIPS -->
---
✨ Let Copilot coding agent [set things up for
you](https://github.com/cnpm/cnpmcore/issues/new?title=✨+Set+up+Copilot+instructions&body=Configure%20instructions%20for%20this%20repository%20as%20documented%20in%20%5BBest%20practices%20for%20Copilot%20coding%20agent%20in%20your%20repository%5D%28https://gh.io/copilot-coding-agent-tips%29%2E%0A%0A%3COnboard%20this%20repo%3E&assignees=copilot)
— coding agent works faster and does higher quality work when set up for
your repo.
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: fengmk2 <156269+fengmk2@users.noreply.github.com>
Co-authored-by: MK (fengmk2) <fengmk2@gmail.com>
|
||
|
|
324511d159 |
test: enable test shard (#839)
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Improved CI parallelization and shard-aware job naming for faster, clearer test runs. * **Bug Fixes** * More robust handling of binary paths and change-stream edge cases to reduce rare failures. * Prevented unintended data mutation and tightened minor version-handling resilience. * **Chores** * Streamlined test scripts and updated dependency resolution. * Added Prettier ignore rules, relaxed selected lint rules, and small build script formatting cleanup. <!-- end of auto-generated comment: release notes by coderabbit.ai --> |
||
|
|
2e51399db1 |
feat: Add time field to abbreviated metadata for pnpm time-based resolution (#834)
- [x] Add time field to abbreviated manifests in `_listPackageAbbreviatedManifests` method - [x] Fix cache update logic to populate time field when adding versions to abbreviated manifests - [x] Fix cache update logic to remove time field when removing versions from abbreviated manifests - [x] Add comprehensive test coverage for time field in abbreviated manifests - [x] All tests passing (30/30 in ShowPackageController.test.ts) closes https://github.com/cnpm/cnpmcore/issues/609 <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Bug Fixes** * Package metadata now consistently includes time information (created, modified, and per-version publish timestamps) in both full and abbreviated manifests. * Removing a version also removes its corresponding time entry to keep metadata accurate. * Added guards to prevent writing invalid time data, improving stability. * **Tests** * Added tests to verify presence and correctness of time fields in abbreviated manifests, including created/modified and per-version timestamps. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: fengmk2 <156269+fengmk2@users.noreply.github.com> Co-authored-by: MK (fengmk2) <fengmk2@gmail.com> |
||
|
|
5b1da74746 |
docs: Add comprehensive internal API documentation for direct HTTP requests (#832)
This PR adds comprehensive documentation for cnpmcore's internal APIs,
enabling users to make direct HTTP requests without needing the cnpm
client with outdated dependencies.
## Background
Users requested documentation for internal APIs to avoid using the cnpm
client, which has outdated dependencies like `bagpipe` (11 years old)
and `npm-request` (9 years old). The primary use case is package
synchronization functionality that was previously only accessible
through the cnpm CLI.
## Changes
### New Documentation: `docs/internal-api.md`
Created a comprehensive 988-line API reference covering:
**Package Sync API** - The primary requested functionality:
- `PUT /-/package/:fullname/syncs` - Modern sync API
- `PUT /:fullname/sync` - Legacy sync API (cnpmjs.org compatibility)
- `GET /-/package/:fullname/syncs/:taskId` - Check sync status
- `GET /-/package/:fullname/syncs/:taskId/log` - View sync logs
**Additional APIs documented:**
- **Token Management**: Create, list, delete authentication tokens
- **Hook Management**: CRUD operations for webhooks
- **Package Administration**: Block/unblock packages (admin only)
- **Registry Management**: Manage multiple npm registries
- **Binary Sync**: List and browse binary packages
- **User Management**: User registration and authentication
### Documentation Features
- Complete curl examples for all endpoints
- Request/response schemas with validation rules
- Authentication requirements clearly marked
- Error handling with HTTP status codes
- Security considerations and best practices
- Real-world workflow examples
### Updated README.md
Added reference to the new internal API documentation to make it
discoverable.
## Usage Examples
Users can now sync packages directly:
```bash
# Trigger package sync
curl -X PUT \
-H "Authorization: Bearer your-token" \
-H "Content-Type: application/json" \
-d '{"tips": "API sync request"}' \
https://your-registry.com/-/package/lodash/syncs
# Check sync status
curl -H "Authorization: Bearer your-token" \
https://your-registry.com/-/package/lodash/syncs/task-id
# View sync logs
curl -H "Authorization: Bearer your-token" \
https://your-registry.com/-/package/lodash/syncs/task-id/log
```
## Validation
All documented endpoints have been verified against the actual
implementation in the controllers. The API paths, parameters, and
response formats match the codebase exactly.
This enables users to extract sync functionality and other operations
without dealing with outdated cnpm dependencies, directly addressing the
issue's core request.
Fixes #709.
<!-- START COPILOT CODING AGENT TIPS -->
---
💡 You can make Copilot smarter by setting up custom instructions,
customizing its development environment and configuring Model Context
Protocol (MCP) servers. Learn more [Copilot coding agent
tips](https://gh.io/copilot-coding-agent-tips) in the docs.
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: fengmk2 <156269+fengmk2@users.noreply.github.com>
Co-authored-by: MK (fengmk2) <fengmk2@gmail.com>
[skip ci]
|
||
|
|
c7df471c0e |
refactor: use tegg and egg v4 beta (#836)
🦀 for https://github.com/eggjs/egg/issues/3644 |
||
|
|
c16ec7bad0 |
Release 4.9.0
[skip ci] ## 4.9.0 (2025-09-12) * feat: add Firefox binary mirroring support for Puppeteer with version filtering and comprehensive te ([v4.9.0 |
||
|
|
17b1b81eea |
feat: add Firefox binary mirroring support for Puppeteer with version filtering and comprehensive tests (#828)
- [x] Extended the `BinaryType` enum to include `Firefox = 'firefox'`,
following the established pattern for other binary types.
- [x] Implemented a new `FirefoxBinary` class that:
- Extends the `AbstractBinary` base class
- Parses Mozilla's HTML directory listing format using regex patterns
- Handles both version directories (e.g., `131.0.3/`) and binary files
(e.g., `firefox-131.0.3.tar.bz2`)
- Supports all standard platforms: `linux-i686`, `linux-x86_64`, `mac`,
`win32`, `win64`
- **Filters out old Firefox versions < 100.0.0** to reduce noise and
improve performance
- [x] Configured Firefox binary mirroring in `binaries.ts`
- [x] Added intelligent version filtering that:
- Only processes Firefox version directories >= 100.0.0
- Uses the `semver` library for accurate version comparison
- Handles beta/RC versions (e.g., "131.0b3") by extracting the base
version ("131.0")
- Pads two-part versions to semver format (e.g., "131.0" -> "131.0.0")
- Skips directories with versions < 100.0.0 to avoid outdated releases
- [x] **Implemented focused unit tests that work in CI environments**:
- ✅ Binary instantiation and dependency injection tests
- ✅ Version filtering verification (correctly includes >= 100.0.0,
excludes < 100.0.0)
- Tests use realistic test fixtures simulating actual Mozilla archive
structure
- **Test cases with old versions (3.6, 52.0, 78.0, 99.0) to verify
filtering works correctly**
- **Unit tests work without requiring external network access or HTTP
mocking**
- [x] **Updated `131.0.3.html` to match the original Mozilla archive
HTML format with proper line breaks**
- [x] **Enhanced error handling to log version parsing failures instead
of silently ignoring them**:
- Added descriptive error logging with proper tags following project
conventions
- Includes directory name and error details for better troubleshooting
- Uses `this.logger.warn()` for appropriate log level
- [x] **Resolved all linting errors in Firefox binary tests**:
- Fixed unused catch parameter by removing the unused `error` parameter
- Replaced array with Set for better performance when checking existence
- **Removed unused `gte` import from semver library**
- All linting checks now pass successfully
- [x] **Implemented useful preview tests with HTTP mocking**:
- Tests use `app.mockHttpclient()` instead of real network requests
- Provide end-to-end integration testing of Firefox binary fetching
- Include root directory fetching, version filtering, and file parsing
tests
- Safe for CI environments since they don't require external network
access
- Help developers preview and validate the Firefox binary functionality
- [x] **Fixed test failure with improved error messages and debugging
support**:
- Added `filteredResults` variable in test for better error reporting
- Enhanced assertion messages to show actual vs expected results
- Improved test robustness and debugging capabilities
- [x] **Removed redundant HTML parsing logic tests**:
- Cleaned up duplicate test logic that was testing the same
functionality
- Kept the more valuable preview tests that provide end-to-end
integration testing
- Focused test suite on the actual API interface rather than internal
implementation details
This enables Puppeteer users in China to configure Firefox binary
downloads through cnpmcore's mirror infrastructure, improving download
speeds and reliability while focusing on modern Firefox versions.
Fixes #826.
<!-- START COPILOT CODING AGENT TIPS -->
---
💬 Share your feedback on Copilot coding agent for the chance to win a
$200 gift card! Click
[here](https://survey3.medallia.com/?EAHeSx-AP01bZqG0Ld9QLQ) to start
the survey.
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
* **New Features**
* Added Firefox as a selectable binary source alongside existing
options.
* Browse official Firefox release directories and versions directly from
within the app.
* Automatically filters out legacy versions (<100) and handles
pre-release tags consistently.
* Displays accurate file metadata (date, size) and provides direct
download links for release assets.
* Updated catalog to include Firefox releases, enabling easier setup for
Firefox-based automation workflows.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: fengmk2 <156269+fengmk2@users.noreply.github.com>
Co-authored-by: MK (fengmk2) <fengmk2@gmail.com>
Co-authored-by: elrrrrrrr <5574625+elrrrrrrr@users.noreply.github.com>
Co-authored-by: Claude <noreply@anthropic.com>
|
||
|
|
bb0bdef070 |
chore: Add comprehensive GitHub Copilot instructions with validated commands and timing expectations (#830)
This PR adds a comprehensive `.github/copilot-instructions.md` file that
provides GitHub Copilot coding agents with detailed, validated
instructions for working effectively in the cnpmcore codebase.
## What's Included
The instructions cover all essential aspects of development workflow:
- **Environment Setup**: Complete bootstrap process with Node.js,
MySQL/PostgreSQL, and Redis
- **Build & Development**: All npm scripts with measured timing
expectations
- **Testing Strategy**: Both individual test execution and full suite
with proper timeout warnings
- **Database Management**: Setup instructions for both MySQL and
PostgreSQL environments
- **Validation Scenarios**: Step-by-step manual testing procedures for
API endpoints and functionality
- **Architecture Guide**: Project structure navigation and key service
locations
- **Troubleshooting**: Common issues and resolution steps
## Key Features
**Validated Commands**: Every single command has been tested and
measured:
- npm install: ~2 minutes
- TypeScript compilation: ~6 seconds
- Database initialization: <2 seconds
- Development server startup: ~20 seconds
- Individual tests: ~12 seconds
- **Full test suite: 4+ minutes with "NEVER CANCEL" warnings**
**Critical Timeout Guidance**: The instructions include explicit
warnings about long-running operations with specific timeout
recommendations to prevent premature cancellation of builds and tests.
**Dual Database Support**: Complete workflows for both MySQL and
PostgreSQL development environments with Docker compose setup.
**Manual Validation**: Specific scenarios for testing API endpoints,
authentication, and core registry functionality to ensure changes work
correctly.
The instructions follow the imperative tone requirement ("Run this
command", "Do not do this") and provide the firm directive to always
reference these instructions first before falling back to additional
search or context gathering.
Fixes #829.
> [!WARNING]
>
> <details>
> <summary>Firewall rules blocked me from connecting to one or more
addresses (expand for details)</summary>
>
> #### I tried to connect to the following addresses, but was blocked by
firewall rules:
>
> - `custom.npmjs.com`
> - Triggering command: `/usr/local/bin/node
--unhandled-rejections=strict
/home/REDACTED/work/cnpmcore/cnpmcore/node_modules/mocha/bin/_mocha
--exit --timeout=60000
--reporter=/home/REDACTED/work/cnpmcore/cnpmcore/node_modules/mochawesome-with-mocha/src/mochawesome.js
--reporter-options=reportDir=node_modules/.mochawesome-reports
--require=/home/REDACTED/work/cnpmcore/cnpmcore/node_modules/@eggjs/mock/dist/esm/register.js
/home/REDACTED/work/cnpmcore/cnpmcore/test/.setup.ts
test/cli/npm/access.test.ts test/cli/npm/install.test.ts
test/common/CryptoUtil.test.ts test/common/FileUtil.test.ts
test/common/PackageUtil.test.ts test/common/UserUtil.test.ts
test/common/adapter/BugVersionStore.test.ts
test/common/adapter/CacheAdapter.test.ts
test/common/adapter/NpmRegistry.test.ts
test/common/adapter/binary/ApiBinary.test.ts
test/common/adapter/binary/BucketBinary.test.ts
test/common/adapter/binary/ChromeForTestingBinary.test.ts
test/common/adapter/binary/CypressBinary.test.ts
test/common/adapter/binary/EdgedriverBinary.test.ts
test/common/adapter/binary/ElectronBinary.test.ts
test/common/adapter/binary/GithubBinary.test.ts
test/common/adapter/binary/ImageminBinary.test.ts
test/common/adapter/binary/NodeBinary.test.ts
test/common/adapter/binary/NodePreGypBinary.test.ts
test/common/adapter/binary/NwjsBinary.test.ts
test/common/adapter/binary/PlaywrightBinary.test.ts
test/common/adapter/binary/PrismaBinary.test.ts
test/common/adapter/binary/PuppeteerBinary.test.ts
test/common/adapter/binary/SqlcipherBinary.test.ts
test/common/adapter/changesStream/CnpmcoreChangesStream.test.ts
test/common/adapter/changesStream/CnpmjsorgChangesStream.test.ts
test/common/adapter/changesStream/NpmChangesStream.test.ts
test/core/entity/BugVersion.test.ts
test/core/entity/PaddingSemver.test.ts test/core/entity/SqlRange.test.ts
test/core/entity/Task.test.ts
test/core/event/BugVersionFixHandler.test.ts
test/core/event/ChangesStream.test.ts
test/core/event/StoreManifest.test.ts
test/core/service/BinarySyncerService/createTask.test.ts
test/core/service/BinarySyncerService/executeTask.test.ts
test/core/service/BugVersionService/cleanBugVersionPackageCache.test.ts
test/core/service/BugVersionService/fixPackageBugVersion.test.ts
test/core/service/BugVersionService/fixPackageBugVersions.test.ts
test/core/service/ChangesStreamService.test.ts
test/core/service/CreateHookTriggerService.test.ts
test/core/service/HookManageService/createHook.test.ts
test/core/service/HookManageService/deleteHook.test.ts
test/core/service/HookManageService/getHookByOwnerId.test.ts
test/core/service/HookManageService/updateHook.test.ts
test/core/service/HookTriggerService.test.ts
test/core/service/PackageManagerService/block.test.ts
test/core/service/PackageManagerService/publish.test.ts
test/core/service/PackageSyncerService/createTask.test.ts
test/core/service/PackageSyncerService/executeTask.test.ts
test/core/service/PackageSyncerService/findExecuteTask.test.ts
test/core/service/PackageSyncerService/getTaskRegistry.test.ts
test/core/service/PackageVersionService.test.ts
test/core/service/ProxyCacheService.test.ts
test/core/service/RegistryManagerService/index.test.ts
test/core/service/ScopeManagerService/index.test.ts
test/core/service/TaskService/findExecuteTask.test.ts
test/core/util/EntityUtil.test.ts test/infra/QueueAdapter.test.ts
test/port/controller/AccessController/listCollaborators.test.ts
test/port/controller/AccessController/listPackagesByUser.test.ts
test/port/controller/BinarySyncController/showBinary.test.ts
test/port/controller/ChangesStreamController/listChanges.test.ts
test/port/controller/DownloadController/showPackageDownloads.test.ts
test/port/controller/HomeController/cors.test.ts
test/port/controller/HomeController/misc.test.ts
test/port/controller/HomeController/ping.test.ts
test/port/controller/HomeController/showTotal.test.ts
test/port/controller/PackageBlockController/blockPackage.test.ts
test/port/controller/PackageBlockController/unblockPackage.test.ts
test/port/controller/PackageSyncController/createSyncTask.test.ts
test/port/controller/PackageSyncController/showSyncTask.test.ts
test/port/controller/PackageSyncController/showSyncTaskLog.test.ts
test/port/controller/PackageTagController/removeTag.test.ts
test/port/controller/PackageTagController/saveTag.test.ts
test/port/controller/PackageTagController/showTags.test.ts
test/port/controller/PackageVersionFileController/listFiles.test.ts
test/port/controller/PackageVersionFileController/raw.test.ts
test/port/controller/PackageVersionFileController/sync.test.ts
test/port/controller/ProxyCacheController/index.test.ts
test/port/controller/RegistryController/index.test.ts
test/port/controller/ScopeController/index.test.ts
test/port/controller/TokenController/createToken.test.ts
test/port/controller/TokenController/listTokens.test.ts
test/port/controller/TokenController/removeToken.test.ts
test/port/controller/UserController/loginOrCreateUser.test.ts
test/port/controller/UserController/logout.test.ts
test/port/controller/UserController/saveProfile.test.ts
test/port/controller/UserController/showProfile.test.ts
test/port/controller/UserController/showUser.test.ts
test/port/controller/UserController/starredByUser.test.ts
test/port/controller/UserController/whoami.test.ts
test/port/controller/hook/HookController.test.ts
test/port/controller/package/DownloadPackageVersionTarController.test.ts
test/port/controller/package/RemovePackageVersionController.test.ts
test/port/controller/package/SavePackageVersionController.test.ts
test/port/controller/package/SearchPackageController.test.ts
test/port/controller/package/ShowPackageController.test.ts
test/port/controller/package/ShowPackageVersionController.test.ts
test/port/controller/package/UpdatePackageController.test.ts
test/port/middleware/AlwaysAuth.test.ts
test/port/middleware/Tracing.test.ts
test/port/webauth/webauthController.test.ts
test/repository/ChangeRepository.test.ts
test/repository/PackageRepository.test.ts
test/repository/ProxyCachePepository.test.ts
test/repository/RegistryRepository.test.ts
test/repository/ScopeRepository.test.ts
test/repository/SearchRepository.test.ts
test/repository/TaskRepository.test.ts
test/repository/TotalRepository.test.ts
test/schedule/ChangesStreamWorker.test.ts
test/schedule/CheckProxyCacheUpdateWorker.test.ts
test/schedule/CheckRecentlyUpdatedPackages.test.ts
test/schedule/CleanTempDir.test.ts
test/schedule/SyncBinaryWorker.test.ts
test/schedule/SyncPackageWorker.test.ts
test/schedule/SyncProxyCacheWorker.test.ts
test/schedule/TaskTimeoutHandler.test.ts` (dns block)
> - `msedgewebdriverstorage.blob.core.windows.net`
> - Triggering command: `/usr/local/bin/node
--unhandled-rejections=strict
/home/REDACTED/work/cnpmcore/cnpmcore/node_modules/mocha/bin/_mocha
--exit --timeout=60000
--reporter=/home/REDACTED/work/cnpmcore/cnpmcore/node_modules/mochawesome-with-mocha/src/mochawesome.js
--reporter-options=reportDir=node_modules/.mochawesome-reports
--require=/home/REDACTED/work/cnpmcore/cnpmcore/node_modules/@eggjs/mock/dist/esm/register.js
/home/REDACTED/work/cnpmcore/cnpmcore/test/.setup.ts
test/cli/npm/access.test.ts test/cli/npm/install.test.ts
test/common/CryptoUtil.test.ts test/common/FileUtil.test.ts
test/common/PackageUtil.test.ts test/common/UserUtil.test.ts
test/common/adapter/BugVersionStore.test.ts
test/common/adapter/CacheAdapter.test.ts
test/common/adapter/NpmRegistry.test.ts
test/common/adapter/binary/ApiBinary.test.ts
test/common/adapter/binary/BucketBinary.test.ts
test/common/adapter/binary/ChromeForTestingBinary.test.ts
test/common/adapter/binary/CypressBinary.test.ts
test/common/adapter/binary/EdgedriverBinary.test.ts
test/common/adapter/binary/ElectronBinary.test.ts
test/common/adapter/binary/GithubBinary.test.ts
test/common/adapter/binary/ImageminBinary.test.ts
test/common/adapter/binary/NodeBinary.test.ts
test/common/adapter/binary/NodePreGypBinary.test.ts
test/common/adapter/binary/NwjsBinary.test.ts
test/common/adapter/binary/PlaywrightBinary.test.ts
test/common/adapter/binary/PrismaBinary.test.ts
test/common/adapter/binary/PuppeteerBinary.test.ts
test/common/adapter/binary/SqlcipherBinary.test.ts
test/common/adapter/changesStream/CnpmcoreChangesStream.test.ts
test/common/adapter/changesStream/CnpmjsorgChangesStream.test.ts
test/common/adapter/changesStream/NpmChangesStream.test.ts
test/core/entity/BugVersion.test.ts
test/core/entity/PaddingSemver.test.ts test/core/entity/SqlRange.test.ts
test/core/entity/Task.test.ts
test/core/event/BugVersionFixHandler.test.ts
test/core/event/ChangesStream.test.ts
test/core/event/StoreManifest.test.ts
test/core/service/BinarySyncerService/createTask.test.ts
test/core/service/BinarySyncerService/executeTask.test.ts
test/core/service/BugVersionService/cleanBugVersionPackageCache.test.ts
test/core/service/BugVersionService/fixPackageBugVersion.test.ts
test/core/service/BugVersionService/fixPackageBugVersions.test.ts
test/core/service/ChangesStreamService.test.ts
test/core/service/CreateHookTriggerService.test.ts
test/core/service/HookManageService/createHook.test.ts
test/core/service/HookManageService/deleteHook.test.ts
test/core/service/HookManageService/getHookByOwnerId.test.ts
test/core/service/HookManageService/updateHook.test.ts
test/core/service/HookTriggerService.test.ts
test/core/service/PackageManagerService/block.test.ts
test/core/service/PackageManagerService/publish.test.ts
test/core/service/PackageSyncerService/createTask.test.ts
test/core/service/PackageSyncerService/executeTask.test.ts
test/core/service/PackageSyncerService/findExecuteTask.test.ts
test/core/service/PackageSyncerService/getTaskRegistry.test.ts
test/core/service/PackageVersionService.test.ts
test/core/service/ProxyCacheService.test.ts
test/core/service/RegistryManagerService/index.test.ts
test/core/service/ScopeManagerService/index.test.ts
test/core/service/TaskService/findExecuteTask.test.ts
test/core/util/EntityUtil.test.ts test/infra/QueueAdapter.test.ts
test/port/controller/AccessController/listCollaborators.test.ts
test/port/controller/AccessController/listPackagesByUser.test.ts
test/port/controller/BinarySyncController/showBinary.test.ts
test/port/controller/ChangesStreamController/listChanges.test.ts
test/port/controller/DownloadController/showPackageDownloads.test.ts
test/port/controller/HomeController/cors.test.ts
test/port/controller/HomeController/misc.test.ts
test/port/controller/HomeController/ping.test.ts
test/port/controller/HomeController/showTotal.test.ts
test/port/controller/PackageBlockController/blockPackage.test.ts
test/port/controller/PackageBlockController/unblockPackage.test.ts
test/port/controller/PackageSyncController/createSyncTask.test.ts
test/port/controller/PackageSyncController/showSyncTask.test.ts
test/port/controller/PackageSyncController/showSyncTaskLog.test.ts
test/port/controller/PackageTagController/removeTag.test.ts
test/port/controller/PackageTagController/saveTag.test.ts
test/port/controller/PackageTagController/showTags.test.ts
test/port/controller/PackageVersionFileController/listFiles.test.ts
test/port/controller/PackageVersionFileController/raw.test.ts
test/port/controller/PackageVersionFileController/sync.test.ts
test/port/controller/ProxyCacheController/index.test.ts
test/port/controller/RegistryController/index.test.ts
test/port/controller/ScopeController/index.test.ts
test/port/controller/TokenController/createToken.test.ts
test/port/controller/TokenController/listTokens.test.ts
test/port/controller/TokenController/removeToken.test.ts
test/port/controller/UserController/loginOrCreateUser.test.ts
test/port/controller/UserController/logout.test.ts
test/port/controller/UserController/saveProfile.test.ts
test/port/controller/UserController/showProfile.test.ts
test/port/controller/UserController/showUser.test.ts
test/port/controller/UserController/starredByUser.test.ts
test/port/controller/UserController/whoami.test.ts
test/port/controller/hook/HookController.test.ts
test/port/controller/package/DownloadPackageVersionTarController.test.ts
test/port/controller/package/RemovePackageVersionController.test.ts
test/port/controller/package/SavePackageVersionController.test.ts
test/port/controller/package/SearchPackageController.test.ts
test/port/controller/package/ShowPackageController.test.ts
test/port/controller/package/ShowPackageVersionController.test.ts
test/port/controller/package/UpdatePackageController.test.ts
test/port/middleware/AlwaysAuth.test.ts
test/port/middleware/Tracing.test.ts
test/port/webauth/webauthController.test.ts
test/repository/ChangeRepository.test.ts
test/repository/PackageRepository.test.ts
test/repository/ProxyCachePepository.test.ts
test/repository/RegistryRepository.test.ts
test/repository/ScopeRepository.test.ts
test/repository/SearchRepository.test.ts
test/repository/TaskRepository.test.ts
test/repository/TotalRepository.test.ts
test/schedule/ChangesStreamWorker.test.ts
test/schedule/CheckProxyCacheUpdateWorker.test.ts
test/schedule/CheckRecentlyUpdatedPackages.test.ts
test/schedule/CleanTempDir.test.ts
test/schedule/SyncBinaryWorker.test.ts
test/schedule/SyncPackageWorker.test.ts
test/schedule/SyncProxyCacheWorker.test.ts
test/schedule/TaskTimeoutHandler.test.ts` (dns block)
> - `r.cnpmjs.org`
> - Triggering command: `/usr/local/bin/node
--unhandled-rejections=strict
/home/REDACTED/work/cnpmcore/cnpmcore/node_modules/mocha/bin/_mocha
--exit --timeout=60000
--reporter=/home/REDACTED/work/cnpmcore/cnpmcore/node_modules/mochawesome-with-mocha/src/mochawesome.js
--reporter-options=reportDir=node_modules/.mochawesome-reports
--require=/home/REDACTED/work/cnpmcore/cnpmcore/node_modules/@eggjs/mock/dist/esm/register.js
/home/REDACTED/work/cnpmcore/cnpmcore/test/.setup.ts
test/cli/npm/access.test.ts test/cli/npm/install.test.ts
test/common/CryptoUtil.test.ts test/common/FileUtil.test.ts
test/common/PackageUtil.test.ts test/common/UserUtil.test.ts
test/common/adapter/BugVersionStore.test.ts
test/common/adapter/CacheAdapter.test.ts
test/common/adapter/NpmRegistry.test.ts
test/common/adapter/binary/ApiBinary.test.ts
test/common/adapter/binary/BucketBinary.test.ts
test/common/adapter/binary/ChromeForTestingBinary.test.ts
test/common/adapter/binary/CypressBinary.test.ts
test/common/adapter/binary/EdgedriverBinary.test.ts
test/common/adapter/binary/ElectronBinary.test.ts
test/common/adapter/binary/GithubBinary.test.ts
test/common/adapter/binary/ImageminBinary.test.ts
test/common/adapter/binary/NodeBinary.test.ts
test/common/adapter/binary/NodePreGypBinary.test.ts
test/common/adapter/binary/NwjsBinary.test.ts
test/common/adapter/binary/PlaywrightBinary.test.ts
test/common/adapter/binary/PrismaBinary.test.ts
test/common/adapter/binary/PuppeteerBinary.test.ts
test/common/adapter/binary/SqlcipherBinary.test.ts
test/common/adapter/changesStream/CnpmcoreChangesStream.test.ts
test/common/adapter/changesStream/CnpmjsorgChangesStream.test.ts
test/common/adapter/changesStream/NpmChangesStream.test.ts
test/core/entity/BugVersion.test.ts
test/core/entity/PaddingSemver.test.ts test/core/entity/SqlRange.test.ts
test/core/entity/Task.test.ts
test/core/event/BugVersionFixHandler.test.ts
test/core/event/ChangesStream.test.ts
test/core/event/StoreManifest.test.ts
test/core/service/BinarySyncerService/createTask.test.ts
test/core/service/BinarySyncerService/executeTask.test.ts
test/core/service/BugVersionService/cleanBugVersionPackageCache.test.ts
test/core/service/BugVersionService/fixPackageBugVersion.test.ts
test/core/service/BugVersionService/fixPackageBugVersions.test.ts
test/core/service/ChangesStreamService.test.ts
test/core/service/CreateHookTriggerService.test.ts
test/core/service/HookManageService/createHook.test.ts
test/core/service/HookManageService/deleteHook.test.ts
test/core/service/HookManageService/getHookByOwnerId.test.ts
test/core/service/HookManageService/updateHook.test.ts
test/core/service/HookTriggerService.test.ts
test/core/service/PackageManagerService/block.test.ts
test/core/service/PackageManagerService/publish.test.ts
test/core/service/PackageSyncerService/createTask.test.ts
test/core/service/PackageSyncerService/executeTask.test.ts
test/core/service/PackageSyncerService/findExecuteTask.test.ts
test/core/service/PackageSyncerService/getTaskRegistry.test.ts
test/core/service/PackageVersionService.test.ts
test/core/service/ProxyCacheService.test.ts
test/core/service/RegistryManagerService/index.test.ts
test/core/service/ScopeManagerService/index.test.ts
test/core/service/TaskService/findExecuteTask.test.ts
test/core/util/EntityUtil.test.ts test/infra/QueueAdapter.test.ts
test/port/controller/AccessController/listCollaborators.test.ts
test/port/controller/AccessController/listPackagesByUser.test.ts
test/port/controller/BinarySyncController/showBinary.test.ts
test/port/controller/ChangesStreamController/listChanges.test.ts
test/port/controller/DownloadController/showPackageDownloads.test.ts
test/port/controller/HomeController/cors.test.ts
test/port/controller/HomeController/misc.test.ts
test/port/controller/HomeController/ping.test.ts
test/port/controller/HomeController/showTotal.test.ts
test/port/controller/PackageBlockController/blockPackage.test.ts
test/port/controller/PackageBlockController/unblockPackage.test.ts
test/port/controller/PackageSyncController/createSyncTask.test.ts
test/port/controller/PackageSyncController/showSyncTask.test.ts
test/port/controller/PackageSyncController/showSyncTaskLog.test.ts
test/port/controller/PackageTagController/removeTag.test.ts
test/port/controller/PackageTagController/saveTag.test.ts
test/port/controller/PackageTagController/showTags.test.ts
test/port/controller/PackageVersionFileController/listFiles.test.ts
test/port/controller/PackageVersionFileController/raw.test.ts
test/port/controller/PackageVersionFileController/sync.test.ts
test/port/controller/ProxyCacheController/index.test.ts
test/port/controller/RegistryController/index.test.ts
test/port/controller/ScopeController/index.test.ts
test/port/controller/TokenController/createToken.test.ts
test/port/controller/TokenController/listTokens.test.ts
test/port/controller/TokenController/removeToken.test.ts
test/port/controller/UserController/loginOrCreateUser.test.ts
test/port/controller/UserController/logout.test.ts
test/port/controller/UserController/saveProfile.test.ts
test/port/controller/UserController/showProfile.test.ts
test/port/controller/UserController/showUser.test.ts
test/port/controller/UserController/starredByUser.test.ts
test/port/controller/UserController/whoami.test.ts
test/port/controller/hook/HookController.test.ts
test/port/controller/package/DownloadPackageVersionTarController.test.ts
test/port/controller/package/RemovePackageVersionController.test.ts
test/port/controller/package/SavePackageVersionController.test.ts
test/port/controller/package/SearchPackageController.test.ts
test/port/controller/package/ShowPackageController.test.ts
test/port/controller/package/ShowPackageVersionController.test.ts
test/port/controller/package/UpdatePackageController.test.ts
test/port/middleware/AlwaysAuth.test.ts
test/port/middleware/Tracing.test.ts
test/port/webauth/webauthController.test.ts
test/repository/ChangeRepository.test.ts
test/repository/PackageRepository.test.ts
test/repository/ProxyCachePepository.test.ts
test/repository/RegistryRepository.test.ts
test/repository/ScopeRepository.test.ts
test/repository/SearchRepository.test.ts
test/repository/TaskRepository.test.ts
test/repository/TotalRepository.test.ts
test/schedule/ChangesStreamWorker.test.ts
test/schedule/CheckProxyCacheUpdateWorker.test.ts
test/schedule/CheckRecentlyUpdatedPackages.test.ts
test/schedule/CleanTempDir.test.ts
test/schedule/SyncBinaryWorker.test.ts
test/schedule/SyncPackageWorker.test.ts
test/schedule/SyncProxyCacheWorker.test.ts
test/schedule/TaskTimeoutHandler.test.ts` (dns block)
> - `replicate.npmjs.com`
> - Triggering command: `/usr/local/bin/node
--unhandled-rejections=strict
/home/REDACTED/work/cnpmcore/cnpmcore/node_modules/mocha/bin/_mocha
--exit --timeout=60000
--reporter=/home/REDACTED/work/cnpmcore/cnpmcore/node_modules/mochawesome-with-mocha/src/mochawesome.js
--reporter-options=reportDir=node_modules/.mochawesome-reports
--require=/home/REDACTED/work/cnpmcore/cnpmcore/node_modules/@eggjs/mock/dist/esm/register.js
/home/REDACTED/work/cnpmcore/cnpmcore/test/.setup.ts
test/cli/npm/access.test.ts test/cli/npm/install.test.ts
test/common/CryptoUtil.test.ts test/common/FileUtil.test.ts
test/common/PackageUtil.test.ts test/common/UserUtil.test.ts
test/common/adapter/BugVersionStore.test.ts
test/common/adapter/CacheAdapter.test.ts
test/common/adapter/NpmRegistry.test.ts
test/common/adapter/binary/ApiBinary.test.ts
test/common/adapter/binary/BucketBinary.test.ts
test/common/adapter/binary/ChromeForTestingBinary.test.ts
test/common/adapter/binary/CypressBinary.test.ts
test/common/adapter/binary/EdgedriverBinary.test.ts
test/common/adapter/binary/ElectronBinary.test.ts
test/common/adapter/binary/GithubBinary.test.ts
test/common/adapter/binary/ImageminBinary.test.ts
test/common/adapter/binary/NodeBinary.test.ts
test/common/adapter/binary/NodePreGypBinary.test.ts
test/common/adapter/binary/NwjsBinary.test.ts
test/common/adapter/binary/PlaywrightBinary.test.ts
test/common/adapter/binary/PrismaBinary.test.ts
test/common/adapter/binary/PuppeteerBinary.test.ts
test/common/adapter/binary/SqlcipherBinary.test.ts
test/common/adapter/changesStream/CnpmcoreChangesStream.test.ts
test/common/adapter/changesStream/CnpmjsorgChangesStream.test.ts
test/common/adapter/changesStream/NpmChangesStream.test.ts
test/core/entity/BugVersion.test.ts
test/core/entity/PaddingSemver.test.ts test/core/entity/SqlRange.test.ts
test/core/entity/Task.test.ts
test/core/event/BugVersionFixHandler.test.ts
test/core/event/ChangesStream.test.ts
test/core/event/StoreManifest.test.ts
test/core/service/BinarySyncerService/createTask.test.ts
test/core/service/BinarySyncerService/executeTask.test.ts
test/core/service/BugVersionService/cleanBugVersionPackageCache.test.ts
test/core/service/BugVersionService/fixPackageBugVersion.test.ts
test/core/service/BugVersionService/fixPackageBugVersions.test.ts
test/core/service/ChangesStreamService.test.ts
test/core/service/CreateHookTriggerService.test.ts
test/core/service/HookManageService/createHook.test.ts
test/core/service/HookManageService/deleteHook.test.ts
test/core/service/HookManageService/getHookByOwnerId.test.ts
test/core/service/HookManageService/updateHook.test.ts
test/core/service/HookTriggerService.test.ts
test/core/service/PackageManagerService/block.test.ts
test/core/service/PackageManagerService/publish.test.ts
test/core/service/PackageSyncerService/createTask.test.ts
test/core/service/PackageSyncerService/executeTask.test.ts
test/core/service/PackageSyncerService/findExecuteTask.test.ts
test/core/service/PackageSyncerService/getTaskRegistry.test.ts
test/core/service/PackageVersionService.test.ts
test/core/service/ProxyCacheService.test.ts
test/core/service/RegistryManagerService/index.test.ts
test/core/service/ScopeManagerService/index.test.ts
test/core/service/TaskService/findExecuteTask.test.ts
test/core/util/EntityUtil.test.ts test/infra/QueueAdapter.test.ts
test/port/controller/AccessController/listCollaborators.test.ts
test/port/controller/AccessController/listPackagesByUser.test.ts
test/port/controller/BinarySyncController/showBinary.test.ts
test/port/controller/ChangesStreamController/listChanges.test.ts
test/port/controller/DownloadController/showPackageDownloads.test.ts
test/port/controller/HomeController/cors.test.ts
test/port/controller/HomeController/misc.test.ts
test/port/controller/HomeController/ping.test.ts
test/port/controller/HomeController/showTotal.test.ts
test/port/controller/PackageBlockController/blockPackage.test.ts
test/port/controller/PackageBlockController/unblockPackage.test.ts
test/port/controller/PackageSyncController/createSyncTask.test.ts
test/port/controller/PackageSyncController/showSyncTask.test.ts
test/port/controller/PackageSyncController/showSyncTaskLog.test.ts
test/port/controller/PackageTagController/removeTag.test.ts
test/port/controller/PackageTagController/saveTag.test.ts
test/port/controller/PackageTagController/showTags.test.ts
test/port/controller/PackageVersionFileController/listFiles.test.ts
test/port/controller/PackageVersionFileController/raw.test.ts
test/port/controller/PackageVersionFileController/sync.test.ts
test/port/controller/ProxyCacheController/index.test.ts
test/port/controller/RegistryController/index.test.ts
test/port/controller/ScopeController/index.test.ts
test/port/controller/TokenController/createToken.test.ts
test/port/controller/TokenController/listTokens.test.ts
test/port/controller/TokenController/removeToken.test.ts
test/port/controller/UserController/loginOrCreateUser.test.ts
test/port/controller/UserController/logout.test.ts
test/port/controller/UserController/saveProfile.test.ts
test/port/controller/UserController/showProfile.test.ts
test/port/controller/UserController/showUser.test.ts
test/port/controller/UserController/starredByUser.test.ts
test/port/controller/UserController/whoami.test.ts
test/port/controller/hook/HookController.test.ts
test/port/controller/package/DownloadPackageVersionTarController.test.ts
test/port/controller/package/RemovePackageVersionController.test.ts
test/port/controller/package/SavePackageVersionController.test.ts
test/port/controller/package/SearchPackageController.test.ts
test/port/controller/package/ShowPackageController.test.ts
test/port/controller/package/ShowPackageVersionController.test.ts
test/port/controller/package/UpdatePackageController.test.ts
test/port/middleware/AlwaysAuth.test.ts
test/port/middleware/Tracing.test.ts
test/port/webauth/webauthController.test.ts
test/repository/ChangeRepository.test.ts
test/repository/PackageRepository.test.ts
test/repository/ProxyCachePepository.test.ts
test/repository/RegistryRepository.test.ts
test/repository/ScopeRepository.test.ts
test/repository/SearchRepository.test.ts
test/repository/TaskRepository.test.ts
test/repository/TotalRepository.test.ts
test/schedule/ChangesStreamWorker.test.ts
test/schedule/CheckProxyCacheUpdateWorker.test.ts
test/schedule/CheckRecentlyUpdatedPackages.test.ts
test/schedule/CleanTempDir.test.ts
test/schedule/SyncBinaryWorker.test.ts
test/schedule/SyncPackageWorker.test.ts
test/schedule/SyncProxyCacheWorker.test.ts
test/schedule/TaskTimeoutHandler.test.ts` (dns block)
>
> If you need me to access, download, or install something from one of
these locations, you can either:
>
> - Configure [Actions setup
steps](https://gh.io/copilot/actions-setup-steps) to set up my
environment, which run before the firewall is enabled
> - Add the appropriate URLs or hosts to the custom allowlist in this
repository's [Copilot coding agent
settings](https://github.com/cnpm/cnpmcore/settings/copilot/coding_agent)
(admins only)
>
> </details>
<!-- START COPILOT CODING AGENT TIPS -->
---
💡 You can make Copilot smarter by setting up custom instructions,
customizing its development environment and configuring Model Context
Protocol (MCP) servers. Learn more [Copilot coding agent
tips](https://gh.io/copilot-coding-agent-tips) in the docs.
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: fengmk2 <156269+fengmk2@users.noreply.github.com>
|
||
|
|
87da4c359c |
Release 4.8.0
[skip ci] ## 4.8.0 (2025-09-08) * chore: add permissions to release workflow ([v4.8.0 |
||
|
|
8587d27d85 | chore: add permissions to release workflow | ||
|
|
13b2da0411 | feat: new node binary date format (#827) | ||
|
|
3aa4c688b5 |
Release 4.7.6
[skip ci] ## <small>4.7.6 (2025-08-08)</small> * fix: use npm truster publisher (#825) ([v4.7.6 |
||
|
|
0a5500bafd |
fix: use npm truster publisher (#825)
https://github.com/node-modules/github-actions/issues/14 <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Chores** * Updated the release workflow configuration for improved automation. * Upgraded the "oxlint" development dependency to version ^1.11.0. <!-- end of auto-generated comment: release notes by coderabbit.ai --> |
||
|
|
f94531cf35 |
chore: update oxlint config to use @eggjs/oxlint-config (#824)
Updates the oxlint configuration to use the new shared `@eggjs/oxlint-config` package, significantly simplifying the project's linting setup while maintaining all existing functionality. ## Changes - **Added** `@eggjs/oxlint-config@1.0.0` as a dev dependency - **Updated** `.oxlintrc.json` to extend from the shared configuration - **Simplified** configuration from 156 lines to 20 lines (87% reduction) - **Maintained** all project-specific overrides: - `max-params: 6` (vs shared config's 5) - `no-console: "warn"` (vs shared config's "allow") - `import/no-anonymous-default-export: "error"` (vs shared config's "allow") - Added `mocha` environment for test files - Preserved `index.d.ts` ignore pattern ## Benefits - **Consistency**: Now uses the same base linting rules as other EggJS projects - **Maintainability**: Rule updates are centralized in the shared config - **Simplicity**: Dramatically reduced configuration complexity - **Future-proof**: Automatic updates when the shared config is improved The configuration now only contains project-specific overrides, making it much easier to understand and maintain. All existing linting behavior is preserved - the project passes all linting checks with zero warnings and errors. <!-- START COPILOT CODING AGENT TIPS --> --- 💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click [here](https://survey.alchemer.com/s3/8343779/Copilot-Coding-agent) to start the survey. --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: fengmk2 <156269+fengmk2@users.noreply.github.com> |
||
|
|
c3a22fd319 |
Release 4.7.5
[skip ci] ## [4.7.5](https://github.com/cnpm/cnpmcore/compare/v4.7.4...v4.7.5) (2025-08-07) ### Bug Fixes * use NPM description ([v4.7.5 |
||
|
|
b23f3fe22e | fix: use NPM description | ||
|
|
3dbff542ba |
Revert "fix: use npm trusted publisher (#823)"
This reverts commit
|
||
|
|
1a4a1c5cf5 |
fix: use npm trusted publisher (#823)
https://github.com/node-modules/github-actions/issues/14 |
||
|
|
2cc0f361fb |
chore: publish docker image to github package (#822)
close https://github.com/cnpm/cnpmcore/issues/821 <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Introduced a GitHub Actions workflow to automate building, tagging, publishing, and attesting Docker images for multiple platforms. * **Documentation** * Updated Docker deployment documentation to reflect the new image repository and usage instructions. * **Chores** * Updated Docker build scripts and Dockerfiles for improved image building and logging. * Upgraded the "oxlint" development dependency. * Removed the "prepare" script from project scripts. * Adjusted TypeScript configuration to disable declaration file generation and exclude test files from compilation. * Updated linter configuration to allow additional code patterns. * Improved code comments for better linting and error suppression. <!-- end of auto-generated comment: release notes by coderabbit.ai --> |
||
|
|
722a5d70b9 |
test: fix lint (#819)
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Chores** * Updated linter configuration to relax certain code style rules. * Upgraded the oxlint development dependency and corrected project URLs in metadata. * **Refactor** * Simplified arrow function syntax in various controllers, services, and type declarations for improved code readability. * **Tests** * Streamlined mock implementations in test files for more concise syntax. <!-- end of auto-generated comment: release notes by coderabbit.ai --> |
||
|
|
64951041eb |
Release 4.7.4
[skip ci] ## [4.7.4](https://github.com/cnpm/cnpmcore/compare/v4.7.3...v4.7.4) (2025-06-27) ### Bug Fixes * remove descending ([#815](https://github.com/cnpm/cnpmcore/issues/815)) ([v4.7.4 |
||
|
|
1001e1ffa2 |
fix: remove descending (#815)
> see https://github.com/orgs/community/discussions/152515 ------- * ♻️ 删除 `descending` 参数 ------ * ♻️ remove `descending` args in changesStream <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Refactor** * Simplified the process for handling request URLs when fetching data, removing the explicit addition of certain query parameters. This does not affect user-facing functionality. <!-- end of auto-generated comment: release notes by coderabbit.ai --> Co-authored-by: fengmk2 <fengmk2@gmail.com> |
||
|
|
b4cf36e289 |
Release 4.7.3
[skip ci] ## [4.7.3](https://github.com/cnpm/cnpmcore/compare/v4.7.2...v4.7.3) (2025-06-26) ### Bug Fixes * latest version maybe not exists ([#814](https://github.com/cnpm/cnpmcore/issues/814)) ([v4.7.3 |
||
|
|
bed4778cbc |
fix: latest version maybe not exists (#814)
```bash 2025-06-26 15:12:05,133 ERROR 423473 [-/127.0.0.1/ea0a01e1-5a66-4191-92c7-f06aa5bb86ea/19.41ms GET /] nodejs.TypeError: [EventBus] process event PACKAGE_MAINTAINER_REMOVED for handler packageVersionAddedSyncESEvent failed: Cannot read properties of undefined (reading 'undefined') at PackageSearchService.syncPackage (file:///home/admin/application/app/core/service/PackageSearchService.ts:93:45) at processTicksAndRejections (node:internal/process/task_queues:105:5) at PackageVersionAddedSyncESEvent.syncPackage (file:///home/admin/application/app/core/event/SyncESPackage.ts:29:5) at PackageVersionAddedSyncESEvent.handle (file:///home/admin/application/app/core/event/SyncESPackage.ts:53:5) at EventHandlerFactory.handle (file:///home/admin/application/node_modules/_@eggjs_tegg-eventbus-runtime@4.0.0-beta.4@@eggjs/tegg-eventbus-runtime/src/EventHandlerFactory.ts:49:7) at file:///home/admin/application/node_modules/_@eggjs_tegg-eventbus-runtime@4.0.0-beta.4@@eggjs/tegg-eventbus-runtime/src/SingletonEventBus.ts:151:13 at async Promise.all (index 2) at file:///home/admin/application/node_modules/_@eggjs_tegg-eventbus-runtime@4.0.0-beta.4@@eggjs/tegg-eventbus-runtime/src/SingletonEventBus.ts:149:9 at EggContextHandler.run (file:///home/admin/application/node_modules/_@eggjs_tegg-plugin@4.0.0-beta.4@@eggjs/tegg-plugin/lib/EggContextHandler.ts:19:12) at Function.ContextHandler.runInContextCallback (file:///home/admin/application/node_modules/_@eggjs_tegg-plugin@4.0.0-beta.4@@eggjs/tegg-plugin/lib/EggContextHandler.ts:27:14) ``` #### PR Dependency Tree * **PR #814** 👈 This tree was auto-generated by [Charcoal](https://github.com/danerwilliams/charcoal) <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Bug Fixes** * Improved error handling when package version information is missing, reducing the chance of runtime errors and providing clearer warning messages. <!-- end of auto-generated comment: release notes by coderabbit.ai --> |
||
|
|
5b96443cf1 |
test: fix lint (#813)
#### PR Dependency Tree * **PR #813** 👈 This tree was auto-generated by [Charcoal](https://github.com/danerwilliams/charcoal) <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Chores** - Updated linting configuration to explicitly allow import extensions. <!-- end of auto-generated comment: release notes by coderabbit.ai --> |
||
|
|
e4cd535486 | chore: enable auto merge | ||
|
|
5b98c9dd2b |
Release 4.7.2
[skip ci] ## [4.7.2](https://github.com/cnpm/cnpmcore/compare/v4.7.1...v4.7.2) (2025-06-18) ### Bug Fixes * npm stream descending ([#812](https://github.com/cnpm/cnpmcore/issues/812)) ([v4.7.2 |