@modern-js/plugin-data-loader 0.0.0-next-20221230113150 → 0.0.0-next-20221230142437
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/CHANGELOG.md +7 -7
- package/dist/types/server/index.d.ts +1 -1
- package/package.json +8 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
# @modern-js/plugin-data-loader
|
|
2
2
|
|
|
3
|
-
## 0.0.0-next-
|
|
3
|
+
## 0.0.0-next-20221230142437
|
|
4
4
|
|
|
5
5
|
### Major Changes
|
|
6
6
|
|
|
7
|
-
-
|
|
7
|
+
- dda38c9c3: chore: v2
|
|
8
8
|
|
|
9
9
|
### Patch Changes
|
|
10
10
|
|
|
11
|
-
- Updated dependencies [
|
|
12
|
-
- Updated dependencies [
|
|
13
|
-
- Updated dependencies [
|
|
14
|
-
- @modern-js/utils@0.0.0-next-
|
|
15
|
-
- @modern-js/babel-compiler@0.0.0-next-
|
|
11
|
+
- Updated dependencies [edd1cfb1a]
|
|
12
|
+
- Updated dependencies [dda38c9c3]
|
|
13
|
+
- Updated dependencies [bbe4c4ab6]
|
|
14
|
+
- @modern-js/utils@0.0.0-next-20221230142437
|
|
15
|
+
- @modern-js/babel-compiler@0.0.0-next-20221230142437
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { ServerPlugin } from '@modern-js/server-core';
|
|
2
2
|
import type { ModernServerContext, ServerRoute } from '@modern-js/types';
|
|
3
3
|
import { Response as NodeResponse } from '@remix-run/node';
|
|
4
|
-
export
|
|
4
|
+
export type ServerContext = Pick<ModernServerContext, 'req' | 'res' | 'params' | 'headers' | 'method' | 'url' | 'host' | 'protocol' | 'origin' | 'href' | 'path' | 'query'>;
|
|
5
5
|
export declare function isRedirectResponse(response: NodeResponse): boolean;
|
|
6
6
|
export declare function isResponse(value: any): value is NodeResponse;
|
|
7
7
|
export declare const getPathWithoutEntry: (pathname: string, entryPath: string) => string;
|
package/package.json
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"modern",
|
|
12
12
|
"modern.js"
|
|
13
13
|
],
|
|
14
|
-
"version": "0.0.0-next-
|
|
14
|
+
"version": "0.0.0-next-20221230142437",
|
|
15
15
|
"jsnext:source": "./src/index.ts",
|
|
16
16
|
"types": "./dist/types/index.d.ts",
|
|
17
17
|
"main": "./dist/js/node/index.js",
|
|
@@ -43,8 +43,8 @@
|
|
|
43
43
|
"@remix-run/node": "^1.9.0",
|
|
44
44
|
"path-to-regexp": "^6.2.0",
|
|
45
45
|
"react-router-dom": "^6.6.0",
|
|
46
|
-
"@modern-js/
|
|
47
|
-
"@modern-js/
|
|
46
|
+
"@modern-js/babel-compiler": "0.0.0-next-20221230142437",
|
|
47
|
+
"@modern-js/utils": "0.0.0-next-20221230142437"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
50
|
"@types/babel__core": "^7.1.15",
|
|
@@ -59,11 +59,11 @@
|
|
|
59
59
|
"typescript": "^4",
|
|
60
60
|
"webpack": "^5.75.0",
|
|
61
61
|
"webpack-chain": "^6.5.1",
|
|
62
|
-
"@modern-js/core": "0.0.0-next-
|
|
63
|
-
"@modern-js/server-core": "0.0.0-next-
|
|
64
|
-
"@
|
|
65
|
-
"@
|
|
66
|
-
"@scripts/
|
|
62
|
+
"@modern-js/core": "0.0.0-next-20221230142437",
|
|
63
|
+
"@modern-js/server-core": "0.0.0-next-20221230142437",
|
|
64
|
+
"@scripts/build": "0.0.0-next-20221230142437",
|
|
65
|
+
"@modern-js/types": "0.0.0-next-20221230142437",
|
|
66
|
+
"@scripts/jest-config": "0.0.0-next-20221230142437"
|
|
67
67
|
},
|
|
68
68
|
"sideEffects": false,
|
|
69
69
|
"publishConfig": {
|