@skuba-lib/detect-invalid-spies 1.0.1 → 1.0.2-main-20260609014203
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/README.md +1 -1
- package/lib/bin.mjs +1 -1
- package/lib/index.mjs +1 -1
- package/package.json +2 -2
- /package/lib/{src-BfO0USJb.mjs → src-C1vrUCkn.mjs} +0 -0
package/README.md
CHANGED
|
@@ -34,7 +34,7 @@ The test silently passes in Jest (which rewrites module bindings) but fails in V
|
|
|
34
34
|
Run it against a directory of source files:
|
|
35
35
|
|
|
36
36
|
```sh
|
|
37
|
-
pnpm dlx @skuba-lib/detect-invalid-spies .
|
|
37
|
+
pnpm --config.minimumReleaseAge=4320 dlx @skuba-lib/detect-invalid-spies .
|
|
38
38
|
```
|
|
39
39
|
|
|
40
40
|
It prints each invalid spy to stderr and exits with code `1` if any are found:
|
package/lib/bin.mjs
CHANGED
package/lib/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as detectSameFileSpyUsage } from "./src-
|
|
1
|
+
import { t as detectSameFileSpyUsage } from "./src-C1vrUCkn.mjs";
|
|
2
2
|
export { detectSameFileSpyUsage };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@skuba-lib/detect-invalid-spies",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2-main-20260609014203",
|
|
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": "
|
|
30
|
+
"@ast-grep/napi": "~0.43.0",
|
|
31
31
|
"fast-glob": "^3.3.2",
|
|
32
32
|
"fs-extra": "^11.0.0",
|
|
33
33
|
"typescript": "~5.9.0"
|
|
File without changes
|