@jsenv/core 23.8.12 → 23.8.13

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.
File without changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jsenv/core",
3
- "version": "23.8.12",
3
+ "version": "23.8.13",
4
4
  "description": "Tool to develop, test and build js projects",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -11,7 +11,8 @@
11
11
  "node": ">=14.9.0"
12
12
  },
13
13
  "publishConfig": {
14
- "access": "public"
14
+ "access": "public",
15
+ "registry": "https://registry.npmjs.org"
15
16
  },
16
17
  "type": "module",
17
18
  "exports": {
@@ -70,7 +71,7 @@
70
71
  "@jsenv/importmap": "1.2.0",
71
72
  "@jsenv/log": "1.4.0",
72
73
  "@jsenv/logger": "4.0.1",
73
- "@jsenv/server": "10.0.11",
74
+ "@jsenv/server": "10.1.1",
74
75
  "@jsenv/uneval": "1.6.0",
75
76
  "@rollup/plugin-commonjs": "21.0.0",
76
77
  "@rollup/plugin-json": "4.1.0",
@@ -93,7 +94,6 @@
93
94
  "istanbul-lib-report": "3.0.0",
94
95
  "istanbul-reports": "3.0.5",
95
96
  "magic-string": "0.25.7",
96
- "node-fetch": "3.0.0",
97
97
  "parse5": "6.0.1",
98
98
  "pidtree": "0.5.0",
99
99
  "postcss": "8.3.9",
@@ -124,7 +124,7 @@
124
124
  "@jsenv/github-release-package": "1.2.3",
125
125
  "@jsenv/https-local": "1.0.3",
126
126
  "@jsenv/importmap-eslint-resolver": "5.1.2",
127
- "@jsenv/importmap-node-module": "2.7.0",
127
+ "@jsenv/importmap-node-module": "2.7.1",
128
128
  "@jsenv/package-publish": "1.6.2",
129
129
  "@jsenv/performance-impact": "2.2.1",
130
130
  "@jsenv/prettier-check-project": "5.6.1",
@@ -1,4 +1,4 @@
1
- import { nextService, fetchFileSystem } from "@jsenv/server"
1
+ import { redirectRequest, fetchFileSystem } from "@jsenv/server"
2
2
  import {
3
3
  resolveUrl,
4
4
  resolveDirectoryUrl,
@@ -149,9 +149,8 @@ export const createCompiledFileService = ({
149
149
  // we don't redirect otherwise it complexify ressource tracking
150
150
  // and url resolution
151
151
  if (!compiler) {
152
- return nextService({
153
- ...request,
154
- ressource: `/${originalFileRelativeUrl}`,
152
+ return redirectRequest({
153
+ pathname: `/${originalFileRelativeUrl}`,
155
154
  })
156
155
  }
157
156