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

react-cool-onclickoutside

Package Overview
Dependencies
Maintainers
1
Versions
57
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-cool-onclickoutside - npm Package Compare versions

Comparing version 1.5.1 to 1.5.2

2

dist/index.d.ts

@@ -17,3 +17,3 @@ declare module "react-cool-onclickoutside" {

interface Return {
(element: HTMLElement): void;
(element: HTMLElement | null): void;
}

@@ -20,0 +20,0 @@

{
"name": "react-cool-onclickoutside",
"version": "1.5.1",
"version": "1.5.2",
"description": "React hook to listen for clicks outside of the component(s).",

@@ -78,3 +78,3 @@ "license": "MIT",

"plugins": [
"@babel/plugin-proposal-object-rest-spread"
"@babel/proposal-object-rest-spread"
],

@@ -131,5 +131,5 @@ "env": {

"devDependencies": {
"@babel/core": "^7.10.2",
"@babel/plugin-proposal-object-rest-spread": "^7.10.1",
"@babel/preset-env": "^7.10.2",
"@babel/core": "^7.10.3",
"@babel/plugin-proposal-object-rest-spread": "^7.10.3",
"@babel/preset-env": "^7.10.3",
"@babel/preset-react": "^7.10.1",

@@ -145,5 +145,5 @@ "@babel/preset-typescript": "^7.10.1",

"@rollup/plugin-url": "^5.0.1",
"@testing-library/react": "^10.2.1",
"@testing-library/react": "^10.3.0",
"@types/jest": "^26.0.0",
"@types/react": "^16.9.36",
"@types/react": "^16.9.38",
"@types/react-dom": "^16.9.8",

@@ -155,3 +155,3 @@ "babel-plugin-emotion": "^10.0.33",

"jest": "^26.0.1",
"lint-staged": "^10.2.10",
"lint-staged": "^10.2.11",
"normalize.css": "^8.0.1",

@@ -164,3 +164,3 @@ "npm-run-all": "^4.1.5",

"rimraf": "^3.0.2",
"rollup": "^2.16.1",
"rollup": "^2.17.1",
"rollup-plugin-copy": "^3.3.0",

@@ -172,4 +172,4 @@ "rollup-plugin-livereload": "^1.3.0",

"rollup-plugin-terser": "^6.1.0",
"stylelint": "^13.6.0",
"stylelint-config-prettier": "^8.0.1",
"stylelint": "^13.6.1",
"stylelint-config-prettier": "^8.0.2",
"stylelint-config-standard": "^20.0.0",

@@ -176,0 +176,0 @@ "stylelint-prettier": "^1.1.2",

@@ -16,3 +16,3 @@ # React Cool Onclickoutside

[![MIT licensed](https://img.shields.io/github/license/wellyshen/react-cool-onclickoutside?style=flat-square)](https://raw.githubusercontent.com/wellyshen/react-cool-onclickoutside/master/LICENSE)
[![All Contributors](https://img.shields.io/badge/all_contributors-1-orange?style=flat-square)](#contributors-)
[![All Contributors](https://img.shields.io/badge/all_contributors-2-orange?style=flat-square)](#contributors-)
[![PRs welcome](https://img.shields.io/badge/PRs-welcome-brightgreen?style=flat-square)](https://github.com/wellyshen/react-cool-onclickoutside/blob/master/CONTRIBUTING.md)

@@ -233,8 +233,11 @@ [![Twitter URL](https://img.shields.io/twitter/url?style=social&url=https%3A%2F%2Fgithub.com%2Fwellyshen%2Freact-cool-onclickoutside)](https://twitter.com/intent/tweet?text=With%20@react-cool-onclickoutside,%20I%20can%20build%20UI%20components%20efficiently.%20Thanks,%20@Welly%20Shen%20🀩)

<td align="center"><a href="https://wellyshen.com"><img src="https://avatars1.githubusercontent.com/u/21308003?v=4" width="100px;" alt=""/><br /><sub><b>Welly</b></sub></a><br /><a href="https://github.com/wellyshen/react-cool-onclickoutside/commits?author=wellyshen" title="Code">πŸ’»</a> <a href="https://github.com/wellyshen/react-cool-onclickoutside/commits?author=wellyshen" title="Documentation">πŸ“–</a> <a href="#maintenance-wellyshen" title="Maintenance">🚧</a></td>
<td align="center"><a href="https://github.com/DmitryScaletta"><img src="https://avatars1.githubusercontent.com/u/5096735?v=4" width="100px;" alt=""/><br /><sub><b>DmitryScaletta</b></sub></a><br /><a href="https://github.com/wellyshen/react-cool-onclickoutside/issues?q=author%3ADmitryScaletta" title="Bug reports">πŸ›</a></td>
</tr>
</table>
<!-- markdownlint-enable -->
<!-- prettier-ignore-end -->
<!-- ALL-CONTRIBUTORS-LIST:END -->
This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!
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