Socket
Socket
Sign inDemoInstall

react-simple-wysiwyg

Package Overview
Dependencies
Maintainers
1
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-simple-wysiwyg - npm Package Compare versions

Comparing version 2.2.2 to 2.2.3

8

lib/index.cjs.js

@@ -248,3 +248,3 @@ 'use strict';

var editorState = useEditorState();
var $selection = editorState.$selection;
var $el = editorState.$el, $selection = editorState.$selection;
var active = false;

@@ -256,2 +256,5 @@ if (typeof command === 'string') {

e.preventDefault();
if (document.activeElement !== $el) {
$el.focus();
}
if (typeof command === 'function') {

@@ -291,2 +294,5 @@ command(editorState);

e.target.selectedIndex = 0;
if (document.activeElement !== editorState.$el) {
editorState.$el.focus();
}
if (typeof command === 'function') {

@@ -293,0 +299,0 @@ command(editorState);

2

lib/index.umd.min.js

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

!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("react")):"function"==typeof define&&define.amd?define(["exports","react"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).ReactSimpleWysiwyg={},e.React)}(this,(function(e,t){"use strict";function n(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(n){if("default"!==n){var r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:function(){return e[n]}})}})),t.default=e,Object.freeze(t)}var r=n(t),o=function(){return o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},o.apply(this,arguments)};function l(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}function a(){if(document.selection)return document.selection.createRange().parentElement();var e=window.getSelection();return e.rangeCount>0?e.getRangeAt(0).startContainer.parentNode:null}function c(e){return e&&e.replace(/&nbsp;|\u202F|\u00A0/g," ")}var u=r.memo(r.forwardRef((function(e,t){var n=e.className,a=e.disabled,u=e.tagName,i=e.value,d=l(e,["className","disabled","tagName","value"]),s=r.useRef(),m=r.useRef(i),f=r.useRef(d);return r.useEffect((function(){f.current=d;var e=s.current;e&&c(m.current)!==c(i)&&(m.current=i,e.innerHTML=i,function(e){var t=document.createTextNode("");e.appendChild(t);var n=document.activeElement===e;if(null!==t&&null!==t.nodeValue&&n){var r=window.getSelection();if(null!==r){var o=document.createRange();o.setStart(t,t.nodeValue.length),o.collapse(!0),r.removeAllRanges(),r.addRange(o)}e instanceof HTMLElement&&e.focus()}}(e))})),r.useMemo((function(){function e(e){var t,n,r=s.current;if(r){var l=r.innerHTML;l!==m.current&&(null===(n=(t=f.current).onChange)||void 0===n||n.call(t,o(o({},e),{target:{value:l,name:d.name}}))),m.current=l}}return r.createElement(u||"div",o(o({},d),{className:n,contentEditable:!a,dangerouslySetInnerHTML:{__html:i},onBlur:function(t){return(f.current.onBlur||e)(t)},onInput:e,onKeyDown:function(t){return(f.current.onKeyDown||e)(t)},onKeyUp:function(t){return(f.current.onKeyUp||e)(t)},ref:function(e){s.current=e,"function"==typeof t?t(e):"object"==typeof t&&(t.current=e)}}))}),[n,a,u])}))),i=r.createContext(null);function d(e){var t=e.children,n=r.useState({htmlMode:!1,update:function(e){a((function(t){return o(o(o({},t),e),{date:Date.now()})}))}}),l=n[0],a=n[1];return r.createElement(i.Provider,{value:l},t)}function s(){var e=r.useContext(i);if(!e)throw new Error("You should wrap your component by EditorProvider");return e}function m(e){var t=l(e,[]);return r.createElement("textarea",o({},t))}var f=[],p=[];function v(e){var t=e.children,n=e.containerProps,c=e.onSelect,i=l(e,["children","containerProps","onSelect"]),d=s();function f(e){var t;e.target!==d.$el&&((null===(t=d.$el)||void 0===t?void 0:t.contains(e.target))||d.update({$selection:null}))}return r.useEffect((function(){return document.addEventListener("click",f),function(){return document.removeEventListener("click",f)}})),d.htmlMode?r.createElement("div",o({className:"rsw-editor"},n),t,r.createElement(m,o({},i,{className:"rsw-ce rsw-html"}))):r.createElement("div",o({className:"rsw-editor"},n),t,r.createElement(u,o({},i,{ref:function(e){d.update({$el:e})},onSelect:function(e){null==c||c(e),d.update({$selection:a()})},className:"rsw-ce"})))}!function(e,t){if(e&&"undefined"!=typeof document){var n,r=!0===t.prepend?"prepend":"append",o=!0===t.singleTag,l="string"==typeof t.container?document.querySelector(t.container):document.getElementsByTagName("head")[0];if(o){var a=f.indexOf(l);-1===a&&(a=f.push(l)-1,p[a]={}),n=p[a]&&p[a][r]?p[a][r]:p[a][r]=c()}else n=c();65279===e.charCodeAt(0)&&(e=e.substring(1)),n.styleSheet?n.styleSheet.cssText+=e:n.appendChild(document.createTextNode(e))}function c(){var e=document.createElement("style");if(e.setAttribute("type","text/css"),t.attributes)for(var n=Object.keys(t.attributes),o=0;o<n.length;o++)e.setAttribute(n[o],t.attributes[n[o]]);var a="prepend"===r?"afterbegin":"beforeend";return l.insertAdjacentElement(a,e),e}}(".rsw-editor{border:1px solid #ddd;border-radius:.375rem;display:flex;flex-direction:column;min-height:100px;overflow:hidden}.rsw-ce{flex:1 0 auto;outline:none;padding:.5rem}.rsw-ce[contentEditable=true]:empty:not(:focus):before{color:grey;content:attr(placeholder)}.rsw-html{background:transparent;border:none;font-family:monospace,Courier New}.rsw-separator{align-self:stretch;border-right:1px solid #ddd;display:flex;margin:0 3px}.rsw-dd{box-sizing:border-box;outline:none}.rsw-btn{background:transparent;border:0;color:#222;cursor:pointer;font-size:1em;height:2em;outline:none;padding:0;width:2em}.rsw-btn:hover{background:#eaeaea}.rsw-btn[data-active=true]{background:#e0e0e0}.rsw-toolbar{align-items:center;background-color:#f5f5f5;border-bottom:1px solid #ddd;display:flex}",{});var h=k("Bold","𝐁","bold"),g=k("Bullet list",r.createElement((function(){return r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24",style:{verticalAlign:"text-top"}},r.createElement("path",{fill:"currentColor",d:"M7 5h14v2H7V5zm0 8v-2h14v2H7zM4 4.50001c.83 0 1.5.66992 1.5 1.5 0 .83007-.67 1.5-1.5 1.5s-1.5-.66993-1.5-1.5c0-.83008.67-1.5 1.5-1.5zM4 10.5c.83 0 1.5.67 1.5 1.5s-.67 1.5-1.5 1.5-1.5-.67-1.5-1.5.67-1.5 1.5-1.5zM7 19v-2h14v2H7zm-3-2.5c.83 0 1.5.67 1.5 1.5s-.67 1.5-1.5 1.5-1.5-.67-1.5-1.5.67-1.5 1.5-1.5z"}))}),null),"insertUnorderedList"),b=k("Clear formatting","TĖēₓ","removeFormat"),E=k("Italic","𝑰","italic"),y=k("Strike through",r.createElement("s",null,"ab"),"strikeThrough"),w=k("Link","🔗",(function(e){var t=e.$selection;"A"===(null==t?void 0:t.nodeName)?document.execCommand("unlink"):document.execCommand("createLink",!1,prompt("URL",""))})),x=k("Numbered list",r.createElement((function(){return r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24",style:{verticalAlign:"text-top"}},r.createElement("path",{fill:"currentColor",d:"M6.99938 12.998v-2H20.9994v2H6.99938zm0 6.0001v-2H20.9994v2H6.99938zm0-12.00001v-2H20.9994v2H6.99938zm-4 1v-3h-1v-1h2v4h-1zm-1 9.00001v-1h3v4h-3v-1h2v-.5h-1v-1h1v-.5h-2zM4.25 10c.41421 0 .75.3358.75.75 0 .2024-.08017.3861-.2105.521L3.11983 13H5v1H2v-.9218L4 11H2v-1h2.25z"}))}),null),"insertOrderedList"),B=k("Redo","↷","redo"),N=k("Underline",r.createElement("span",{style:{textDecoration:"underline"}},"𝐔"),"underline"),M=k("Undo","â†ķ","undo");function k(e,t,n){return l.displayName=e.replace(/\s/g,""),l;function l(l){var a=s(),c=a.$selection,u=!1;return"string"==typeof n&&(u=!!c&&document.queryCommandState(n)),a.htmlMode?null:r.createElement("button",o({type:"button",title:e},l,{className:"rsw-btn",onMouseDown:function(e){e.preventDefault(),"function"==typeof n?n(a):document.execCommand(n)},"data-active":u}),t)}}var C=H("Styles",[["Normal","formatBlock","DIV"],["𝗛ð—ēð—Ūð—ąð—ēð—ŋ 𝟭","formatBlock","H1"],["Header 2","formatBlock","H2"],["ð™ē𝚘𝚍𝚎","formatBlock","PRE"]]);function H(e,t){return n.displayName=e,n;function n(n){var l=s();return l.htmlMode?null:r.createElement(O,o({},n,{onChange:function(e){var n=parseInt(e.target.value,10),r=t[n],o=r[1],a=r[2];e.preventDefault(),e.target.selectedIndex=0,"function"==typeof o?o(l):document.execCommand(o,!1,a)},title:e,items:t}))}}function O(e){var t=e.items,n=e.selected,a=l(e,["items","selected"]);return r.createElement("select",o({},a,{value:n,className:"rsw-dd"}),r.createElement("option",{hidden:!0},a.title),t.map((function(e,t){return r.createElement("option",{key:e[2],value:t},e[0])})))}function S(e){var t=l(e,[]),n=s();return r.createElement("button",o({type:"button",title:"HTML mode",className:"rsw-btn",onClick:function(){n.update({htmlMode:!n.htmlMode})},"data-active":n.htmlMode},t),"</>")}function L(){return s().htmlMode?null:r.createElement("div",{className:"rsw-separator"})}function j(e){return r.createElement("div",o({},e,{className:"rsw-toolbar"}))}function T(e){return r.createElement(d,null,r.createElement(v,o({},e),r.createElement(j,null,r.createElement(M,null),r.createElement(B,null),r.createElement(L,null),r.createElement(h,null),r.createElement(E,null),r.createElement(N,null),r.createElement(y,null),r.createElement(L,null),r.createElement(x,null),r.createElement(g,null),r.createElement(L,null),r.createElement(w,null),r.createElement(b,null),r.createElement(S,null),r.createElement(L,null),r.createElement(C,null))))}e.BtnBold=h,e.BtnBulletList=g,e.BtnClearFormatting=b,e.BtnItalic=E,e.BtnLink=w,e.BtnNumberedList=x,e.BtnRedo=B,e.BtnStrikeThrough=y,e.BtnStyles=C,e.BtnUnderline=N,e.BtnUndo=M,e.ContentEditable=u,e.DefaultEditor=T,e.Dropdown=O,e.Editor=v,e.EditorContext=i,e.EditorProvider=d,e.HtmlButton=S,e.HtmlEditor=m,e.Separator=L,e.Toolbar=j,e.createButton=k,e.createDropdown=H,e.default=T,e.useEditorState=s,Object.defineProperty(e,"__esModule",{value:!0})}));
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("react")):"function"==typeof define&&define.amd?define(["exports","react"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).ReactSimpleWysiwyg={},e.React)}(this,(function(e,t){"use strict";function n(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(n){if("default"!==n){var r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:function(){return e[n]}})}})),t.default=e,Object.freeze(t)}var r=n(t),o=function(){return o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},o.apply(this,arguments)};function l(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}function a(){if(document.selection)return document.selection.createRange().parentElement();var e=window.getSelection();return e.rangeCount>0?e.getRangeAt(0).startContainer.parentNode:null}function c(e){return e&&e.replace(/&nbsp;|\u202F|\u00A0/g," ")}var u=r.memo(r.forwardRef((function(e,t){var n=e.className,a=e.disabled,u=e.tagName,i=e.value,d=l(e,["className","disabled","tagName","value"]),s=r.useRef(),m=r.useRef(i),f=r.useRef(d);return r.useEffect((function(){f.current=d;var e=s.current;e&&c(m.current)!==c(i)&&(m.current=i,e.innerHTML=i,function(e){var t=document.createTextNode("");e.appendChild(t);var n=document.activeElement===e;if(null!==t&&null!==t.nodeValue&&n){var r=window.getSelection();if(null!==r){var o=document.createRange();o.setStart(t,t.nodeValue.length),o.collapse(!0),r.removeAllRanges(),r.addRange(o)}e instanceof HTMLElement&&e.focus()}}(e))})),r.useMemo((function(){function e(e){var t,n,r=s.current;if(r){var l=r.innerHTML;l!==m.current&&(null===(n=(t=f.current).onChange)||void 0===n||n.call(t,o(o({},e),{target:{value:l,name:d.name}}))),m.current=l}}return r.createElement(u||"div",o(o({},d),{className:n,contentEditable:!a,dangerouslySetInnerHTML:{__html:i},onBlur:function(t){return(f.current.onBlur||e)(t)},onInput:e,onKeyDown:function(t){return(f.current.onKeyDown||e)(t)},onKeyUp:function(t){return(f.current.onKeyUp||e)(t)},ref:function(e){s.current=e,"function"==typeof t?t(e):"object"==typeof t&&(t.current=e)}}))}),[n,a,u])}))),i=r.createContext(null);function d(e){var t=e.children,n=r.useState({htmlMode:!1,update:function(e){a((function(t){return o(o(o({},t),e),{date:Date.now()})}))}}),l=n[0],a=n[1];return r.createElement(i.Provider,{value:l},t)}function s(){var e=r.useContext(i);if(!e)throw new Error("You should wrap your component by EditorProvider");return e}function m(e){var t=l(e,[]);return r.createElement("textarea",o({},t))}var f=[],p=[];function v(e){var t=e.children,n=e.containerProps,c=e.onSelect,i=l(e,["children","containerProps","onSelect"]),d=s();function f(e){var t;e.target!==d.$el&&((null===(t=d.$el)||void 0===t?void 0:t.contains(e.target))||d.update({$selection:null}))}return r.useEffect((function(){return document.addEventListener("click",f),function(){return document.removeEventListener("click",f)}})),d.htmlMode?r.createElement("div",o({className:"rsw-editor"},n),t,r.createElement(m,o({},i,{className:"rsw-ce rsw-html"}))):r.createElement("div",o({className:"rsw-editor"},n),t,r.createElement(u,o({},i,{ref:function(e){d.update({$el:e})},onSelect:function(e){null==c||c(e),d.update({$selection:a()})},className:"rsw-ce"})))}!function(e,t){if(e&&"undefined"!=typeof document){var n,r=!0===t.prepend?"prepend":"append",o=!0===t.singleTag,l="string"==typeof t.container?document.querySelector(t.container):document.getElementsByTagName("head")[0];if(o){var a=f.indexOf(l);-1===a&&(a=f.push(l)-1,p[a]={}),n=p[a]&&p[a][r]?p[a][r]:p[a][r]=c()}else n=c();65279===e.charCodeAt(0)&&(e=e.substring(1)),n.styleSheet?n.styleSheet.cssText+=e:n.appendChild(document.createTextNode(e))}function c(){var e=document.createElement("style");if(e.setAttribute("type","text/css"),t.attributes)for(var n=Object.keys(t.attributes),o=0;o<n.length;o++)e.setAttribute(n[o],t.attributes[n[o]]);var a="prepend"===r?"afterbegin":"beforeend";return l.insertAdjacentElement(a,e),e}}(".rsw-editor{border:1px solid #ddd;border-radius:.375rem;display:flex;flex-direction:column;min-height:100px;overflow:hidden}.rsw-ce{flex:1 0 auto;outline:none;padding:.5rem}.rsw-ce[contentEditable=true]:empty:not(:focus):before{color:grey;content:attr(placeholder)}.rsw-html{background:transparent;border:none;font-family:monospace,Courier New}.rsw-separator{align-self:stretch;border-right:1px solid #ddd;display:flex;margin:0 3px}.rsw-dd{box-sizing:border-box;outline:none}.rsw-btn{background:transparent;border:0;color:#222;cursor:pointer;font-size:1em;height:2em;outline:none;padding:0;width:2em}.rsw-btn:hover{background:#eaeaea}.rsw-btn[data-active=true]{background:#e0e0e0}.rsw-toolbar{align-items:center;background-color:#f5f5f5;border-bottom:1px solid #ddd;display:flex}",{});var h=k("Bold","𝐁","bold"),g=k("Bullet list",r.createElement((function(){return r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24",style:{verticalAlign:"text-top"}},r.createElement("path",{fill:"currentColor",d:"M7 5h14v2H7V5zm0 8v-2h14v2H7zM4 4.50001c.83 0 1.5.66992 1.5 1.5 0 .83007-.67 1.5-1.5 1.5s-1.5-.66993-1.5-1.5c0-.83008.67-1.5 1.5-1.5zM4 10.5c.83 0 1.5.67 1.5 1.5s-.67 1.5-1.5 1.5-1.5-.67-1.5-1.5.67-1.5 1.5-1.5zM7 19v-2h14v2H7zm-3-2.5c.83 0 1.5.67 1.5 1.5s-.67 1.5-1.5 1.5-1.5-.67-1.5-1.5.67-1.5 1.5-1.5z"}))}),null),"insertUnorderedList"),b=k("Clear formatting","TĖēₓ","removeFormat"),E=k("Italic","𝑰","italic"),y=k("Strike through",r.createElement("s",null,"ab"),"strikeThrough"),w=k("Link","🔗",(function(e){var t=e.$selection;"A"===(null==t?void 0:t.nodeName)?document.execCommand("unlink"):document.execCommand("createLink",!1,prompt("URL",""))})),x=k("Numbered list",r.createElement((function(){return r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24",style:{verticalAlign:"text-top"}},r.createElement("path",{fill:"currentColor",d:"M6.99938 12.998v-2H20.9994v2H6.99938zm0 6.0001v-2H20.9994v2H6.99938zm0-12.00001v-2H20.9994v2H6.99938zm-4 1v-3h-1v-1h2v4h-1zm-1 9.00001v-1h3v4h-3v-1h2v-.5h-1v-1h1v-.5h-2zM4.25 10c.41421 0 .75.3358.75.75 0 .2024-.08017.3861-.2105.521L3.11983 13H5v1H2v-.9218L4 11H2v-1h2.25z"}))}),null),"insertOrderedList"),B=k("Redo","↷","redo"),N=k("Underline",r.createElement("span",{style:{textDecoration:"underline"}},"𝐔"),"underline"),M=k("Undo","â†ķ","undo");function k(e,t,n){return l.displayName=e.replace(/\s/g,""),l;function l(l){var a=s(),c=a.$el,u=a.$selection,i=!1;return"string"==typeof n&&(i=!!u&&document.queryCommandState(n)),a.htmlMode?null:r.createElement("button",o({type:"button",title:e},l,{className:"rsw-btn",onMouseDown:function(e){e.preventDefault(),document.activeElement!==c&&c.focus(),"function"==typeof n?n(a):document.execCommand(n)},"data-active":i}),t)}}var C=H("Styles",[["Normal","formatBlock","DIV"],["𝗛ð—ēð—Ūð—ąð—ēð—ŋ 𝟭","formatBlock","H1"],["Header 2","formatBlock","H2"],["ð™ē𝚘𝚍𝚎","formatBlock","PRE"]]);function H(e,t){return n.displayName=e,n;function n(n){var l=s();return l.htmlMode?null:r.createElement(O,o({},n,{onChange:function(e){var n=parseInt(e.target.value,10),r=t[n],o=r[1],a=r[2];e.preventDefault(),e.target.selectedIndex=0,document.activeElement!==l.$el&&l.$el.focus();"function"==typeof o?o(l):document.execCommand(o,!1,a)},title:e,items:t}))}}function O(e){var t=e.items,n=e.selected,a=l(e,["items","selected"]);return r.createElement("select",o({},a,{value:n,className:"rsw-dd"}),r.createElement("option",{hidden:!0},a.title),t.map((function(e,t){return r.createElement("option",{key:e[2],value:t},e[0])})))}function S(e){var t=l(e,[]),n=s();return r.createElement("button",o({type:"button",title:"HTML mode",className:"rsw-btn",onClick:function(){n.update({htmlMode:!n.htmlMode})},"data-active":n.htmlMode},t),"</>")}function L(){return s().htmlMode?null:r.createElement("div",{className:"rsw-separator"})}function j(e){return r.createElement("div",o({},e,{className:"rsw-toolbar"}))}function T(e){return r.createElement(d,null,r.createElement(v,o({},e),r.createElement(j,null,r.createElement(M,null),r.createElement(B,null),r.createElement(L,null),r.createElement(h,null),r.createElement(E,null),r.createElement(N,null),r.createElement(y,null),r.createElement(L,null),r.createElement(x,null),r.createElement(g,null),r.createElement(L,null),r.createElement(w,null),r.createElement(b,null),r.createElement(S,null),r.createElement(L,null),r.createElement(C,null))))}e.BtnBold=h,e.BtnBulletList=g,e.BtnClearFormatting=b,e.BtnItalic=E,e.BtnLink=w,e.BtnNumberedList=x,e.BtnRedo=B,e.BtnStrikeThrough=y,e.BtnStyles=C,e.BtnUnderline=N,e.BtnUndo=M,e.ContentEditable=u,e.DefaultEditor=T,e.Dropdown=O,e.Editor=v,e.EditorContext=i,e.EditorProvider=d,e.HtmlButton=S,e.HtmlEditor=m,e.Separator=L,e.Toolbar=j,e.createButton=k,e.createDropdown=H,e.default=T,e.useEditorState=s,Object.defineProperty(e,"__esModule",{value:!0})}));
//# sourceMappingURL=index.umd.min.js.map
{
"name": "react-simple-wysiwyg",
"version": "2.2.2",
"version": "2.2.3",
"description": "Simple and lightweight React WYSIWYG editor",

@@ -5,0 +5,0 @@ "main": "lib/index.cjs.js",

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