chore(deps): update all non-major dependencies #981
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^7.16.0
->^7.16.5
^7.16.4
->^7.16.5
^7.16.4
->^7.16.5
^7.16.0
->^7.16.5
^7.16.0
->^7.16.5
^7.16.0
->^7.16.5
^7.16.3
->^7.16.5
^1.7.2
->^1.7.3
^11.7.0
->^11.7.1
^0.8.3
->^0.8.4
^1.6.2
->^1.7.1
^6.4.8
->^6.4.9
^6.4.8
->^6.4.9
^0.0.168
->^0.0.173
^4.14.177
->^4.14.178
^16.11.12
->^16.11.17
^0.27.60
->^0.27.62
^17.0.37
->^17.0.38
^7.1.20
->^7.1.21
^5.1.17
->^5.1.19
^5.6.0
->^5.8.0
^5.6.0
->^5.8.0
^1.19.0
->^1.19.1
^5.64.0
->^5.65.0
^16.0.4
->^16.0.5
^8.4.1
->^8.5.0
^19.0.2
->^19.0.4
^7.27.1
->^7.28.0
^4.17.1
->^4.17.2
^5.4.3
->^5.5.5
^16.1.0
->^16.2.0
^27.4.3
->^27.4.5
^3.1.13
->^3.1.14
^10.8.2
->^10.9.0
^10.8.2
->^10.9.0
^0.95.14
->^0.95.15
^0.36.1
->^0.36.3
^15.7.2
->^15.8.0
^2.0.3
->^2.0.4
^14.1.0
->^14.2.0
^27.1.0
->^27.1.2
~4.5.2
->~4.5.4
^4.6.0
->^4.7.1
Release Notes
babel/babel
v7.16.5
Compare Source
👓 Spec Compliance
babel-cli
,babel-core
,babel-helpers
,babel-plugin-proposal-class-properties
,babel-plugin-proposal-decorators
,babel-plugin-transform-classes
,babel-plugin-transform-jscript
,babel-plugin-transform-parameters
,babel-plugin-transform-runtime
,babel-plugin-transform-spread
,babel-plugin-transform-typescript
,babel-preset-env
🐛 Bug Fix
babel-plugin-transform-parameters
babel-plugin-transform-arrow-functions
,babel-traverse
arguments
variables from functions (@The-x-Theorist)babel-parser
babel-traverse
babel-generator
babel-plugin-transform-react-jsx
babel-helper-create-class-features-plugin
,babel-helper-environment-visitor
,babel-helper-member-expression-to-functions
,babel-helper-module-transforms
,babel-helper-replace-supers
,babel-plugin-transform-classes
,babel-traverse
this
&co in computed keys in arrows transform (@nicolo-ribaudo)💅 Polish
babel-parser
📝 Documentation
babel-compat-data
,babel-helper-annotate-as-pure
,babel-helper-builder-binary-assignment-operator-visitor
,babel-helper-builder-react-jsx
,babel-helper-compilation-targets
,babel-helper-create-class-features-plugin
,babel-helper-create-regexp-features-plugin
,babel-helper-define-map
,babel-helper-explode-assignable-expression
,babel-helper-fixtures
,babel-helper-function-name
,babel-helper-get-function-arity
,babel-helper-hoist-variables
,babel-helper-member-expression-to-functions
,babel-helper-module-imports
,babel-helper-module-transforms
,babel-helper-optimise-call-expression
,babel-helper-plugin-test-runner
,babel-helper-plugin-utils
,babel-helper-remap-async-to-generator
,babel-helper-replace-supers
,babel-helper-simple-access
,babel-helper-skip-transparent-expression-wrappers
,babel-helper-split-export-declaration
,babel-helper-transform-fixture-test-runner
,babel-helper-validator-identifier
,babel-helper-validator-option
,babel-helper-wrap-function
,babel-plugin-bugfix-safari-id-destructuring-collision-in-function-expression
,babel-plugin-bugfix-v8-spread-parameters-in-optional-chaining
,babel-plugin-proposal-async-do-expressions
,babel-plugin-proposal-record-and-tuple
,babel-plugin-syntax-async-do-expressions
,babel-plugin-syntax-module-blocks
,babel-plugin-transform-react-jsx-development
,babel-plugin-transform-react-pure-annotations
,babel-runtime-corejs2
,babel-runtime-corejs3
,babel-runtime
🏠 Internal
babel-cli
,babel-code-frame
,babel-core
,babel-generator
,babel-helper-annotate-as-pure
,babel-helper-compilation-targets
,babel-helper-create-class-features-plugin
,babel-helper-create-regexp-features-plugin
,babel-helper-fixtures
,babel-helper-module-imports
,babel-helper-optimise-call-expression
,babel-helper-plugin-test-runner
,babel-helper-transform-fixture-test-runner
,babel-helper-validator-identifier
,babel-helper-validator-option
,babel-helpers
,babel-highlight
,babel-node
,babel-parser
,babel-plugin-bugfix-safari-id-destructuring-collision-in-function-expression
,babel-plugin-bugfix-v8-spread-parameters-in-optional-chaining
,babel-plugin-external-helpers
,babel-plugin-proposal-async-do-expressions
,babel-plugin-proposal-async-generator-functions
,babel-plugin-proposal-class-properties
,babel-plugin-proposal-class-static-block
,babel-plugin-proposal-decorators
,babel-plugin-proposal-do-expressions
,babel-plugin-proposal-dynamic-import
,babel-plugin-proposal-export-default-from
,babel-plugin-proposal-export-namespace-from
,babel-plugin-proposal-function-bind
,babel-plugin-proposal-function-sent
,babel-plugin-proposal-json-strings
,babel-plugin-proposal-logical-assignment-operators
,babel-plugin-proposal-nullish-coalescing-operator
,babel-plugin-proposal-numeric-separator
,babel-plugin-proposal-object-rest-spread
,babel-plugin-proposal-optional-catch-binding
,babel-plugin-proposal-optional-chaining
,babel-plugin-proposal-partial-application
,babel-plugin-proposal-pipeline-operator
,babel-plugin-proposal-private-methods
,babel-plugin-proposal-private-property-in-object
,babel-plugin-proposal-record-and-tuple
,babel-plugin-proposal-throw-expressions
,babel-plugin-proposal-unicode-property-regex
,babel-plugin-syntax-decorators
,babel-plugin-syntax-typescript
,babel-plugin-transform-arrow-functions
,babel-plugin-transform-async-to-generator
,babel-plugin-transform-block-scoped-functions
,babel-plugin-transform-block-scoping
,babel-plugin-transform-classes
,babel-plugin-transform-computed-properties
,babel-plugin-transform-destructuring
,babel-plugin-transform-dotall-regex
,babel-plugin-transform-duplicate-keys
,babel-plugin-transform-exponentiation-operator
,babel-plugin-transform-flow-comments
,babel-plugin-transform-flow-strip-types
,babel-plugin-transform-for-of
,babel-plugin-transform-function-name
,babel-plugin-transform-instanceof
,babel-plugin-transform-jscript
,babel-plugin-transform-member-expression-literals
,babel-plugin-transform-modules-amd
,babel-plugin-transform-modules-commonjs
,babel-plugin-transform-modules-systemjs
,babel-plugin-transform-modules-umd
,babel-plugin-transform-named-capturing-groups-regex
,babel-plugin-transform-new-target
,babel-plugin-transform-object-super
,babel-plugin-transform-parameters
,babel-plugin-transform-property-literals
,babel-plugin-transform-property-mutators
,babel-plugin-transform-proto-to-assign
,babel-plugin-transform-react-constant-elements
,babel-plugin-transform-react-display-name
,babel-plugin-transform-react-inline-elements
,babel-plugin-transform-react-jsx-compat
,babel-plugin-transform-react-jsx-development
,babel-plugin-transform-react-jsx-self
,babel-plugin-transform-react-jsx-source
,babel-plugin-transform-react-jsx
,babel-plugin-transform-react-pure-annotations
,babel-plugin-transform-regenerator
,babel-plugin-transform-reserved-words
,babel-plugin-transform-runtime
,babel-plugin-transform-shorthand-properties
,babel-plugin-transform-spread
,babel-plugin-transform-sticky-regex
,babel-plugin-transform-strict-mode
,babel-plugin-transform-template-literals
,babel-plugin-transform-typeof-symbol
,babel-plugin-transform-typescript
,babel-plugin-transform-unicode-escapes
,babel-plugin-transform-unicode-regex
,babel-preset-env
,babel-preset-flow
,babel-preset-react
,babel-preset-typescript
,babel-register
,babel-standalone
,babel-template
,babel-traverse
,babel-types
babel-parser
hasPlugin
to accept plugin-configuration array pairs (@js-choi)babel-helpers
require
d files in@babel/helpers
tests (@nicolo-ribaudo)babel-plugin-proposal-object-rest-spread
,babel-traverse
babel-parser
,babel-plugin-bugfix-safari-id-destructuring-collision-in-function-expression
,babel-plugin-bugfix-v8-spread-parameters-in-optional-chaining
,babel-plugin-proposal-optional-chaining
,babel-preset-react
,babel-preset-typescript
src
in tests (@nicolo-ribaudo)@babel/runtime
ESM tests fail (@nicolo-ribaudo)🏃♀️ Performance
babel-parser
🔬 Output optimization
babel-helpers
,babel-plugin-proposal-async-generator-functions
,babel-plugin-transform-runtime
,babel-preset-env
,babel-runtime-corejs2
,babel-runtime
helpers-generated.ts
(@lightmare)chakra-ui/chakra-ui
v1.7.3
Patch Changes
6efe10f21
Thanks @yoannfleurydev! - Update
storybook url configuration for
@chakra-ui/react
tohttps://storybook.chakra-ui.com
[
26d2a547b
,cd0b7996b
,ba76b8125
,d139cc151
,586eb6090
,f565841c6
,f15099adc
,98b9fbecb
,c20aa919e
,53e2df4f9
,b4decca9a
,39846457e
,f4fd9441e
,17400aff6
]:emotion-js/emotion
v11.7.1
Compare Source
Patch Changes
04681a5f
Thanks @Methuselah96! - ExportKeyframes
type to avoid TypeScript insertingimport("@​emotion/serialize").Keyframes
references into declaration files emitted based on a source files exportingkeyframes
result. This avoids issues with strict package managers that don't allow accessing undeclared dependencies.#2590
1554a7e2
Thanks @Andarist! - Upgraded and pinned the version of Stylis - the CSS parser that Emotion uses under the hood.Updated dependencies [
1554a7e2
]:reduxjs/redux-toolkit
v1.7.1
Compare Source
This release fixes a types issue with RTK 1.7.0 and TS 4.5, as seen in #1829 .
What's Changed
Full Changelog: reduxjs/redux-toolkit@v1.7.0...v1.7.1
v1.7.0
Compare Source
This feature release has a wide variety of API improvements:
currentData
field to query resultscondition
options increateAsyncThunk
createSlice/createReducer
to accept a "lazy state initializer" functioncreateSlice
to avoid potential circular dependency issues by lazy-building its reducerChangelog
RTK Query
RTK Query SSR and Rehydration Support
RTK Query now has support for SSR scenarios, such as the
getStaticProps/getServerSideProps
APIs in Next.js. Queries can be executed on the server using the existingdispatch(someEndpoint.initiate())
thunks, and then collected using the newawait Promise.all(api.getRunningOperationPromises())
method.API definitions can then provide an
extractRehydrationInfo
method that looks for a specific action type containing the fetched data, and return the data to initialize the API cache section of the store state.The related
api.util.getRunningOperationPromise()
API adds a building block that may enable future support for React Suspense as well, and we'd encourage users to experiment with this idea.Sharing Mutation Results Across Components
Mutation hooks provide status of in-progress requests, but as originally designed that information was unique per-component - there was no way for another component to see that request status data. But, we had several requests to enable this use case.
useMutation
hooks now support afixedCacheKey
option that will store the result status in a common location, so multiple components can read the request status if needed.This does mean that the data cannot easily be cleaned up automatically, so the mutation status object now includes a
reset()
function that can be used to clear that data.Data Loading Updates
Query results now include a
currentData
field, which contains the latest data cached from the server for the current query arg. Additionally,transformResponse
now receives the query arg as a parameter. These can be used to add additional derivation logic in cases when a hooks query arg has changed to represent a different value and the existing data no longer conceptually makes sense to keep displaying.Data Serialization and Base Query Improvements
RTK Query originally only did shallow checks for query arg fields to determine if values had changed. This caused issues with infinite loops depending on user input.
The query hooks now use a "serialized stable value" hook internally to do more consistent comparisons of query args and eliminate those problems.
Also,
fetchBaseQuery
now supports aparamsSerializer
option that allows customization of query string generation from the provided arguments, which enables better interaction with some backend APIs.The
BaseQueryApi
andprepareheaders
args now include fields forendpoint
name,type
to indicate if it's a query or mutation, andforced
to indicate a re-fetch even if there was already a cache entry. These can be used to help determine headers likeCache-Control: no-cache
.Other RTK Query Improvements
API objects now have a
selectInvalidatedBy
function that accepts a root state object and an array of query tag objects, and returns a list of details on endpoints that would be invalidated. This can be used to help implement optimistic updates of paginated lists.Fixed an issue serializing a query arg of
undefined
. Related, an empty JSON body now is stored asnull
instead ofundefined
.There are now dev warnings for potential mistakes in endpoint setup, like a query function that does not return a
data
field.Lazy query trigger promises can now be unwrapped similar to mutations.
Fixed a type error that led the endpoint return type to be erroneously used as a state key, which caused generated selectors to have an inferred
state: never
argument.Fixed
transformResponse
to correctly receive theoriginalArgs
as its third parameter.api.util.resetApiState
will now clear out cached values inuseQuery
hooks.The
RetryOptions
interface is now exported, which resolves a TS build error when using the hooks with TS declarations.RTK Core
createSlice
Lazy Reducers and Circular DependenciesFor the last couple years we've specifically recommended using a "feature folder" structure with a single "slice" file of logic per feature, and
createSlice
makes that pattern really easy - no need to have separate folders and files for/actions
and/constants
any more.The one downside to the "slice file" pattern is in cases when slice A needs to import actions from slice B to respond to them, and slice B also needs to listen to slice A. This circular import then causes runtime errors, because one of the modules will not have finished initializing by the time the other executes the module body. That causes the exports to be undefined, and
createSlice
throws an error because you can't passundefined
tobuilder.addCase()
inextraReducers
. (Or, worse, there's no obvious error and things break later.)There are well-known patterns for breaking circular dependencies, typically requiring extracting shared logic into a separate file. For RTK, this usually means calling
createAction
separately, and importing those action creators into both slices.While this is a rarer problem, it's one that can happen in real usage, and it's also been a semi-frequently listed concern from users who didn't want to use RTK.
We've updated
createSlice
to now lazily create its reducer function the first time you try to call it. That delay in instantiation should eliminate circular dependencies as a runtime error increateSlice
.createAsyncThunk
ImprovementsThe
condition
option may now beasync
, which enables scenarios like checking if an existing operation is running and resolving the promise when the other instance is done.If an
idGenerator
function is provided, it will now be given thethunkArg
value as a parameter, which enables generating custom IDs based on the request data.The
createAsyncThunk
types were updated to correctly handle type inference when usingrejectWithValue()
.Other RTK Improvements
createSlice
andcreateReducer
now accept a "lazy state initializer" function as theinitialState
argument. If provided, the initializer will be called to produce a new initial state value any time the reducer is givenundefined
as its state argument. This can be useful for cases like reading fromlocalStorage
, as well as testing.The
isPlainObject
util has been updated to match the implementation in other Redux libs.The UMD builds of RTK Query now attach as
window.RTKQ
instead of overwritingwindow.RTK
.Fixed an issue with sourcemap loading due to an incorrect filename replacement.
Dependency Updates
We've updated our deps to the latest versions:
Configuration
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Renovate will not automatically rebase this PR, because other commits have been found.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR has been generated by WhiteSource Renovate. View repository job log here.