@wordpress/hooks 4.14.0 → 4.16.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,10 @@
2
2
 
3
3
  ## Unreleased
4
4
 
5
+ ## 4.16.0 (2025-01-15)
6
+
7
+ ## 4.15.0 (2025-01-02)
8
+
5
9
  ## 4.14.0 (2024-12-11)
6
10
 
7
11
  ## 4.13.0 (2024-11-27)
@@ -183,7 +187,7 @@
183
187
 
184
188
  ### New Features
185
189
 
186
- - 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.
190
+ - 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.
187
191
 
188
192
  ## 2.4.0 (2019-06-12)
189
193
 
package/LICENSE.md CHANGED
@@ -1,6 +1,6 @@
1
1
  ## Gutenberg
2
2
 
3
- Copyright 2016-2024 by the contributors
3
+ Copyright 2016-2025 by the contributors
4
4
 
5
5
  **License for Contributions (on and after April 15, 2021)**
6
6
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wordpress/hooks",
3
- "version": "4.14.0",
3
+ "version": "4.16.0",
4
4
  "description": "WordPress hooks library.",
5
5
  "author": "The WordPress Contributors",
6
6
  "license": "GPL-2.0-or-later",
@@ -33,5 +33,5 @@
33
33
  "publishConfig": {
34
34
  "access": "public"
35
35
  },
36
- "gitHead": "b432c18934c9db866b6dba7d37517a4e97d642e3"
36
+ "gitHead": "f48b9f56629e400891abb5ae491504de475237ff"
37
37
  }
@@ -67,7 +67,7 @@ function actionC() {
67
67
  beforeEach( () => {
68
68
  window.actionValue = '';
69
69
  // Reset state in between tests (clear all callbacks, `didAction` counts,
70
- // etc.) Just reseting actions and filters is not enough
70
+ // etc.) Just resetting actions and filters is not enough
71
71
  // because the internal functions have references to the original objects.
72
72
  [ actions, filters ].forEach( ( hooks ) => {
73
73
  for ( const k in hooks ) {
package/tsconfig.json CHANGED
@@ -2,9 +2,6 @@
2
2
  "$schema": "https://json.schemastore.org/tsconfig.json",
3
3
  "extends": "../../tsconfig.base.json",
4
4
  "compilerOptions": {
5
- "rootDir": "src",
6
- "declarationDir": "build-types",
7
5
  "types": [ "gutenberg-env" ]
8
- },
9
- "include": [ "src/**/*" ]
6
+ }
10
7
  }