@times-components/ssr 2.64.2 → 2.64.3-78c823b893d75d31a879cee5f6d8e812127cb5e1.1
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/dist/article.react.bundle.js +4 -4
- package/dist/article.react.bundle.js.map +1 -1
- package/dist/author-profile.react.bundle.js +1 -1
- package/dist/author-profile.react.bundle.js.map +1 -1
- package/dist/common.react.bundle.js +7 -7
- package/dist/common.react.bundle.js.map +1 -1
- package/package.json +13 -13
- package/src/component/article.js +0 -4
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@times-components/ssr",
|
|
3
3
|
"main": "src",
|
|
4
|
-
"version": "2.64.
|
|
4
|
+
"version": "2.64.3-78c823b893d75d31a879cee5f6d8e812127cb5e1.1+78c823b893",
|
|
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.36.0",
|
|
40
|
-
"@times-components/mock-tpa-server": "0.4.18",
|
|
38
|
+
"@times-components/eslint-config-thetimes": "^0.8.18",
|
|
39
|
+
"@times-components/fixture-generator": "^0.36.0",
|
|
40
|
+
"@times-components/mock-tpa-server": "^0.4.18",
|
|
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.20.
|
|
56
|
-
"@times-components/author-profile": "6.22.8",
|
|
57
|
-
"@times-components/context": "1.27.1",
|
|
58
|
-
"@times-components/provider": "1.48.8",
|
|
59
|
-
"@times-components/schema": "0.7.5",
|
|
60
|
-
"@times-components/tealium": "1.15.3",
|
|
61
|
-
"@times-components/ts-styleguide": "1.56.9",
|
|
62
|
-
"@times-components/utils": "6.34.1",
|
|
55
|
+
"@times-components/article": "^7.20.3-78c823b893d75d31a879cee5f6d8e812127cb5e1.1+78c823b893",
|
|
56
|
+
"@times-components/author-profile": "^6.22.8",
|
|
57
|
+
"@times-components/context": "^1.27.1",
|
|
58
|
+
"@times-components/provider": "^1.48.8",
|
|
59
|
+
"@times-components/schema": "^0.7.5",
|
|
60
|
+
"@times-components/tealium": "^1.15.3",
|
|
61
|
+
"@times-components/ts-styleguide": "^1.56.9",
|
|
62
|
+
"@times-components/utils": "^6.34.1",
|
|
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": "
|
|
82
|
+
"gitHead": "78c823b893d75d31a879cee5f6d8e812127cb5e1"
|
|
83
83
|
}
|
package/src/component/article.js
CHANGED
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
const React = require("react");
|
|
4
4
|
const { ApolloProvider } = require("react-apollo");
|
|
5
5
|
const { HelmetProvider } = require("react-helmet-async");
|
|
6
|
-
const { getSectionNameForAnalytics } = require("@times-components/utils/rnw");
|
|
7
6
|
const { getSectionFromTiles } = require("@times-components/utils/rnw");
|
|
8
7
|
const { ArticleProvider } = require("@times-components/provider/rnw");
|
|
9
8
|
const { DraftArticleProvider } = require("@times-components/provider/rnw");
|
|
@@ -79,9 +78,6 @@ module.exports = (client, analyticsStream, data, helmetContext) => {
|
|
|
79
78
|
analyticsStream,
|
|
80
79
|
article: {
|
|
81
80
|
...article,
|
|
82
|
-
section: article
|
|
83
|
-
? getSectionNameForAnalytics(article)
|
|
84
|
-
: "unknown section",
|
|
85
81
|
isPreview
|
|
86
82
|
},
|
|
87
83
|
error,
|