@mantaq/inspect 0.5.0 → 0.5.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.
Files changed (2) hide show
  1. package/dist/vite.mjs +1 -1
  2. package/package.json +2 -2
package/dist/vite.mjs CHANGED
@@ -171,7 +171,7 @@ function mantaqViz(options) {
171
171
  return text;
172
172
  };
173
173
  server.watcher.on("all", (_event, path) => {
174
- if (!/\.[cm]?[jt]sx?$/.test(path)) return;
174
+ if (!/\.[cm]?[jt]sx?$/.test(path) && !/[\\/]__runs__[\\/][^\\/]+\.json$/.test(path)) return;
175
175
  cached = null;
176
176
  const generated = server.moduleGraph.getModuleById(TARGETS_RESOLVED);
177
177
  if (generated !== void 0) server.moduleGraph.invalidateModule(generated);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mantaq/inspect",
3
- "version": "0.5.0",
3
+ "version": "0.5.1",
4
4
  "description": "Turn a Mantaq machine into a viz document: structure, handler explanations (AST), fuzz and test coverage. Vite plugin included.",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -26,9 +26,9 @@
26
26
  "dependencies": {
27
27
  "typescript": "6.0.3",
28
28
  "@mantaq/core": "0.5.4",
29
- "@mantaq/pbt": "0.0.4",
30
29
  "@mantaq/traversal": "0.3.4",
31
30
  "@mantaq/utils": "0.0.5",
31
+ "@mantaq/pbt": "0.0.4",
32
32
  "@mantaq/viz": "0.4.0"
33
33
  },
34
34
  "devDependencies": {