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

@financial-times/o-toggle

Package Overview
Dependencies
Maintainers
18
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Comparing version 2.0.0 to 2.0.1

.eslintrc.js

2

origami.json

@@ -10,3 +10,3 @@ {

"email": "origami.support@ft.com",
"slack": "financialtimes/ft-origami"
"slack": "financialtimes/origami-support"
},

@@ -13,0 +13,0 @@ "supportStatus": "active",

@@ -28,9 +28,14 @@ {

"name": "@financial-times/o-toggle",
"version": "2.0.0",
"version": "2.0.1",
"dependencies": {},
"component": "o-toggle",
"repository": {
"type": "git",
"url": "git@github.com:Financial-Times/o-toggle.git"
},
"scripts": {},
"devDependencies": {
"eslint-config-origami-component": "^2.0.1",
"origami-ci-tools": "^1.0.0"
}
}

@@ -106,3 +106,3 @@ # o-toggle [![CircleCI](https://circleci.com/gh/Financial-Times/o-toggle.png?style=shield)](https://circleci.com/gh/Financial-Times/o-toggle) [![MIT licensed](https://img.shields.io/badge/license-MIT-blue.svg)](#licence)

If you have any questions or comments about this component, or need help using it, please either [raise an issue](https://github.com/Financial-Times/o-toggle/issues), visit [#ft-origami](https://financialtimes.slack.com/messages/ft-origami/) or email [Origami Support](mailto:origami-support@ft.com).
If you have any questions or comments about this component, or need help using it, please either [raise an issue](https://github.com/Financial-Times/o-toggle/issues), visit [#origami-support](https://financialtimes.slack.com/messages/origami-support/) or email [Origami Support](mailto:origami-support@ft.com).

@@ -109,0 +109,0 @@ ----

@@ -101,3 +101,3 @@ import Target from './target';

if (this.callback){
let stateName = (this.target.isOpen() ? 'open' : 'close');
const stateName = this.target.isOpen() ? 'open' : 'close';
this.callback(stateName, e);

@@ -128,3 +128,3 @@ }

const toggles = [];
for (let toggleEl of toggleEls) {
for (const toggleEl of toggleEls) {
if (!toggleEl.hasAttribute('data-o-toggle--js')) {

@@ -131,0 +131,0 @@ toggles.push(new Toggle(toggleEl, config));

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