@times-components/ssr 2.61.4 → 2.61.5-96e0ba96ed5224f22ace5b4f7295a518ef87b6a0.8
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 +3 -3
- 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 +13 -13
- package/src/client/article.js +2 -4
- package/src/component/article.js +2 -4
- package/src/server/article.js +2 -4
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@times-components/ssr",
|
|
3
3
|
"main": "src",
|
|
4
|
-
"version": "2.61.
|
|
4
|
+
"version": "2.61.5-96e0ba96ed5224f22ace5b4f7295a518ef87b6a0.8+96e0ba96ed",
|
|
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.13",
|
|
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": "7.18.
|
|
56
|
-
"@times-components/author-profile": "6.19.
|
|
57
|
-
"@times-components/context": "1.25.3",
|
|
58
|
-
"@times-components/provider": "1.41.15",
|
|
59
|
-
"@times-components/schema": "0.7.5",
|
|
60
|
-
"@times-components/tealium": "1.15.3",
|
|
61
|
-
"@times-components/ts-styleguide": "1.51.5",
|
|
62
|
-
"@times-components/utils": "6.31.0",
|
|
55
|
+
"@times-components/article": "^7.18.7-96e0ba96ed5224f22ace5b4f7295a518ef87b6a0.8+96e0ba96ed",
|
|
56
|
+
"@times-components/author-profile": "^6.19.40-96e0ba96ed5224f22ace5b4f7295a518ef87b6a0.8+96e0ba96ed",
|
|
57
|
+
"@times-components/context": "^1.25.3",
|
|
58
|
+
"@times-components/provider": "^1.41.15",
|
|
59
|
+
"@times-components/schema": "^0.7.5",
|
|
60
|
+
"@times-components/tealium": "^1.15.3",
|
|
61
|
+
"@times-components/ts-styleguide": "^1.51.5",
|
|
62
|
+
"@times-components/utils": "^6.31.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": "
|
|
82
|
+
"gitHead": "96e0ba96ed5224f22ace5b4f7295a518ef87b6a0"
|
|
83
83
|
}
|
package/src/client/article.js
CHANGED
|
@@ -18,8 +18,7 @@ if (window.nuk && window.nuk.ssr && window.nuk.article) {
|
|
|
18
18
|
zephrDivs,
|
|
19
19
|
sharingSavingFlag = true,
|
|
20
20
|
commentingFlag = true,
|
|
21
|
-
showAudioPlayer
|
|
22
|
-
storefrontConfig
|
|
21
|
+
showAudioPlayer
|
|
23
22
|
} = window.nuk.article;
|
|
24
23
|
|
|
25
24
|
const { getCookieValue } = window.nuk;
|
|
@@ -40,8 +39,7 @@ if (window.nuk && window.nuk.ssr && window.nuk.article) {
|
|
|
40
39
|
zephrDivs,
|
|
41
40
|
sharingSavingFlag,
|
|
42
41
|
commentingFlag,
|
|
43
|
-
showAudioPlayer
|
|
44
|
-
storefrontConfig
|
|
42
|
+
showAudioPlayer
|
|
45
43
|
};
|
|
46
44
|
|
|
47
45
|
const clientOptions = {
|
package/src/component/article.js
CHANGED
|
@@ -35,8 +35,7 @@ module.exports = (client, analyticsStream, data, helmetContext) => {
|
|
|
35
35
|
zephrDivs,
|
|
36
36
|
sharingSavingFlag,
|
|
37
37
|
commentingFlag,
|
|
38
|
-
showAudioPlayer
|
|
39
|
-
storefrontConfig
|
|
38
|
+
showAudioPlayer
|
|
40
39
|
} = data;
|
|
41
40
|
|
|
42
41
|
return React.createElement(
|
|
@@ -103,8 +102,7 @@ module.exports = (client, analyticsStream, data, helmetContext) => {
|
|
|
103
102
|
swgProductId,
|
|
104
103
|
getFallbackThumbnailUrl169,
|
|
105
104
|
zephrDivs,
|
|
106
|
-
showAudioPlayer
|
|
107
|
-
storefrontConfig
|
|
105
|
+
showAudioPlayer
|
|
108
106
|
})
|
|
109
107
|
);
|
|
110
108
|
}
|
package/src/server/article.js
CHANGED
|
@@ -27,8 +27,7 @@ module.exports = (
|
|
|
27
27
|
zephrDivs,
|
|
28
28
|
sharingSavingFlag = true,
|
|
29
29
|
commentingFlag = true,
|
|
30
|
-
showAudioPlayer
|
|
31
|
-
storefrontConfig
|
|
30
|
+
showAudioPlayer
|
|
32
31
|
},
|
|
33
32
|
userState
|
|
34
33
|
) => {
|
|
@@ -83,8 +82,7 @@ module.exports = (
|
|
|
83
82
|
zephrDivs,
|
|
84
83
|
sharingSavingFlag,
|
|
85
84
|
commentingFlag,
|
|
86
|
-
showAudioPlayer
|
|
87
|
-
storefrontConfig
|
|
85
|
+
showAudioPlayer
|
|
88
86
|
},
|
|
89
87
|
name: "article"
|
|
90
88
|
};
|