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

react-hotkeys-hook

Package Overview
Dependencies
Maintainers
1
Versions
113
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-hotkeys-hook - npm Package Compare versions

Comparing version 4.2.1 to 4.3.0

2

dist/isHotkeyPressed.d.ts
export declare function isHotkeyPressed(key: string | string[], splitKey?: string): boolean;
export declare function pushToCurrentlyPressedKeys(key: string | string[]): void;
export declare function removeFromCurrentlyPressedKeys(key: string): void;

10

dist/react-hotkeys-hook.cjs.development.js

@@ -394,2 +394,3 @@ 'use strict';

}
pushToCurrentlyPressedKeys(mapKey(event.code));
if ((memoisedOptions == null ? void 0 : memoisedOptions.keydown) === undefined && (memoisedOptions == null ? void 0 : memoisedOptions.keyup) !== true || memoisedOptions != null && memoisedOptions.keydown) {

@@ -404,2 +405,3 @@ listener(event);

}
removeFromCurrentlyPressedKeys(mapKey(event.code));
hasTriggeredRef.current = false;

@@ -411,5 +413,5 @@ if (memoisedOptions != null && memoisedOptions.keyup) {

// @ts-ignore
(ref.current || document).addEventListener('keyup', handleKeyUp);
(ref.current || (_options == null ? void 0 : _options.document) || document).addEventListener('keyup', handleKeyUp);
// @ts-ignore
(ref.current || document).addEventListener('keydown', handleKeyDown);
(ref.current || (_options == null ? void 0 : _options.document) || document).addEventListener('keydown', handleKeyDown);
if (proxy) {

@@ -422,5 +424,5 @@ parseKeysHookInput(keys, memoisedOptions == null ? void 0 : memoisedOptions.splitKey).forEach(function (key) {

// @ts-ignore
(ref.current || document).removeEventListener('keyup', handleKeyUp);
(ref.current || (_options == null ? void 0 : _options.document) || document).removeEventListener('keyup', handleKeyUp);
// @ts-ignore
(ref.current || document).removeEventListener('keydown', handleKeyDown);
(ref.current || (_options == null ? void 0 : _options.document) || document).removeEventListener('keydown', handleKeyDown);
if (proxy) {

@@ -427,0 +429,0 @@ parseKeysHookInput(keys, memoisedOptions == null ? void 0 : memoisedOptions.splitKey).forEach(function (key) {

@@ -1,2 +0,2 @@

"use strict";var e=require("react"),t=require("react/jsx-runtime");function n(){return(n=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var r=["shift","alt","meta","mod"],o={esc:"escape",return:"enter",".":"period",",":"comma","-":"slash"," ":"space","#":"backslash","+":"bracketright",ShiftLeft:"shift",ShiftRight:"shift",AltLeft:"alt",AltRight:"alt",MetaLeft:"meta",MetaRight:"meta",ControlLeft:"ctrl",ControlRight:"ctrl"};function u(e){return(o[e]||e).trim().toLowerCase().replace("key","").replace("digit","").replace("numpad","").replace("arrow","")}function i(e,t){return void 0===t&&(t=","),"string"==typeof e?e.split(t):e}function c(e,t){void 0===t&&(t="+");var o=e.toLocaleLowerCase().split(t).map((function(e){return u(e)}));return n({},{alt:o.includes("alt"),shift:o.includes("shift"),meta:o.includes("meta"),mod:o.includes("mod")},{keys:o.filter((function(e){return!r.includes(e)}))})}var a=new Set;function l(e,t){return void 0===t&&(t=","),(Array.isArray(e)?e:e.split(t)).every((function(e){return a.has(e.trim().toLowerCase())}))}function s(e,t){var n=e.target;void 0===t&&(t=!1);var r=n&&n.tagName;return t instanceof Array?Boolean(r&&t&&t.some((function(e){return e.toLowerCase()===r.toLowerCase()}))):Boolean(r&&t&&!0===t)}"undefined"!=typeof document&&(document.addEventListener("keydown",(function(e){var t,n;void 0!==e.key&&(t=u(e.code),n=Array.isArray(t)?t:[t],a.has("meta")&&a.forEach((function(e){return!function(e){return r.includes(e)}(e)&&a.delete(e)})),n.forEach((function(e){return a.add(e.toLowerCase())})))})),document.addEventListener("keyup",(function(e){var t;void 0!==e.key&&("meta"===(t=u(e.code))?a.clear():a.delete(t))})));var d=e.createContext(void 0);function f(e){return t.jsx(d.Provider,{value:{addHotkey:e.addHotkey,removeHotkey:e.removeHotkey},children:e.children})}function v(e,t){return e&&t&&"object"==typeof e&&"object"==typeof t?Object.keys(e).length===Object.keys(t).length&&Object.keys(e).reduce((function(n,r){return n&&v(e[r],t[r])}),!0):e===t}var y=e.createContext({hotkeys:[],enabledScopes:[],toggleScope:function(){},enableScope:function(){},disableScope:function(){}}),p=function(){return e.useContext(y)},m=function(e){e.stopPropagation(),e.preventDefault(),e.stopImmediatePropagation()},k="undefined"!=typeof window?e.useLayoutEffect:e.useEffect;exports.HotkeysProvider=function(n){var r=n.initiallyActiveScopes,o=void 0===r?["*"]:r,u=n.children,i=e.useState((null==o?void 0:o.length)>0?o:["*"]),c=i[0],a=i[1],l=e.useState([]),s=l[0],d=l[1],p=e.useCallback((function(e){a((function(t){return t.includes("*")?[e]:Array.from(new Set([].concat(t,[e])))}))}),[]),m=e.useCallback((function(e){a((function(t){return 0===t.filter((function(t){return t!==e})).length?["*"]:t.filter((function(t){return t!==e}))}))}),[]),k=e.useCallback((function(e){a((function(t){return t.includes(e)?0===t.filter((function(t){return t!==e})).length?["*"]:t.filter((function(t){return t!==e})):t.includes("*")?[e]:Array.from(new Set([].concat(t,[e])))}))}),[]),h=e.useCallback((function(e){d((function(t){return[].concat(t,[e])}))}),[]),b=e.useCallback((function(e){d((function(t){return t.filter((function(t){return!v(t,e)}))}))}),[]);return t.jsx(y.Provider,{value:{enabledScopes:c,hotkeys:s,enableScope:p,disableScope:m,toggleScope:k},children:t.jsx(f,{addHotkey:h,removeHotkey:b,children:u})})},exports.isHotkeyPressed=l,exports.useHotkeys=function(t,n,r,o){var a=e.useRef(null),f=e.useRef(!1),y=r instanceof Array?o instanceof Array?void 0:o:r,h=e.useCallback(n,[].concat(r instanceof Array?r:o instanceof Array?o:[])),b=function(t){var n=e.useRef(void 0);return v(n.current,t)||(n.current=t),n.current}(y),g=p().enabledScopes,w=e.useContext(d);return k((function(){if(!1!==(null==b?void 0:b.enabled)&&(n=null==b?void 0:b.scopes,0===(e=g).length&&n?(console.warn('A hotkey has the "scopes" option set, however no active scopes were found. If you want to use the global scopes feature, you need to wrap your app in a <HotkeysProvider>'),1):!n||e.some((function(e){return n.includes(e)}))||e.includes("*"))){var e,n,r=function(e){var n;s(e,["input","textarea","select"])&&!s(e,null==b?void 0:b.enableOnFormTags)||(null===a.current||document.activeElement===a.current||a.current.contains(document.activeElement)?(null==(n=e.target)||!n.isContentEditable||null!=b&&b.enableOnContentEditable)&&i(t,null==b?void 0:b.splitKey).forEach((function(t){var n,r=c(t,null==b?void 0:b.combinationKey);if((function(e,t){var n=t.alt,r=t.meta,o=t.mod,i=t.shift,c=t.keys,a=e.key,s=e.code,d=l("alt"),f=l("shift"),v=l("meta"),y=l("ctrl"),p=u(s),m=a.toLowerCase();if(d!==n&&"alt"!==m)return!1;if(f!==i&&"shift"!==m)return!1;if(o){if(!v&&!y)return!1}else if(v!==r&&y!==r&&"meta"!==p&&"ctrl"!==p)return!1;return!(!c||1!==c.length||!c.includes(m)&&!c.includes(p))||(c?l(c):!c)}(e,r)||null!=(n=r.keys)&&n.includes("*"))&&!f.current){if(function(e,t,n){("function"==typeof n&&n(e,t)||!0===n)&&e.preventDefault()}(e,r,null==b?void 0:b.preventDefault),!function(e,t,n){return"function"==typeof n?n(e,t):!0===n||void 0===n}(e,r,null==b?void 0:b.enabled))return void m(e);h(e,r),f.current=!0}})):m(e))},o=function(e){void 0!==e.key&&(void 0===(null==b?void 0:b.keydown)&&!0!==(null==b?void 0:b.keyup)||null!=b&&b.keydown)&&r(e)},d=function(e){void 0!==e.key&&(f.current=!1,null!=b&&b.keyup&&r(e))};return(a.current||document).addEventListener("keyup",d),(a.current||document).addEventListener("keydown",o),w&&i(t,null==b?void 0:b.splitKey).forEach((function(e){return w.addHotkey(c(e,null==b?void 0:b.combinationKey))})),function(){(a.current||document).removeEventListener("keyup",d),(a.current||document).removeEventListener("keydown",o),w&&i(t,null==b?void 0:b.splitKey).forEach((function(e){return w.removeHotkey(c(e,null==b?void 0:b.combinationKey))}))}}}),[t,h,b,g]),a},exports.useHotkeysContext=p,exports.useRecordHotkeys=function(){var t=e.useState(new Set),n=t[0],r=t[1],o=e.useState(!1),i=o[0],c=o[1],a=e.useCallback((function(e){void 0!==e.key&&(e.preventDefault(),e.stopPropagation(),r((function(t){var n=new Set(t);return n.add(u(e.code)),n})))}),[]),l=e.useCallback((function(){"undefined"!=typeof document&&(document.removeEventListener("keydown",a),c(!1))}),[a]);return[n,{start:e.useCallback((function(){r(new Set),"undefined"!=typeof document&&(l(),document.addEventListener("keydown",a),c(!0))}),[a,l]),stop:l,isRecording:i}]};
"use strict";var e=require("react"),t=require("react/jsx-runtime");function n(){return(n=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e}).apply(this,arguments)}var o=["shift","alt","meta","mod"],r={esc:"escape",return:"enter",".":"period",",":"comma","-":"slash"," ":"space","#":"backslash","+":"bracketright",ShiftLeft:"shift",ShiftRight:"shift",AltLeft:"alt",AltRight:"alt",MetaLeft:"meta",MetaRight:"meta",ControlLeft:"ctrl",ControlRight:"ctrl"};function u(e){return(r[e]||e).trim().toLowerCase().replace("key","").replace("digit","").replace("numpad","").replace("arrow","")}function i(e,t){return void 0===t&&(t=","),"string"==typeof e?e.split(t):e}function c(e,t){void 0===t&&(t="+");var r=e.toLocaleLowerCase().split(t).map((function(e){return u(e)}));return n({},{alt:r.includes("alt"),shift:r.includes("shift"),meta:r.includes("meta"),mod:r.includes("mod")},{keys:r.filter((function(e){return!o.includes(e)}))})}var a=new Set;function l(e,t){return void 0===t&&(t=","),(Array.isArray(e)?e:e.split(t)).every((function(e){return a.has(e.trim().toLowerCase())}))}function s(e){var t=Array.isArray(e)?e:[e];a.has("meta")&&a.forEach((function(e){return!function(e){return o.includes(e)}(e)&&a.delete(e)})),t.forEach((function(e){return a.add(e.toLowerCase())}))}function d(e){"meta"===e?a.clear():a.delete(e)}function f(e,t){var n=e.target;void 0===t&&(t=!1);var o=n&&n.tagName;return t instanceof Array?Boolean(o&&t&&t.some((function(e){return e.toLowerCase()===o.toLowerCase()}))):Boolean(o&&t&&!0===t)}"undefined"!=typeof document&&(document.addEventListener("keydown",(function(e){void 0!==e.key&&s(u(e.code))})),document.addEventListener("keyup",(function(e){void 0!==e.key&&d(u(e.code))})));var v=e.createContext(void 0);function y(e){return t.jsx(v.Provider,{value:{addHotkey:e.addHotkey,removeHotkey:e.removeHotkey},children:e.children})}function p(e,t){return e&&t&&"object"==typeof e&&"object"==typeof t?Object.keys(e).length===Object.keys(t).length&&Object.keys(e).reduce((function(n,o){return n&&p(e[o],t[o])}),!0):e===t}var m=e.createContext({hotkeys:[],enabledScopes:[],toggleScope:function(){},enableScope:function(){},disableScope:function(){}}),k=function(){return e.useContext(m)},h=function(e){e.stopPropagation(),e.preventDefault(),e.stopImmediatePropagation()},b="undefined"!=typeof window?e.useLayoutEffect:e.useEffect;exports.HotkeysProvider=function(n){var o=n.initiallyActiveScopes,r=void 0===o?["*"]:o,u=n.children,i=e.useState((null==r?void 0:r.length)>0?r:["*"]),c=i[0],a=i[1],l=e.useState([]),s=l[0],d=l[1],f=e.useCallback((function(e){a((function(t){return t.includes("*")?[e]:Array.from(new Set([].concat(t,[e])))}))}),[]),v=e.useCallback((function(e){a((function(t){return 0===t.filter((function(t){return t!==e})).length?["*"]:t.filter((function(t){return t!==e}))}))}),[]),k=e.useCallback((function(e){a((function(t){return t.includes(e)?0===t.filter((function(t){return t!==e})).length?["*"]:t.filter((function(t){return t!==e})):t.includes("*")?[e]:Array.from(new Set([].concat(t,[e])))}))}),[]),h=e.useCallback((function(e){d((function(t){return[].concat(t,[e])}))}),[]),b=e.useCallback((function(e){d((function(t){return t.filter((function(t){return!p(t,e)}))}))}),[]);return t.jsx(m.Provider,{value:{enabledScopes:c,hotkeys:s,enableScope:f,disableScope:v,toggleScope:k},children:t.jsx(y,{addHotkey:h,removeHotkey:b,children:u})})},exports.isHotkeyPressed=l,exports.useHotkeys=function(t,n,o,r){var a=e.useRef(null),y=e.useRef(!1),m=o instanceof Array?r instanceof Array?void 0:r:o,g=e.useCallback(n,[].concat(o instanceof Array?o:r instanceof Array?r:[])),w=function(t){var n=e.useRef(void 0);return p(n.current,t)||(n.current=t),n.current}(m),C=k().enabledScopes,S=e.useContext(v);return b((function(){if(!1!==(null==w?void 0:w.enabled)&&(n=null==w?void 0:w.scopes,0===(e=C).length&&n?(console.warn('A hotkey has the "scopes" option set, however no active scopes were found. If you want to use the global scopes feature, you need to wrap your app in a <HotkeysProvider>'),1):!n||e.some((function(e){return n.includes(e)}))||e.includes("*"))){var e,n,o=function(e){var n;f(e,["input","textarea","select"])&&!f(e,null==w?void 0:w.enableOnFormTags)||(null===a.current||document.activeElement===a.current||a.current.contains(document.activeElement)?(null==(n=e.target)||!n.isContentEditable||null!=w&&w.enableOnContentEditable)&&i(t,null==w?void 0:w.splitKey).forEach((function(t){var n,o=c(t,null==w?void 0:w.combinationKey);if((function(e,t){var n=t.alt,o=t.meta,r=t.mod,i=t.shift,c=t.keys,a=e.key,s=e.code,d=l("alt"),f=l("shift"),v=l("meta"),y=l("ctrl"),p=u(s),m=a.toLowerCase();if(d!==n&&"alt"!==m)return!1;if(f!==i&&"shift"!==m)return!1;if(r){if(!v&&!y)return!1}else if(v!==o&&y!==o&&"meta"!==p&&"ctrl"!==p)return!1;return!(!c||1!==c.length||!c.includes(m)&&!c.includes(p))||(c?l(c):!c)}(e,o)||null!=(n=o.keys)&&n.includes("*"))&&!y.current){if(function(e,t,n){("function"==typeof n&&n(e,t)||!0===n)&&e.preventDefault()}(e,o,null==w?void 0:w.preventDefault),!function(e,t,n){return"function"==typeof n?n(e,t):!0===n||void 0===n}(e,o,null==w?void 0:w.enabled))return void h(e);g(e,o),y.current=!0}})):h(e))},r=function(e){void 0!==e.key&&(s(u(e.code)),(void 0===(null==w?void 0:w.keydown)&&!0!==(null==w?void 0:w.keyup)||null!=w&&w.keydown)&&o(e))},v=function(e){void 0!==e.key&&(d(u(e.code)),y.current=!1,null!=w&&w.keyup&&o(e))};return(a.current||(null==m?void 0:m.document)||document).addEventListener("keyup",v),(a.current||(null==m?void 0:m.document)||document).addEventListener("keydown",r),S&&i(t,null==w?void 0:w.splitKey).forEach((function(e){return S.addHotkey(c(e,null==w?void 0:w.combinationKey))})),function(){(a.current||(null==m?void 0:m.document)||document).removeEventListener("keyup",v),(a.current||(null==m?void 0:m.document)||document).removeEventListener("keydown",r),S&&i(t,null==w?void 0:w.splitKey).forEach((function(e){return S.removeHotkey(c(e,null==w?void 0:w.combinationKey))}))}}}),[t,g,w,C]),a},exports.useHotkeysContext=k,exports.useRecordHotkeys=function(){var t=e.useState(new Set),n=t[0],o=t[1],r=e.useState(!1),i=r[0],c=r[1],a=e.useCallback((function(e){void 0!==e.key&&(e.preventDefault(),e.stopPropagation(),o((function(t){var n=new Set(t);return n.add(u(e.code)),n})))}),[]),l=e.useCallback((function(){"undefined"!=typeof document&&(document.removeEventListener("keydown",a),c(!1))}),[a]);return[n,{start:e.useCallback((function(){o(new Set),"undefined"!=typeof document&&(l(),document.addEventListener("keydown",a),c(!0))}),[a,l]),stop:l,isRecording:i}]};
//# sourceMappingURL=react-hotkeys-hook.cjs.production.min.js.map

@@ -392,2 +392,3 @@ import { useContext, createContext, useState, useCallback, useRef, useLayoutEffect, useEffect } from 'react';

}
pushToCurrentlyPressedKeys(mapKey(event.code));
if ((memoisedOptions == null ? void 0 : memoisedOptions.keydown) === undefined && (memoisedOptions == null ? void 0 : memoisedOptions.keyup) !== true || memoisedOptions != null && memoisedOptions.keydown) {

@@ -402,2 +403,3 @@ listener(event);

}
removeFromCurrentlyPressedKeys(mapKey(event.code));
hasTriggeredRef.current = false;

@@ -409,5 +411,5 @@ if (memoisedOptions != null && memoisedOptions.keyup) {

// @ts-ignore
(ref.current || document).addEventListener('keyup', handleKeyUp);
(ref.current || (_options == null ? void 0 : _options.document) || document).addEventListener('keyup', handleKeyUp);
// @ts-ignore
(ref.current || document).addEventListener('keydown', handleKeyDown);
(ref.current || (_options == null ? void 0 : _options.document) || document).addEventListener('keydown', handleKeyDown);
if (proxy) {

@@ -420,5 +422,5 @@ parseKeysHookInput(keys, memoisedOptions == null ? void 0 : memoisedOptions.splitKey).forEach(function (key) {

// @ts-ignore
(ref.current || document).removeEventListener('keyup', handleKeyUp);
(ref.current || (_options == null ? void 0 : _options.document) || document).removeEventListener('keyup', handleKeyUp);
// @ts-ignore
(ref.current || document).removeEventListener('keydown', handleKeyDown);
(ref.current || (_options == null ? void 0 : _options.document) || document).removeEventListener('keydown', handleKeyDown);
if (proxy) {

@@ -425,0 +427,0 @@ parseKeysHookInput(keys, memoisedOptions == null ? void 0 : memoisedOptions.splitKey).forEach(function (key) {

@@ -30,3 +30,4 @@ import type { DependencyList } from 'react';

description?: string;
document?: Document;
};
export declare type OptionsOrDependencyArray = Options | DependencyList;
{
"name": "react-hotkeys-hook",
"version": "4.2.1",
"version": "4.3.0",
"repository": "https://JohannesKlauss@github.com/JohannesKlauss/react-keymap-hook.git",

@@ -46,5 +46,5 @@ "homepage": "https://johannesklauss.github.io/react-hotkeys-hook/",

"devDependencies": {
"@babel/core": "7.20.5",
"@babel/core": "7.20.7",
"@babel/plugin-proposal-class-properties": "7.18.6",
"@babel/plugin-transform-react-jsx": "7.19.0",
"@babel/plugin-transform-react-jsx": "7.20.7",
"@babel/preset-env": "7.20.2",

@@ -59,3 +59,3 @@ "@babel/preset-react": "7.18.6",

"@types/react": "18.0.26",
"@types/react-dom": "18.0.9",
"@types/react-dom": "18.0.10",
"eslint-plugin-prettier": "4.2.1",

@@ -62,0 +62,0 @@ "jest": "29.3.1",

@@ -11,3 +11,3 @@ import { isHotkeyModifier, mapKey } from './parseHotkeys'

function pushToCurrentlyPressedKeys(key: string | string[]): void {
export function pushToCurrentlyPressedKeys(key: string | string[]): void {
const hotkeyArray = Array.isArray(key) ? key : [key]

@@ -27,3 +27,3 @@

function removeFromCurrentlyPressedKeys(key: string): void {
export function removeFromCurrentlyPressedKeys(key: string): void {
/*

@@ -30,0 +30,0 @@ Due to a weird behavior on macOS we need to clear the set if the user pressed down the meta key and presses another key.

@@ -38,4 +38,5 @@ import type { DependencyList } from 'react'

description?: string // Use this option to describe what the hotkey does. (Default: undefined)
document?: Document // Listen to events on the document instead of the window. (Default: false)
}
export type OptionsOrDependencyArray = Options | DependencyList
import { HotkeyCallback, Keys, Options, OptionsOrDependencyArray, RefType } from './types'
import { DependencyList, useCallback, useEffect, useLayoutEffect, useRef } from 'react'
import { parseHotkey, parseKeysHookInput } from './parseHotkeys'
import { mapKey, parseHotkey, parseKeysHookInput } from './parseHotkeys'
import {

@@ -15,2 +15,3 @@ isHotkeyEnabled,

import useDeepEqualMemo from './useDeepEqualMemo'
import { pushToCurrentlyPressedKeys, removeFromCurrentlyPressedKeys } from './isHotkeyPressed'

@@ -91,2 +92,4 @@ const stopPropagation = (e: KeyboardEvent): void => {

pushToCurrentlyPressedKeys(mapKey(event.code))
if ((memoisedOptions?.keydown === undefined && memoisedOptions?.keyup !== true) || memoisedOptions?.keydown) {

@@ -103,2 +106,4 @@ listener(event)

removeFromCurrentlyPressedKeys(mapKey(event.code))
hasTriggeredRef.current = false

@@ -112,5 +117,5 @@

// @ts-ignore
(ref.current || document).addEventListener('keyup', handleKeyUp);
(ref.current || _options?.document || document).addEventListener('keyup', handleKeyUp);
// @ts-ignore
(ref.current || document).addEventListener('keydown', handleKeyDown)
(ref.current || _options?.document || document).addEventListener('keydown', handleKeyDown)

@@ -123,5 +128,5 @@ if (proxy) {

// @ts-ignore
(ref.current || document).removeEventListener('keyup', handleKeyUp);
(ref.current || _options?.document || document).removeEventListener('keyup', handleKeyUp);
// @ts-ignore
(ref.current || document).removeEventListener('keydown', handleKeyDown)
(ref.current || _options?.document || document).removeEventListener('keydown', handleKeyDown)

@@ -128,0 +133,0 @@ if (proxy) {

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