@jsenv/core 28.3.6 → 28.4.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/main.js CHANGED
@@ -4452,6 +4452,7 @@ const parseAndTransformJsUrls = async (urlInfo, context) => {
4452
4452
  data: jsMention.data,
4453
4453
  baseUrl: {
4454
4454
  "StringLiteral": jsMention.baseUrl,
4455
+ "window.location": urlInfo.url,
4455
4456
  "window.origin": context.rootDirectoryUrl,
4456
4457
  "import.meta.url": urlInfo.url,
4457
4458
  "context.meta.url": urlInfo.url,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jsenv/core",
3
- "version": "28.3.6",
3
+ "version": "28.4.0",
4
4
  "description": "Tool to develop, test and build js projects",
5
5
  "license": "MIT",
6
6
  "author": {
@@ -32,6 +32,7 @@ export const parseAndTransformJsUrls = async (urlInfo, context) => {
32
32
  data: jsMention.data,
33
33
  baseUrl: {
34
34
  "StringLiteral": jsMention.baseUrl,
35
+ "window.location": urlInfo.url,
35
36
  "window.origin": context.rootDirectoryUrl,
36
37
  "import.meta.url": urlInfo.url,
37
38
  "context.meta.url": urlInfo.url,