@times-components/ssr 2.62.41-39663769534ad7889b08c90db5c5ea5192f529dc.0 → 2.62.41-4b865bbc8e39306633710897c624c202b35e621e.6
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/common.react.bundle.js +1 -1
- package/dist/common.react.bundle.js.map +1 -1
- package/package.json +6 -6
- package/src/client/article.js +4 -1
- package/src/component/article.js +2 -0
- package/src/server/article.js +2 -0
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@times-components/ssr",
|
|
3
3
|
"main": "src",
|
|
4
|
-
"version": "2.62.41-
|
|
4
|
+
"version": "2.62.41-4b865bbc8e39306633710897c624c202b35e621e.6+4b865bbc8e",
|
|
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",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"devDependencies": {
|
|
38
38
|
"@times-components/eslint-config-thetimes": "^0.8.18",
|
|
39
39
|
"@times-components/fixture-generator": "^0.36.0",
|
|
40
|
-
"@times-components/mock-tpa-server": "^0.4.
|
|
40
|
+
"@times-components/mock-tpa-server": "^0.4.17",
|
|
41
41
|
"axe-core": "3.3.1",
|
|
42
42
|
"cypress-axe": "0.13.0",
|
|
43
43
|
"cypress-failed-log": "2.5.1",
|
|
@@ -52,10 +52,10 @@
|
|
|
52
52
|
"webpack": "4.30.0"
|
|
53
53
|
},
|
|
54
54
|
"dependencies": {
|
|
55
|
-
"@times-components/article": "^7.19.29-
|
|
56
|
-
"@times-components/author-profile": "^6.20.
|
|
55
|
+
"@times-components/article": "^7.19.29-4b865bbc8e39306633710897c624c202b35e621e.6+4b865bbc8e",
|
|
56
|
+
"@times-components/author-profile": "^6.20.15",
|
|
57
57
|
"@times-components/context": "^1.25.15",
|
|
58
|
-
"@times-components/provider": "^1.47.
|
|
58
|
+
"@times-components/provider": "^1.47.0",
|
|
59
59
|
"@times-components/schema": "^0.7.5",
|
|
60
60
|
"@times-components/tealium": "^1.15.3",
|
|
61
61
|
"@times-components/ts-styleguide": "^1.56.1",
|
|
@@ -79,5 +79,5 @@
|
|
|
79
79
|
"publishConfig": {
|
|
80
80
|
"access": "public"
|
|
81
81
|
},
|
|
82
|
-
"gitHead": "
|
|
82
|
+
"gitHead": "4b865bbc8e39306633710897c624c202b35e621e"
|
|
83
83
|
}
|
package/src/client/article.js
CHANGED
|
@@ -17,6 +17,7 @@ if (window.nuk && window.nuk.ssr && window.nuk.article) {
|
|
|
17
17
|
swgProductId,
|
|
18
18
|
zephrDivs,
|
|
19
19
|
showAudioPlayer,
|
|
20
|
+
isNewCommentingBannerEnabled,
|
|
20
21
|
removeTeaserContent
|
|
21
22
|
} = window.nuk.article;
|
|
22
23
|
|
|
@@ -37,6 +38,7 @@ if (window.nuk && window.nuk.ssr && window.nuk.article) {
|
|
|
37
38
|
swgProductId,
|
|
38
39
|
zephrDivs,
|
|
39
40
|
showAudioPlayer,
|
|
41
|
+
isNewCommentingBannerEnabled,
|
|
40
42
|
removeTeaserContent
|
|
41
43
|
};
|
|
42
44
|
|
|
@@ -47,7 +49,8 @@ if (window.nuk && window.nuk.ssr && window.nuk.article) {
|
|
|
47
49
|
"x-new-topic-data-source": true
|
|
48
50
|
},
|
|
49
51
|
zephrDivs,
|
|
50
|
-
showAudioPlayer
|
|
52
|
+
showAudioPlayer,
|
|
53
|
+
isNewCommentingBannerEnabled
|
|
51
54
|
};
|
|
52
55
|
|
|
53
56
|
runClient(article, clientOptions, data);
|
package/src/component/article.js
CHANGED
|
@@ -34,6 +34,7 @@ module.exports = (client, analyticsStream, data, helmetContext) => {
|
|
|
34
34
|
getFallbackThumbnailUrl169,
|
|
35
35
|
zephrDivs,
|
|
36
36
|
showAudioPlayer,
|
|
37
|
+
isNewCommentingBannerEnabled,
|
|
37
38
|
removeTeaserContent
|
|
38
39
|
} = data;
|
|
39
40
|
|
|
@@ -99,6 +100,7 @@ module.exports = (client, analyticsStream, data, helmetContext) => {
|
|
|
99
100
|
getFallbackThumbnailUrl169,
|
|
100
101
|
zephrDivs,
|
|
101
102
|
showAudioPlayer,
|
|
103
|
+
isNewCommentingBannerEnabled,
|
|
102
104
|
removeTeaserContent
|
|
103
105
|
})
|
|
104
106
|
);
|
package/src/server/article.js
CHANGED
|
@@ -26,6 +26,7 @@ module.exports = (
|
|
|
26
26
|
getFallbackThumbnailUrl169,
|
|
27
27
|
zephrDivs,
|
|
28
28
|
showAudioPlayer,
|
|
29
|
+
isNewCommentingBannerEnabled,
|
|
29
30
|
removeTeaserContent
|
|
30
31
|
},
|
|
31
32
|
userState
|
|
@@ -80,6 +81,7 @@ module.exports = (
|
|
|
80
81
|
swgProductId,
|
|
81
82
|
zephrDivs,
|
|
82
83
|
showAudioPlayer,
|
|
84
|
+
isNewCommentingBannerEnabled,
|
|
83
85
|
removeTeaserContent
|
|
84
86
|
},
|
|
85
87
|
name: "article"
|