@wordpress/jest-console 8.36.1-next.8fd3f8831.0 → 8.37.1-next.79a2f3cdd.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
@@ -24,7 +24,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
24
24
 
25
25
  // packages/jest-console/src/index.ts
26
26
  var import_matchers = require("./matchers.cjs");
27
- var import_supported_matchers = __toESM(require("./supported-matchers.cjs"), 1);
27
+ var import_supported_matchers = __toESM(require("./supported-matchers.cjs"));
28
28
  var setConsoleMethodSpy = (args) => {
29
29
  const [methodName, matcherName] = args;
30
30
  const spy = jest.spyOn(console, methodName).mockName(`console.${methodName}`);
@@ -24,7 +24,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
24
24
 
25
25
  // packages/jest-console/src/matchers.ts
26
26
  var import_jest_matcher_utils = require("jest-matcher-utils");
27
- var import_supported_matchers = __toESM(require("./supported-matchers.cjs"), 1);
27
+ var import_supported_matchers = __toESM(require("./supported-matchers.cjs"));
28
28
  var createErrorMessage = (spyInfo) => {
29
29
  const { spy, pass, calls, matcherName, methodName, expected } = spyInfo;
30
30
  const hint = pass ? `.not${matcherName}` : matcherName;
@@ -0,0 +1 @@
1
+ //# sourceMappingURL=declarations.d.mjs.map
@@ -1,6 +1,6 @@
1
1
  // packages/jest-console/src/index.ts
2
- import "./matchers.js";
3
- import supportedMatchers from "./supported-matchers.js";
2
+ import "./matchers.mjs";
3
+ import supportedMatchers from "./supported-matchers.mjs";
4
4
  var setConsoleMethodSpy = (args) => {
5
5
  const [methodName, matcherName] = args;
6
6
  const spy = jest.spyOn(console, methodName).mockName(`console.${methodName}`);
@@ -21,4 +21,4 @@ var setConsoleMethodSpy = (args) => {
21
21
  afterEach(assertExpectedCalls);
22
22
  };
23
23
  Object.entries(supportedMatchers).forEach(setConsoleMethodSpy);
24
- //# sourceMappingURL=index.js.map
24
+ //# sourceMappingURL=index.mjs.map
@@ -1,6 +1,6 @@
1
1
  // packages/jest-console/src/matchers.ts
2
2
  import { matcherHint, printExpected, printReceived } from "jest-matcher-utils";
3
- import supportedMatchers from "./supported-matchers.js";
3
+ import supportedMatchers from "./supported-matchers.mjs";
4
4
  var createErrorMessage = (spyInfo) => {
5
5
  const { spy, pass, calls, matcherName, methodName, expected } = spyInfo;
6
6
  const hint = pass ? `.not${matcherName}` : matcherName;
@@ -66,4 +66,4 @@ expect.extend(
66
66
  {}
67
67
  )
68
68
  );
69
- //# sourceMappingURL=matchers.js.map
69
+ //# sourceMappingURL=matchers.mjs.map
@@ -9,4 +9,4 @@ var supported_matchers_default = supportedMatchers;
9
9
  export {
10
10
  supported_matchers_default as default
11
11
  };
12
- //# sourceMappingURL=supported-matchers.js.map
12
+ //# sourceMappingURL=supported-matchers.mjs.map
@@ -0,0 +1 @@
1
+ //# sourceMappingURL=types.mjs.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wordpress/jest-console",
3
- "version": "8.36.1-next.8fd3f8831.0",
3
+ "version": "8.37.1-next.79a2f3cdd.0",
4
4
  "description": "Custom Jest matchers for the Console object.",
5
5
  "author": "The WordPress Contributors",
6
6
  "license": "GPL-2.0-or-later",
@@ -30,13 +30,12 @@
30
30
  "build-module",
31
31
  "build-types"
32
32
  ],
33
- "type": "module",
34
33
  "main": "build/index.cjs",
35
- "module": "build-module/index.js",
34
+ "module": "build-module/index.mjs",
36
35
  "exports": {
37
36
  ".": {
38
37
  "types": "./build-types/index.d.ts",
39
- "import": "./build-module/index.js",
38
+ "import": "./build-module/index.mjs",
40
39
  "require": "./build/index.cjs"
41
40
  },
42
41
  "./package.json": "./package.json"
@@ -51,5 +50,5 @@
51
50
  "publishConfig": {
52
51
  "access": "public"
53
52
  },
54
- "gitHead": "e582b351bc4c4b8734bb087f63a3beec9875c3c7"
53
+ "gitHead": "6a324496a37d9a333a11d4d7fe5fb93b8152a5ba"
55
54
  }
@@ -1 +0,0 @@
1
- //# sourceMappingURL=declarations.d.js.map
@@ -1 +0,0 @@
1
- //# sourceMappingURL=types.js.map
File without changes
File without changes