@quintype/framework 7.34.5-react-upgrade-v19.4 → 7.34.5-react-upgrade-v19.11

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 CHANGED
@@ -2,6 +2,16 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ### [7.34.11](https://github.com/quintype/quintype-node-framework/compare/v7.34.10...v7.34.11) (2026-01-08)
6
+
7
+ ### [7.34.10](https://github.com/quintype/quintype-node-framework/compare/v7.34.9...v7.34.10) (2026-01-08)
8
+
9
+ ### [7.34.9](https://github.com/quintype/quintype-node-framework/compare/v7.34.7...v7.34.9) (2026-01-05)
10
+
11
+ ### [7.34.8](https://github.com/quintype/quintype-node-framework/compare/v7.34.7...v7.34.8) (2025-11-27)
12
+
13
+ ### [7.34.7](https://github.com/quintype/quintype-node-framework/compare/v7.34.6...v7.34.7) (2025-11-21)
14
+
5
15
  ### [7.34.6](https://github.com/quintype/quintype-node-framework/compare/v7.34.4...v7.34.6) (2025-10-17)
6
16
 
7
17
  ### [7.34.5](https://github.com/quintype/quintype-node-framework/compare/v7.34.4...v7.34.5) (2025-09-01)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quintype/framework",
3
- "version": "7.34.5-react-upgrade-v19.4",
3
+ "version": "7.34.5-react-upgrade-v19.11",
4
4
  "description": "Libraries to help build Quintype Node.js apps",
5
5
  "main": "index.js",
6
6
  "engines": {
@@ -35,7 +35,7 @@
35
35
  "@jsdoc/salty": "^0.2.9",
36
36
  "@quintype/amp": "2.22.1-version-upgrade.1",
37
37
  "@quintype/backend": "2.7.1-version-upgrade.0",
38
- "@quintype/components": "3.8.8-only-react-v19.3",
38
+ "@quintype/components": "^3.8.8-only-react-v19.4",
39
39
  "@quintype/prerender-node": "^3.2.26",
40
40
  "@quintype/seo": "1.49.3-beta.0",
41
41
  "atob": "^2.1.2",
@@ -67,7 +67,7 @@
67
67
  "@babel/eslint-parser": "^7.15.7",
68
68
  "@loadable/component": "^5.15.0",
69
69
  "@loadable/server": "^5.15.1",
70
- "@quintype/build": "^4.0.1",
70
+ "@quintype/build": "^4.0.2-beta.0",
71
71
  "babel-plugin-quintype-assets": "^1.1.1",
72
72
  "babel-plugin-transform-es2015-modules-commonjs": "^6.26.2",
73
73
  "babel-plugin-transform-object-rest-spread": "^6.26.0",
@@ -3,6 +3,8 @@ const ejs = require("ejs");
3
3
  const fs = require("fs");
4
4
  const path = require("path");
5
5
  const set = require("lodash/set");
6
+ const unset = require("lodash/unset");
7
+ const cloneDeep = require("lodash/cloneDeep");
6
8
 
7
9
  const staticPageTemplateStr = fs.readFileSync(path.join(__dirname, "../views/static-page.ejs"), { encoding: "utf-8" });
8
10
  const staticPageTemplate = ejs.compile(staticPageTemplateStr);
@@ -21,13 +23,20 @@ function renderStaticPageContent(store, content) {
21
23
  function writeStaticPageResponse(res, url, page, result, { config, renderLayout, seo }) {
22
24
  const hideHeader = !page.metadata.header;
23
25
  const hideFooter = !page.metadata.footer;
26
+
27
+ const resultObj = cloneDeep(result);
28
+
29
+ ["serverKey", "serviceCreds"].forEach(key =>
30
+ unset(resultObj, ["config","pagebuilder-config", "general", "notifications", "fcm", key])
31
+ ); // unset of serverkey & serviceCreds
32
+
24
33
  const qt = {
25
34
  pageType: page.type,
26
35
  // remove content from data to avoid the script tag inside json breaking the page
27
36
  data: Object.assign({}, page, result.data, { content: "" }),
28
37
  currentPath: `${url.pathname}${url.search || ""}`,
29
38
  };
30
- const store = createBasicStore(result, qt, {
39
+ const store = createBasicStore(resultObj, qt, {
31
40
  disableIsomorphicComponent: true,
32
41
  });
33
42
 
@@ -125,7 +125,7 @@ function loadDataForPageType(
125
125
  .then((result) => {
126
126
  if (result && result.data) {
127
127
  if (result.data[ABORT_HANDLER] || (result.data.error && result.data.error.message)) {
128
- return null
128
+ return null;
129
129
  }
130
130
  }
131
131
  return result;
@@ -195,6 +195,7 @@ exports.handleIsomorphicShell = async function handleIsomorphicShell(
195
195
 
196
196
  function createStoreFromResult(url, result, opts = {}) {
197
197
  const isBotRequest = _.get(url, "query.botrequest", false);
198
+ const nothirdparty = _.get(url, "query.nothirdparty", false);
198
199
  const qt = {
199
200
  pageType: result.pageType || opts.defaultPageType,
200
201
  subPageType: result.subPageType,
@@ -204,6 +205,7 @@ function createStoreFromResult(url, result, opts = {}) {
204
205
  primaryHostUrl: result.primaryHostUrl,
205
206
  isBotRequest: isBotRequest,
206
207
  lazyLoadImageMargin: opts.lazyLoadImageMargin,
208
+ removeThirdPartyScripts: nothirdparty,
207
209
  };
208
210
  return createBasicStore(result, qt, opts);
209
211
  }