@times-components/ssr 2.61.5-93443c54d539779183a3b4edcabe9ba84c682f05.0 → 2.61.5
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.61.5
|
|
4
|
+
"version": "2.61.5",
|
|
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": "
|
|
39
|
-
"@times-components/fixture-generator": "
|
|
40
|
-
"@times-components/mock-tpa-server": "
|
|
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.13",
|
|
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": "
|
|
56
|
-
"@times-components/author-profile": "
|
|
57
|
-
"@times-components/context": "
|
|
58
|
-
"@times-components/provider": "
|
|
59
|
-
"@times-components/schema": "
|
|
60
|
-
"@times-components/tealium": "
|
|
61
|
-
"@times-components/ts-styleguide": "
|
|
62
|
-
"@times-components/utils": "
|
|
55
|
+
"@times-components/article": "7.18.7",
|
|
56
|
+
"@times-components/author-profile": "6.19.40",
|
|
57
|
+
"@times-components/context": "1.25.4",
|
|
58
|
+
"@times-components/provider": "1.41.16",
|
|
59
|
+
"@times-components/schema": "0.7.5",
|
|
60
|
+
"@times-components/tealium": "1.15.3",
|
|
61
|
+
"@times-components/ts-styleguide": "1.51.6",
|
|
62
|
+
"@times-components/utils": "6.31.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": "538d5e33e0de59bceb26c5b9951f108b2eb326f2"
|
|
83
83
|
}
|
package/src/client/article.js
CHANGED
|
@@ -16,8 +16,6 @@ if (window.nuk && window.nuk.ssr && window.nuk.article) {
|
|
|
16
16
|
isPreview,
|
|
17
17
|
swgProductId,
|
|
18
18
|
zephrDivs,
|
|
19
|
-
sharingSavingFlag = true,
|
|
20
|
-
commentingFlag = true,
|
|
21
19
|
showAudioPlayer,
|
|
22
20
|
storefrontConfig
|
|
23
21
|
} = window.nuk.article;
|
|
@@ -38,8 +36,6 @@ if (window.nuk && window.nuk.ssr && window.nuk.article) {
|
|
|
38
36
|
isPreview,
|
|
39
37
|
swgProductId,
|
|
40
38
|
zephrDivs,
|
|
41
|
-
sharingSavingFlag,
|
|
42
|
-
commentingFlag,
|
|
43
39
|
showAudioPlayer,
|
|
44
40
|
storefrontConfig
|
|
45
41
|
};
|
package/src/component/article.js
CHANGED
|
@@ -33,8 +33,6 @@ module.exports = (client, analyticsStream, data, helmetContext) => {
|
|
|
33
33
|
swgProductId,
|
|
34
34
|
getFallbackThumbnailUrl169,
|
|
35
35
|
zephrDivs,
|
|
36
|
-
sharingSavingFlag,
|
|
37
|
-
commentingFlag,
|
|
38
36
|
showAudioPlayer,
|
|
39
37
|
storefrontConfig
|
|
40
38
|
} = data;
|
|
@@ -83,9 +81,6 @@ module.exports = (client, analyticsStream, data, helmetContext) => {
|
|
|
83
81
|
section: article
|
|
84
82
|
? getSectionNameForAnalytics(article)
|
|
85
83
|
: "unknown section",
|
|
86
|
-
isSavingEnabled: sharingSavingFlag,
|
|
87
|
-
isSharingEnabled: sharingSavingFlag,
|
|
88
|
-
isCommentEnabled: commentingFlag,
|
|
89
84
|
isPreview
|
|
90
85
|
},
|
|
91
86
|
error,
|
package/src/server/article.js
CHANGED
|
@@ -25,8 +25,6 @@ module.exports = (
|
|
|
25
25
|
swgProductId,
|
|
26
26
|
getFallbackThumbnailUrl169,
|
|
27
27
|
zephrDivs,
|
|
28
|
-
sharingSavingFlag = true,
|
|
29
|
-
commentingFlag = true,
|
|
30
28
|
showAudioPlayer,
|
|
31
29
|
storefrontConfig
|
|
32
30
|
},
|
|
@@ -81,8 +79,6 @@ module.exports = (
|
|
|
81
79
|
isPreview,
|
|
82
80
|
swgProductId,
|
|
83
81
|
zephrDivs,
|
|
84
|
-
sharingSavingFlag,
|
|
85
|
-
commentingFlag,
|
|
86
82
|
showAudioPlayer,
|
|
87
83
|
storefrontConfig
|
|
88
84
|
},
|