@liff/hooks
Advanced tools
Comparing version 2.21.1 to 2.21.2
@@ -1,1 +0,1 @@ | ||
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("tslib"),r=function(){var r=this;this.type="sync",this.fns=new Set,this.on=function(e){r.fns.add(e)},this.call=function(){for(var t,n,s=[],a=0;a<arguments.length;a++)s[a]=arguments[a];try{for(var i=e.__values(r.fns),o=i.next();!o.done;o=i.next()){var l=o.value;l.apply(void 0,e.__spread(s))}}catch(c){t={error:c}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(t)throw t.error}}}},t=function(){var r=this;this.type="async",this.fns=new Set,this.on=function(e){r.fns.add(e)},this.call=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return e.__awaiter(r,void 0,void 0,(function(){var r,n,s,a,i,o;return e.__generator(this,(function(l){switch(l.label){case 0:r=[];try{for(n=e.__values(this.fns),s=n.next();!s.done;s=n.next())a=s.value,r.push(a.apply(void 0,e.__spread(t)))}catch(c){i={error:c}}finally{try{s&&!s.done&&(o=n.return)&&o.call(n)}finally{if(i)throw i.error}}return[4,Promise.all(r)];case 1:return l.sent(),[2]}}))}))}},n=function(){var r=this;this.type="asyncSeries",this.fns=new Set,this.on=function(e){r.fns.add(e)},this.call=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return e.__awaiter(r,void 0,void 0,(function(){var r,n,s,a,i;return e.__generator(this,(function(o){switch(o.label){case 0:o.trys.push([0,5,6,7]),r=e.__values(this.fns),n=r.next(),o.label=1;case 1:return n.done?[3,4]:[4,n.value.apply(void 0,e.__spread(t))];case 2:o.sent(),o.label=3;case 3:return n=r.next(),[3,1];case 4:return[3,7];case 5:return s=o.sent(),a={error:s},[3,7];case 6:try{n&&!n.done&&(i=r.return)&&i.call(r)}finally{if(a)throw a.error}return[7];case 7:return[2]}}))}))}};exports.AsyncHook=t,exports.AsyncSeriesHook=n,exports.SyncHook=r; | ||
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var r=require("tslib"),e=function(){var e=this;this.type="sync",this.fns=new Set,this.on=function(r){e.fns.add(r)},this.call=function(){for(var t,n,a=[],s=0;s<arguments.length;s++)a[s]=arguments[s];try{for(var i=r.__values(e.fns),o=i.next();!o.done;o=i.next()){var l=o.value;l.apply(void 0,r.__spreadArray([],r.__read(a),!1))}}catch(c){t={error:c}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(t)throw t.error}}}},t=function(){var e=this;this.type="async",this.fns=new Set,this.on=function(r){e.fns.add(r)},this.call=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return r.__awaiter(e,void 0,void 0,(function(){var e,n,a,s,i,o;return r.__generator(this,(function(l){switch(l.label){case 0:e=[];try{for(n=r.__values(this.fns),a=n.next();!a.done;a=n.next())s=a.value,e.push(s.apply(void 0,r.__spreadArray([],r.__read(t),!1)))}catch(c){i={error:c}}finally{try{a&&!a.done&&(o=n.return)&&o.call(n)}finally{if(i)throw i.error}}return[4,Promise.all(e)];case 1:return l.sent(),[2]}}))}))}},n=function(){var e=this;this.type="asyncSeries",this.fns=new Set,this.on=function(r){e.fns.add(r)},this.call=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return r.__awaiter(e,void 0,void 0,(function(){var e,n,a,s,i;return r.__generator(this,(function(o){switch(o.label){case 0:o.trys.push([0,5,6,7]),e=r.__values(this.fns),n=e.next(),o.label=1;case 1:return n.done?[3,4]:[4,n.value.apply(void 0,r.__spreadArray([],r.__read(t),!1))];case 2:o.sent(),o.label=3;case 3:return n=e.next(),[3,1];case 4:return[3,7];case 5:return a=o.sent(),s={error:a},[3,7];case 6:try{n&&!n.done&&(i=e.return)&&i.call(e)}finally{if(s)throw s.error}return[7];case 7:return[2]}}))}))}};exports.AsyncHook=t,exports.AsyncSeriesHook=n,exports.SyncHook=e; |
@@ -1,1 +0,1 @@ | ||
import{__values as n,__spread as t,__awaiter as r,__generator as e}from"tslib";var i=function(){var r=this;this.type="sync",this.fns=new Set,this.on=function(n){r.fns.add(n)},this.call=function(){for(var e,i,s=[],a=0;a<arguments.length;a++)s[a]=arguments[a];try{for(var o=n(r.fns),l=o.next();!l.done;l=o.next()){var c=l.value;c.apply(void 0,t(s))}}catch(f){e={error:f}}finally{try{l&&!l.done&&(i=o.return)&&i.call(o)}finally{if(e)throw e.error}}}},s=function(){var i=this;this.type="async",this.fns=new Set,this.on=function(n){i.fns.add(n)},this.call=function(){for(var s=[],a=0;a<arguments.length;a++)s[a]=arguments[a];return r(i,void 0,void 0,(function(){var r,i,a,o,l,c;return e(this,(function(e){switch(e.label){case 0:r=[];try{for(i=n(this.fns),a=i.next();!a.done;a=i.next())o=a.value,r.push(o.apply(void 0,t(s)))}catch(f){l={error:f}}finally{try{a&&!a.done&&(c=i.return)&&c.call(i)}finally{if(l)throw l.error}}return[4,Promise.all(r)];case 1:return e.sent(),[2]}}))}))}},a=function(){var i=this;this.type="asyncSeries",this.fns=new Set,this.on=function(n){i.fns.add(n)},this.call=function(){for(var s=[],a=0;a<arguments.length;a++)s[a]=arguments[a];return r(i,void 0,void 0,(function(){var r,i,a,o,l;return e(this,(function(e){switch(e.label){case 0:e.trys.push([0,5,6,7]),r=n(this.fns),i=r.next(),e.label=1;case 1:return i.done?[3,4]:[4,i.value.apply(void 0,t(s))];case 2:e.sent(),e.label=3;case 3:return i=r.next(),[3,1];case 4:return[3,7];case 5:return a=e.sent(),o={error:a},[3,7];case 6:try{i&&!i.done&&(l=r.return)&&l.call(r)}finally{if(o)throw o.error}return[7];case 7:return[2]}}))}))}};export{s as AsyncHook,a as AsyncSeriesHook,i as SyncHook}; | ||
import{__values as n,__spreadArray as t,__read as r,__awaiter as e,__generator as i}from"tslib";var s=function(){var e=this;this.type="sync",this.fns=new Set,this.on=function(n){e.fns.add(n)},this.call=function(){for(var i,s,a=[],o=0;o<arguments.length;o++)a[o]=arguments[o];try{for(var l=n(e.fns),c=l.next();!c.done;c=l.next()){var f=c.value;f.apply(void 0,t([],r(a),!1))}}catch(u){i={error:u}}finally{try{c&&!c.done&&(s=l.return)&&s.call(l)}finally{if(i)throw i.error}}}},a=function(){var s=this;this.type="async",this.fns=new Set,this.on=function(n){s.fns.add(n)},this.call=function(){for(var a=[],o=0;o<arguments.length;o++)a[o]=arguments[o];return e(s,void 0,void 0,(function(){var e,s,o,l,c,f;return i(this,(function(i){switch(i.label){case 0:e=[];try{for(s=n(this.fns),o=s.next();!o.done;o=s.next())l=o.value,e.push(l.apply(void 0,t([],r(a),!1)))}catch(u){c={error:u}}finally{try{o&&!o.done&&(f=s.return)&&f.call(s)}finally{if(c)throw c.error}}return[4,Promise.all(e)];case 1:return i.sent(),[2]}}))}))}},o=function(){var s=this;this.type="asyncSeries",this.fns=new Set,this.on=function(n){s.fns.add(n)},this.call=function(){for(var a=[],o=0;o<arguments.length;o++)a[o]=arguments[o];return e(s,void 0,void 0,(function(){var e,s,o,l,c;return i(this,(function(i){switch(i.label){case 0:i.trys.push([0,5,6,7]),e=n(this.fns),s=e.next(),i.label=1;case 1:return s.done?[3,4]:[4,s.value.apply(void 0,t([],r(a),!1))];case 2:i.sent(),i.label=3;case 3:return s=e.next(),[3,1];case 4:return[3,7];case 5:return o=i.sent(),l={error:o},[3,7];case 6:try{s&&!s.done&&(c=e.return)&&c.call(e)}finally{if(l)throw l.error}return[7];case 7:return[2]}}))}))}};export{a as AsyncHook,o as AsyncSeriesHook,s as SyncHook}; |
{ | ||
"name": "@liff/hooks", | ||
"version": "2.21.1", | ||
"version": "2.21.2", | ||
"description": "@liff/hooks", | ||
@@ -24,5 +24,5 @@ "license": "SEE LICENSE IN README.md", | ||
"build:npm": "rollup -c rollup.config.js", | ||
"build:watch": "yarn build:npm -w --watch.include './src/**'", | ||
"dev-server": "yarn build:watch", | ||
"dev-server:https": "yarn build:watch", | ||
"build:watch": "npm run build:npm -- --watch", | ||
"dev-server": "npm run build:watch", | ||
"dev-server:https": "npm run build:watch", | ||
"build:prerelease": "rollup -c rollup.config.prerelease.js", | ||
@@ -34,3 +34,3 @@ "clean": "rm -rf ./lib ./tsconfig.tsbuildinfo" | ||
}, | ||
"gitHead": "9af2e0816a5cd5547b99e8cadba3ee274b270a9a" | ||
"gitHead": "b43eee22bc2c90b85e9919820c557cc15fb9712c" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
5493