@times-components/ssr 2.51.1 → 2.52.0
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 +11 -0
- 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 +8 -8
- package/src/client/article.js +2 -2
- package/src/component/article.js +3 -3
- package/src/server/article.js +2 -2
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@times-components/ssr",
|
|
3
3
|
"main": "src",
|
|
4
|
-
"version": "2.
|
|
4
|
+
"version": "2.52.0",
|
|
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",
|
|
@@ -52,15 +52,15 @@
|
|
|
52
52
|
"webpack": "4.30.0"
|
|
53
53
|
},
|
|
54
54
|
"dependencies": {
|
|
55
|
-
"@times-components/article": "7.16.
|
|
56
|
-
"@times-components/author-profile": "6.17.
|
|
57
|
-
"@times-components/context": "1.
|
|
58
|
-
"@times-components/provider": "1.40.
|
|
55
|
+
"@times-components/article": "7.16.196",
|
|
56
|
+
"@times-components/author-profile": "6.17.4",
|
|
57
|
+
"@times-components/context": "1.12.0",
|
|
58
|
+
"@times-components/provider": "1.40.3",
|
|
59
59
|
"@times-components/schema": "0.7.4",
|
|
60
60
|
"@times-components/tealium": "1.15.2",
|
|
61
|
-
"@times-components/topic": "5.10.
|
|
61
|
+
"@times-components/topic": "5.10.51",
|
|
62
62
|
"@times-components/ts-newskit": "1.161.2",
|
|
63
|
-
"@times-components/ts-styleguide": "1.50.
|
|
63
|
+
"@times-components/ts-styleguide": "1.50.3",
|
|
64
64
|
"@times-components/utils": "6.16.28",
|
|
65
65
|
"apollo-cache-inmemory": "1.5.1",
|
|
66
66
|
"apollo-client": "2.5.1",
|
|
@@ -80,5 +80,5 @@
|
|
|
80
80
|
"publishConfig": {
|
|
81
81
|
"access": "public"
|
|
82
82
|
},
|
|
83
|
-
"gitHead": "
|
|
83
|
+
"gitHead": "080212b6696045af6694a9f22a9042dc52659ad5"
|
|
84
84
|
}
|
package/src/client/article.js
CHANGED
|
@@ -10,7 +10,7 @@ if (window.nuk && window.nuk.ssr && window.nuk.article) {
|
|
|
10
10
|
debounceTimeMs,
|
|
11
11
|
navigationMode,
|
|
12
12
|
commentingConfig,
|
|
13
|
-
|
|
13
|
+
articleDataFromRender,
|
|
14
14
|
paidContentClassName,
|
|
15
15
|
userState,
|
|
16
16
|
isPreview,
|
|
@@ -32,7 +32,7 @@ if (window.nuk && window.nuk.ssr && window.nuk.article) {
|
|
|
32
32
|
navigationMode,
|
|
33
33
|
getCookieValue,
|
|
34
34
|
commentingConfig,
|
|
35
|
-
|
|
35
|
+
articleDataFromRender,
|
|
36
36
|
paidContentClassName,
|
|
37
37
|
userState,
|
|
38
38
|
isPreview,
|
package/src/component/article.js
CHANGED
|
@@ -26,7 +26,7 @@ module.exports = (client, analyticsStream, data, helmetContext) => {
|
|
|
26
26
|
makeTopicUrl,
|
|
27
27
|
navigationMode,
|
|
28
28
|
commentingConfig,
|
|
29
|
-
|
|
29
|
+
articleDataFromRender,
|
|
30
30
|
getCookieValue,
|
|
31
31
|
userState,
|
|
32
32
|
paidContentClassName,
|
|
@@ -89,8 +89,7 @@ module.exports = (client, analyticsStream, data, helmetContext) => {
|
|
|
89
89
|
: "unknown section",
|
|
90
90
|
isSavingEnabled: sharingSavingFlag,
|
|
91
91
|
isSharingEnabled: sharingSavingFlag,
|
|
92
|
-
isCommentEnabled: commentingFlag
|
|
93
|
-
path: articleCategoryPath
|
|
92
|
+
isCommentEnabled: commentingFlag
|
|
94
93
|
},
|
|
95
94
|
error,
|
|
96
95
|
isLoading,
|
|
@@ -101,6 +100,7 @@ module.exports = (client, analyticsStream, data, helmetContext) => {
|
|
|
101
100
|
onTopicPress: () => {},
|
|
102
101
|
refetch,
|
|
103
102
|
commentingConfig,
|
|
103
|
+
articleDataFromRender,
|
|
104
104
|
paidContentClassName,
|
|
105
105
|
isPreview,
|
|
106
106
|
swgProductId,
|
package/src/server/article.js
CHANGED
|
@@ -18,7 +18,7 @@ module.exports = (
|
|
|
18
18
|
makeTopicUrl,
|
|
19
19
|
navigationMode,
|
|
20
20
|
commentingConfig,
|
|
21
|
-
|
|
21
|
+
articleDataFromRender,
|
|
22
22
|
paidContentClassName,
|
|
23
23
|
isPreview,
|
|
24
24
|
swgProductId,
|
|
@@ -73,7 +73,7 @@ module.exports = (
|
|
|
73
73
|
getFallbackThumbnailUrl169,
|
|
74
74
|
navigationMode,
|
|
75
75
|
commentingConfig,
|
|
76
|
-
|
|
76
|
+
articleDataFromRender,
|
|
77
77
|
userState,
|
|
78
78
|
paidContentClassName,
|
|
79
79
|
isPreview,
|