@hublo/sentinel 1.4.0-alpha.51 → 1.4.0-alpha.52

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.
@@ -15,10 +15,10 @@ import {
15
15
  palette,
16
16
  registerAdapters,
17
17
  resolve
18
- } from "../chunk-YDO3N3LT.js";
18
+ } from "../chunk-XIHARZ3B.js";
19
19
  import {
20
20
  resolveContext
21
- } from "../chunk-MPVS4ZHK.js";
21
+ } from "../chunk-F762LVCS.js";
22
22
  import "../chunk-O7REVMOC.js";
23
23
  import "../chunk-QXFCZON7.js";
24
24
  import {
@@ -145,7 +145,7 @@ async function runValidate(ctx) {
145
145
  );
146
146
  }
147
147
  if (!ctx.targets.includes("test")) return 1;
148
- const { validateModuleTests } = await import("../validate-NCOSA4CW.js");
148
+ const { validateModuleTests } = await import("../validate-UCPRX3CN.js");
149
149
  const outcomes = modules.flatMap(
150
150
  (module) => validateModuleTests(module.name, module.root)
151
151
  );
@@ -1609,7 +1609,7 @@ function rewriteEmptyMockImplementation(source, program) {
1609
1609
  });
1610
1610
  let result = source;
1611
1611
  for (const position of [...insertAt].sort((left, right) => right - left)) {
1612
- result = `${result.slice(0, position)}() => undefined${result.slice(position)}`;
1612
+ result = `${result.slice(0, position)}() => undefined as never${result.slice(position)}`;
1613
1613
  }
1614
1614
  return { source: result, rewritten: insertAt.length };
1615
1615
  }
@@ -53,7 +53,7 @@ import {
53
53
  selfCommand,
54
54
  splitToolArgs,
55
55
  walk
56
- } from "./chunk-MPVS4ZHK.js";
56
+ } from "./chunk-F762LVCS.js";
57
57
  import {
58
58
  parseJsonc
59
59
  } from "./chunk-QXFCZON7.js";
package/dist/index.js CHANGED
@@ -6,10 +6,10 @@ import {
6
6
  registerAdapters,
7
7
  resolve,
8
8
  setDefaultRunner
9
- } from "./chunk-YDO3N3LT.js";
9
+ } from "./chunk-XIHARZ3B.js";
10
10
  import {
11
11
  BaseAdapter
12
- } from "./chunk-MPVS4ZHK.js";
12
+ } from "./chunk-F762LVCS.js";
13
13
  import "./chunk-O7REVMOC.js";
14
14
  import "./chunk-QXFCZON7.js";
15
15
  import "./chunk-KMKQDGI6.js";
@@ -7,7 +7,7 @@ import {
7
7
  readTestAdoption,
8
8
  resolveVitest,
9
9
  suiteOf
10
- } from "./chunk-MPVS4ZHK.js";
10
+ } from "./chunk-F762LVCS.js";
11
11
  import "./chunk-O7REVMOC.js";
12
12
  import "./chunk-QXFCZON7.js";
13
13
  import "./chunk-KMKQDGI6.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hublo/sentinel",
3
- "version": "1.4.0-alpha.51",
3
+ "version": "1.4.0-alpha.52",
4
4
  "description": "One CLI that guards code health across Hublo repos: shared lint/typescript/build/test presets, static & dynamic analysis, and architecture checks.",
5
5
  "type": "module",
6
6
  "license": "MIT",