@hyperframes/inspector 0.9.88 → 0.9.90
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/server.js +5 -0
- package/dist/service.js +106 -67
- package/dist/types/core/src/compiler/htmlDocument.d.ts +2 -2
- package/dist/types/core/src/compiler/htmlTokens.d.ts +7 -0
- package/dist/types/core/src/safePath.d.ts +7 -0
- package/dist/types/core/src/studioPreviewMark.d.ts +3 -0
- package/dist/types/inspector/src/pageServer.d.ts +7 -0
- package/package.json +3 -3
package/dist/server.js
CHANGED
|
@@ -16,6 +16,11 @@ var TRUSTED_EXTENSIONS = [
|
|
|
16
16
|
...["json", "jsonc", "json5", "yaml", "yml", "toml", "lock", "lockb", "md"],
|
|
17
17
|
...["js", "mjs", "cjs", "jsx", "ts", "mts", "cts", "tsx"]
|
|
18
18
|
];
|
|
19
|
+
var INERT_FIELDS = new Set(
|
|
20
|
+
"name version private type description license author contributors keywords homepage repository bugs engines".split(
|
|
21
|
+
" "
|
|
22
|
+
)
|
|
23
|
+
);
|
|
19
24
|
|
|
20
25
|
// src/pageServer.ts
|
|
21
26
|
function isLoopbackHost(host) {
|