@skuba-lib/detect-invalid-spies 1.1.1-unwind-datadog-lambda-hacks-20260716065331 → 1.1.1

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/lib/bin.d.mts CHANGED
@@ -1 +1 @@
1
- export { };
1
+ export {}
package/lib/index.d.mts CHANGED
@@ -33,11 +33,17 @@
33
33
  * ```
34
34
  */
35
35
  type SameFileSpyWarning = {
36
- /** The file that contains the `jest.spyOn` call. */testFile: string; /** The raw import specifier used in the namespace import, e.g. `#src/framework/http.js`. */
37
- importSpecifier: string; /** The absolute path of the module being spied on, after TypeScript resolution. */
38
- resolvedFile: string; /** The name of the function being spied on. */
39
- spiedFunction: string; /** The line number (1-indexed) where the spy call starts. */
40
- line: number; /** The column number (0-indexed) where the spy call starts. */
36
+ /** The file that contains the `jest.spyOn` call. */
37
+ testFile: string;
38
+ /** The raw import specifier used in the namespace import, e.g. `#src/framework/http.js`. */
39
+ importSpecifier: string;
40
+ /** The absolute path of the module being spied on, after TypeScript resolution. */
41
+ resolvedFile: string;
42
+ /** The name of the function being spied on. */
43
+ spiedFunction: string;
44
+ /** The line number (1-indexed) where the spy call starts. */
45
+ line: number;
46
+ /** The column number (0-indexed) where the spy call starts. */
41
47
  column: number;
42
48
  };
43
49
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skuba-lib/detect-invalid-spies",
3
- "version": "1.1.1-unwind-datadog-lambda-hacks-20260716065331",
3
+ "version": "1.1.1",
4
4
  "private": false,
5
5
  "description": "Detect invalid spies in Jest and Vitest tests",
6
6
  "homepage": "https://github.com/seek-oss/skuba/tree/main/packages/detect-invalid-spies#readme",
@@ -27,7 +27,7 @@
27
27
  "lib"
28
28
  ],
29
29
  "dependencies": {
30
- "@ast-grep/napi": "~0.44.0",
30
+ "@ast-grep/napi": "~0.45.0",
31
31
  "fast-glob": "^3.3.2",
32
32
  "fs-extra": "^11.0.0",
33
33
  "typescript": "~6.0.0"