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

@teambit/base-ui.hook.use-click-outside

Package Overview
Dependencies
Maintainers
16
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@teambit/base-ui.hook.use-click-outside - npm Package Compare versions

Comparing version 0.5.3 to 0.5.4

17

dist/click-outside.composition.js
"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
Object.defineProperty(o, "default", { enumerable: true, value: v });
}) : function(o, v) {
o["default"] = v;
});
var __importStar = (this && this.__importStar) || function (mod) {
if (mod && mod.__esModule) return mod;
var result = {};
if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];
result["default"] = mod;
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
__setModuleDefault(result, mod);
return result;

@@ -13,2 +25,3 @@ };

Object.defineProperty(exports, "__esModule", { value: true });
exports.UsingWrapper = exports.UsingClassWithRefPolyfill = exports.UsingHookAndRefPolyfill = exports.UsingHook = void 0;
const react_1 = __importStar(require("react"));

@@ -15,0 +28,0 @@ // @ts-ignore

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.ClickOutside = void 0;
const use_click_outside_1 = require("./use-click-outside");

@@ -4,0 +5,0 @@ /** useClickOutside wrapper, for components that can't use hooks directly */

5

dist/index.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.useClickOutside = exports.ClickOutside = void 0;
var click_outside_1 = require("./click-outside");
exports.ClickOutside = click_outside_1.ClickOutside;
Object.defineProperty(exports, "ClickOutside", { enumerable: true, get: function () { return click_outside_1.ClickOutside; } });
var use_click_outside_1 = require("./use-click-outside");
exports.useClickOutside = use_click_outside_1.useClickOutside;
Object.defineProperty(exports, "useClickOutside", { enumerable: true, get: function () { return use_click_outside_1.useClickOutside; } });
//# sourceMappingURL=index.js.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.useClickOutside = void 0;
const react_1 = require("react");

@@ -4,0 +5,0 @@ /** calls handler when clicking in the DOM outside the target component */

{
"name": "@teambit/base-ui.hook.use-click-outside",
"version": "0.5.3",
"version": "0.5.4",
"homepage": "https://bit.dev/teambit/base-ui/hook/use-click-outside",
"main": "dist/index.js",

@@ -8,3 +9,3 @@ "componentId": {

"name": "hook/use-click-outside",
"version": "0.5.3"
"version": "0.5.4"
},

@@ -16,7 +17,8 @@ "dependencies": {

"react-create-ref": "^1.0.1",
"@types/react-router-dom": "^5.1.5",
"@types/mocha": "8.0.0",
"@types/jest": "~26.0.9",
"@types/react": "16.9.43",
"core-js": "^3.6.5",
"@types/react": "16.9.43",
"@types/jest": "~26.0.9",
"@types/mocha": "8.0.0",
"@types/react-router-dom": "^5.1.5"
"@types/node": "^12.12.27"
},

@@ -33,15 +35,16 @@ "peerDependencies": {

"dependencies": {
"react": "-",
"@babel/runtime": "^7.8.4"
"@babel/runtime": "^7.8.4",
"react": "-"
},
"devDependencies": {
"@types/react-router-dom": "^5.1.5",
"@types/mocha": "8.0.0",
"@types/jest": "~26.0.9",
"@types/react": "16.9.43",
"core-js": "^3.6.5",
"@types/react": "16.9.43",
"@types/jest": "~26.0.9",
"@types/mocha": "8.0.0",
"@types/react-router-dom": "^5.1.5"
"@types/node": "^12.12.27"
},
"peerDependencies": {
"react": "^16.13.1",
"react-dom": "^16.13.1"
"react-dom": "^16.13.1",
"react": "^16.13.1"
}

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

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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