New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@wordpress/data

Package Overview
Dependencies
Maintainers
25
Versions
225
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@wordpress/data - npm Package Compare versions

Comparing version 9.1.0 to 9.2.0

2

CHANGELOG.md

@@ -5,2 +5,4 @@ <!-- Learn how to maintain this file at https://github.com/WordPress/gutenberg/tree/HEAD/packages#maintaining-changelogs. -->

## 9.2.0 (2023-04-26)
## 9.1.0 (2023-04-12)

@@ -7,0 +9,0 @@

18

package.json
{
"name": "@wordpress/data",
"version": "9.1.0",
"version": "9.2.0",
"description": "Data module for WordPress.",

@@ -32,9 +32,9 @@ "author": "The WordPress Contributors",

"@babel/runtime": "^7.16.0",
"@wordpress/compose": "^6.8.0",
"@wordpress/deprecated": "^3.31.0",
"@wordpress/element": "^5.8.0",
"@wordpress/is-shallow-equal": "^4.31.0",
"@wordpress/priority-queue": "^2.31.0",
"@wordpress/private-apis": "^0.13.0",
"@wordpress/redux-routine": "^4.31.0",
"@wordpress/compose": "^6.9.0",
"@wordpress/deprecated": "^3.32.0",
"@wordpress/element": "^5.9.0",
"@wordpress/is-shallow-equal": "^4.32.0",
"@wordpress/priority-queue": "^2.32.0",
"@wordpress/private-apis": "^0.14.0",
"@wordpress/redux-routine": "^4.32.0",
"deepmerge": "^4.3.0",

@@ -54,3 +54,3 @@ "equivalent-key-map": "^0.2.2",

},
"gitHead": "d61700b9f1c72ba0b030fc815ef1685b4f4031ec"
"gitHead": "6df0c62d43b8901414ccd22ffbe56eaa99d012a6"
}

@@ -1009,3 +1009,3 @@ # Data

As the application grows, this can become costful, so it's important to ensure that we avoid running both these if possible. One of these situations happen when an interaction requires multiple consisecutive `dispatch` calls in order to update the state properly. To avoid rerendering the components each time we call `dispatch`, we can wrap the sequential dispatch calls in `batch` which will ensure that the components only call selectors and rerender once at the end of the sequence.
As the application grows, this can become costful, so it's important to ensure that we avoid running both these if possible. One of these situations happen when an interaction requires multiple consecutive `dispatch` calls in order to update the state properly. To avoid rerendering the components each time we call `dispatch`, we can wrap the sequential dispatch calls in `batch` which will ensure that the components only call selectors and rerender once at the end of the sequence.

@@ -1012,0 +1012,0 @@ _Usage_

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc