New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@bbc/psammead-navigation

Package Overview
Dependencies
Maintainers
38
Versions
151
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bbc/psammead-navigation - npm Package Compare versions

Comparing version 2.2.10 to 2.2.11

1

CHANGELOG.md

@@ -6,2 +6,3 @@ # Psammead Navigation Changelog

|---------|-------------|
| 2.2.11 | [PR#1963](https://github.com/bbc/psammead/pull/2092) Refactored navigation component
| 2.2.10 | [PR#2081](https://github.com/bbc/psammead/pull/2081) Talos - Bump Dependencies - @bbc/psammead-styles, @bbc/psammead-visually-hidden-text |

@@ -8,0 +9,0 @@ | 2.2.9 | [PR#1926](https://github.com/bbc/psammead/pull/1926) Update component storybook to use latest inputProvider changes |

2

package.json
{
"name": "@bbc/psammead-navigation",
"version": "2.2.10",
"version": "2.2.11",
"description": "A navigation bar to use on index pages",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

@@ -23,7 +23,6 @@ import React from 'react';

{
title: 'igbo with Brand',
title: 'igbo',
skipLinkText: 'Wụga n’ọdịnaya',
currentPageText: 'Current page',
data: igboNavData,
brand: true,
},

@@ -158,3 +157,6 @@ {

const stories = storiesOf('Components|Navigation', module)
const storiesWithoutBrand = storiesOf(
'Components|Navigation/without brand',
module,
)
.addDecorator(withKnobs)

@@ -164,6 +166,6 @@ .addDecorator(dirDecorator);

navStoriesData.map(item => {
const { title, skipLinkText, currentPageText, data, brand } = item;
return stories.add(
const { title, skipLinkText, currentPageText, data } = item;
return storiesWithoutBrand.add(
title,
navigationStory(skipLinkText, currentPageText, data, brand),
navigationStory(skipLinkText, currentPageText, data),
{

@@ -174,1 +176,18 @@ notes,

});
const storiesWithBrand = storiesOf('Components|Navigation/with brand', module)
.addDecorator(withKnobs)
.addDecorator(dirDecorator);
storiesWithBrand.add(
navStoriesData[0].title,
navigationStory(
navStoriesData[0].skipLinkText,
navStoriesData[0].currentPageText,
igboNavData,
true,
),
{
notes,
},
);
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc