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

react-dropdown-now

Package Overview
Dependencies
Maintainers
2
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-dropdown-now - npm Package Compare versions

Comparing version 4.2.0 to 5.0.0

dist/components/Arrow.d.ts

56

package.json
{
"name": "react-dropdown-now",
"version": "4.2.0",
"version": "5.0.0",
"description": "React dropdown component NOW",
"main": "dist/index.js",
"module": "dist/index.es.js",
"style": "style.css",

@@ -41,15 +42,11 @@ "repository": {

"classnames": "^2.2.6",
"lodash": "^4.17.20"
"lodash": "^4.17.21"
},
"peerDependencies": {
"react": ">=16.8.3",
"react-dom": ">=16.8.3"
},
"devDependencies": {
"@babel/cli": "7.12.1",
"@babel/core": "^7.12.3",
"@babel/plugin-proposal-class-properties": "^7.12.1",
"@babel/plugin-proposal-object-rest-spread": "^7.12.1",
"@babel/plugin-transform-destructuring": "^7.12.1",
"@babel/plugin-transform-runtime": "^7.12.1",
"@babel/polyfill": "^7.12.1",
"@babel/preset-env": "^7.12.1",
"@babel/preset-react": "^7.12.1",
"@babel/register": "^7.12.1",
"@commitlint/cli": "^11.0.0",

@@ -63,12 +60,13 @@ "@commitlint/config-conventional": "^11.0.0",

"@testing-library/jest-dom": "^5.11.5",
"@testing-library/react": "^11.1.0",
"babel-eslint": "^10.1.0",
"@testing-library/react": "^11.1.1",
"@types/jest": "^26.0.15",
"@types/node": "^14.14.6",
"babel-loader": "^8.1.0",
"browser-env": "^3.3.0",
"core-js": "^3.6.5",
"eslint": "^7.12.0",
"eslint": "^7.12.1",
"eslint-config-airbnb": "^18.2.0",
"eslint-config-prettier": "^6.14.0",
"eslint-config-prettier": "^6.15.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jsx-a11y": "^6.4.0",
"eslint-plugin-jest": "^24.1.0",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-react": "^7.21.5",

@@ -78,3 +76,3 @@ "eslint-plugin-react-hooks": "^4.2.0",

"husky": "^4.3.0",
"jest": "^26.6.1",
"jest": "^26.6.3",
"react": "^16.8.3",

@@ -84,9 +82,19 @@ "react-custom-scrollbars": "^4.2.1",

"react-is": "^17.0.1",
"yargs": "^16.1.0"
"ts-jest": "^26.4.3",
"@rollup/plugin-commonjs": "^16.0.0",
"@rollup/plugin-node-resolve": "^10.0.0",
"@types/testing-library__jest-dom": "^5.9.5",
"@types/testing-library__react": "^10.2.0",
"@typescript-eslint/eslint-plugin": "^4.6.1",
"@typescript-eslint/parser": "^4.6.1",
"eslint-plugin-prettier": "^3.1.4",
"fork-ts-checker-webpack-plugin": "^5.2.1",
"prettier": "^2.1.2",
"rollup": "^2.33.1",
"rollup-plugin-peer-deps-external": "^2.2.4",
"rollup-plugin-typescript2": "^0.29.0",
"ts-loader": "^8.0.8",
"typescript": "^4.0.5"
},
"typings": "./index.d.ts",
"scripts": {
"build": "babel src --out-dir dist --ignore \"**/__tests__,**/stories,**/*.stories.js\"",
"lint": "eslint src",
"lint:fix": "eslint src --fix",
"lint:commits": "commitlint --from origin/master --to HEAD",

@@ -105,3 +113,5 @@ "jest": "jest --config=./.jest/jest.config.js",

"build-storybook": "build-storybook -o docs",
"deploy": "npm run build-storybook && gh-pages -d docs -m 'chore: deploy docs'"
"deploy": "npm run build-storybook && gh-pages -d docs -m 'chore: deploy docs'",
"build": "rollup -c",
"lint": "eslint 'src/**/*.{js,ts,tsx}' --quiet --fix"
},

@@ -108,0 +118,0 @@ "husky": {

@@ -12,3 +12,3 @@ # react-dropdown-now

```Javascript
import Dropdown, { Selection } from 'react-dropdown-now';
import { Dropdown, Selection } from 'react-dropdown-now';
import 'react-dropdown-now/style.css';

@@ -111,3 +111,2 @@

#### Using custom arrows

@@ -125,6 +124,11 @@

More [examples in the docs folder.][2]
More [examples in the stories folder.][2]
### Migration
#### v4 => v5
- import statements have changed, please update imports.
- added Typescript support using rollup
#### v3 => v4

@@ -140,3 +144,2 @@

### License

@@ -148,3 +151,3 @@

[1]: https://iambumblehead.github.io/react-dropdown-now/
[2]: https://github.com/iambumblehead/react-dropdown-now/tree/master/docs
[2]: https://github.com/iambumblehead/react-dropdown-now/tree/master/src/stories
[10]: https://github.com/iambumblehead/react-dropdown-now/pull/71/files#diff-96444c2208ab41b33ce225669e78e3b3426b43216f64e4c34398d6c0d50918e9

@@ -151,0 +154,0 @@ [npm-image]: https://img.shields.io/npm/v/react-dropdown-now.svg?style=flat-square

Sorry, the diff of this file is too big to display

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