@plurid/plurid-react-server 0.0.0-13 → 0.0.0-14
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/distribution/index.es.js +1 -1
- package/distribution/index.js +1 -1
- package/package.json +18 -18
package/distribution/index.es.js
CHANGED
|
@@ -717,7 +717,7 @@ class PluridServer {
|
|
|
717
717
|
return __awaiter(this, void 0, void 0, (function*() {
|
|
718
718
|
const globals = preserveResult === null || preserveResult === void 0 ? void 0 : preserveResult.globals;
|
|
719
719
|
const mergedHtmlLanguage = ((_a = preserveResult === null || preserveResult === void 0 ? void 0 : preserveResult.template) === null || _a === void 0 ? void 0 : _a.htmlLanguage) || ((_b = this.template) === null || _b === void 0 ? void 0 : _b.htmlLanguage);
|
|
720
|
-
const pluridMetastate = yield serverComputeMetastate(isoMatch, this.routes, globals);
|
|
720
|
+
const pluridMetastate = yield serverComputeMetastate(isoMatch, this.routes, globals, this.options.hostname);
|
|
721
721
|
const {content: content, styles: styles} = yield this.getContentAndStyles(isoMatch, pluridMetastate, preserveResult, matchedPlane);
|
|
722
722
|
const stringedStyles = this.styles.reduce(((accumulator, style) => accumulator + style), "");
|
|
723
723
|
const preserveStyles = ((_d = (_c = preserveResult === null || preserveResult === void 0 ? void 0 : preserveResult.template) === null || _c === void 0 ? void 0 : _c.styles) === null || _d === void 0 ? void 0 : _d.join(" ")) || "";
|
package/distribution/index.js
CHANGED
|
@@ -745,7 +745,7 @@ class PluridServer {
|
|
|
745
745
|
return __awaiter(this, void 0, void 0, (function*() {
|
|
746
746
|
const globals = preserveResult === null || preserveResult === void 0 ? void 0 : preserveResult.globals;
|
|
747
747
|
const mergedHtmlLanguage = ((_a = preserveResult === null || preserveResult === void 0 ? void 0 : preserveResult.template) === null || _a === void 0 ? void 0 : _a.htmlLanguage) || ((_b = this.template) === null || _b === void 0 ? void 0 : _b.htmlLanguage);
|
|
748
|
-
const pluridMetastate = yield pluridReact.serverComputeMetastate(isoMatch, this.routes, globals);
|
|
748
|
+
const pluridMetastate = yield pluridReact.serverComputeMetastate(isoMatch, this.routes, globals, this.options.hostname);
|
|
749
749
|
const {content: content, styles: styles} = yield this.getContentAndStyles(isoMatch, pluridMetastate, preserveResult, matchedPlane);
|
|
750
750
|
const stringedStyles = this.styles.reduce(((accumulator, style) => accumulator + style), "");
|
|
751
751
|
const preserveStyles = ((_d = (_c = preserveResult === null || preserveResult === void 0 ? void 0 : preserveResult.template) === null || _c === void 0 ? void 0 : _c.styles) === null || _d === void 0 ? void 0 : _d.join(" ")) || "";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@plurid/plurid-react-server",
|
|
3
|
-
"version": "0.0.0-
|
|
3
|
+
"version": "0.0.0-14",
|
|
4
4
|
"description": "React implementation of Plurid to view and explore the web in three dimensions with server-side rendering",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"plurid",
|
|
@@ -77,50 +77,50 @@
|
|
|
77
77
|
},
|
|
78
78
|
"devDependencies": {
|
|
79
79
|
"@apollo/client": "^3.6.9",
|
|
80
|
-
"@babel/core": "^7.
|
|
80
|
+
"@babel/core": "^7.19.0",
|
|
81
81
|
"@plurid/elementql": "^0.0.0-1",
|
|
82
82
|
"@plurid/elementql-client-react": "^0.0.0-1",
|
|
83
|
-
"@plurid/plurid-data": "0.0.0-
|
|
84
|
-
"@plurid/plurid-engine": "0.0.0-
|
|
83
|
+
"@plurid/plurid-data": "0.0.0-19",
|
|
84
|
+
"@plurid/plurid-engine": "0.0.0-18",
|
|
85
85
|
"@plurid/plurid-functions": "0.0.0-30",
|
|
86
86
|
"@plurid/plurid-functions-react": "0.0.0-5",
|
|
87
87
|
"@plurid/plurid-icons-react": "0.0.0-5",
|
|
88
|
-
"@plurid/plurid-pubsub": "0.0.0-
|
|
89
|
-
"@plurid/plurid-react": "0.0.0-
|
|
88
|
+
"@plurid/plurid-pubsub": "0.0.0-9",
|
|
89
|
+
"@plurid/plurid-react": "0.0.0-28",
|
|
90
90
|
"@plurid/plurid-themes": "0.0.0-2",
|
|
91
|
-
"@plurid/plurid-ui-components-react": "0.0.0-
|
|
91
|
+
"@plurid/plurid-ui-components-react": "0.0.0-18",
|
|
92
92
|
"@plurid/plurid-ui-state-react": "0.0.0-7",
|
|
93
93
|
"@redux-devtools/extension": "^3.2.3",
|
|
94
|
-
"@rollup/plugin-node-resolve": "^
|
|
94
|
+
"@rollup/plugin-node-resolve": "^14.0.0",
|
|
95
95
|
"@types/body-parser": "^1.19.2",
|
|
96
96
|
"@types/compression": "^1.7.2",
|
|
97
97
|
"@types/detect-port": "^1.3.2",
|
|
98
98
|
"@types/express": "^4.17.13",
|
|
99
99
|
"@types/hammerjs": "^2.0.41",
|
|
100
100
|
"@types/html-minifier": "^4.0.2",
|
|
101
|
-
"@types/jest": "^
|
|
102
|
-
"@types/node": "^18.7.
|
|
103
|
-
"@types/react": "^18.0.
|
|
101
|
+
"@types/jest": "^29.0.0",
|
|
102
|
+
"@types/node": "^18.7.15",
|
|
103
|
+
"@types/react": "^18.0.18",
|
|
104
104
|
"@types/react-dom": "^18.0.6",
|
|
105
105
|
"@types/react-redux": "^7.1.24",
|
|
106
106
|
"@types/react-stripe-elements": "^6.0.6",
|
|
107
107
|
"@types/styled-components": "^5.1.26",
|
|
108
|
-
"@typescript-eslint/eslint-plugin": "^5.
|
|
109
|
-
"@typescript-eslint/parser": "^5.
|
|
108
|
+
"@typescript-eslint/eslint-plugin": "^5.36.2",
|
|
109
|
+
"@typescript-eslint/parser": "^5.36.2",
|
|
110
110
|
"@zerollup/ts-transform-paths": "^1.7.18",
|
|
111
111
|
"cross-fetch": "^3.1.5",
|
|
112
|
-
"eslint": "^8.
|
|
112
|
+
"eslint": "^8.23.0",
|
|
113
113
|
"graphql": "^16.6.0",
|
|
114
114
|
"hammerjs": "^2.0.8",
|
|
115
|
-
"jest": "^
|
|
116
|
-
"jest-config": "^
|
|
115
|
+
"jest": "^29.0.2",
|
|
116
|
+
"jest-config": "^29.0.2",
|
|
117
117
|
"react": "^18.2.0",
|
|
118
118
|
"react-dom": "^18.2.0",
|
|
119
119
|
"react-helmet-async": "^1.3.0",
|
|
120
120
|
"react-redux": "^8.0.2",
|
|
121
121
|
"redux": "^4.2.0",
|
|
122
122
|
"redux-thunk": "^2.4.1",
|
|
123
|
-
"rollup": "^2.
|
|
123
|
+
"rollup": "^2.79.0",
|
|
124
124
|
"rollup-plugin-peer-deps-external": "^2.2.4",
|
|
125
125
|
"rollup-plugin-terser": "^7.0.2",
|
|
126
126
|
"rollup-plugin-typescript2": "^0.33.0",
|
|
@@ -129,7 +129,7 @@
|
|
|
129
129
|
"ts-node": "^10.9.1",
|
|
130
130
|
"tslib": "^2.4.0",
|
|
131
131
|
"ttypescript": "^1.5.13",
|
|
132
|
-
"typescript": "^4.
|
|
132
|
+
"typescript": "^4.8.2",
|
|
133
133
|
"typescript-transform-paths": "^3.3.1"
|
|
134
134
|
}
|
|
135
135
|
}
|