mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-04-15 03:01:37 -05:00
40877 commits
Author | SHA1 | Message | Date | |
---|---|---|---|---|
|
ba9063130b |
Moved @tryghost/mw-version-match to core folder
fix https://linear.app/ghost/issue/ENG-2112/mw-version-match - this commit moves the lib code and tests to the core folder so we can colocate code in one place rather than splitting it out across packages, which increases the cognitive load and overhead |
||
|
ac369cfa06
|
Update dependency chai-dom to v1.12.1 (#22697)
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [chai-dom](https://redirect.github.com/nathanboktae/chai-dom) | [`1.11.0` -> `1.12.1`](https://renovatebot.com/diffs/npm/chai-dom/1.11.0/1.12.1) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>nathanboktae/chai-dom (chai-dom)</summary> ### [`v1.12.1`](https://redirect.github.com/nathanboktae/chai-dom/compare/v1.12.0...v1.12.1) [Compare Source](https://redirect.github.com/nathanboktae/chai-dom/compare/v1.12.0...v1.12.1) ### [`v1.12.0`](https://redirect.github.com/nathanboktae/chai-dom/compare/v1.11.0...v1.12.0) [Compare Source](https://redirect.github.com/nathanboktae/chai-dom/compare/v1.11.0...v1.12.0) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Never, 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/TryGhost/Ghost). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4yMDcuMSIsInVwZGF0ZWRJblZlciI6IjM5LjIwNy4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> |
||
|
17010229bc
|
Update dependency eslint-plugin-i18next to v6.1.1 (#22701)
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[eslint-plugin-i18next](https://redirect.github.com/edvardchen/eslint-plugin-i18next)
| [`6.0.3` ->
`6.1.1`](https://renovatebot.com/diffs/npm/eslint-plugin-i18next/6.0.3/6.1.1)
|
[](https://docs.renovatebot.com/merge-confidence/)
|
[](https://docs.renovatebot.com/merge-confidence/)
|
[](https://docs.renovatebot.com/merge-confidence/)
|
[](https://docs.renovatebot.com/merge-confidence/)
|
---
### Release Notes
<details>
<summary>edvardchen/eslint-plugin-i18next
(eslint-plugin-i18next)</summary>
###
[`v6.1.1`](https://redirect.github.com/edvardchen/eslint-plugin-i18next/blob/HEAD/CHANGELOG.md#611-2024-11-24)
[Compare
Source](https://redirect.github.com/edvardchen/eslint-plugin-i18next/compare/v6.1.0...v6.1.1)
###
[`v6.1.0`](https://redirect.github.com/edvardchen/eslint-plugin-i18next/blob/HEAD/CHANGELOG.md#610-2024-09-14)
[Compare
Source](https://redirect.github.com/edvardchen/eslint-plugin-i18next/compare/v6.0.9...v6.1.0)
##### Features
- use pnpm
([394250d](
|
||
|
57e87cffb3
|
Update dependency eslint-plugin-react to v7.37.4 (#22702)
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [eslint-plugin-react](https://redirect.github.com/jsx-eslint/eslint-plugin-react) | [`7.33.0` -> `7.37.4`](https://renovatebot.com/diffs/npm/eslint-plugin-react/7.33.0/7.37.4) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>jsx-eslint/eslint-plugin-react (eslint-plugin-react)</summary> ### [`v7.37.4`](https://redirect.github.com/jsx-eslint/eslint-plugin-react/blob/HEAD/CHANGELOG.md#7374---20250112) [Compare Source](https://redirect.github.com/jsx-eslint/eslint-plugin-react/compare/v7.37.3...v7.37.4) ##### Fixed - \[`no-unknown-property`]: support `onBeforeToggle`, `popoverTarget`, `popoverTargetAction` attributes ([#​3865][] [@​acusti](https://redirect.github.com/acusti)) - \[types] fix types of flat configs ([#​3874][] [@​ljharb](https://redirect.github.com/ljharb)) [7.37.4]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/compare/v7.37.3...v7.37.4 [#​3874]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3874 [#​3865]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3865 ### [`v7.37.3`](https://redirect.github.com/jsx-eslint/eslint-plugin-react/blob/HEAD/CHANGELOG.md#7373---20241223) [Compare Source](https://redirect.github.com/jsx-eslint/eslint-plugin-react/compare/v7.37.2...v7.37.3) ##### Fixed - \[`no-danger`]: avoid a crash on a nested component name ([#​3833][] [@​ljharb](https://redirect.github.com/ljharb)) - \[Fix] types: correct generated type declaration ([#​3840][] [@​ocavue](https://redirect.github.com/ocavue)) - \[`no-unknown-property`]: support `precedence` prop in react 19 ([#​3829][] [@​acusti](https://redirect.github.com/acusti)) - \[`prop-types`]: props missing in validation when using generic types from a namespace import ([#​3859][] [@​rbondoc96](https://redirect.github.com/rbondoc96)) ##### Changed - \[Tests] \[`jsx-no-script-url`]: Improve tests ([#​3849][] [@​radu2147](https://redirect.github.com/radu2147)) - \[Docs] fix broken links: \[`default-props-match-prop-types`], \[`jsx-boolean-value`], \[`jsx-curly-brace-presence`], \[`jsx-no-bind`], \[`no-array-index-key`], \[`no-is-mounted`], \[`no-render-return-value`], \[`require-default-props`] ([#​3841][] [@​bastiendmt](https://redirect.github.com/bastiendmt)) [7.37.3]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/compare/v7.37.2...v7.37.3 [#​3859]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3859 [#​3849]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3849 [#​3841]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3841 [#​3840]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3840 [#​3833]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/3833 [#​3829]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3829 ### [`v7.37.2`](https://redirect.github.com/jsx-eslint/eslint-plugin-react/blob/HEAD/CHANGELOG.md#7372---20241022) [Compare Source](https://redirect.github.com/jsx-eslint/eslint-plugin-react/compare/v7.37.1...v7.37.2) ##### Fixed - \[`destructuring-assignment`]: fix false negative when using `typeof props.a` ([#​3835][] [@​golopot](https://redirect.github.com/golopot)) ##### Changed - \[Refactor] \[`destructuring-assignment`]: use `getParentStatelessComponent` ([#​3835][] [@​golopot](https://redirect.github.com/golopot)) [7.37.2]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/compare/v7.37.1...v7.37.2 [#​3835]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3835 ### [`v7.37.1`](https://redirect.github.com/jsx-eslint/eslint-plugin-react/blob/HEAD/CHANGELOG.md#7371---20241001) [Compare Source](https://redirect.github.com/jsx-eslint/eslint-plugin-react/compare/v7.37.0...v7.37.1) ##### Fixed - \[meta] do not npmignore `d.ts` files ([#​3836][] [@​ljharb](https://redirect.github.com/ljharb)) ##### Changed - \[readme] Fix shared settings link ([#​3834][] [@​MgenGlder](https://redirect.github.com/MgenGlder)) [7.37.1]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/compare/v7.37.0...v7.37.1 [#​3836]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/3836 [#​3834]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3834 ### [`v7.37.0`](https://redirect.github.com/jsx-eslint/eslint-plugin-react/blob/HEAD/CHANGELOG.md#7370---20240926) [Compare Source](https://redirect.github.com/jsx-eslint/eslint-plugin-react/compare/v7.36.1...v7.37.0) ##### Added - add type generation ([#​3830][] [@​voxpelli](https://redirect.github.com/voxpelli)) - \[`no-unescaped-entities`]: add suggestions ([#​3831][] [@​StyleShit](https://redirect.github.com/StyleShit)) - \[`forbid-component-props`]: add `allowedForPatterns`/`disallowedForPatterns` options ([#​3805][] [@​Efimenko](https://redirect.github.com/Efimenko)) - \[`no-unstable-nested-components`]: add `propNamePattern` to support custom render prop naming conventions ([#​3826][] [@​danreeves](https://redirect.github.com/danreeves)) ##### Changed - \[readme] flat config example for react 17+ ([#​3824][] [@​GabenGar](https://redirect.github.com/GabenGar)) [7.37.0]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/compare/v7.36.1...v7.37.0 [#​3831]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3831 [#​3830]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3830 [#​3826]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3826 [#​3824]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3824 [#​3805]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3805 ### [`v7.36.1`](https://redirect.github.com/jsx-eslint/eslint-plugin-react/blob/HEAD/CHANGELOG.md#7361---20240912) [Compare Source](https://redirect.github.com/jsx-eslint/eslint-plugin-react/compare/v7.36.0...v7.36.1) ##### Fixed - \[`no-is-mounted`]: fix logic in method name check ([#​3821][] [@​Mathias-S](https://redirect.github.com/Mathias-S)) - \[`jsx-no-literals`]: Avoid crashing on valueless boolean props ([#​3823][] [@​reosarevok](https://redirect.github.com/reosarevok)) [7.36.1]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/compare/v7.36.0...v7.36.1 [#​3823]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3823 [#​3821]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3821 ### [`v7.36.0`](https://redirect.github.com/jsx-eslint/eslint-plugin-react/blob/HEAD/CHANGELOG.md#7360---20240912) [Compare Source](https://redirect.github.com/jsx-eslint/eslint-plugin-react/compare/v7.35.2...v7.36.0) ##### Added - \[`no-string-refs`]: allow this.refs in > 18.3.0 ([#​3807][] [@​henryqdineen](https://redirect.github.com/henryqdineen)) - \[`jsx-no-literals`] Add `elementOverrides` option and the ability to ignore this rule on specific elements ([#​3812][] [@​Pearce-Ropion](https://redirect.github.com/Pearce-Ropion)) - \[`forward-ref-uses-ref`]: add rule for checking ref parameter is added (\[[#​3667](https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/3667)]\[] [@​NotWoods](https://redirect.github.com/NotWoods)) ##### Fixed - \[`function-component-definition`], \[`boolean-prop-naming`], \[`jsx-first-prop-new-line`], \[`jsx-props-no-multi-spaces`], `propTypes`: use type args ([#​3629][] [@​HenryBrown0](https://redirect.github.com/HenryBrown0)) - JSX pragma: fail gracefully ([#​3632][] [@​ljharb](https://redirect.github.com/ljharb)) - \[`jsx-props-no-spreading`]: add `explicitSpread` option to schema ([#​3799][] [@​ljharb](https://redirect.github.com/ljharb)) ##### Changed - \[Tests] add [@​typescript-eslint/parser](https://redirect.github.com/typescript-eslint/parser) v6 ([#​3629][] [@​HenryBrown0](https://redirect.github.com/HenryBrown0)) - \[Tests] add [@​typescript-eslint/parser](https://redirect.github.com/typescript-eslint/parser) v7 and v8 ([#​3629][] [@​hampustagerud](https://redirect.github.com/hampustagerud)) - \[Docs] \[`no-danger`]: update broken link ([#​3817][] [@​lucasrmendonca](https://redirect.github.com/lucasrmendonca)) - \[types] add jsdoc type annotations ([#​3731][] [@​y-hsgw](https://redirect.github.com/y-hsgw)) - \[Tests] `button-has-type`: add test case with spread ([#​3731][] [@​y-hsgw](https://redirect.github.com/y-hsgw)) [7.36.0]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/compare/v7.35.2...v7.36.0 [#​3799]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/3799 [#​3632]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/3632 [#​3812]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3812 [#​3731]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3731 [#​3694]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3667 [#​3629]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3629 [#​3817]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3817 [#​3807]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3807 ### [`v7.35.2`](https://redirect.github.com/jsx-eslint/eslint-plugin-react/blob/HEAD/CHANGELOG.md#7352---20240903) [Compare Source](https://redirect.github.com/jsx-eslint/eslint-plugin-react/compare/v7.35.1...v7.35.2) ##### Fixed - \[`jsx-curly-brace-presence`]: avoid autofixing attributes with double quotes to a double quoted attribute ([#​3814][] [@​ljharb](https://redirect.github.com/ljharb)) [7.35.2]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/compare/v7.35.1...v7.35.2 [#​3814]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/3814 ### [`v7.35.1`](https://redirect.github.com/jsx-eslint/eslint-plugin-react/blob/HEAD/CHANGELOG.md#7351---20240902) [Compare Source](https://redirect.github.com/jsx-eslint/eslint-plugin-react/compare/v7.35.0...v7.35.1) ##### Fixed - \[`jsx-curly-brace-presence`]: do not trigger on strings containing a quote character ([#​3798][] [@​akulsr0](https://redirect.github.com/akulsr0)) [7.35.1]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/compare/v7.35.0...v7.35.1 [#​3798]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3798 ### [`v7.35.0`](https://redirect.github.com/jsx-eslint/eslint-plugin-react/blob/HEAD/CHANGELOG.md#7350---20240719) [Compare Source](https://redirect.github.com/jsx-eslint/eslint-plugin-react/compare/v7.34.4...v7.35.0) ##### Added - support eslint v9 ([#​3759][] [@​mdjermanovic](https://redirect.github.com/mdjermanovic)) - export flat configs from plugin root and fix flat config crash ([#​3694][] [@​bradzacher](https://redirect.github.com/bradzacher) [@​mdjermanovic](https://redirect.github.com/mdjermanovic)) - add \[`jsx-props-no-spread-multi`] ([#​3724][] [@​SimonSchick](https://redirect.github.com/SimonSchick)) - \[`forbid-component-props`]: add `propNamePattern` to allow / disallow prop name patterns ([#​3774][] [@​akulsr0](https://redirect.github.com/akulsr0)) - \[`jsx-handler-names`]: support ignoring component names ([#​3772][] [@​akulsr0](https://redirect.github.com/akulsr0)) - version settings: Allow react defaultVersion to be configurable ([#​3771][] [@​onlywei](https://redirect.github.com/onlywei)) - \[`jsx-closing-tag-location`]: add `line-aligned` option ([#​3777] [@​kimtaejin3](https://redirect.github.com/kimtaejin3)) - \[`no-danger`]: add `customComponentNames` option ([#​3748][] [@​akulsr0](https://redirect.github.com/akulsr0)) ##### Fixed - \[`no-invalid-html-attribute`]: substitute placeholders in suggestion messages ([#​3759][] [@​mdjermanovic](https://redirect.github.com/mdjermanovic)) - \[`sort-prop-types`]: single line type ending without semicolon ([#​3784][] [@​akulsr0](https://redirect.github.com/akulsr0)) - \[`require-default-props`]: report when required props have default value ([#​3785][] [@​akulsr0](https://redirect.github.com/akulsr0)) ##### Changed - \[Refactor] `variableUtil`: Avoid creating a single flat variable scope for each lookup ([#​3782][] [@​DanielRosenwasser](https://redirect.github.com/DanielRosenwasser)) [7.35.0]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/compare/v7.34.4...v7.35.0 [#​3785]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3785 [#​3784]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3784 [#​3782]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3782 [#​3777]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3777 [#​3774]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3774 [#​3772]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3772 [#​3771]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3771 [#​3759]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3759 [#​3748]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3748 [#​3724]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3724 [#​3694]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3694 ### [`v7.34.4`](https://redirect.github.com/jsx-eslint/eslint-plugin-react/blob/HEAD/CHANGELOG.md#7344---20240713) [Compare Source](https://redirect.github.com/jsx-eslint/eslint-plugin-react/compare/v7.34.3...v7.34.4) ##### Fixed - \[`prop-types`]: fix `className` missing in prop validation false negative ([#​3749][] [@​akulsr0](https://redirect.github.com/akulsr0)) - \[`sort-prop-types`]: Check for undefined before accessing `node.typeAnnotation.typeAnnotation` ([#​3779][] [@​tylerlaprade](https://redirect.github.com/tylerlaprade)) [7.34.4]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/compare/v7.34.3...v7.34.4 [#​3779]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3779 [#​3749]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3749 ### [`v7.34.3`](https://redirect.github.com/jsx-eslint/eslint-plugin-react/blob/HEAD/CHANGELOG.md#7343---20240618) [Compare Source](https://redirect.github.com/jsx-eslint/eslint-plugin-react/compare/v7.34.2...v7.34.3) ##### Fixed - \[`prop-types`]: null-check rootNode before calling getScope ([#​3762][] [@​crnhrv](https://redirect.github.com/crnhrv)) - \[`boolean-prop-naming`]: avoid a crash with a spread prop ([#​3733][] [@​ljharb](https://redirect.github.com/ljharb)) - \[`jsx-boolean-value`]: `assumeUndefinedIsFalse` with `never` must not allow explicit `true` value ([#​3757][] [@​6uliver](https://redirect.github.com/6uliver)) - \[`no-object-type-as-default-prop`]: enable rule for components with many parameters ([#​3768][] [@​JulienR1](https://redirect.github.com/JulienR1)) - \[`jsx-key`]: incorrect behavior for checkKeyMustBeforeSpread with map callbacks ([#​3769][] [@​akulsr0](https://redirect.github.com/akulsr0)) [7.34.3]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/compare/v7.34.2...v7.34.3 [#​3769]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3769 [#​3768]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3768 [#​3762]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3762 [#​3757]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3757 [#​3733]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/3733 ### [`v7.34.2`](https://redirect.github.com/jsx-eslint/eslint-plugin-react/blob/HEAD/CHANGELOG.md#7342---20240524) [Compare Source](https://redirect.github.com/jsx-eslint/eslint-plugin-react/compare/v7.34.1...v7.34.2) ##### Fixed - \[`boolean-prop-naming`]: avoid a crash with a non-TSTypeReference type ([#​3718][] [@​developer-bandi](https://redirect.github.com/developer-bandi)) - \[`jsx-no-leaked-render`]: invalid report if left eside is boolean ([#​3746][] [@​akulsr0](https://redirect.github.com/akulsr0)) - \[`jsx-closing-bracket-location`]: message shows `{{details}}` when there are no details ([#​3759][] [@​mdjermanovic](https://redirect.github.com/mdjermanovic)) - \[`no-invalid-html-attribute`]: ensure error messages are correct ([#​3759][] [@​mdjermanovic](https://redirect.github.com/mdjermanovic), [@​ljharb](https://redirect.github.com/ljharb)) ##### Changed - \[Refactor] create various eslint utils to fix eslint deprecations ([#​3759][] [@​mdjermanovic](https://redirect.github.com/mdjermanovic), [@​ljharb](https://redirect.github.com/ljharb)) [7.34.2]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/compare/v7.34.1...v7.34.2 [#​3759]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3759 [#​3746]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3746 [#​3718]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3718 ### [`v7.34.1`](https://redirect.github.com/jsx-eslint/eslint-plugin-react/blob/HEAD/CHANGELOG.md#7341---20240315) [Compare Source](https://redirect.github.com/jsx-eslint/eslint-plugin-react/compare/v7.34.0...v7.34.1) ##### Fixed - \[`jsx-no-leaked-render`]: prevent wrongly adding parens ([#​3700][] [@​developer-bandi](https://redirect.github.com/developer-bandi)) - \[`boolean-prop-naming`]: detect TS interfaces ([#​3701][] [@​developer-bandi](https://redirect.github.com/developer-bandi)) - \[`boolean-prop-naming`]: literalType error fix ([#​3704][] [@​developer-bandi](https://redirect.github.com/developer-bandi)) - \[`boolean-prop-naming`]: allow TSIntersectionType ([#​3705][] [@​developer-bandi](https://redirect.github.com/developer-bandi)) - \[`no-unknown-property`]: support `popover`, `popovertarget`, `popovertargetaction` attributes ([#​3707][] [@​ljharb](https://redirect.github.com/ljharb)) - \[`no-unknown-property`]: only match `data-*` attributes containing `-` ([#​3713][] [@​silverwind](https://redirect.github.com/silverwind)) - \[`checked-requires-onchange-or-readonly`]: correct options that were behaving opposite ([#​3715][] [@​jaesoekjjang](https://redirect.github.com/jaesoekjjang)) ##### Changed - \[`boolean-prop-naming`]: improve error message ([@​ljharb](https://redirect.github.com/ljharb)) [7.34.1]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/compare/v7.34.0...v7.34.1 [#​3715]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3715 [#​3713]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3713 [#​3707]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/3707 [#​3705]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3705 [#​3704]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3704 [#​3701]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3701 [#​3700]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3700 ### [`v7.34.0`](https://redirect.github.com/jsx-eslint/eslint-plugin-react/blob/HEAD/CHANGELOG.md#7340---20240303) [Compare Source](https://redirect.github.com/jsx-eslint/eslint-plugin-react/compare/v7.33.2...v7.34.0) ##### Added - \[`sort-prop-types`]: give errors on TS types ([#​3615][] [@​akulsr0](https://redirect.github.com/akulsr0)) - \[`no-invalid-html-attribute`]: add support for `apple-touch-startup-image` `rel` attributes in `link` tags ([#​3638][] [@​thomashockaday](https://redirect.github.com/thomashockaday)) - \[`no-unknown-property`]: add requireDataLowercase option ([#​3645][] [@​HermanBilous](https://redirect.github.com/HermanBilous)) - \[`no-unknown-property`]: add `displaystyle` on `<math>` ([#​3652][] [@​lounsbrough](https://redirect.github.com/lounsbrough)) - \[`prefer-read-only-props`], \[`prop-types`], component detection: allow components to be async functions ([#​3654][] [@​pnodet](https://redirect.github.com/pnodet)) - \[`no-unknown-property`]: support `onResize` on audio/video tags ([#​3662][] [@​caesar1030](https://redirect.github.com/caesar1030)) - \[`jsx-wrap-multilines`]: add `never` option to prohibit wrapping parens on multiline JSX ([#​3668][] [@​reedws](https://redirect.github.com/reedws)) - \[`jsx-filename-extension`]: add `ignoreFilesWithoutCode` option to allow empty files ([#​3674][] [@​burtek](https://redirect.github.com/burtek)) - \[`jsx-boolean-value`]: add `assumeUndefinedIsFalse` option ([#​3675][] [@​developer-bandi](https://redirect.github.com/developer-bandi)) - `linkAttribute` setting, \[`jsx-no-target-blank`]: support multiple properties ([#​3673][] [@​burtek](https://redirect.github.com/burtek)) - \[`jsx-no-script-url`]: add `includeFromSettings` option to support `linkAttributes` setting ([#​3673][] [@​burtek](https://redirect.github.com/burtek)) - \[`jsx-one-expression-per-line`]: add `non-jsx` option to allow non-JSX children in one line ([#​3677][] [@​burtek](https://redirect.github.com/burtek)) - add \[`checked-requires-onchange-or-readonly`] rule ([#​3680][] [@​jaesoekjjang](https://redirect.github.com/jaesoekjjang)) ##### Fixed - \[`jsx-no-leaked-render`]: preserve RHS parens for multiline jsx elements while fixing ([#​3623][] [@​akulsr0](https://redirect.github.com/akulsr0)) - \[`jsx-key`]: detect conditional returns ([#​3630][] [@​yialo](https://redirect.github.com/yialo)) - \[`jsx-newline`]: prevent a crash when `allowMultilines` ([#​3633][] [@​ljharb](https://redirect.github.com/ljharb)) - \[`no-unknown-property`]: use a better regex to avoid a crash ([#​3666][] [@​ljharb](https://redirect.github.com/ljharb) [@​SCH227](https://redirect.github.com/SCH227)) - \[`prop-types`]: handle nested forwardRef + memo ([#​3679][] [@​developer-bandi](https://redirect.github.com/developer-bandi)) - \[`no-unknown-property`]: add `fetchPriority` ([#​3697][] [@​SevereCloud](https://redirect.github.com/SevereCloud)) - \[`forbid-elements`]: prevent a crash on `createElement()` ([#​3632][] [@​ljharb](https://redirect.github.com/ljharb)) ##### Changed - \[`jsx-boolean-value`]: make error messages clearer ([#​3691][] [@​developer-bandi](https://redirect.github.com/developer-bandi)) - \[Refactor] `propTypes`: extract type params to var ([#​3634][] [@​HenryBrown0](https://redirect.github.com/HenryBrown0)) - \[Refactor] \[`boolean-prop-naming`]: invert if statement ([#​3634][] [@​HenryBrown0](https://redirect.github.com/HenryBrown0)) - \[Refactor] \[`function-component-definition`]: exit early if no type params ([#​3634][] [@​HenryBrown0](https://redirect.github.com/HenryBrown0)) - \[Refactor] \[`jsx-props-no-multi-spaces`]: extract type parameters to var ([#​3634][] [@​HenryBrown0](https://redirect.github.com/HenryBrown0)) - \[Docs] \[`jsx-key`]: fix correct example ([#​3656][] [@​developer-bandi](https://redirect.github.com/developer-bandi)) - \[Tests] `jsx-wrap-multilines`: passing tests ([#​3545][] [@​burtek](https://redirect.github.com/burtek)) - \[Docs] \[`iframe-missing-sandbox`]: fix link to iframe attribute on mdn ([#​3690][] [@​nnmrts](https://redirect.github.com/nnmrts)) - \[Docs] \[`hook-use-state`]: fix an undefined variable ([#​3626][] [@​chentsulin](https://redirect.github.com/chentsulin)) [7.34.0]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/compare/v7.33.2...v7.34.0 [#​3697]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3697 [#​3691]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3691 [#​3690]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3690 [#​3680]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3680 [#​3679]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3679 [#​3677]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3677 [#​3675]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3675 [#​3674]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3674 [#​3673]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3673 [#​3668]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3668 [#​3666]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3666 [#​3662]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3662 [#​3656]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3656 [#​3654]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3654 [#​3652]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3652 [#​3645]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3645 [#​3638]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3638 [#​3634]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3634 [#​3633]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/3633 [#​3632]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/3632 [#​3630]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3630 [#​3626]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3626 [#​3623]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3623 [#​3615]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3615 [#​3545]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/3545 ### [`v7.33.2`](https://redirect.github.com/jsx-eslint/eslint-plugin-react/blob/HEAD/CHANGELOG.md#7332---20230815) [Compare Source](https://redirect.github.com/jsx-eslint/eslint-plugin-react/compare/v7.33.1...v7.33.2) ##### Fixed - \[`no-deprecated`]: prevent false positive on commonjs import ([#​3614][] [@​akulsr0](https://redirect.github.com/akulsr0)) - \[`no-unsafe`]: report on the method instead of the entire component ([@​ljharb](https://redirect.github.com/ljharb)) - \[`no-deprecated`]: report on the destructured property instead of the entire variable declarator ([@​ljharb](https://redirect.github.com/ljharb)) - \[`no-deprecated`]: report on the imported specifier instead of the entire import statement ([@​ljharb](https://redirect.github.com/ljharb)) - \[`no-invalid-html-attribute`]: report more granularly ([@​ljharb](https://redirect.github.com/ljharb)) [7.33.2]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/compare/v7.33.1...v7.33.2 [#​3614]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3614 ### [`v7.33.1`](https://redirect.github.com/jsx-eslint/eslint-plugin-react/blob/HEAD/CHANGELOG.md#7331---20230729) [Compare Source](https://redirect.github.com/jsx-eslint/eslint-plugin-react/compare/v7.33.0...v7.33.1) ##### Fixed - \[`require-default-props`]: fix config schema ([#​3605][] [@​controversial](https://redirect.github.com/controversial)) - \[`jsx-curly-brace-presence`]: Revert \[[#​3538](https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/3538)]\[] due to issues with intended string type casting usage ([#​3611][] [@​taozhou-glean](https://redirect.github.com/taozhou-glean)) - \[`sort-prop-types`]: ensure sort-prop-types respects noSortAlphabetically ([#​3610][] [@​caesar1030](https://redirect.github.com/caesar1030)) [7.33.1]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/compare/v7.33.0...v7.33.1 [#​3611]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3611 [#​3610]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3610 [#​3605]: https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3605 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Never, 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/TryGhost/Ghost). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4yMDcuMSIsInVwZGF0ZWRJblZlciI6IjM5LjIwNy4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> |
||
|
98aa90bee7
|
Update dependency eslint to v8.57.1 (#22700)
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [eslint](https://eslint.org) ([source](https://redirect.github.com/eslint/eslint)) | [`8.44.0` -> `8.57.1`](https://renovatebot.com/diffs/npm/eslint/8.44.0/8.57.1) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>eslint/eslint (eslint)</summary> ### [`v8.57.1`](https://redirect.github.com/eslint/eslint/releases/tag/v8.57.1) [Compare Source](https://redirect.github.com/eslint/eslint/compare/v8.57.0...v8.57.1) ##### Bug Fixes - [`a19072f`]( |
||
|
d2e64088a7
|
Update dependency eslint-plugin-tailwindcss to v3.18.0 (#22703)
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[eslint-plugin-tailwindcss](https://redirect.github.com/francoismassart/eslint-plugin-tailwindcss)
| [`3.13.0` ->
`3.18.0`](https://renovatebot.com/diffs/npm/eslint-plugin-tailwindcss/3.13.0/3.18.0)
|
[](https://docs.renovatebot.com/merge-confidence/)
|
[](https://docs.renovatebot.com/merge-confidence/)
|
[](https://docs.renovatebot.com/merge-confidence/)
|
[](https://docs.renovatebot.com/merge-confidence/)
|
---
### Release Notes
<details>
<summary>francoismassart/eslint-plugin-tailwindcss
(eslint-plugin-tailwindcss)</summary>
###
[`v3.18.0`](https://redirect.github.com/francoismassart/eslint-plugin-tailwindcss/releases/tag/v3.18.0)
[Compare
Source](https://redirect.github.com/francoismassart/eslint-plugin-tailwindcss/compare/v3.17.5...v3.18.0)
- feat: [`enforces-shorthand` rule now support
`place-content-*`/`place-items-*`/`place-self-*`](https://redirect.github.com/francoismassart/eslint-plugin-tailwindcss/issues/376)
- fix: [`enforces-shorthand` does not work for `h-` & `w-` when
prefixed](https://redirect.github.com/francoismassart/eslint-plugin-tailwindcss/issues/378)
(by [Kamahl19](https://redirect.github.com/Kamahl19) 🙏)
- docs: so long X 🚀
###
[`v3.17.5`](https://redirect.github.com/francoismassart/eslint-plugin-tailwindcss/releases/tag/v3.17.5)
[Compare
Source](https://redirect.github.com/francoismassart/eslint-plugin-tailwindcss/compare/v3.17.4...v3.17.5)
- fix: [custom classnames rule with VueJS objects within
list](https://redirect.github.com/francoismassart/eslint-plugin-tailwindcss/pull/359)
(by [Ericlm](https://redirect.github.com/Ericlm) 🙏)
###
[`v3.17.4`](https://redirect.github.com/francoismassart/eslint-plugin-tailwindcss/releases/tag/v3.17.4)
[Compare
Source](https://redirect.github.com/francoismassart/eslint-plugin-tailwindcss/compare/v3.17.3...v3.17.4)
- fix: config loading cache
- fix: Avoid re-parsing unchanged CSS files
- fix: [AST expression tests for null
expressions](https://redirect.github.com/francoismassart/eslint-plugin-tailwindcss/pull/345)
(by [kesor](https://redirect.github.com/kesor) 🙏)
###
[`v3.17.3`](https://redirect.github.com/francoismassart/eslint-plugin-tailwindcss/compare/v3.17.2...v3.17.3)
[Compare
Source](https://redirect.github.com/francoismassart/eslint-plugin-tailwindcss/compare/v3.17.2...v3.17.3)
###
[`v3.17.2`](https://redirect.github.com/francoismassart/eslint-plugin-tailwindcss/releases/tag/v3.17.2)
[Compare
Source](https://redirect.github.com/francoismassart/eslint-plugin-tailwindcss/compare/v3.17.1...v3.17.2)
Revert to `3.17.0` equivalent to prevent a regression introduced in
`3.17.1`
###
[`v3.17.1`](https://redirect.github.com/francoismassart/eslint-plugin-tailwindcss/releases/tag/v3.17.1)
[Compare
Source](https://redirect.github.com/francoismassart/eslint-plugin-tailwindcss/compare/v3.17.0...v3.17.1)
- perf: [`no-custom-classname`
optimization](https://redirect.github.com/francoismassart/eslint-plugin-tailwindcss/pull/338)
(by [XantreDev](https://redirect.github.com/XantreDev) 🙏)
**This version did introduce a regression, so you should use 3.17.2
instead for now**
###
[`v3.17.0`](https://redirect.github.com/francoismassart/eslint-plugin-tailwindcss/releases/tag/v3.17.0):
Enhanced Template literals support
[Compare
Source](https://redirect.github.com/francoismassart/eslint-plugin-tailwindcss/compare/v3.16.0...v3.17.0)
- fix: [support `tag.div` and
`tag(Component)`](https://redirect.github.com/francoismassart/eslint-plugin-tailwindcss/pull/302)
(by [nihalgonsalves](https://redirect.github.com/nihalgonsalves) 🙏)
###
[`v3.16.0`](https://redirect.github.com/francoismassart/eslint-plugin-tailwindcss/releases/tag/v3.16.0):
ESLint v9 support
[Compare
Source](
|
||
|
2bbd21872b
|
Update dependency chai to v4.5.0 (#22696)
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [chai](http://chaijs.com) ([source](https://redirect.github.com/chaijs/chai)) | [`4.3.8` -> `4.5.0`](https://renovatebot.com/diffs/npm/chai/4.3.8/4.5.0) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>chaijs/chai (chai)</summary> ### [`v4.5.0`](https://redirect.github.com/chaijs/chai/releases/tag/v4.5.0) [Compare Source](https://redirect.github.com/chaijs/chai/compare/v4.4.1...v4.5.0) - Update type detect ([#​1631](https://redirect.github.com/chaijs/chai/issues/1631)) [`1a36d35`](https://redirect.github.com/chaijs/chai/commit/1a36d35) #### What's Changed - Update type detect by [@​koddsson](https://redirect.github.com/koddsson) in [https://github.com/chaijs/chai/pull/1631](https://redirect.github.com/chaijs/chai/pull/1631) **Full Changelog**: https://github.com/chaijs/chai/compare/v4.4.1...v4.5.0 ### [`v4.4.1`](https://redirect.github.com/chaijs/chai/releases/tag/v4.4.1) [Compare Source](https://redirect.github.com/chaijs/chai/compare/v4.4.0...v4.4.1) #### What's Changed - fix: removes `??` for node compat by [@​43081j](https://redirect.github.com/43081j) in [https://github.com/chaijs/chai/pull/1574](https://redirect.github.com/chaijs/chai/pull/1574) **Full Changelog**: https://github.com/chaijs/chai/compare/v4.4.0...v4.4.1 ### [`v4.4.0`](https://redirect.github.com/chaijs/chai/releases/tag/v4.4.0) [Compare Source](https://redirect.github.com/chaijs/chai/compare/v4.3.10...v4.4.0) #### What's Changed - Allow deepEqual fonction to be configured globally (4.x.x branch) by [@​forty](https://redirect.github.com/forty) in [https://github.com/chaijs/chai/pull/1553](https://redirect.github.com/chaijs/chai/pull/1553) **Full Changelog**: https://github.com/chaijs/chai/compare/v4.3.10...v4.4.0 ### [`v4.3.10`](https://redirect.github.com/chaijs/chai/releases/tag/v4.3.10) [Compare Source](https://redirect.github.com/chaijs/chai/compare/v4.3.9...v4.3.10) This release simply bumps all dependencies to their latest non-breaking versions. #### What's Changed - upgrade all dependencies by [@​keithamus](https://redirect.github.com/keithamus) in [https://github.com/chaijs/chai/pull/1540](https://redirect.github.com/chaijs/chai/pull/1540) **Full Changelog**: https://github.com/chaijs/chai/compare/v4.3.9...v4.3.10 ### [`v4.3.9`](https://redirect.github.com/chaijs/chai/releases/tag/v4.3.9) [Compare Source](https://redirect.github.com/chaijs/chai/compare/v4.3.8...v4.3.9) Upgrade dependencies. This release upgrades dependencies to address **[CVE-2023-43646](https://www.cve.org/CVERecord?id=CVE-2023-43646)** where a large function name can cause "catastrophic backtracking" (aka ReDOS attack) which can cause the test suite to hang. **Full Changelog**: https://github.com/chaijs/chai/compare/v4.3.8...v4.3.9 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Never, 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/TryGhost/Ghost). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4yMDcuMSIsInVwZGF0ZWRJblZlciI6IjM5LjIwNy4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> |
||
|
2bfe783ee4
|
Update dependency supertest to v6.3.4 (#22693)
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [supertest](https://redirect.github.com/ladjs/supertest) | [`6.3.3` -> `6.3.4`](https://renovatebot.com/diffs/npm/supertest/6.3.3/6.3.4) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>ladjs/supertest (supertest)</summary> ### [`v6.3.4`](https://redirect.github.com/ladjs/supertest/releases/tag/v6.3.4) [Compare Source](https://redirect.github.com/ladjs/supertest/compare/v6.3.3...v6.3.4) - chore: bump deps, remove yarn.lock [`bc4398a`](https://redirect.github.com/ladjs/supertest/commit/bc4398a) - chore: bump deps [`c823515`](https://redirect.github.com/ladjs/supertest/commit/c823515) - Merge pull request [#​811](https://redirect.github.com/ladjs/supertest/issues/811) from ladjs/dependabot/npm_and_yarn/cookiejar-2.1.4 [`37017b3`](https://redirect.github.com/ladjs/supertest/commit/37017b3) - Merge pull request [#​814](https://redirect.github.com/ladjs/supertest/issues/814) from siddtheone/patch-1 [`6b41374`](https://redirect.github.com/ladjs/supertest/commit/6b41374) - Merge pull request [#​828](https://redirect.github.com/ladjs/supertest/issues/828) from 9renpoto/9renpoto-patch-1 [`0ff9c02`](https://redirect.github.com/ladjs/supertest/commit/0ff9c02) - si/visionmedia/ladjs/ [`2cba6d4`](https://redirect.github.com/ladjs/supertest/commit/2cba6d4) - Update package.json [`79a69b6`](https://redirect.github.com/ladjs/supertest/commit/79a69b6) - Merge pull request [#​821](https://redirect.github.com/ladjs/supertest/issues/821) from yunnysunny/feature/ci-fix [`c1b8f9d`](https://redirect.github.com/ladjs/supertest/commit/c1b8f9d) - ci: fix broken github action cache saving [`5d48749`](https://redirect.github.com/ladjs/supertest/commit/5d48749) - Merge pull request [#​818](https://redirect.github.com/ladjs/supertest/issues/818) from lamweili/patch-1 [`25920e7`](https://redirect.github.com/ladjs/supertest/commit/25920e7) - docs: fixed links (for [#​621](https://redirect.github.com/ladjs/supertest/issues/621)) [`3767f9e`](https://redirect.github.com/ladjs/supertest/commit/3767f9e) - Update README.md [`b81d3a4`](https://redirect.github.com/ladjs/supertest/commit/b81d3a4) - Removing unused import [`4b372eb`](https://redirect.github.com/ladjs/supertest/commit/4b372eb) - chore(deps): bump cookiejar from 2.1.3 to 2.1.4 [`ac9327f`](https://redirect.github.com/ladjs/supertest/commit/ac9327f) - Merge pull request [#​646](https://redirect.github.com/ladjs/supertest/issues/646) from dtom90/patch-1 [`44d5d72`](https://redirect.github.com/ladjs/supertest/commit/44d5d72) - Merge pull request [#​621](https://redirect.github.com/ladjs/supertest/issues/621) from RichieRunner/patch-1 [`d91ff37`](https://redirect.github.com/ladjs/supertest/commit/d91ff37) - Update index.js function definition [`9ee6a1b`](https://redirect.github.com/ladjs/supertest/commit/9ee6a1b) - Update README.md [`13a2b44`](https://redirect.github.com/ladjs/supertest/commit/13a2b44) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Never, 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/TryGhost/Ghost). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4yMDcuMSIsInVwZGF0ZWRJblZlciI6IjM5LjIwNy4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> |
||
|
1383e383aa
|
Update dependency eslint-plugin-react-refresh to v0.4.19 (#22690)
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [eslint-plugin-react-refresh](https://redirect.github.com/ArnaudBarre/eslint-plugin-react-refresh) | [`0.4.3` -> `0.4.19`](https://renovatebot.com/diffs/npm/eslint-plugin-react-refresh/0.4.3/0.4.19) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>ArnaudBarre/eslint-plugin-react-refresh (eslint-plugin-react-refresh)</summary> ### [`v0.4.19`](https://redirect.github.com/ArnaudBarre/eslint-plugin-react-refresh/blob/HEAD/CHANGELOG.md#0419) [Compare Source](https://redirect.github.com/ArnaudBarre/eslint-plugin-react-refresh/compare/v0.4.18...v0.4.19) Add name to configs for [ESLint Config Inspector](https://redirect.github.com/eslint/config-inspector) ### [`v0.4.18`](https://redirect.github.com/ArnaudBarre/eslint-plugin-react-refresh/blob/HEAD/CHANGELOG.md#0418) [Compare Source](https://redirect.github.com/ArnaudBarre/eslint-plugin-react-refresh/compare/v0.4.17...v0.4.18) ESM/CJS interop is the worse that happened to this ecosystem, this is all I have to say. ### [`v0.4.17`](https://redirect.github.com/ArnaudBarre/eslint-plugin-react-refresh/blob/HEAD/CHANGELOG.md#0417) [Compare Source](https://redirect.github.com/ArnaudBarre/eslint-plugin-react-refresh/compare/v0.4.16...v0.4.17) - Fix detection of local components to not generate warning on for variable inside JSX files that follow React component naming (fixes [#​75](https://redirect.github.com/ArnaudBarre/eslint-plugin-react-refresh/issues/75)) - Update types to not require extra unnecessary `.default` property access under TS node16 module resolution (fixes [#​70](https://redirect.github.com/ArnaudBarre/eslint-plugin-react-refresh/issues/70)) ### [`v0.4.16`](https://redirect.github.com/ArnaudBarre/eslint-plugin-react-refresh/blob/HEAD/CHANGELOG.md#0416) [Compare Source](https://redirect.github.com/ArnaudBarre/eslint-plugin-react-refresh/compare/v0.4.15...v0.4.16) Fix CJS/ESM interop issue. Sorry everyone for the trouble. ### [`v0.4.15`](https://redirect.github.com/ArnaudBarre/eslint-plugin-react-refresh/blob/HEAD/CHANGELOG.md#0415) [Compare Source](https://redirect.github.com/ArnaudBarre/eslint-plugin-react-refresh/compare/v0.4.14...v0.4.15) ##### Add support for custom HOCs ([#​60](https://redirect.github.com/ArnaudBarre/eslint-plugin-react-refresh/issues/60)) By default, the rule only knows that `memo` & `forwardRef` function calls with return a React component. With this option, you can also allow extra function names like Mobx observer to make this code valid: ```tsx const Foo = () => <></>; export default observer(Foo); ``` ```json { "react-refresh/only-export-components": [ "error", { "customHOCs": ["observer"] } ] } ``` Thanks [@​HorusGoul](https://redirect.github.com/HorusGoul)! ##### Add recommended config and simple types ([#​67](https://redirect.github.com/ArnaudBarre/eslint-plugin-react-refresh/issues/67)) You can now add the recommended config to your ESLint config like this: ```js import reactRefresh from "eslint-plugin-react-refresh"; export default [ /* Main config */ reactRefresh.configs.recommended, // Or reactRefresh.configs.vite for Vite users ]; ``` To follow ESLint recommandations, the rule is added with the `error` severity. Some simple types ensure that people typecheking their config won't need `@ts-expect-error` anymore. ##### Bump ESLint peer dependency to 8.40 This was actually done by mistake in the previous release when moving from a deprecated API to a new one. Given that ESLint 8 is officialy end-of-life and the only report ([#​56](https://redirect.github.com/ArnaudBarre/eslint-plugin-react-refresh/issues/56)) didn't get likes, I'm going forward and documenting the expected minimum version from ESLin in the package JSON so that people can get warning from their package manager. ### [`v0.4.14`](https://redirect.github.com/ArnaudBarre/eslint-plugin-react-refresh/blob/HEAD/CHANGELOG.md#0414) [Compare Source](https://redirect.github.com/ArnaudBarre/eslint-plugin-react-refresh/compare/v0.4.13...v0.4.14) - Warn if a context is exported alongside a component (fixes [#​53](https://redirect.github.com/ArnaudBarre/eslint-plugin-react-refresh/issues/53)). Thanks [@​IgorAufricht](https://redirect.github.com/IgorAufricht)! ### [`v0.4.13`](https://redirect.github.com/ArnaudBarre/eslint-plugin-react-refresh/blob/HEAD/CHANGELOG.md#0413) [Compare Source](https://redirect.github.com/ArnaudBarre/eslint-plugin-react-refresh/compare/v0.4.12...v0.4.13) - Support for `react-redux` connect (`export default connect(mapStateToProps, mapDispatchToProps)(MyComponent)`) (fixes [#​51](https://redirect.github.com/ArnaudBarre/eslint-plugin-react-refresh/issues/51)) - Support for [Arbitrary Module Identifiers](https://devblogs.microsoft.com/typescript/announcing-typescript-5-6/#support-for-arbitrary-module-identifiers) syntax (fixes [#​52](https://redirect.github.com/ArnaudBarre/eslint-plugin-react-refresh/issues/52)) ### [`v0.4.12`](https://redirect.github.com/ArnaudBarre/eslint-plugin-react-refresh/blob/HEAD/CHANGELOG.md#0412) [Compare Source](https://redirect.github.com/ArnaudBarre/eslint-plugin-react-refresh/compare/v0.4.11...v0.4.12) - Support type assertion on default export (fixes [#​48](https://redirect.github.com/ArnaudBarre/eslint-plugin-react-refresh/issues/48)) - Add default export to fix usage with jiti (fixes [#​50](https://redirect.github.com/ArnaudBarre/eslint-plugin-react-refresh/issues/50)) ### [`v0.4.11`](https://redirect.github.com/ArnaudBarre/eslint-plugin-react-refresh/blob/HEAD/CHANGELOG.md#0411) [Compare Source](https://redirect.github.com/ArnaudBarre/eslint-plugin-react-refresh/compare/v0.4.10...v0.4.11) - Ignore type exports (ex. `export type foo = string;`) (fixes [#​47](https://redirect.github.com/ArnaudBarre/eslint-plugin-react-refresh/issues/47)) ### [`v0.4.10`](https://redirect.github.com/ArnaudBarre/eslint-plugin-react-refresh/blob/HEAD/CHANGELOG.md#0410) [Compare Source](https://redirect.github.com/ArnaudBarre/eslint-plugin-react-refresh/compare/v0.4.9...v0.4.10) - Support `function Foo() {}; export default React.memo(Foo)` ([#​46](https://redirect.github.com/ArnaudBarre/eslint-plugin-react-refresh/issues/46)) (thanks [@​SukkaW](https://redirect.github.com/SukkaW)!) ### [`v0.4.9`](https://redirect.github.com/ArnaudBarre/eslint-plugin-react-refresh/blob/HEAD/CHANGELOG.md#049) [Compare Source](https://redirect.github.com/ArnaudBarre/eslint-plugin-react-refresh/compare/v0.4.8...v0.4.9) - Support `function Foo() {}; export default memo(Foo)` (fixes [#​44](https://redirect.github.com/ArnaudBarre/eslint-plugin-react-refresh/issues/44)) (thanks [@​SukkaW](https://redirect.github.com/SukkaW)!) ### [`v0.4.8`](https://redirect.github.com/ArnaudBarre/eslint-plugin-react-refresh/blob/HEAD/CHANGELOG.md#048) [Compare Source](https://redirect.github.com/ArnaudBarre/eslint-plugin-react-refresh/compare/v0.4.7...v0.4.8) - Support `export const foo = -1` with `allowConstantExport` (fixes [#​43](https://redirect.github.com/ArnaudBarre/eslint-plugin-react-refresh/issues/43)) ### [`v0.4.7`](https://redirect.github.com/ArnaudBarre/eslint-plugin-react-refresh/blob/HEAD/CHANGELOG.md#047) [Compare Source](https://redirect.github.com/ArnaudBarre/eslint-plugin-react-refresh/compare/v0.4.6...v0.4.7) - Support `export { Component as default }` (fixes [#​41](https://redirect.github.com/ArnaudBarre/eslint-plugin-react-refresh/issues/41)) ### [`v0.4.6`](https://redirect.github.com/ArnaudBarre/eslint-plugin-react-refresh/blob/HEAD/CHANGELOG.md#046) [Compare Source](https://redirect.github.com/ArnaudBarre/eslint-plugin-react-refresh/compare/v0.4.5...v0.4.6) - Ignore cypress test files ([#​39](https://redirect.github.com/ArnaudBarre/eslint-plugin-react-refresh/issues/39)) ### [`v0.4.5`](https://redirect.github.com/ArnaudBarre/eslint-plugin-react-refresh/blob/HEAD/CHANGELOG.md#045) [Compare Source](https://redirect.github.com/ArnaudBarre/eslint-plugin-react-refresh/compare/v0.4.4...v0.4.5) - Allow `TaggedTemplateExpression` for styled components (fixes [#​32](https://redirect.github.com/ArnaudBarre/eslint-plugin-react-refresh/issues/32)) ### [`v0.4.4`](https://redirect.github.com/ArnaudBarre/eslint-plugin-react-refresh/blob/HEAD/CHANGELOG.md#044) [Compare Source](https://redirect.github.com/ArnaudBarre/eslint-plugin-react-refresh/compare/v0.4.3...v0.4.4) - Add `allowExportNames` option (fixes [#​29](https://redirect.github.com/ArnaudBarre/eslint-plugin-react-refresh/issues/29)) - Support memo default export function components (fixes [#​27](https://redirect.github.com/ArnaudBarre/eslint-plugin-react-refresh/issues/27)) - Warn on export expressions that are not React component (array, object, logical expression, ...) (fixes [#​26](https://redirect.github.com/ArnaudBarre/eslint-plugin-react-refresh/issues/26)) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Never, 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/TryGhost/Ghost). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4yMDcuMSIsInVwZGF0ZWRJblZlciI6IjM5LjIwNy4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> |
||
|
db4ca70601
|
Added login to dockerhub to CI pipeline (#22708)
- We ran into an error: Unable to find image ‘mysql:8.0’ locall docker: Error response from daemon: toomanyrequests: You have reached your unauthenticated pull rate limit. https://www.docker.com/increase-rate-limit. See ‘docker run --help’. - It seems we hit our unauthenticated rate limit for dockerhub - This adds a login, so that we get the authenticated rate limit which is much much higher - It only attempts the login, if we're not on a fork PR, as that will cause the PR to error out completely because GitHub does not allow forks to access secrets - I've proven this iteration does not break forks here: https://github.com/TryGhost/Ghost/pull/22707 - This change should mean only fork PRs use our unauthenticated rate limit on dockerhub |
||
|
9439dc060c
|
Update dependency stylelint to v15.11.0 (#22705)
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [stylelint](https://stylelint.io) ([source](https://redirect.github.com/stylelint/stylelint)) | [`15.10.3` -> `15.11.0`](https://renovatebot.com/diffs/npm/stylelint/15.10.3/15.11.0) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>stylelint/stylelint (stylelint)</summary> ### [`v15.11.0`](https://redirect.github.com/stylelint/stylelint/blob/HEAD/CHANGELOG.md#15110---2023-10-17) [Compare Source](https://redirect.github.com/stylelint/stylelint/compare/15.10.3...15.11.0) - Added: `ignoreRules` to `max-nesting-depth` ([#​7215](https://redirect.github.com/stylelint/stylelint/pull/7215)) ([@​mattxwang](https://redirect.github.com/mattxwang)). - Fixed: `declaration-block-no-redundant-longhand-properties` autofix for `grid-template` with `repeat()` ([#​7230](https://redirect.github.com/stylelint/stylelint/pull/7230)) ([@​mattxwang](https://redirect.github.com/mattxwang)). - Fixed: `declaration-block-no-redundant-longhand-properties` false negative for `font-synthesis` ([#​7214](https://redirect.github.com/stylelint/stylelint/pull/7214)) ([@​mattxwang](https://redirect.github.com/mattxwang)). - Fixed: `declaration-block-no-redundant-longhand-properties` false negatives for `*-block` and `*-inline` logical properties ([#​7208](https://redirect.github.com/stylelint/stylelint/pull/7208)) ([@​mattxwang](https://redirect.github.com/mattxwang)). - Fixed: `declaration-block-no-redundant-longhand-properties` false negatives for `overflow`, `overscroll-behavior`, `scroll-margin`, `scroll-padding`, and new Box Alignment shorthands ([#​7213](https://redirect.github.com/stylelint/stylelint/pull/7213)) ([@​mattxwang](https://redirect.github.com/mattxwang)). - Fixed: `function-no-unknown` false positives for `light-dark`, `linear` and `xywh` ([#​7242](https://redirect.github.com/stylelint/stylelint/pull/7242)) ([@​mattxwang](https://redirect.github.com/mattxwang)). </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Never, 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/TryGhost/Ghost). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4yMDcuMSIsInVwZGF0ZWRJblZlciI6IjM5LjIwNy4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> |
||
|
78607589c1
|
Update dependency sinon to v19.0.5 (#22692)
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [sinon](https://sinonjs.org/) ([source](https://redirect.github.com/sinonjs/sinon)) | [`19.0.2` -> `19.0.5`](https://renovatebot.com/diffs/npm/sinon/19.0.2/19.0.5) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>sinonjs/sinon (sinon)</summary> ### [`v19.0.5`](https://redirect.github.com/sinonjs/sinon/blob/HEAD/CHANGES.md#1905) [Compare Source](https://redirect.github.com/sinonjs/sinon/compare/v19.0.4...v19.0.5) - [`67d19ff0`]( |
||
|
abf6bdbe23
|
Update dependency ts-jest to v29.3.0 (#22706)
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [ts-jest](https://kulshekhar.github.io/ts-jest) ([source](https://redirect.github.com/kulshekhar/ts-jest)) | [`29.1.5` -> `29.3.0`](https://renovatebot.com/diffs/npm/ts-jest/29.1.5/29.3.0) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>kulshekhar/ts-jest (ts-jest)</summary> ### [`v29.3.0`](https://redirect.github.com/kulshekhar/ts-jest/blob/HEAD/CHANGELOG.md#2930-2025-03-21) [Compare Source](https://redirect.github.com/kulshekhar/ts-jest/compare/v29.2.6...v29.3.0) ##### Features - feat: support hybrid `module` values for `isolatedModules: true` ([f372121](https://redirect.github.com/kulshekhar/ts-jest/commit/f372121)) ##### Bug Fixes - fix: set `customConditions` to `undefined` in `TsCompiler` ([b091d70](https://redirect.github.com/kulshekhar/ts-jest/commit/b091d70)), closes [#​4620](https://redirect.github.com/kulshekhar/ts-jest/issues/4620) ##### Code Refactoring - refactor: remove manual version checker ([89458fc](https://redirect.github.com/kulshekhar/ts-jest/commit/89458fc)) - refactor: remove patching deps based on version checker ([bac4c43](https://redirect.github.com/kulshekhar/ts-jest/commit/bac4c43)) - refactor: deprecate `RawCompilerOptions` interface ([2b1b6cd](https://redirect.github.com/kulshekhar/ts-jest/commit/2b1b6cd)) - refactor: deprecate transform option `isolatedModules` ([7dfef71](https://redirect.github.com/kulshekhar/ts-jest/commit/7dfef71)) ### [`v29.2.6`](https://redirect.github.com/kulshekhar/ts-jest/blob/HEAD/CHANGELOG.md#2926-2025-02-22) [Compare Source](https://redirect.github.com/kulshekhar/ts-jest/compare/v29.2.5...v29.2.6) ### [`v29.2.5`](https://redirect.github.com/kulshekhar/ts-jest/blob/HEAD/CHANGELOG.md#2925-2024-08-23) [Compare Source](https://redirect.github.com/kulshekhar/ts-jest/compare/v29.2.4...v29.2.5) ### [`v29.2.4`](https://redirect.github.com/kulshekhar/ts-jest/blob/HEAD/CHANGELOG.md#2924-2024-08-01) [Compare Source](https://redirect.github.com/kulshekhar/ts-jest/compare/v29.2.3...v29.2.4) ### [`v29.2.3`](https://redirect.github.com/kulshekhar/ts-jest/blob/HEAD/CHANGELOG.md#2923-2024-07-18) [Compare Source](https://redirect.github.com/kulshekhar/ts-jest/compare/v29.2.2...v29.2.3) ### [`v29.2.2`](https://redirect.github.com/kulshekhar/ts-jest/blob/HEAD/CHANGELOG.md#2922-2024-07-10) [Compare Source](https://redirect.github.com/kulshekhar/ts-jest/compare/v29.2.1...v29.2.2) ### [`v29.2.1`](https://redirect.github.com/kulshekhar/ts-jest/blob/HEAD/CHANGELOG.md#2921-2024-07-10) [Compare Source](https://redirect.github.com/kulshekhar/ts-jest/compare/v29.2.0...v29.2.1) ### [`v29.2.0`](https://redirect.github.com/kulshekhar/ts-jest/blob/HEAD/CHANGELOG.md#2920-2024-07-08) [Compare Source](https://redirect.github.com/kulshekhar/ts-jest/compare/v29.1.5...v29.2.0) ##### Bug Fixes - fix: don't show warning message with Node16/NodeNext ([99c4f49](https://redirect.github.com/kulshekhar/ts-jest/commit/99c4f49)), closes [#​4266](https://redirect.github.com/kulshekhar/ts-jest/issues/4266) ##### Features - feat(cli): allow migrating cjs `presets` to `transform` config ([22fb027](https://redirect.github.com/kulshekhar/ts-jest/commit/22fb027)) - feat(presets): add util functions to create ESM presets ([06f78ed](https://redirect.github.com/kulshekhar/ts-jest/commit/06f78ed)), close [#​4200](https://redirect.github.com/kulshekhar/ts-jest/issues/4200) - feat(presets): add util functions to create CJS presets ([f9cc3c0](https://redirect.github.com/kulshekhar/ts-jest/commit/f9cc3c0)), close [#​4200](https://redirect.github.com/kulshekhar/ts-jest/issues/4200) ##### Code refactoring - refactor: replace lodash deps with native js implementation ([40f1708](https://redirect.github.com/kulshekhar/ts-jest/commit/40f1708)) - refactor: use `TsJestTransformerOptions` type everywhere possibly ([7d001be](https://redirect.github.com/kulshekhar/ts-jest/commit/7d001be)) - refactor(cli): use new preset util functions to initialize test config ([c2b56ca](https://redirect.github.com/kulshekhar/ts-jest/commit/c2b56ca)) - refactor(presets): use create preset util functions for cjs presets ([922d6d0](https://redirect.github.com/kulshekhar/ts-jest/commit/922d6d0)) - test: switch `react-app` to use Vite ([827c8ad](https://redirect.github.com/kulshekhar/ts-jest/commit/827c8ad)) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Never, 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/TryGhost/Ghost). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4yMDcuMSIsInVwZGF0ZWRJblZlciI6IjM5LjIwNy4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> |
||
|
58d530230e
|
Update dependency sinon to v17.0.1 (#22691)
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [sinon](https://sinonjs.org/) ([source](https://redirect.github.com/sinonjs/sinon)) | [`17.0.0` -> `17.0.1`](https://renovatebot.com/diffs/npm/sinon/17.0.0/17.0.1) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>sinonjs/sinon (sinon)</summary> ### [`v17.0.1`](https://redirect.github.com/sinonjs/sinon/blob/HEAD/CHANGES.md#1701) [Compare Source](https://redirect.github.com/sinonjs/sinon/compare/v17.0.0...v17.0.1) - [`5fde5aeb`]( |
||
|
fb9ffe3a30
|
Replace dependency babel-eslint with @babel/eslint-parser 7.11.0 (#22687)
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [babel-eslint](https://redirect.github.com/babel/babel-eslint) | devDependencies | replacement | [`10.1.0` -> `7.11.0`](https://renovatebot.com/diffs/npm/babel-eslint/10.1.0/) | This is a special PR that replaces `babel-eslint` with the community suggested minimal stable replacement version. --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Never, 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/TryGhost/Ghost). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4yMDcuMSIsInVwZGF0ZWRJblZlciI6IjM5LjIwNy4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> |
||
|
4708da00e4
|
Update dependency mocha to v10.8.2 (#22704)
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [mocha](https://mochajs.org/) ([source](https://redirect.github.com/mochajs/mocha)) | [`10.2.0` -> `10.8.2`](https://renovatebot.com/diffs/npm/mocha/10.2.0/10.8.2) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [mocha](https://mochajs.org/) ([source](https://redirect.github.com/mochajs/mocha)) | [`10.7.3` -> `10.8.2`](https://renovatebot.com/diffs/npm/mocha/10.7.3/10.8.2) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>mochajs/mocha (mocha)</summary> ### [`v10.8.2`](https://redirect.github.com/mochajs/mocha/blob/HEAD/CHANGELOG.md#1082-2024-10-30) [Compare Source](https://redirect.github.com/mochajs/mocha/compare/v10.8.1...v10.8.2) ##### 🩹 Fixes - support errors with circular dependencies in object values with --parallel ([#​5212](https://redirect.github.com/mochajs/mocha/issues/5212)) ([ba0fefe]( |
||
|
e909dc5c57
|
Pin dependencies (#22688)
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [nock](https://redirect.github.com/nock/nock) | devDependencies | pin | [`^14.0.0-beta.6` -> `14.0.0-beta.6`](https://renovatebot.com/diffs/npm/nock/14.0.0-beta.6/14.0.0-beta.6) | | [rewire](https://redirect.github.com/jhnns/rewire) | devDependencies | pin | [`^7.0.0` -> `7.0.0`](https://renovatebot.com/diffs/npm/rewire/7.0.0/7.0.0) | | [sinon](https://sinonjs.org/) ([source](https://redirect.github.com/sinonjs/sinon)) | devDependencies | pin | [`^17.0.1` -> `17.0.1`](https://renovatebot.com/diffs/npm/sinon/17.0.1/17.0.1) | | [supertest](https://redirect.github.com/ladjs/supertest) | devDependencies | pin | [`^7.0.0` -> `7.0.0`](https://renovatebot.com/diffs/npm/supertest/7.0.0/7.0.0) | Add the preset `:preserveSemverRanges` to your config if you don't want to pin your dependencies. --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://redirect.github.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- 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/TryGhost/Ghost). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4yMDcuMSIsInVwZGF0ZWRJblZlciI6IjM5LjIwNy4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> |
||
|
a1eb39fe7f | v5.115.1 | ||
|
79fc2b7700
|
Added tinybird-cli to devcontainer (#22662)
no issue Currently we're using the bespoke tinybird-cli docker container to run CLI commands. We have a command `yarn tb` to open a shell where the CLI is accessible, but we can't run `tb` commands locally or leverage the tinybird VSCode extension without installing the tinybird CLI. This commit installs the Tinybird CLI in the development docker image, so we can run `tb` commands in a shell in the main Ghost docker image. It also introduces a `package.json` script to run an instance of the Ghost container that just sleeps infinitely, so you can attach your IDE to the container and run `tb` commands directly from your IDE's terminal. Not only is this more convenient than keeping an extra terminal tab open to be able to run `tb` commands, it also lets us use the other tools in the devcontainer (e.g. `jq`, `node`, etc) in Tinybird scripts, which we couldn't do before because the tinybird-cli image is pretty barebones. |
||
|
eea005754d
|
Removed sources filter link from stats page (#22683)
no ref Sources filtering is inconsistent so we've disabled the filtering functionality until we can fix it. |
||
|
a26b910f4e
|
Removed _mv_session_data materialized view from Tinybird schema (#22682)
no issue - The materialized view was duplicating data, so until we figure that out we'll query straight from the pipe, without the materialized view. |
||
|
9f7a0c9191
|
Updated PR template
- language in the last version was a bit jarring - this goes back more towards the old language |
||
|
773eece770
|
Fixed duplicate session entries in mv_session_data (#22680)
no ref We had incorrect handling of sources, which are attributed to the first hit for a session. This needs to be applied more generally - this only fixes the source component. |
||
|
b9bc036cad
|
Fixed following not persisting to followers list in profile view (#22679)
Ref https://linear.app/ghost/issue/AP-959 - While following/unfollowing user from profile view, there was no caching on the UI rather it will call the API and update the followers list that's why it was super slow. - Added caching on following/unfollowing which makes the update of followers list smoother |
||
|
b588276326
|
Changed Last 24 hours filter to Today on stats page (#22678)
ref https://linear.app/ghost/issue/ANAL-180/last-24-hours-view-shows-today-not-the-last-24-hours - The Last 24 hours filter on the stats page is currently showing "Today", not the last 24 hours. - This changes the filter to say "Today" for now |
||
|
4764332024
|
Fixed kpis chart not displaying graph (#22677)
no ref The return value was a.date instead of date, which the chart didn't pick up. |
||
|
924ef220df |
Improved comments and types for Actions model plugin
- added some more JSDoc to help with editor typing - added comments to key gotchas |
||
|
934c45211d
|
Fixed kpi pageview stats when filtering by pathname (#22674)
ref https://linear.app/ghost/issue/ANAL-162/ When filtering by path, the KPIs Pageviews metric is a bit odd. We effectively need to introduce a new 'context' - in general, the KPIs component shows the _session metrics_, but this is unintuitive when filtering by path, because you don't care how many pageviews all the sessions had that looked at the one particular path. Instead, you want to see the # of pageviews *for that path only*. We should also update this to handle time on page instead of the entire session time in a separate change. Ideally, we end up reworking this entirely and use a different MV for page-based metrics, and we'll need to adjust the frontend to query a different endpoint. |
||
|
d08b932667 |
Cleaned up references to myself
- I should not live forever in the codebase :D |
||
|
0531455389 |
Moved @tryghost/identity-token-service to services folder
fix https://linear.app/ghost/issue/ENG-2110/identity-token-service - this commit moves the lib code and tests to the core folder so we can colocate code in one place rather than splitting it out across packages, which increases the cognitive load and overhead |
||
|
8abc29200b |
Reformatted messages object
- no functionality change, just making it easier to read |
||
|
130b92f315
|
Updated pull request template and contrib guide (#22672)
- Our development practices have evolved since these were first written - I wanted to give these a bit of a refresh, to help contributors get their changes merged |
||
|
f8e8405eaf
|
Fixed the email sent with 2FA requests | ||
|
deae437e3d |
Fixed paths to Stripe libraries
ref https://linear.app/ghost/issue/ENG-2106/stripe - I moved the files but neglected to update the requires for the browser tests, which are naughty and reach across package boundaries anyway |
||
|
6642e9ae1e |
Moved @tryghost/mw-api-version-mismatch to services folder
fix https://linear.app/ghost/issue/ENG-2108/mw-api-version-mismatch - this commit moves the lib code and tests to the core folder so we can colocate code in one place rather than splitting it out across packages, which increases the cognitive load and overhead |
||
|
cdcede0bc8 |
Moved @tryghost/email-analytics-service to services folder
fix https://linear.app/ghost/issue/ENG-2107/email-analytics-service - this commit moves the lib code and tests to the core folder so we can colocate code in one place rather than splitting it out across packages, which increases the cognitive load and overhead |
||
|
d3eaf8bac8 |
Moved @tryghost/api-version-compatibility-service to services folder
fix https://linear.app/ghost/issue/ENG-2104/api-version-compatibility-service - this commit moves the lib code and tests to the core folder so we can colocate code in one place rather than splitting it out across packages, which increases the cognitive load and overhead |
||
|
2db345942f |
Moved @tryghost/members-stripe-service to services folder
fix https://linear.app/ghost/issue/ENG-2106/stripe - this commit moves the lib code and tests to the core folder so we can colocate code in one place rather than splitting it out across packages, which increases the cognitive load and overhead |
||
|
11bdda940a
|
Added member total to new explore service (#22665)
ref
|
||
|
ca96da0119 |
Released @tryghost/portal v2.50.7
Changelog for v2.50.6 -> 2.50.7: - https://github.com/TryGhost/Ghost/commit/4dce64fee0 |
||
|
09e617ad10
|
Fixed visual regression in email preview (#22666)
No ref - The `From`, `To` and `Subject` fields were off both in terms of alignment and background color. |
||
|
4dce64fee0
|
🐛 Fixed newsletter preferences for paid signups (#22664)
ref https://linear.app/ghost/issue/ONC-803 ref https://github.com/TryGhost/Ghost/commit/b3a30d63ee When members signup through the paid flow, we take the `newsletters` payload and attach it to the Stripe checkout session as metadata. Later this is passed to the `add` method of the Member bookshelf model, and picked up by bookshelf-relations to set the newsletters. When we stopped sending the `id` up in the linked commit, we broke this funtionality because bookshelf-relations doesn't work on the `name` property for Member Newsletters. |
||
|
6ef835bb58 |
🐛 Fixed incorrect slug increments for post title changes
closes https://linear.app/ghost/issue/ONC-794 By passing the post ID when generating a slug, the system can now properly determine if the slug is already assigned to the post being edited. This correctly handles cases like whitespace-only title changes where the same slug should be maintained rather than being incremented unnecessarily. |
||
|
a2dbda3b44 |
Added resource-specific slug generation to prevent self-collisions
ref https://linear.app/ghost/issue/ONC-794 When checking slug availability without specifying the ID of the specific resource being modified, the system can't distinguish between a new resource and an existing one. This causes false "slug already in use" results when a client checks availability of a slug that's already assigned to the resource being updated. For example, if post ID "123" has slug "snowman" and the client checks if the slug "snowman" is available (without specifying it's for post "123"), the system returns "snowman-2" unnecessarily. This commonly happens during title edits that would generate the same slug, like adding a trailing space. This allows clients to ask "is the slug 'snowman' available for resource ID '123'?" which handles the case where the resource already owns that slug. This is a non-breaking change - the existing API continues to work at both the HTTP and method call levels, with the modelId being optional. |
||
|
560edd4a74 |
Moved @tryghost/mail-events to core folder
fix https://linear.app/ghost/issue/ENG-2102/mail-events - this commit moves the lib code and tests to the core folder so we can colocate code in one place rather than splitting it out across packages, which increases the cognitive load and overhead |
||
|
0892409654 |
Moved @tryghost/mw-cache-control to core folder
fix https://linear.app/ghost/issue/ENG-2103/mw-cache-control - this commit moves the lib code and tests to the core folder so we can colocate code in one place rather than splitting it out across packages, which increases the cognitive load and overhead |
||
|
0d56f9952a
|
Added routing support to Feed as an experiment in ActivityPub (#22661)
no issues - this adds routing support to only Feed under a soft feature flag called `feed-routes` - with this change, the feed items are displayed in the main content view instead of the drawer |
||
|
4dda35f627
|
Switched traffic analytics charts to use the browser's timezone (#22660)
no issue Originally I thought it would be smart to use the site's timezone for all users, regardless of where they are located, so that the data will always match if two people in different timezones are looking at the same filters. However, this created some issues with the charts, since they are all rendered in the browser's timezone, which led to some inconsistencies. Ultimately I still think it might make sense to use the site timezone, but for now using the browser timezone feels reasonable and importantly it actually works with the charts in the UI as you'd expect it to. |
||
|
0d3cc528f8
|
Fixed compose.yml node_modules volumes (#22659)
no issue - The email-analytics-service volume in compose.yml was accidentally removed when deleting the email-analytics-provider-mailgun package, causing `docker compose up` to fail — this fixes that. |
||
|
03385e1db5
|
Fixed Tinybird timezone bug (#22656)
ref https://linear.app/ghost/issue/ANAL-175/stats-page-doesnt-update-data-if-youre-behind-utc-and-its-already There was a bug in our Tinybird pipes that ignored the site's timezone setting. This could cause it to _appear_ that the site wasn't ingesting data anymore, even though it actually was. This commit adds a `timezone` query parameter to all the pipes used in Admin and converts the timestamps to this timezone before aggregating/filtering the dataset. It also adds the stats_page token to all pipes, and bumps the TB_VERSION in admin to 7. |