@nrk/core-docs
Advanced tools
Comparing version 1.1.3 to 1.1.4
@@ -71,2 +71,3 @@ import 'raf/polyfill' // Fixes React | ||
mark.table = (thead, tbody) => `<table class="docs-table"><thead>${thead}</thead><tbody>${tbody}</tbody></table>` | ||
mark.blockquote = (text) => `<blockquote class="docs-quote">${text}</blockquote>` | ||
mark.paragraph = (text) => `<p class="docs-p">${text}</p>` | ||
@@ -158,3 +159,3 @@ mark.list = (body) => `<ul class="docs-list">${body}</ul>` | ||
if(!isInViewport(anchor)) anchor.scrollIntoView() | ||
if (!isInViewport(anchor)) anchor.scrollIntoView() | ||
} | ||
@@ -164,3 +165,3 @@ } | ||
function preventScrollOnTabs (event) { | ||
if (event.metaKey || event.ctrlKey || event.defaultPrevented) return; | ||
if (event.metaKey || event.ctrlKey || event.defaultPrevented) return | ||
for (let el = event.target; el; el = el.parentElement) { | ||
@@ -167,0 +168,0 @@ if (el.hash && el.hasAttribute('aria-controls')) { |
@@ -6,3 +6,3 @@ { | ||
"author": "NRK <opensource@nrk.no> (https://www.nrk.no/)", | ||
"version": "1.1.3", | ||
"version": "1.1.4", | ||
"license": "MIT", | ||
@@ -40,3 +40,3 @@ "scripts": { | ||
"@nrk/core-tabs": "1.1.12", | ||
"buble": "0.19.6", | ||
"buble": "0.19.7", | ||
"code-prettify": "0.1.0", | ||
@@ -43,0 +43,0 @@ "core-js": "2.6.5", |
Sorry, the diff of this file is not supported yet
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
22601
404
1
+ Addedacorn@6.4.2(transitive)
+ Addedacorn-dynamic-import@4.0.0(transitive)
+ Addedacorn-jsx@5.3.2(transitive)
+ Addedbuble@0.19.7(transitive)
- Removedbuble@0.19.6(transitive)
- Removedvlq@1.0.1(transitive)
Updatedbuble@0.19.7