@financial-times/dotcom-ui-shell 9.3.3 → 9.3.4
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/README.md
CHANGED
|
@@ -201,7 +201,7 @@ An optional property to insert additional metadata elements into the document `<
|
|
|
201
201
|
|
|
202
202
|
#### `showSmartBanner` (boolean)
|
|
203
203
|
|
|
204
|
-
An optional property to explicity say whether you want to show [Smart Banner](https://developer.apple.com/documentation/webkit/promoting_apps_with_smart_app_banners) at the top of the page or not. The default is `true` so the pages will always show smart banner.
|
|
204
|
+
An optional property to explicity say whether you want to show [Smart Banner](https://developer.apple.com/documentation/webkit/promoting_apps_with_smart_app_banners) at the top of the page or not. The default is `true` so the pages will always show smart banner.
|
|
205
205
|
|
|
206
206
|
### Social and Open Graph
|
|
207
207
|
|
|
@@ -220,7 +220,6 @@ An optional object describing the [Open Graph] metadata to add to the page. The
|
|
|
220
220
|
[JavaScript bootstrap]: ../dotcom-ui-bootstrap/README.md
|
|
221
221
|
[feature flags]: ../dotcom-ui-flags/README.md
|
|
222
222
|
[FT app context]: ../dotcom-ui-app-context/README.md
|
|
223
|
-
[polyfill service]: ../dotcom-ui-polyfill-service/README.md
|
|
224
223
|
[Open Graph]: http://ogp.me/
|
|
225
224
|
[linked data]: https://w3.org/standards/semanticweb/data
|
|
226
225
|
[JSON-LD]: https://json-ld.org/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@financial-times/dotcom-ui-shell",
|
|
3
|
-
"version": "9.3.
|
|
3
|
+
"version": "9.3.4",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "component.js",
|
|
6
6
|
"browser": "browser.js",
|
|
@@ -20,11 +20,10 @@
|
|
|
20
20
|
"author": "",
|
|
21
21
|
"license": "MIT",
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@financial-times/dotcom-ui-app-context": "^9.3.
|
|
24
|
-
"@financial-times/dotcom-ui-base-styles": "^9.3.
|
|
25
|
-
"@financial-times/dotcom-ui-bootstrap": "^9.3.
|
|
26
|
-
"@financial-times/dotcom-ui-flags": "^9.3.
|
|
27
|
-
"@financial-times/dotcom-ui-polyfill-service": "^9.3.3",
|
|
23
|
+
"@financial-times/dotcom-ui-app-context": "^9.3.4",
|
|
24
|
+
"@financial-times/dotcom-ui-base-styles": "^9.3.4",
|
|
25
|
+
"@financial-times/dotcom-ui-bootstrap": "^9.3.4",
|
|
26
|
+
"@financial-times/dotcom-ui-flags": "^9.3.4",
|
|
28
27
|
"mime-types": "^2.1.26"
|
|
29
28
|
},
|
|
30
29
|
"peerDependencies": {
|
|
@@ -7,7 +7,6 @@ describe('dotcom-ui-shell/src/components/ResourceHints', () => {
|
|
|
7
7
|
const fixture = [
|
|
8
8
|
'www.example.com/assets/style.css',
|
|
9
9
|
'www.example.com/images/graphic.svg#icon',
|
|
10
|
-
'http://polyfill.io/v3/bundle.min.js?features=es5,es6',
|
|
11
10
|
'/assets/public/style.as83hd99.css',
|
|
12
11
|
'/__origami/service/build/v3/font?font_format=woff2&font_name=FinancierDisplayWeb-Bold&system_code=origami&version=1.12'
|
|
13
12
|
]
|
|
@@ -19,7 +19,7 @@ describe('dotcom-ui-shell/src/lib/getResourceType', () => {
|
|
|
19
19
|
it('supports URLs', () => {
|
|
20
20
|
expect(subject('www.example.com/assets/style.css')).toEqual('style')
|
|
21
21
|
expect(subject('www.example.com/images/graphic.svg#icon')).toEqual('image')
|
|
22
|
-
expect(subject('
|
|
22
|
+
expect(subject('www.example.com/scripts/index.js')).toEqual('script')
|
|
23
23
|
})
|
|
24
24
|
|
|
25
25
|
it('supports file paths', () => {
|