Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-accessible-accordion

Package Overview
Dependencies
Maintainers
4
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-accessible-accordion - npm Package Compare versions

Comparing version 3.0.0 to 3.0.1

6

CHANGELOG.md

@@ -6,2 +6,8 @@ # Changelog

## [[v3.0.1]](https://github.com/springload/react-accessible-accordion/releases/tag/v3.0.1)
### FIXED
- Refactor away `Array.prototype.findIndex` in favour of `Array.prototype.indexOf` to reinstate IE 11 support without use of a polyfill (https://github.com/springload/react-accessible-accordion/issues/237, https://github.com/springload/react-accessible-accordion/issues/224).
## [[v3.0.0]](https://github.com/springload/react-accessible-accordion/releases/tag/v3.0.0)

@@ -8,0 +14,0 @@

4

dist/es/index.js

@@ -238,5 +238,3 @@ import { createContext, createElement, PureComponent, Component, Fragment } from 'react';

_defineProperty(this, "isItemExpanded", function (uuid) {
return _this.expanded.findIndex(function (expandedUuid) {
return expandedUuid === uuid;
}) !== -1;
return _this.expanded.indexOf(uuid) !== -1;
});

@@ -243,0 +241,0 @@

@@ -242,5 +242,3 @@ (function (global, factory) {

_defineProperty(this, "isItemExpanded", function (uuid) {
return _this.expanded.findIndex(function (expandedUuid) {
return expandedUuid === uuid;
}) !== -1;
return _this.expanded.indexOf(uuid) !== -1;
});

@@ -247,0 +245,0 @@

{
"name": "react-accessible-accordion",
"version": "3.0.0",
"version": "3.0.1",
"description": "Accessible Accordion component for React",
"main": "dist/umd/index.js",
"module": "dist/es/index.js",
"jsnext:main": "dist/es/index.js",

@@ -33,2 +34,5 @@ "types": "dist/types/index.d.ts",

},
"files": [
"dist"
],
"keywords": [

@@ -65,2 +69,6 @@ "react",

"url": "https://github.com/catepalmer"
},
{
"name": "Janzen Zarzoso",
"url": "https://github.com/janzenz"
}

@@ -74,48 +82,48 @@ ],

"devDependencies": {
"@babel/cli": "^7.2.0",
"@babel/core": "^7.3.4",
"@babel/plugin-proposal-class-properties": "^7.3.4",
"@babel/polyfill": "^7.0.0",
"@babel/preset-env": "^7.3.4",
"@babel/cli": "^7.4.4",
"@babel/core": "^7.4.5",
"@babel/plugin-proposal-class-properties": "^7.4.4",
"@babel/polyfill": "^7.4.4",
"@babel/preset-env": "^7.4.5",
"@babel/preset-react": "^7.0.0",
"@babel/preset-typescript": "^7.1.0",
"@types/jest": "^24.0.9",
"@types/react": "^16.8.6",
"@types/react-dom": "^16.8.0",
"@types/react-test-renderer": "^16.8.0",
"@testing-library/react": "^8.0.4",
"@types/jest": "^24.0.15",
"@types/react": "^16.8.22",
"@types/react-dom": "^16.8.4",
"@types/react-test-renderer": "^16.8.2",
"@types/uuid": "^3.4.4",
"babel-core": "^7.0.0-bridge.0",
"babel-jest": "^24.1.0",
"babel-loader": "^8.0.4",
"babel-jest": "^24.8.0",
"babel-loader": "^8.0.6",
"coveralls": "^3.0.3",
"css-loader": "^2.0.1",
"file-loader": "^3.0.1",
"css-loader": "^3.0.0",
"file-loader": "^4.0.0",
"gh-pages": "^2.0.1",
"html-webpack-plugin": "^3.2.0",
"husky": "^1.2.1",
"jest": "^24.1.0",
"husky": "^2.4.1",
"jest": "^24.5.0",
"lint-staged": "^8.1.5",
"mini-css-extract-plugin": "^0.5.0",
"mini-css-extract-plugin": "^0.7.0",
"prettier": "^1.16.3",
"puppeteer": "1.11.0",
"puppeteer": "1.18.1",
"react": "16.3.2",
"react-dom": "16.3.3",
"react-test-renderer": "^16.8.1",
"react-testing-library": "^6.0.0",
"react-test-renderer": "^16.8.6",
"rimraf": "^2.6.3",
"rollup": "^1.4.1",
"rollup": "^1.7.4",
"rollup-plugin-babel": "^4.2.0",
"rollup-plugin-commonjs": "^9.2.1",
"rollup-plugin-node-resolve": "^4.0.1",
"rollup-plugin-replace": "^2.1.0",
"rollup-plugin-commonjs": "^10.0.0",
"rollup-plugin-node-resolve": "^5.1.0",
"rollup-plugin-replace": "^2.1.1",
"style-loader": "^0.23.1",
"tslint": "^5.13.1",
"tslint": "^5.14.0",
"tslint-config-prettier": "^1.18.0",
"tslint-microsoft-contrib": "^6.1.0",
"tslint-plugin-prettier": "^2.0.1",
"tslint-react": "^3.6.0",
"typescript": "^3.3.3333",
"tslint-react": "^4.0.0",
"typescript": "^3.5.2",
"uuid": "^3.3.2",
"webpack": "^4.29.6",
"webpack-cli": "^3.1.0",
"webpack-cli": "^3.3.0",
"webpack-dev-server": "^3.2.1"

@@ -122,0 +130,0 @@ },

@@ -30,2 +30,3 @@ [react-accessible-accordion](https://springload.github.io/react-accessible-accordion/)

AccordionItemHeading,
AccordionItemButton,
AccordionItemPanel,

@@ -100,3 +101,3 @@ } from 'react-accessible-accordion';

Accepts an array of strings and any `AccordionItem` whose `uuid` prop matches on
Accepts an array of strings and any `AccordionItem` whose `uuid` prop matches any one
of these strings will be expanded on mount.

@@ -103,0 +104,0 @@

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