Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@wordpress/data

Package Overview
Dependencies
Maintainers
25
Versions
224
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.15.0 to 9.16.0

6

build-module/components/use-select/index.js

@@ -173,3 +173,7 @@ /**

const isAsync = useAsyncMode();
const store = useMemo(() => Store(registry, suspense), [registry]);
const store = useMemo(() => Store(registry, suspense), [registry, suspense]);
// These are "pass-through" dependencies from the parent hook,
// and the parent should catch any hook rule violations.
// eslint-disable-next-line react-hooks/exhaustive-deps
const selector = useCallback(mapSelect, deps);

@@ -176,0 +180,0 @@ const {

@@ -182,3 +182,7 @@ "use strict";

const isAsync = (0, _useAsyncMode.default)();
const store = (0, _element.useMemo)(() => Store(registry, suspense), [registry]);
const store = (0, _element.useMemo)(() => Store(registry, suspense), [registry, suspense]);
// These are "pass-through" dependencies from the parent hook,
// and the parent should catch any hook rule violations.
// eslint-disable-next-line react-hooks/exhaustive-deps
const selector = (0, _element.useCallback)(mapSelect, deps);

@@ -185,0 +189,0 @@ const {

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

## 9.16.0 (2023-11-16)
## 9.15.0 (2023-11-02)

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

18

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

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

"@babel/runtime": "^7.16.0",
"@wordpress/compose": "^6.22.0",
"@wordpress/deprecated": "^3.45.0",
"@wordpress/element": "^5.22.0",
"@wordpress/is-shallow-equal": "^4.45.0",
"@wordpress/priority-queue": "^2.45.0",
"@wordpress/private-apis": "^0.27.0",
"@wordpress/redux-routine": "^4.45.0",
"@wordpress/compose": "^6.23.0",
"@wordpress/deprecated": "^3.46.0",
"@wordpress/element": "^5.23.0",
"@wordpress/is-shallow-equal": "^4.46.0",
"@wordpress/priority-queue": "^2.46.0",
"@wordpress/private-apis": "^0.28.0",
"@wordpress/redux-routine": "^4.46.0",
"deepmerge": "^4.3.0",

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

},
"gitHead": "2a00e87b57b9c27ed2b9b0fd8d423ef3cada72c1"
"gitHead": "839018ff6029ba749780e288e08ff9cd898e50e8"
}

@@ -196,3 +196,10 @@ /**

const isAsync = useAsyncMode();
const store = useMemo( () => Store( registry, suspense ), [ registry ] );
const store = useMemo(
() => Store( registry, suspense ),
[ registry, suspense ]
);
// These are "pass-through" dependencies from the parent hook,
// and the parent should catch any hook rule violations.
// eslint-disable-next-line react-hooks/exhaustive-deps
const selector = useCallback( mapSelect, deps );

@@ -199,0 +206,0 @@ const { subscribe, getValue } = store( selector, isAsync );

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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