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

@eaze/accordion

Package Overview
Dependencies
Maintainers
34
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@eaze/accordion - npm Package Compare versions

Comparing version 1.0.8 to 1.0.9

5

dist/index.js

@@ -45,3 +45,6 @@ 'use strict';

open: false
}, _this.toggleContent = function () {
}, _this.toggleContent = function (event) {
// adding preventDefault so we can have this component in
// forms without worrying about toggling triggering a submit
event.preventDefault();
var open = _this.state.open;

@@ -48,0 +51,0 @@

2

package.json
{
"name": "@eaze/accordion",
"version": "1.0.8",
"version": "1.0.9",
"description": "React components: AccordionElement",

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

@@ -19,3 +19,6 @@ import React, { PureComponent } from 'react'

toggleContent = () => {
toggleContent = (event) => {
// adding preventDefault so we can have this component in
// forms without worrying about toggling triggering a submit
event.preventDefault()
const { open } = this.state

@@ -27,3 +30,2 @@ this.setState({ open: !open })

const { open } = this.state
const {

@@ -30,0 +32,0 @@ children,

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