frameboard 0.44.0 → 0.45.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/dist/cli.js +2014 -431
- package/dist/client/assets/index-CoWunAt4.js +165 -0
- package/dist/client/assets/index-Dy9ZssFI.css +2 -0
- package/dist/client/index.html +2 -2
- package/dist/frame-bridge.js +91 -69
- package/dist/hook.js +2 -2
- package/package.json +1 -1
- package/dist/client/assets/index-Bh7QIOuP.js +0 -181
- package/dist/client/assets/index-vZBQT6hk.css +0 -2
package/dist/hook.js
CHANGED
|
@@ -16769,7 +16769,7 @@ const finding$7 = findingFor([{
|
|
|
16769
16769
|
id: "board-route",
|
|
16770
16770
|
tier: "exact",
|
|
16771
16771
|
severity: "error",
|
|
16772
|
-
description: "A frame's scripts and event handlers name no path under /api/, which on
|
|
16772
|
+
description: "A frame's scripts and event handlers name no path under /api/, which fails from a frame on its own port, apart from the board's server"
|
|
16773
16773
|
}]);
|
|
16774
16774
|
/**
|
|
16775
16775
|
* A quoted `/api/` path, so prose in a comment does not match, while a path
|
|
@@ -16786,7 +16786,7 @@ function checkBoardRoutes(source) {
|
|
|
16786
16786
|
return finding$7("board-route", {
|
|
16787
16787
|
frame: source.ref,
|
|
16788
16788
|
path: boardPath(source.root, code.path),
|
|
16789
|
-
message: `${code.via} names ${match[2]}, a route of the board's own server, which a frame on
|
|
16789
|
+
message: `${code.via} names ${match[2]}, a route of the board's own server, which fails from a frame on its own port. Mock an app's calls with data kept in the script, or list board-route in the project's checks.off if its frames mean to call /api/.`,
|
|
16790
16790
|
location: start === null ? code.at : locate(code.file, start, start + match[0].length)
|
|
16791
16791
|
});
|
|
16792
16792
|
}));
|