@wordpress/preferences-persistence 2.15.1 → 2.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,8 @@
2
2
 
3
3
  ## Unreleased
4
4
 
5
+ ## 2.16.0 (2025-01-15)
6
+
5
7
  ## 2.15.0 (2025-01-02)
6
8
 
7
9
  ## 2.14.0 (2024-12-11)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wordpress/preferences-persistence",
3
- "version": "2.15.1",
3
+ "version": "2.16.0",
4
4
  "description": "Persistence utilities for `wordpress/preferences`.",
5
5
  "author": "The WordPress Contributors",
6
6
  "license": "GPL-2.0-or-later",
@@ -30,10 +30,10 @@
30
30
  "sideEffects": false,
31
31
  "dependencies": {
32
32
  "@babel/runtime": "7.25.7",
33
- "@wordpress/api-fetch": "^7.15.1"
33
+ "@wordpress/api-fetch": "^7.16.0"
34
34
  },
35
35
  "publishConfig": {
36
36
  "access": "public"
37
37
  },
38
- "gitHead": "0d4503ecc364cf4ca16024673baf5a84dacf212f"
38
+ "gitHead": "f48b9f56629e400891abb5ae491504de475237ff"
39
39
  }
@@ -33,8 +33,8 @@ describe( 'create', () => {
33
33
 
34
34
  // The second param of the call to `setItem` has been JSON.stringified.
35
35
  // Parse it to check it contains the data.
36
- const setItemDataParm = spy.mock.calls[ 0 ][ 1 ];
37
- expect( JSON.parse( setItemDataParm ) ).toEqual(
36
+ const setItemDataParam = spy.mock.calls[ 0 ][ 1 ];
37
+ expect( JSON.parse( setItemDataParam ) ).toEqual(
38
38
  expect.objectContaining( data )
39
39
  );
40
40
  } );