@jsenv/core 39.9.2 → 39.9.3

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.
@@ -17690,10 +17690,12 @@ const jsenvPluginInlineContentFetcher = () => {
17690
17690
  const fsRootRelativeUrl = requestResource.slice("/@fs/".length);
17691
17691
  requestedUrl = `file:///${fsRootRelativeUrl}`;
17692
17692
  } else {
17693
- requestedUrl = new URL(
17693
+ const requestedUrlObject = new URL(
17694
17694
  requestResource.slice(1),
17695
17695
  urlInfo.context.rootDirectoryUrl,
17696
- ).href;
17696
+ );
17697
+ requestedUrlObject.searchParams.delete("hot");
17698
+ requestedUrl = requestedUrlObject.href;
17697
17699
  }
17698
17700
  isDirectRequestToFile = requestedUrl === urlInfo.url;
17699
17701
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jsenv/core",
3
- "version": "39.9.2",
3
+ "version": "39.9.3",
4
4
  "description": "Tool to develop, test and build js projects",
5
5
  "license": "MIT",
6
6
  "author": {
@@ -49,10 +49,12 @@ const jsenvPluginInlineContentFetcher = () => {
49
49
  const fsRootRelativeUrl = requestResource.slice("/@fs/".length);
50
50
  requestedUrl = `file:///${fsRootRelativeUrl}`;
51
51
  } else {
52
- requestedUrl = new URL(
52
+ const requestedUrlObject = new URL(
53
53
  requestResource.slice(1),
54
54
  urlInfo.context.rootDirectoryUrl,
55
- ).href;
55
+ );
56
+ requestedUrlObject.searchParams.delete("hot");
57
+ requestedUrl = requestedUrlObject.href;
56
58
  }
57
59
  isDirectRequestToFile = requestedUrl === urlInfo.url;
58
60
  }