fix(deps): update all dependencies #278

Merged
kjuulh merged 1 commits from renovate/all into main 2024-02-17 13:39:40 +01:00
Owner

This PR contains the following updates:

Package Type Update Change
@reduxjs/toolkit (source) dependencies minor 2.1.0 -> 2.2.1
postcss (source) devDependencies patch 8.4.33 -> 8.4.35
postcss-import devDependencies patch 16.0.0 -> 16.0.1
prettier (source) devDependencies patch 3.2.4 -> 3.2.5

⚠ Dependency Lookup Warnings ⚠

Warnings were logged while processing this repo. Please check the Dependency Dashboard for more information.


Release Notes

reduxjs/redux-toolkit

v2.2.1

Compare Source

v2.2.0

Compare Source

This minor release:

  • Adds a second parameter to entityAdapter.getInitialState(additionalProps, entities) to allow prefilling state
    • Equivalent to entityAdapter.setAll(entityAdapter.getInitialState(additionalProps), entities)
    • First parameter can be undefined if no additional properties are desired
  • Allows initialising combineSlices with no static reducers
    • Previously const combinedReducer = combineSlices().withLazyLoadedSlices<LazyLoadedSlices>() would have thrown an error
    • Now returns a "no-op" reducer that just returns an empty object until first reducer injected
  • Allows a new 'throw' value for overrideExisting in injectEndpoints, which throws an error if a definition is injected with a name which is already used
  • Exports more type helpers for RTKQ hook and trigger types
  • Exports types related to overriding result types in enhanceEndpoints
  • Fixes state inference for injected slices when undeclared (i.e. not in LazyLoadedSlices)
  • Adds a action.meta.arg.isPrefetch value to query thunk actions when prefetched

What's Changed

New Contributors

Full Changelog: https://github.com/reduxjs/redux-toolkit/compare/v2.1.0...v2.2.0

postcss/postcss

v8.4.35

Compare Source

  • Avoid ! in node.parent.nodes type.
  • Allow to pass undefined to node adding method to simplify types.

v8.4.34

Compare Source

  • Fixed AtRule#nodes type (by Tim Weißenfels).
  • Cleaned up code (by Dmitry Kirillov).
postcss/postcss-import

v16.0.1

Compare Source

  • Fix crash when handling some @imports with media conditions (#​557, #​558)
prettier/prettier

v3.2.5

Compare Source

diff

Support Angular inline styles as single template literal (#​15968 by @​sosukesuzuki)

Angular v17 supports single string inline styles.

// Input
@&#8203;Component({
  template: `<div>...</div>`,
  styles: `h1 { color: blue; }`,
})
export class AppComponent {}

// Prettier 3.2.4
@&#8203;Component({
  template: `<div>...</div>`,
  styles: `h1 { color: blue; }`,
})
export class AppComponent {}

// Prettier 3.2.5
@&#8203;Component({
  template: `<div>...</div>`,
  styles: `
    h1 {
      color: blue;
    }
  `,
})
export class AppComponent {}

Unexpected embedded formatting for Angular template (#​15969 by @​JounQin)

Computed template should not be considered as Angular component template

// Input
const template = "foobar";

@&#8203;Component({
  [template]: `<h1>{{       hello }}</h1>`,
})
export class AppComponent {}

// Prettier 3.2.4
const template = "foobar";

@&#8203;Component({
  [template]: `<h1>{{ hello }}</h1>`,
})
export class AppComponent {}

// Prettier 3.2.5
const template = "foobar";

@&#8203;Component({
  [template]: `<h1>{{       hello }}</h1>`,
})
export class AppComponent {}
Use "json" parser for tsconfig.json by default (#​16012 by @​sosukesuzuki)

In v3.2.0, we introduced "jsonc" parser which adds trialing comma by default.

When adding a new parser we also define how it will be used based on the linguist-languages data.

tsconfig.json is a special file used by TypeScript, it uses .json file extension, but it actually uses the JSON with Comments syntax. However, we found that there are many third-party tools not recognize it correctly because of the confusing .json file extension.

We decide to treat it as a JSON file for now to avoid the extra configuration step.

To keep using the "jsonc" parser for your tsconfig.json files, add the following to your .pretterrc file

{
  "overrides": [
    {
      "files": ["tsconfig.json", "jsconfig.json"],
      "options": {
        "parser": "jsonc"
      }
    }
  ]
}

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [@reduxjs/toolkit](https://redux-toolkit.js.org) ([source](https://github.com/reduxjs/redux-toolkit)) | dependencies | minor | [`2.1.0` -> `2.2.1`](https://renovatebot.com/diffs/npm/@reduxjs%2ftoolkit/2.1.0/2.2.1) | | [postcss](https://postcss.org/) ([source](https://github.com/postcss/postcss)) | devDependencies | patch | [`8.4.33` -> `8.4.35`](https://renovatebot.com/diffs/npm/postcss/8.4.33/8.4.35) | | [postcss-import](https://github.com/postcss/postcss-import) | devDependencies | patch | [`16.0.0` -> `16.0.1`](https://renovatebot.com/diffs/npm/postcss-import/16.0.0/16.0.1) | | [prettier](https://prettier.io) ([source](https://github.com/prettier/prettier)) | devDependencies | patch | [`3.2.4` -> `3.2.5`](https://renovatebot.com/diffs/npm/prettier/3.2.4/3.2.5) | --- ### ⚠ Dependency Lookup Warnings ⚠ Warnings were logged while processing this repo. Please check the Dependency Dashboard for more information. --- ### Release Notes <details> <summary>reduxjs/redux-toolkit</summary> ### [`v2.2.1`](https://github.com/reduxjs/redux-toolkit/compare/v2.2.0...v2.2.1) [Compare Source](https://github.com/reduxjs/redux-toolkit/compare/v2.2.0...v2.2.1) ### [`v2.2.0`](https://github.com/reduxjs/redux-toolkit/releases/tag/v2.2.0) [Compare Source](https://github.com/reduxjs/redux-toolkit/compare/v2.1.0...v2.2.0) This *minor release*: - Adds a second parameter to `entityAdapter.getInitialState(additionalProps, entities)` to allow prefilling state - Equivalent to `entityAdapter.setAll(entityAdapter.getInitialState(additionalProps), entities)` - First parameter can be `undefined` if no additional properties are desired - Allows initialising `combineSlices` with no static reducers - Previously `const combinedReducer = combineSlices().withLazyLoadedSlices<LazyLoadedSlices>()` would have thrown an error - Now returns a "no-op" reducer that just returns an empty object until first reducer injected - Allows a new `'throw'` value for `overrideExisting` in `injectEndpoints`, which throws an error if a definition is injected with a name which is already used - Exports more type helpers for RTKQ hook and trigger types - Exports types related to overriding result types in `enhanceEndpoints` - Fixes state inference for injected slices when undeclared (i.e. not in `LazyLoadedSlices`) - Adds a `action.meta.arg.isPrefetch` value to query thunk actions when prefetched #### What's Changed - Revamp type tests setup by [@&#8203;aryaemami59](https://github.com/aryaemami59) in https://github.com/reduxjs/redux-toolkit/pull/4095 - Bump Prettier and Prettier related packages by [@&#8203;aryaemami59](https://github.com/aryaemami59) in https://github.com/reduxjs/redux-toolkit/pull/4126 - Fix codemods to work with TypeScript 4.7+ by [@&#8203;aryaemami59](https://github.com/aryaemami59) in https://github.com/reduxjs/redux-toolkit/pull/4081 - Export types related to overriding the result types by [@&#8203;aryaemami59](https://github.com/aryaemami59) in https://github.com/reduxjs/redux-toolkit/pull/4134 - Migrate type tests to Vitest by [@&#8203;aryaemami59](https://github.com/aryaemami59) in https://github.com/reduxjs/redux-toolkit/pull/4127 - Fix RetryOptions type test by flipping order by [@&#8203;EskiMojo14](https://github.com/EskiMojo14) in https://github.com/reduxjs/redux-toolkit/pull/4136 - Format all files by [@&#8203;aryaemami59](https://github.com/aryaemami59) in https://github.com/reduxjs/redux-toolkit/pull/4135 - \[Docs/Website] skipPollingIfUnfocused added to polling overview and query options by [@&#8203;riqts](https://github.com/riqts) in https://github.com/reduxjs/redux-toolkit/pull/4131 - \[Docs] Changed create.asyncThunk setup admonition to caution by [@&#8203;riqts](https://github.com/riqts) in https://github.com/reduxjs/redux-toolkit/pull/4150 - Temporarily revert node-fetch bump until ESM issues are sorted by [@&#8203;EskiMojo14](https://github.com/EskiMojo14) in https://github.com/reduxjs/redux-toolkit/pull/4151 - Contributing Markdown Refresh by [@&#8203;itz-Me-Pj](https://github.com/itz-Me-Pj) in https://github.com/reduxjs/redux-toolkit/pull/4139 - investigate re-adding size limit action by [@&#8203;EskiMojo14](https://github.com/EskiMojo14) in https://github.com/reduxjs/redux-toolkit/pull/4083 - Add size limit imports for more commonly used RTK exports by [@&#8203;EskiMojo14](https://github.com/EskiMojo14) in https://github.com/reduxjs/redux-toolkit/pull/4155 - pure some things by [@&#8203;EskiMojo14](https://github.com/EskiMojo14) in https://github.com/reduxjs/redux-toolkit/pull/4157 - cut back on suffixes tested for size by [@&#8203;EskiMojo14](https://github.com/EskiMojo14) in https://github.com/reduxjs/redux-toolkit/pull/4160 - Incorrect builder method referenced by [@&#8203;kantbtrue](https://github.com/kantbtrue) in https://github.com/reduxjs/redux-toolkit/pull/4161 - Rename `cli.js` to `cli.mjs` by [@&#8203;aryaemami59](https://github.com/aryaemami59) in https://github.com/reduxjs/redux-toolkit/pull/4169 - Migrate Codegen OpenAPI's unit tests to Vitest by [@&#8203;aryaemami59](https://github.com/aryaemami59) in https://github.com/reduxjs/redux-toolkit/pull/4137 - Fix wrong state for injected slices when not declared via `withLazyLoadedSlices` by [@&#8203;aryaemami59](https://github.com/aryaemami59) in https://github.com/reduxjs/redux-toolkit/pull/4172 - \[Docs, createEntityAdapter API]: add missing setOne and setMany signature by [@&#8203;kyselberg](https://github.com/kyselberg) in https://github.com/reduxjs/redux-toolkit/pull/4173 - Corrected the "Observing cache behaviour" example point no.4 by [@&#8203;721-atikshaikh](https://github.com/721-atikshaikh) in https://github.com/reduxjs/redux-toolkit/pull/4174 - feat: add isPrefetch property in query action by [@&#8203;juliengbt](https://github.com/juliengbt) in https://github.com/reduxjs/redux-toolkit/pull/4177 - allow initialising combined slice reducer with no static slices by [@&#8203;EskiMojo14](https://github.com/EskiMojo14) in https://github.com/reduxjs/redux-toolkit/pull/4184 - Create more Typed wrappers for RTKQ hook types by [@&#8203;EskiMojo14](https://github.com/EskiMojo14) in https://github.com/reduxjs/redux-toolkit/pull/4147 - proposal fix for axios base query types by [@&#8203;smff](https://github.com/smff) in https://github.com/reduxjs/redux-toolkit/pull/4186 - Provide 'throw' option for `overrideExisting` by [@&#8203;ffluk3](https://github.com/ffluk3) in https://github.com/reduxjs/redux-toolkit/pull/4189 - Use vite-tsconfig-paths to make path aliasing easier by [@&#8203;aryaemami59](https://github.com/aryaemami59) in https://github.com/reduxjs/redux-toolkit/pull/4175 - Remove trailing commas in `tsconfig.json` files of all CodesandBox examples by [@&#8203;aryaemami59](https://github.com/aryaemami59) in https://github.com/reduxjs/redux-toolkit/pull/4190 - \[Docs] Added withTypes documentation in createDraftSafeSelector by [@&#8203;riqts](https://github.com/riqts) in https://github.com/reduxjs/redux-toolkit/pull/4143 - Add second parameter to getInitialState to prefill entities by [@&#8203;EskiMojo14](https://github.com/EskiMojo14) in https://github.com/reduxjs/redux-toolkit/pull/4183 #### New Contributors - [@&#8203;itz-Me-Pj](https://github.com/itz-Me-Pj) made their first contribution in https://github.com/reduxjs/redux-toolkit/pull/4139 - [@&#8203;kantbtrue](https://github.com/kantbtrue) made their first contribution in https://github.com/reduxjs/redux-toolkit/pull/4161 - [@&#8203;kyselberg](https://github.com/kyselberg) made their first contribution in https://github.com/reduxjs/redux-toolkit/pull/4173 - [@&#8203;721-atikshaikh](https://github.com/721-atikshaikh) made their first contribution in https://github.com/reduxjs/redux-toolkit/pull/4174 - [@&#8203;smff](https://github.com/smff) made their first contribution in https://github.com/reduxjs/redux-toolkit/pull/4186 - [@&#8203;ffluk3](https://github.com/ffluk3) made their first contribution in https://github.com/reduxjs/redux-toolkit/pull/4189 **Full Changelog**: https://github.com/reduxjs/redux-toolkit/compare/v2.1.0...v2.2.0 </details> <details> <summary>postcss/postcss</summary> ### [`v8.4.35`](https://github.com/postcss/postcss/blob/HEAD/CHANGELOG.md#&#8203;8435) [Compare Source](https://github.com/postcss/postcss/compare/8.4.34...8.4.35) - Avoid `!` in `node.parent.nodes` type. - Allow to pass `undefined` to node adding method to simplify types. ### [`v8.4.34`](https://github.com/postcss/postcss/blob/HEAD/CHANGELOG.md#&#8203;8434) [Compare Source](https://github.com/postcss/postcss/compare/8.4.33...8.4.34) - Fixed `AtRule#nodes` type (by Tim Weißenfels). - Cleaned up code (by Dmitry Kirillov). </details> <details> <summary>postcss/postcss-import</summary> ### [`v16.0.1`](https://github.com/postcss/postcss-import/blob/HEAD/CHANGELOG.md#&#8203;1601--2024-02-14) [Compare Source](https://github.com/postcss/postcss-import/compare/16.0.0...16.0.1) - Fix crash when handling some `@import`s with media conditions ([#&#8203;557](https://github.com/postcss/postcss-import/issues/557), [#&#8203;558](https://github.com/postcss/postcss-import/pull/558)) </details> <details> <summary>prettier/prettier</summary> ### [`v3.2.5`](https://github.com/prettier/prettier/blob/HEAD/CHANGELOG.md#&#8203;325) [Compare Source](https://github.com/prettier/prettier/compare/3.2.4...3.2.5) [diff](https://github.com/prettier/prettier/compare/3.2.4...3.2.5) ##### Support Angular inline styles as single template literal ([#&#8203;15968](https://github.com/prettier/prettier/pull/15968) by [@&#8203;sosukesuzuki](https://github.com/sosukesuzuki)) [Angular v17](https://blog.angular.io/introducing-angular-v17-4d7033312e4b) supports single string inline styles. <!-- prettier-ignore --> ```ts // Input @&#8203;Component({ template: `<div>...</div>`, styles: `h1 { color: blue; }`, }) export class AppComponent {} // Prettier 3.2.4 @&#8203;Component({ template: `<div>...</div>`, styles: `h1 { color: blue; }`, }) export class AppComponent {} // Prettier 3.2.5 @&#8203;Component({ template: `<div>...</div>`, styles: ` h1 { color: blue; } `, }) export class AppComponent {} ``` ##### Unexpected embedded formatting for Angular template ([#&#8203;15969](https://github.com/prettier/prettier/pull/15969) by [@&#8203;JounQin](https://github.com/JounQin)) Computed template should not be considered as Angular component template <!-- prettier-ignore --> ```ts // Input const template = "foobar"; @&#8203;Component({ [template]: `<h1>{{ hello }}</h1>`, }) export class AppComponent {} // Prettier 3.2.4 const template = "foobar"; @&#8203;Component({ [template]: `<h1>{{ hello }}</h1>`, }) export class AppComponent {} // Prettier 3.2.5 const template = "foobar"; @&#8203;Component({ [template]: `<h1>{{ hello }}</h1>`, }) export class AppComponent {} ``` ##### Use `"json"` parser for `tsconfig.json` by default ([#&#8203;16012](https://github.com/prettier/prettier/pull/16012) by [@&#8203;sosukesuzuki](https://github.com/sosukesuzuki)) In [v3.2.0](https://prettier.io/blog/2024/01/12/3.2.0#new-jsonc-parser-added-15831httpsgithubcomprettierprettierpull15831-by-fiskerhttpsgithubcomfisker), we introduced `"jsonc"` parser which adds trialing comma **by default**. When adding a new parser we also define how it will be used based on the [`linguist-languages`](https://www.npmjs.com/package/linguist-languages) data. `tsconfig.json` is a special file used by [TypeScript](https://www.typescriptlang.org/docs/handbook/tsconfig-json.html#using-tsconfigjson-or-jsconfigjson), it uses `.json` file extension, but it actually uses the [JSON with Comments](https://code.visualstudio.com/docs/languages/json#\_json-with-comments) syntax. However, we found that there are many third-party tools not recognize it correctly because of the confusing `.json` file extension. We decide to treat it as a JSON file for now to avoid the extra configuration step. To keep using the `"jsonc"` parser for your `tsconfig.json` files, add the following to your `.pretterrc` file ```json { "overrides": [ { "files": ["tsconfig.json", "jsconfig.json"], "options": { "parser": "jsonc" } } ] } ``` <!-- prettier-ignore --> ``` ``` </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://github.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC4xNjAuMCIsInVwZGF0ZWRJblZlciI6IjM0LjE2MC4wIn0=-->
kjuulh added 1 commit 2024-02-04 06:49:09 +01:00
chore(deps): update dependency prettier to v3.2.5
Some checks reported errors
continuous-integration/drone/push Build encountered an error
continuous-integration/drone/pr Build encountered an error
c8ed6b8832
kjuulh force-pushed renovate/all from c8ed6b8832 to 3294573635 2024-02-05 22:20:00 +01:00 Compare
kjuulh changed title from chore(deps): update dependency prettier to v3.2.5 to chore(deps): update all dependencies 2024-02-05 22:20:02 +01:00
kjuulh force-pushed renovate/all from 3294573635 to 67f69579b0 2024-02-07 17:12:23 +01:00 Compare
kjuulh force-pushed renovate/all from 67f69579b0 to f827dd2fc1 2024-02-12 22:47:36 +01:00 Compare
kjuulh changed title from chore(deps): update all dependencies to fix(deps): update all dependencies 2024-02-12 22:47:36 +01:00
kjuulh force-pushed renovate/all from f827dd2fc1 to 38e0ea5e5e 2024-02-14 20:29:59 +01:00 Compare
kjuulh force-pushed renovate/all from 38e0ea5e5e to 65ed3ebf9c 2024-02-15 03:25:22 +01:00 Compare
kjuulh force-pushed renovate/all from 65ed3ebf9c to 02b62f11fe 2024-02-17 10:23:17 +01:00 Compare
kjuulh force-pushed renovate/all from 02b62f11fe to 8b351b5605 2024-02-17 12:23:14 +01:00 Compare
kjuulh merged commit 8b351b5605 into main 2024-02-17 13:39:40 +01:00
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: kjuulh/todo#278
No description provided.