@nrk/core-docs
Advanced tools
Comparing version 1.1.5 to 1.1.6
import 'raf/polyfill' // Fixes React | ||
import 'core-js/es6/map' // Fixes Buble / React | ||
import 'core-js/es6/set' // Fixes Buble / React | ||
import 'core-js/features/map' // Fixes Buble / React | ||
import 'core-js/features/set' // Fixes Buble / React | ||
import prettifyCss from 'code-prettify/src/prettify.css' | ||
@@ -182,3 +182,6 @@ import coreFonts from '@nrk/core-fonts/core-fonts.min.css' | ||
if (link) { | ||
document.title = link.textContent | ||
const pageTitle = link.textContent | ||
const siteTitle = document.querySelector('.docs-menu a').textContent | ||
document.title = pageTitle === siteTitle ? pageTitle : `${pageTitle} - ${siteTitle}` | ||
document.addEventListener('click', preventScrollOnTabs) | ||
@@ -185,0 +188,0 @@ window.addEventListener('hashchange', onHash) |
@@ -6,3 +6,3 @@ { | ||
"author": "NRK <opensource@nrk.no> (https://www.nrk.no/)", | ||
"version": "1.1.5", | ||
"version": "1.1.6", | ||
"license": "MIT", | ||
@@ -23,11 +23,11 @@ "scripts": { | ||
"devDependencies": { | ||
"autoprefixer": "9.4.10", | ||
"autoprefixer": "9.5.0", | ||
"http-server": "0.11.1", | ||
"rollup": "1.6.0", | ||
"rollup": "1.7.3", | ||
"rollup-plugin-buble": "0.19.6", | ||
"rollup-plugin-commonjs": "9.2.1", | ||
"rollup-plugin-commonjs": "9.2.2", | ||
"rollup-plugin-html": "0.2.1", | ||
"rollup-plugin-node-resolve": "4.0.1", | ||
"rollup-plugin-postcss": "2.0.3", | ||
"rollup-plugin-replace": "2.1.0", | ||
"rollup-plugin-replace": "2.1.1", | ||
"rollup-plugin-serve": "1.0.1", | ||
@@ -39,13 +39,13 @@ "rollup-plugin-uglify": "6.0.2", | ||
"@nrk/core-fonts": "2.3.0", | ||
"@nrk/core-icons": "6.0.3", | ||
"@nrk/core-icons": "8.1.0", | ||
"@nrk/core-tabs": "1.1.12", | ||
"buble": "0.19.6", | ||
"code-prettify": "0.1.0", | ||
"core-js": "2.6.5", | ||
"core-js": "3.0.0", | ||
"marked": "0.6.1", | ||
"prop-types": "15.7.2", | ||
"raf": "3.4.1", | ||
"react": "16.8.4", | ||
"react-dom": "16.8.4" | ||
"react": "16.8.6", | ||
"react-dom": "16.8.5" | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
22770
406
+ Added@nrk/core-icons@8.1.0(transitive)
+ Addedcore-js@3.0.0(transitive)
+ Addedreact@16.8.6(transitive)
+ Addedreact-dom@16.8.5(transitive)
- Removed@nrk/core-icons@6.0.3(transitive)
- Removedcore-js@2.6.5(transitive)
- Removedreact@16.8.4(transitive)
- Removedreact-dom@16.8.4(transitive)
Updated@nrk/core-icons@8.1.0
Updatedcore-js@3.0.0
Updatedreact@16.8.6
Updatedreact-dom@16.8.5