@wordpress/hooks
Advanced tools
Comparing version 4.15.0 to 4.16.0
@@ -5,2 +5,4 @@ <!-- Learn how to maintain this file at https://github.com/WordPress/gutenberg/tree/HEAD/packages#maintaining-changelogs. --> | ||
## 4.16.0 (2025-01-15) | ||
## 4.15.0 (2025-01-02) | ||
@@ -189,3 +191,3 @@ | ||
- Enable an optional namespace parameter for `hasAction` & `hasFilter`. When checking if an action or filter exists, `hasAction` and `hasFilter` now accept an optional paramter to limit matches by namespace. | ||
- Enable an optional namespace parameter for `hasAction` & `hasFilter`. When checking if an action or filter exists, `hasAction` and `hasFilter` now accept an optional parameter to limit matches by namespace. | ||
@@ -192,0 +194,0 @@ ## 2.4.0 (2019-06-12) |
{ | ||
"name": "@wordpress/hooks", | ||
"version": "4.15.0", | ||
"version": "4.16.0", | ||
"description": "WordPress hooks library.", | ||
@@ -36,3 +36,3 @@ "author": "The WordPress Contributors", | ||
}, | ||
"gitHead": "75a65eb8ffc168a92042544052f46d080a71ea45" | ||
"gitHead": "f48b9f56629e400891abb5ae491504de475237ff" | ||
} |
@@ -70,3 +70,3 @@ /** | ||
// Reset state in between tests (clear all callbacks, `didAction` counts, | ||
// etc.) Just reseting actions and filters is not enough | ||
// etc.) Just resetting actions and filters is not enough | ||
// because the internal functions have references to the original objects. | ||
@@ -73,0 +73,0 @@ [ actions, filters ].forEach( ( hooks ) => { |
Sorry, the diff of this file is not supported yet
235958