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

@financial-times/o-header

Package Overview
Dependencies
Maintainers
18
Versions
77
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@financial-times/o-header - npm Package Compare versions

Comparing version 8.6.0 to 9.0.0-0

.eslintignore

7

origami.json
{
"description": "Responsive Financial Times page header with primary and secondary navigation, a drop down mega menu, and a collapsible drawer",
"keywords": [ "header", "page", "top" ],
"origamiType": "module",
"origamiCategory": "components",
"origamiVersion": 1,
"origamiType": "component",
"origamiVersion": "2.0",
"brands" : [

@@ -8,0 +5,0 @@ "master"

{
"browser": "browser.js",
"module": "module.js",
"eslintIgnore": [
"module.js",
"browser.js",
"dist/",
"dist-esm/"
],
"name": "@financial-times/o-header",
"version": "9.0.0-0",
"description": "Responsive Financial Times page header with primary and secondary navigation, a drop down mega menu, and a collapsible drawer",
"keywords": [
"origami",
"component",
"ft"
"header",
"page",
"top"
],
"name": "@financial-times/o-header",
"version": "8.6.0",
"dependencies": {
"@financial-times/o-colors": "^5.0.0",
"@financial-times/o-brand": "^3.2.5",
"@financial-times/o-buttons": "^6.0.0",
"@financial-times/o-grid": "^5.0.0",
"@financial-times/o-icons": "^6.0.0",
"@financial-times/o-normalise": "^2.0.0",
"@financial-times/o-toggle": "^2.0.0",
"@financial-times/o-typography": "^6.0.0",
"@financial-times/o-utils": "^1.0.0",
"@financial-times/o-visual-effects": "^3.0.0"
"homepage": "https://registry.origami.ft.com/components/o-header",
"bugs": {
"url": "https://registry.origami.ft.com/components/o-header"
},
"component": "o-header",
"scripts": {},
"license": "MIT",
"type": "module",
"browser": "main.js",
"scripts": {
"start": "npx serve ./demos/local",
"build": "npm_config_yes=true npx \"origami-build-tools@prerelease\" install && npm_config_yes=true npx \"origami-build-tools@prerelease\" demo"
},
"devDependencies": {
"eslint": "^7.8.1",
"eslint-config-origami-component": "^2.1.0",
"origami-ci-tools": "^2.0.2",
"eslint": "^7.24.0",
"eslint-config-origami-component": "^2.1.1",
"remark": "^13.0.0",
"remark-lint": "^8.0.0",
"remark-preset-lint-origami-component": "^1.1.3",
"stylelint": "^13.7.0",
"remark-lint": "^7.0.1",
"remark-preset-lint-origami-component": "prerelease",
"stylelint": "^13.12.0",
"stylelint-config-origami-component": "^1.0.4"
},
"peerDependencies": {
"@financial-times/o-brand": "prerelease",
"@financial-times/o-buttons": "prerelease",
"@financial-times/o-colors": "prerelease",
"@financial-times/o-grid": "prerelease",
"@financial-times/o-icons": "prerelease",
"@financial-times/o-normalise": "prerelease",
"@financial-times/o-toggle": "prerelease",
"@financial-times/o-typography": "prerelease",
"@financial-times/o-utils": "prerelease",
"@financial-times/o-visual-effects": "prerelease"
},
"engines": {
"npm": "^7"
},
"volta": {
"node": "14.16.1",
"npm": "7.10.0"
}
}

@@ -40,3 +40,3 @@ # o-header

```js
import Header from 'o-header';
import Header from '@financial-times/o-header';
const headerEl = document.querySelector('.o-header');

@@ -49,3 +49,3 @@ const header = new oHeader(headerEl);

```js
import 'o-header';
import '@financial-times/o-header';
document.addEventListener("DOMContentLoaded", function() {

@@ -52,0 +52,0 @@ document.dispatchEvent(new CustomEvent('o.DOMContentLoaded'));

@@ -1,2 +0,2 @@

import Toggle from 'o-toggle';
import Toggle from '@financial-times/o-toggle';

@@ -3,0 +3,0 @@ const LISTEN_DELAY = 300;

@@ -1,2 +0,2 @@

import Toggle from 'o-toggle';
import Toggle from '@financial-times/o-toggle';

@@ -3,0 +3,0 @@ function init (headerEl) {

@@ -1,2 +0,2 @@

import { debounce } from 'o-utils';
import { debounce } from '@financial-times/o-utils';

@@ -3,0 +3,0 @@ function init (headerEl) {

@@ -1,2 +0,2 @@

import * as oUtils from 'o-utils';
import * as oUtils from '@financial-times/o-utils';

@@ -3,0 +3,0 @@ function init(headerEl) {

Sorry, the diff of this file is not supported yet

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