@wordpress/is-shallow-equal 5.36.1-next.738bb1424.0 → 5.36.1-next.76cff8c98.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/LICENSE.md CHANGED
@@ -1,6 +1,6 @@
1
1
  ## Gutenberg
2
2
 
3
- Copyright 2016-2025 by the contributors
3
+ Copyright 2016-2026 by the contributors
4
4
 
5
5
  **License for Contributions (on and after April 15, 2021)**
6
6
 
package/build/index.cjs CHANGED
@@ -36,8 +36,8 @@ __export(index_exports, {
36
36
  isShallowEqualObjects: () => import_objects.default
37
37
  });
38
38
  module.exports = __toCommonJS(index_exports);
39
- var import_objects = __toESM(require("./objects.cjs"), 1);
40
- var import_arrays = __toESM(require("./arrays.cjs"), 1);
39
+ var import_objects = __toESM(require("./objects.cjs"));
40
+ var import_arrays = __toESM(require("./arrays.cjs"));
41
41
  function isShallowEqual(a, b) {
42
42
  if (a && b) {
43
43
  if (a.constructor === Object && b.constructor === Object) {
@@ -16,4 +16,4 @@ function isShallowEqualArrays(a, b) {
16
16
  export {
17
17
  isShallowEqualArrays as default
18
18
  };
19
- //# sourceMappingURL=arrays.js.map
19
+ //# sourceMappingURL=arrays.mjs.map
@@ -1,6 +1,6 @@
1
1
  // packages/is-shallow-equal/src/index.ts
2
- import isShallowEqualObjects from "./objects.js";
3
- import isShallowEqualArrays from "./arrays.js";
2
+ import isShallowEqualObjects from "./objects.mjs";
3
+ import isShallowEqualArrays from "./arrays.mjs";
4
4
  function isShallowEqual(a, b) {
5
5
  if (a && b) {
6
6
  if (a.constructor === Object && b.constructor === Object) {
@@ -17,4 +17,4 @@ export {
17
17
  isShallowEqualArrays,
18
18
  isShallowEqualObjects
19
19
  };
20
- //# sourceMappingURL=index.js.map
20
+ //# sourceMappingURL=index.mjs.map
@@ -29,4 +29,4 @@ function isShallowEqualObjects(a, b) {
29
29
  export {
30
30
  isShallowEqualObjects as default
31
31
  };
32
- //# sourceMappingURL=objects.js.map
32
+ //# sourceMappingURL=objects.mjs.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wordpress/is-shallow-equal",
3
- "version": "5.36.1-next.738bb1424.0",
3
+ "version": "5.36.1-next.76cff8c98.0",
4
4
  "description": "Test for shallow equality between two objects or arrays.",
5
5
  "author": "The WordPress Contributors",
6
6
  "license": "GPL-2.0-or-later",
@@ -31,13 +31,12 @@
31
31
  "build-types",
32
32
  "*.md"
33
33
  ],
34
- "type": "module",
35
34
  "main": "build/index.cjs",
36
- "module": "build-module/index.js",
35
+ "module": "build-module/index.mjs",
37
36
  "exports": {
38
37
  ".": {
39
38
  "types": "./build-types/index.d.ts",
40
- "import": "./build-module/index.js",
39
+ "import": "./build-module/index.mjs",
41
40
  "require": "./build/index.cjs"
42
41
  },
43
42
  "./package.json": "./package.json"
@@ -46,8 +45,11 @@
46
45
  "wpScript": true,
47
46
  "types": "build-types",
48
47
  "sideEffects": false,
48
+ "devDependencies": {
49
+ "benchmark": "2.1.4"
50
+ },
49
51
  "publishConfig": {
50
52
  "access": "public"
51
53
  },
52
- "gitHead": "ab1b004c0d61c295aa34bc86ea07f979343983ce"
54
+ "gitHead": "368727f14b858e75179e140967c2d9ec965c8790"
53
55
  }
File without changes
File without changes