@modern-js/plugin-data-loader 3.1.1 → 3.1.2
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.
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "node:module";
|
|
2
|
+
import path from "path";
|
|
2
3
|
import { fileURLToPath as __rspack_fileURLToPath } from "node:url";
|
|
3
4
|
import { dirname as __rspack_dirname } from "node:path";
|
|
4
|
-
import path from "path";
|
|
5
5
|
var generateClient_dirname = __rspack_dirname(__rspack_fileURLToPath(import.meta.url));
|
|
6
6
|
const generateClient = ({ inline, action, routeId })=>{
|
|
7
7
|
let requestCode = "";
|
package/package.json
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"modern",
|
|
16
16
|
"modern.js"
|
|
17
17
|
],
|
|
18
|
-
"version": "3.1.
|
|
18
|
+
"version": "3.1.2",
|
|
19
19
|
"engines": {
|
|
20
20
|
"node": ">=20"
|
|
21
21
|
},
|
|
@@ -44,12 +44,12 @@
|
|
|
44
44
|
"dependencies": {
|
|
45
45
|
"@swc/helpers": "^0.5.17",
|
|
46
46
|
"path-to-regexp": "^6.3.0",
|
|
47
|
-
"@modern-js/runtime-utils": "3.1.
|
|
48
|
-
"@modern-js/utils": "3.1.
|
|
47
|
+
"@modern-js/runtime-utils": "3.1.2",
|
|
48
|
+
"@modern-js/utils": "3.1.2"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
|
-
"@rsbuild/core": "2.0.0-
|
|
52
|
-
"@rslib/core": "0.20.
|
|
51
|
+
"@rsbuild/core": "2.0.0-rc.0",
|
|
52
|
+
"@rslib/core": "0.20.3",
|
|
53
53
|
"@types/node": "^20",
|
|
54
54
|
"@types/supertest": "^2.0.16",
|
|
55
55
|
"memfs": "^3.5.3",
|
|
@@ -58,9 +58,9 @@
|
|
|
58
58
|
"supertest": "^6.3.4",
|
|
59
59
|
"typescript": "^5",
|
|
60
60
|
"@modern-js/rslib": "2.68.10",
|
|
61
|
-
"@
|
|
62
|
-
"@modern-js/types": "3.1.
|
|
63
|
-
"@
|
|
61
|
+
"@modern-js/server-core": "3.1.2",
|
|
62
|
+
"@modern-js/types": "3.1.2",
|
|
63
|
+
"@scripts/rstest-config": "2.66.0"
|
|
64
64
|
},
|
|
65
65
|
"peerDependencies": {
|
|
66
66
|
"react": ">=17.0.2"
|