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

@jspreadsheet/client

Package Overview
Dependencies
Maintainers
0
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jspreadsheet/client - npm Package Compare versions

Comparing version 11.11.7 to 11.11.8

22

dist/index.js

@@ -39,13 +39,11 @@ /**

$jscomp.asyncExecutePromiseGenerator=function(a){function c(f){return a.next(f)}function d(f){return a.throw(f)}return new Promise(function(f,g){function v(m){m.done?f(m.value):Promise.resolve(m.value).then(c,d).then(v,g)}v(a.next())})};$jscomp.asyncExecutePromiseGeneratorFunction=function(a){return $jscomp.asyncExecutePromiseGenerator(a())};$jscomp.asyncExecutePromiseGeneratorProgram=function(a){return $jscomp.asyncExecutePromiseGenerator(new $jscomp.generator.Generator_(new $jscomp.generator.Engine_(a)))};
function a0_0x13e2(a,c){const d=a0_0x29ac();return a0_0x13e2=function(f,g){return d[f-433]},a0_0x13e2(a,c)}(function(a,c){const d=a0_0x13e2;for(a=a();;)try{if(parseInt(d(465))/1+-parseInt(d(460))/2*(parseInt(d(477))/3)+-parseInt(d(496))/4*(-parseInt(d(468))/5)+parseInt(d(483))/6*(-parseInt(d(486))/7)+-parseInt(d(467))/8*(-parseInt(d(455))/9)+parseInt(d(493))/10*(parseInt(d(474))/11)+parseInt(d(504))/12===c)break;else a.push(a.shift())}catch(f){a.push(a.shift())}})(a0_0x29ac,473775);
(function(a,c){const d=a0_0x13e2;typeof exports===d(459)&&typeof module!==d(436)?module[d(484)]=c():typeof define===d(482)&&define[d(479)]?define(c):a.client=c()})(this,function(){const a=a0_0x13e2;let c=null;const d={url:"",path:""},f=function(e){return $jscomp.asyncExecutePromiseGeneratorFunction(function*(){const b=a0_0x13e2,q=new JSZip;return q.file(b(505),JSON[b(434)](e)),q.generateAsync({type:b(447)})})},g=function(e){return $jscomp.asyncExecutePromiseGeneratorFunction(function*(){var b=a0_0x13e2;
b=yield(yield JSZip.loadAsync(e)).file(b(505))[b(494)](b(445));return JSON.parse(b)})},v=function(e){const b=a0_0x13e2,q={},x=[];let r=!1;e[b(451)]=!1;const w=function(h){alert(h);window[b(439)](window[b(501)][b(497)],"_self")},u=function(){const h=x[b(458)]();if(h){var {requestInfo:l,callback:n}=h;f(l).then(t=>{e[b(476)].emit(b(499),t,function(p){u();p[b(471)]?(typeof n===b(482)&&n(p),p[b(464)]&&l[b(503)][b(485)](p[b(464)])):k(p)})})}else r=!1,e.progress(!1)},k=function(h,l){!0===l&&e[b(492)][b(433)][b(456)]("disconnected");
typeof h===b(445)&&(h={message:h});typeof d[b(466)]===b(482)?d[b(466)](h):console.error(h)};q[b(488)]=function(h,l,n,t){if(typeof io==b(436))return!1;if(!e[b(451)])if(e.socket)l!==b(506)&&e.progress(!0),h={requestInfo:{worksheet:h[b(441)][b(478)],method:l,args:n?Object.values(n):[]},callback:t},x[b(469)](h),r||(r=!0,u());else console[b(487)](b(498))};q.onevent=function(h,l,n,t){if("onbeforeloadimage"===h&&typeof d.onbeforeloadimage===b(482))return d[b(472)](l,n,t)};return function(){if("undefined"==
typeof io)k(b(470),!0);else{let h=Object.assign({},{type:b(476),guid:e[b(446)][b(450)]},d[b(454)]);e[b(476)]=io(d[b(491)],{path:"/"+(d[b(457)]||"")+"socket.io/",query:h});e[b(476)].on("connect_error",l=>{k(l,!0)});e.socket.on(b(440),function(){e.element[b(433)][b(475)](b(448))&&w("There is a connection issue that seems to be fixed. Reconnecting to your table...")});e[b(476)].on(b(461),function(){e[b(492)][b(433)][b(456)](b(448))});e[b(476)].on(b(481),function(l){w(l.args[0])});e.socket.on(b(499),
function(l){return $jscomp.asyncExecutePromiseGeneratorFunction(function*(){var n=yield g(l);c[b(495)][b(462)]=!0;e[b(451)]=!0;e[b(442)]=!0;let t=n[b(438)];var p=n[b(503)];p=e.getWorksheet(p);if(p=(p=e.worksheets[p])?p:!1)if("setBorder"===t)p[b(506)](...n[b(473)],n[b(463)]);else if(t===b(480))p[b(480)](n[b(463)],!0);else n=n[b(473)]||[],typeof p[t]==b(482)&&p[t](...n);else typeof e[t]==b(482)&&e[t](...n[b(473)]);e.ignoreCloud=!1;e[b(442)]=!1;c[b(495)][b(462)]=!1})})}}(),q},m=function(e){const b=a0_0x13e2;
if(typeof io==b(436))console[b(487)](b(470));else if(e){e[b(491)]&&(d[b(491)]=e[b(491)]);typeof e[b(457)]!==b(436)&&(d[b(457)]=e[b(457)]);e.auth&&(d[b(454)]=e[b(454)]);e.onerror&&(d[b(466)]=e[b(466)]);e[b(443)]&&(d.onbeforecreate=e[b(443)]);e[b(449)]&&(d[b(449)]=e[b(449)]);e.onbeforeloadimage&&(d[b(472)]=e.onbeforeloadimage);var q=io(e.url,{path:"/"+(e[b(457)]||"")+b(437),query:Object.assign({},{type:b(476)},d.auth)}),x=function(r,w){let u;typeof r===b(445)?u=r:u=r[b(450)];q[b(444)](b(502),u,function(k){return $jscomp.asyncExecutePromiseGeneratorFunction(function*(){k=
yield g(k);1===k.error?console[b(487)](k):(typeof k.config!==b(436)&&(k=k[b(446)]),typeof k===b(445)&&(k=JSON[b(490)](k)),w(k))})})};return m[b(502)]=function(r,w){x(r,function(u){const k=a0_0x13e2;typeof d[k(443)]==k(482)&&d[k(443)](u);w(u)})},{load:x,create:function(r,w){return new Promise(function(u,k){return $jscomp.asyncExecutePromiseGeneratorFunction(function*(){var h=a0_0x13e2;if(q)h=yield f({guid:r,config:JSON.stringify(w)}),q.emit("create",h,function(l){!1!==l?u(l):k(l)});else console[h(487)](h(452))})})},
destroy:function(r,w){q?q[b(444)]("destroy",r,w):console[b(487)](b(452))},disconnect:function(){q[b(461)]();q=null}}}};return m.oninit=function(e,b){b=a0_0x13e2;e[b(446)][b(450)]&&e[b(500)]({client:v})},m[a(489)]=function(e){e.socket&&e.socket[a(461)]()},m[a(435)]=function(e){return e?d.url:d.url+d[a(457)]},m.getServerPath=function(){return d.path},m.load=function(){console.error("Not connect to the server")},m.connect=m,m.onbeforeloadimage=function(){return d[a(472)](...arguments)},m[a(453)]=function(){!c&&
(c=this)},m});
function a0_0x29ac(){const a="onbeforecreate;emit;string;config;arraybuffer;disconnected;onbeforeload;guid;ignoreCloud;Not connect to any server;license;auth;36ckjFXs;add;path;shift;object;126484cAtGAW;disconnect;ignore;user;data;547998qcgsIW;onerror;516848ctJjoF;15xQdKzk;push;JSS: socket.io not found;status;onbeforeloadimage;args;101035DyXLmo;contains;socket;33pYVuhY;worksheetId;amd;resetBorders;forceRefresh;function;1060590ioTsbN;exports;updateCells;35YhWVrK;error;persistence;ondestroy;parse;url;element;590EUOkzx;async;history;285584AwHmTJ;href;JSS: socket not loaded;JSS;setPlugins;location;load;worksheet;5888844EhrEmg;main.json;setBorder;classList;stringify;getServerUrl;undefined;socket.io/;method;open;connect;options;ignorePersistence".split(";");a0_0x29ac=
function(){return a};return a0_0x29ac()};
function a0_0x1991(){const a="file;auth;1396060Pacqcd;client;worksheets;worksheet;getWorksheet;config;undefined;ondestroy;load;path;stringify;status;getServerPath;destroy;ignoreCloud;shift;push;location;forceRefresh;open;socket.io/;guid;onbeforeloadimage;async;data;514QSDSzF;amd;loadAsync;parse;args;1809180FPJJHI;add;disconnected;ignorePersistence;function;connect;setPlugins;string;values;resetBorders;JSS;getServerUrl;persistence;element;progress;2392530lnHZrN;Not connect to any server;object;Not connect to the server;generateAsync;setBorder;history;worksheetId;emit;disconnect;create;99147bRmHWA;socket;user;main.json;onbeforeload;classList;onbeforecreate;connect_error;JSS: socket not loaded;4697838QsFRdq;onerror;2085AvStFp;license;91HiPpac;There is a connection issue that seems to be fixed. Reconnecting to your table...;error;JSS: socket.io not found;172936kpPyvB;ignore;url;updateCells".split(";");
a0_0x1991=function(){return a};return a0_0x1991()}function a0_0x38b1(a,c){const d=a0_0x1991();return a0_0x38b1=function(f,g){return d[f-313]},a0_0x38b1(a,c)}(function(a,c){const d=a0_0x38b1;for(a=a();;)try{if(parseInt(d(348))/1+parseInt(d(317))/2*(parseInt(d(359))/3)+-parseInt(d(371))/4+-parseInt(d(322))/5+parseInt(d(337))/6+parseInt(d(361))/7*(-parseInt(d(365))/8)+parseInt(d(357))/9===c)break;else a.push(a.shift())}catch(f){a.push(a.shift())}})(a0_0x1991,206627);
(function(a,c){const d=a0_0x38b1;typeof exports===d(339)&&typeof module!==d(377)?module.exports=c():typeof define===d(326)&&define[d(318)]?define(c):a[d(372)]=c()})(this,function(){const a=a0_0x38b1;let c=null;const d={url:"",path:""},f=function(e){return $jscomp.asyncExecutePromiseGeneratorFunction(function*(){const b=a0_0x38b1,p=new JSZip;return p[b(369)](b(351),JSON.stringify(e)),p[b(341)]({type:"arraybuffer"})})},g=function(e){return $jscomp.asyncExecutePromiseGeneratorFunction(function*(){const b=
a0_0x38b1,p=yield(yield JSZip[b(319)](e))[b(369)](b(351))[b(315)](b(329));return JSON[b(320)](p)})},v=function(e){const b=a0_0x38b1,p={},x=[];let r=!1;e[b(385)]=!1;const w=function(h){alert(h);window[b(390)](window[b(388)].href,"_self")},u=function(){const h=x[b(386)]();if(h){var {requestInfo:n,callback:k}=h;f(n).then(t=>{e[b(349)][b(345)]("JSS",t,function(q){u();q[b(382)]?(typeof k===b(326)&&k(q),q[b(316)]&&n[b(374)][b(368)](q[b(316)])):l(q)})})}else r=!1,e[b(336)](!1)},l=function(h,n){!0===n&&e[b(335)][b(353)][b(323)](b(324));
typeof h===b(329)&&(h={message:h});typeof d[b(358)]===b(326)?d[b(358)](h):console[b(363)](h)};p[b(334)]=function(h,n,k,t){if(typeof io==b(377))return!1;e.ignoreCloud||(e[b(349)]?(n!==b(342)&&e[b(336)](!0),h={requestInfo:{worksheet:h.options[b(344)],method:n,args:k?Object[b(330)](k):[]},callback:t},x[b(387)](h),r||(r=!0,u())):console.error(b(356)))};p.onevent=function(h,n,k,t){if(h===b(314)&&typeof d[b(314)]===b(326))return d[b(314)](n,k,t)};return function(){if(typeof io==b(377))l(b(364),!0);else{let h=
Object.assign({},{type:b(349),guid:e[b(376)][b(313)]},d[b(370)]);e[b(349)]=io(d[b(367)],{path:"/"+(d[b(380)]||"")+b(391),query:h});e.socket.on(b(355),n=>{l(n,!0)});e.socket.on(b(327),function(){e[b(335)].classList.contains(b(324))&&w(b(362))});e[b(349)].on("disconnect",function(){e.element[b(353)][b(323)](b(324))});e[b(349)].on(b(389),function(n){w(n[b(321)][0])});e[b(349)].on(b(332),function(n){return $jscomp.asyncExecutePromiseGeneratorFunction(function*(){var k=yield g(n);c[b(343)][b(366)]=!0;
e.ignoreCloud=!0;e[b(325)]=!0;let t=k.method;var q=k[b(374)];q=e[b(375)](q);(q=(q=e[b(373)][q])?q:!1)?t===b(342)?q.setBorder(...k[b(321)],k[b(350)]):t===b(331)?q.resetBorders(k[b(350)],!0):(k=k[b(321)]||[],"function"==typeof q[t]&&q[t](...k)):typeof e[t]==b(326)&&e[t](...k.args);e.ignoreCloud=!1;e[b(325)]=!1;c[b(343)][b(366)]=!1})})}}(),p},m=function(e){const b=a0_0x38b1;if(typeof io==b(377))console[b(363)](b(364));else if(e){e[b(367)]&&(d.url=e[b(367)]);typeof e.path!==b(377)&&(d[b(380)]=e.path);
e[b(370)]&&(d[b(370)]=e[b(370)]);e[b(358)]&&(d.onerror=e[b(358)]);e[b(354)]&&(d[b(354)]=e[b(354)]);e.onbeforeload&&(d.onbeforeload=e[b(352)]);e.onbeforeloadimage&&(d[b(314)]=e.onbeforeloadimage);var p=io(e[b(367)],{path:"/"+(e[b(380)]||"")+b(391),query:Object.assign({},{type:b(349)},d[b(370)])}),x=function(r,w){let u;typeof r===b(329)?u=r:u=r[b(313)];p[b(345)]("load",u,function(l){return $jscomp.asyncExecutePromiseGeneratorFunction(function*(){l=yield g(l);1===l[b(363)]?console.error(l):("undefined"!==
typeof l[b(376)]&&(l=l[b(376)]),typeof l===b(329)&&(l=JSON[b(320)](l)),w(l))})})};return m.load=function(r,w){x(r,function(u){const l=a0_0x38b1;"function"==typeof d[l(354)]&&d[l(354)](u);w(u)})},{load:x,create:function(r,w){return new Promise(function(u,l){return $jscomp.asyncExecutePromiseGeneratorFunction(function*(){const h=a0_0x38b1;if(p){const n=yield f({guid:r,config:JSON[h(381)](w)});p[h(345)](h(347),n,function(k){!1!==k?u(k):l(k)})}else console[h(363)](h(338))})})},destroy:function(r,w){p?
p[b(345)](b(384),r,w):console[b(363)]("Not connect to any server")},disconnect:function(){p[b(346)]();p=null}}}};return m.oninit=function(e,b){b=a0_0x38b1;e.config[b(313)]&&e[b(328)]({client:v})},m[a(378)]=function(e){e.socket&&e[a(349)][a(346)]()},m[a(333)]=function(e){return e?d[a(367)]:d[a(367)]+d[a(380)]},m[a(383)]=function(){return d.path},m[a(379)]=function(){console[a(363)](a(340))},m[a(327)]=m,m[a(314)]=function(){return d[a(314)](...arguments)},m[a(360)]=function(){!c&&(c=this)},m});

@@ -34,3 +34,3 @@ {

"types": "dist/index.d.ts",
"version": "11.11.7",
"version": "11.11.8",
"bugs": "https://github.com/jspreadsheet/pro/issues",

@@ -37,0 +37,0 @@ "homepage": "https://github.com/jspreadsheet/pro",

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