@times-components/ssr 2.59.35 → 2.59.36-alpha.10

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@times-components/ssr",
3
3
  "main": "src",
4
- "version": "2.59.35",
4
+ "version": "2.59.36-alpha.10+0027742a05",
5
5
  "scripts": {
6
6
  "bundle:dev": "yarn cleanup-dist && webpack --config=webpack.config.js",
7
7
  "bundle:prod": "yarn cleanup-dist && NODE_ENV=production webpack --config=webpack.config.js -p",
@@ -35,9 +35,9 @@
35
35
  },
36
36
  "homepage": "https://github.com/newsuk/times-components#readme",
37
37
  "devDependencies": {
38
- "@times-components/eslint-config-thetimes": "0.8.18",
39
- "@times-components/fixture-generator": "0.35.1",
40
- "@times-components/mock-tpa-server": "0.4.11",
38
+ "@times-components/eslint-config-thetimes": "^0.8.18",
39
+ "@times-components/fixture-generator": "^0.35.1",
40
+ "@times-components/mock-tpa-server": "^0.4.11",
41
41
  "axe-core": "3.3.1",
42
42
  "cypress-axe": "0.13.0",
43
43
  "cypress-failed-log": "2.5.1",
@@ -52,14 +52,14 @@
52
52
  "webpack": "4.30.0"
53
53
  },
54
54
  "dependencies": {
55
- "@times-components/article": "7.17.54",
56
- "@times-components/author-profile": "6.19.19",
57
- "@times-components/context": "1.24.0",
58
- "@times-components/provider": "1.41.5",
59
- "@times-components/schema": "0.7.5",
60
- "@times-components/tealium": "1.15.3",
61
- "@times-components/ts-styleguide": "1.50.34",
62
- "@times-components/utils": "6.26.0",
55
+ "@times-components/article": "^7.17.54",
56
+ "@times-components/author-profile": "^6.19.19",
57
+ "@times-components/context": "^1.24.0",
58
+ "@times-components/provider": "^1.41.5",
59
+ "@times-components/schema": "^0.7.5",
60
+ "@times-components/tealium": "^1.15.3",
61
+ "@times-components/ts-styleguide": "^1.50.34",
62
+ "@times-components/utils": "^6.26.0",
63
63
  "apollo-cache-inmemory": "1.5.1",
64
64
  "apollo-client": "2.5.1",
65
65
  "apollo-link": "1.2.4",
@@ -79,5 +79,5 @@
79
79
  "publishConfig": {
80
80
  "access": "public"
81
81
  },
82
- "gitHead": "df0ff69ce971bcb609ea0e628ec149d245baacd6"
82
+ "gitHead": "0027742a051e484e066d705cf6c21afc4c011fe4"
83
83
  }
@@ -40,6 +40,9 @@ module.exports = (client, analyticsStream, data, helmetContext) => {
40
40
  isEntitlementFeatureEnabled
41
41
  } = data;
42
42
 
43
+ // eslint-disable-next-line no-console
44
+ console.log("[SSR Article] Data: ", data);
45
+
43
46
  return React.createElement(
44
47
  HelmetProvider,
45
48
  { context: helmetContext },
@@ -60,6 +63,9 @@ module.exports = (client, analyticsStream, data, helmetContext) => {
60
63
  : providerData.article;
61
64
  const articleTemplate = article ? article.template : null;
62
65
 
66
+ // eslint-disable-next-line no-console
67
+ console.log("Provider data: ", article);
68
+
63
69
  return React.createElement(
64
70
  ContextProviderWithDefaults,
65
71
  {