@jsenv/plugin-supervisor 1.6.3 → 1.6.5

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.
@@ -1101,8 +1101,8 @@ const injectSupervisorIntoHTML = async ({
1101
1101
  preferOriginal: true
1102
1102
  });
1103
1103
  const inlineScriptUrl = getUrlForContentInsideHtml(scriptNode, {
1104
- htmlUrl: url
1105
- });
1104
+ url
1105
+ }, null);
1106
1106
  const inlineScriptSrc = generateInlineScriptSrc({
1107
1107
  type,
1108
1108
  textContent,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jsenv/plugin-supervisor",
3
- "version": "1.6.3",
3
+ "version": "1.6.5",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",
@@ -26,7 +26,7 @@
26
26
  "/dist/"
27
27
  ],
28
28
  "dependencies": {
29
- "@jsenv/ast": "6.4.4",
29
+ "@jsenv/ast": "6.5.1",
30
30
  "@jsenv/urls": "2.6.0",
31
31
  "@jsenv/sourcemap": "1.2.30",
32
32
  "launch-editor": "2.9.1"
@@ -91,9 +91,11 @@ export const injectSupervisorIntoHTML = async (
91
91
  const { line, column, isOriginal } = getHtmlNodePosition(scriptNode, {
92
92
  preferOriginal: true,
93
93
  });
94
- const inlineScriptUrl = getUrlForContentInsideHtml(scriptNode, {
95
- htmlUrl: url,
96
- });
94
+ const inlineScriptUrl = getUrlForContentInsideHtml(
95
+ scriptNode,
96
+ { url },
97
+ null,
98
+ );
97
99
  const inlineScriptSrc = generateInlineScriptSrc({
98
100
  type,
99
101
  textContent,