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

async-array-buffer

Package Overview
Dependencies
Maintainers
1
Versions
213
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

async-array-buffer - npm Package Compare versions

Comparing version 4.0.0 to 4.0.1

2

build/es2019/worker/worker.d.ts

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

export declare const worker = "!function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){\"undefined\"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:\"Module\"}),Object.defineProperty(e,\"__esModule\",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&\"object\"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,\"default\",{enumerable:!0,value:e}),2&t&&\"string\"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,\"a\",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p=\"\",n(n.s=40)}([function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return c})),n.d(t,\"b\",(function(){return a})),n.d(t,\"c\",(function(){return s})),n.d(t,\"d\",(function(){return f}));var r=n(1);const o=-32603,i=-32602,u=-32601,c=Object(r.compile)({message:'The requested method called \"${method}\" is not supported.',status:u}),a=Object(r.compile)({message:'The handler of the method called \"${method}\" returned no required result.',status:o}),s=Object(r.compile)({message:'The handler of the method called \"${method}\" returned an unexpected result.',status:o}),f=Object(r.compile)({message:'The specified parameter called \"portId\" with the given value \"${portId}\" does not identify a port connected to this worker.',status:i})},function(e,t,n){!function(e,t,n,r){\"use strict\";t=t&&t.hasOwnProperty(\"default\")?t.default:t,n=n&&n.hasOwnProperty(\"default\")?n.default:n,r=r&&r.hasOwnProperty(\"default\")?r.default:r;var o=function(e,t){return void 0===t?e:t.reduce((function(e,t){if(\"capitalize\"===t){var o=e.charAt(0).toUpperCase(),i=e.slice(1);return\"\".concat(o).concat(i)}return\"dashify\"===t?n(e):\"prependIndefiniteArticle\"===t?\"\".concat(r(e),\" \").concat(e):e}),e)},i=function(e,n){for(var r=/\\${([^.}]+)((\\.[^(]+\\(\\))*)}/g,i=[],u=r.exec(e);null!==u;){var c={modifiers:[],name:u[1]};if(void 0!==u[3])for(var a=/\\.[^(]+\\(\\)/g,s=a.exec(u[2]);null!==s;)c.modifiers.push(s[0].slice(1,-2)),s=a.exec(u[2]);i.push(c),u=r.exec(e)}var f=i.reduce((function(e,r){return e.map((function(e){return\"string\"==typeof e?e.split(function(e){var t=e.name+e.modifiers.map((function(e){return\"\\\\.\".concat(e,\"\\\\(\\\\)\")})).join(\"\");return new RegExp(\"\\\\$\\\\{\".concat(t,\"}\"),\"g\")}(r)).reduce((function(e,i,u){return 0===u?[i]:r.name in n?[].concat(t(e),[o(n[r.name],r.modifiers),i]):[].concat(t(e),[function(e){return o(e[r.name],r.modifiers)},i])}),[]):[e]})).reduce((function(e,n){return[].concat(t(e),t(n))}),[])}),[e]);return function(e){return f.reduce((function(n,r){return[].concat(t(n),\"string\"==typeof r?[r]:[r(e)])}),[]).join(\"\")}};e.compile=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=void 0===e.code?void 0:i(e.code,t),r=void 0===e.message?void 0:i(e.message,t);function o(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=arguments.length>1?arguments[1]:void 0,i=void 0===o&&(t instanceof Error||void 0!==t.code&&\"Exception\"===t.code.slice(-9)),u=i?{cause:t,missingParameters:{}}:{cause:o,missingParameters:t},c=u.cause,a=u.missingParameters,s=void 0===r?new Error:new Error(r(a));return null!==c&&(s.cause=c),void 0!==n&&(s.code=n(a)),void 0!==e.status&&(s.status=e.status),s}return o},Object.defineProperty(e,\"__esModule\",{value:!0})}(t,n(41),n(45),n(46))},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return r}));const r=()=>new Promise(e=>{const t=new ArrayBuffer(0),{port1:n,port2:r}=new MessageChannel;n.onmessage=t=>{let{data:n}=t;return e(null!==n)},r.postMessage(t,[t])})},function(e,t,n){\"use strict\";n(4),n(5),n(6),n(7),n(8),n(9),n(10),n(11),n(12),n(13),n(14),n(15),n(16),n(17)},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t,n){\"use strict\";n(19),n(20),n(21),n(22),n(23),n(24),n(25),n(26),n(27),n(28),n(29)},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t,n){\"use strict\";n.r(t);var r=n(31);for(var o in r)\"default\"!==o&&function(e){n.d(t,e,(function(){return r[e]}))}(o)},function(e,t){},function(e,t,n){\"use strict\";n.r(t);var r=n(33);for(var o in r)\"default\"!==o&&function(e){n.d(t,e,(function(){return r[e]}))}(o)},function(e,t){},function(e,t,n){\"use strict\";n.d(t,\"createWorker\",(function(){return i}));var r=n(35),o=n(36);n(2),n(3),n(18);const i=function e(t,n){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:()=>!0;const u=Object(o.a)(e,n,i),c=Object(r.a)(t,u);return t.addEventListener(\"message\",c),()=>t.removeEventListener(\"message\",c)}},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return o}));var r=n(0);const o=(e,t)=>async n=>{let{data:{id:o,method:i,params:u}}=n;const c=t[i];try{if(void 0===c)throw Object(r.a)({method:i});const t=void 0===u?c():c(u);if(void 0===t)throw Object(r.b)({method:i});const n=t instanceof Promise?await t:t;if(null===o){if(void 0!==n.result)throw Object(r.c)({method:i})}else{if(void 0===n.result)throw Object(r.c)({method:i});const{result:t,transferables:u=[]}=n;e.postMessage({id:o,result:t},u)}}catch(t){const{message:n,status:r=-32603}=t;e.postMessage({error:{code:r,message:n},id:o})}}},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return f}));var r=n(37),o=n.n(r),i=n(38),u=n(0),c=n(2);function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}const s=new Map,f=(e,t,n)=>function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},t,{connect:n=>{let{port:r}=n;r.start();const o=e(r,t),u=Object(i.generateUniqueNumber)(s);return s.set(u,()=>{o(),r.close(),s.delete(u)}),{result:u}},disconnect:e=>{let{portId:t}=e;const n=s.get(t);if(void 0===n)throw Object(u.d)({portId:t.toString()});return n(),{result:null}},isSupported:async()=>{if(await Object(c.a)()){const e=n();return{result:e instanceof Promise?await e:e}}return{result:!1}}})},function(e,t){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},function(e,t,n){!function(e){\"use strict\";var t,n=void 0===Number.MAX_SAFE_INTEGER?9007199254740991:Number.MAX_SAFE_INTEGER,r=new WeakMap,o=(t=r,function(e,n){return t.set(e,n),n}),i=function(e,t){return function(r){var o=t.get(r),i=void 0===o?r.size:o>2147483646?0:o+1;if(!r.has(i))return e(r,i);if(r.size<1073741824){for(;r.has(i);)i=Math.floor(2147483648*Math.random());return e(r,i)}if(r.size>n)throw new Error(\"Congratulations, you created a collection of unique numbers which uses all available integers!\");for(;r.has(i);)i=Math.floor(Math.random()*n);return e(r,i)}}(o,r),u=function(e){return function(t){var n=e(t);return t.add(n),n}}(i);e.addUniqueNumber=u,e.generateUniqueNumber=i,Object.defineProperty(e,\"__esModule\",{value:!0})}(t)},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return r}));const r=e=>new ArrayBuffer(e)},function(e,t,n){\"use strict\";n.r(t);var r=n(34),o=n(39),i=n(30);for(var u in i)\"default\"!==u&&function(e){n.d(t,e,(function(){return i[e]}))}(u);var c=n(32);for(var u in c)\"default\"!==u&&function(e){n.d(t,e,(function(){return c[e]}))}(u);Object(r.createWorker)(self,{allocate:e=>{let{length:t}=e;const n=Object(o.a)(t);return{result:n,transferables:[n]}},deallocate:()=>({result:void 0})})},function(e,t,n){var r=n(42),o=n(43),i=n(44);e.exports=function(e){return r(e)||o(e)||i()}},function(e,t){e.exports=function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}},function(e,t){e.exports=function(e){if(Symbol.iterator in Object(e)||\"[object Arguments]\"===Object.prototype.toString.call(e))return Array.from(e)}},function(e,t){e.exports=function(){throw new TypeError(\"Invalid attempt to spread non-iterable instance\")}},function(e,t,n){\"use strict\";e.exports=(e,t)=>{if(\"string\"!=typeof e)throw new TypeError(\"expected a string\");return e.trim().replace(/([a-z])([A-Z])/g,\"$1-$2\").replace(/\\W/g,e=>/[\u00C0-\u017E]/.test(e)?e:\"-\").replace(/^-+|-+$/g,\"\").replace(/-{2,}/g,e=>t&&t.condense?\"-\":e).toLowerCase()}},function(e,t,n){var r=function(e){var t,n,r=/\\w+/.exec(e);if(!r)return\"an\";var o=(n=r[0]).toLowerCase(),i=[\"honest\",\"hour\",\"hono\"];for(t in i)if(0==o.indexOf(i[t]))return\"an\";if(1==o.length)return\"aedhilmnorsx\".indexOf(o)>=0?\"an\":\"a\";if(n.match(/(?!FJO|[HLMNS]Y.|RY[EO]|SQU|(F[LR]?|[HL]|MN?|N|RH?|S[CHKLMNPTVW]?|X(YL)?)[AEIOU])[FHLMNRSX][A-Z]/))return\"an\";var u=[/^e[uw]/,/^onc?e\\b/,/^uni([^nmd]|mo)/,/^u[bcfhjkqrst][aeiou]/];for(t=0;t<u.length;t++)if(o.match(u[t]))return\"a\";return n.match(/^U[NK][AIEO]/)?\"a\":n==n.toUpperCase()?\"aedhilmnorsx\".indexOf(o[0])>=0?\"an\":\"a\":\"aeiou\".indexOf(o[0])>=0?\"an\":o.match(/^y(b[lor]|cl[ea]|fere|gg|p[ios]|rou|tt)/)?\"an\":\"a\"};void 0!==e.exports?e.exports=r:window.indefiniteArticle=r}]);";
export declare const worker = "!function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){\"undefined\"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:\"Module\"}),Object.defineProperty(e,\"__esModule\",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&\"object\"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,\"default\",{enumerable:!0,value:e}),2&t&&\"string\"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,\"a\",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p=\"\",n(n.s=39)}([function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return c})),n.d(t,\"b\",(function(){return a})),n.d(t,\"c\",(function(){return s})),n.d(t,\"d\",(function(){return f}));var r=n(1);const o=-32603,i=-32602,u=-32601,c=Object(r.compile)({message:'The requested method called \"${method}\" is not supported.',status:u}),a=Object(r.compile)({message:'The handler of the method called \"${method}\" returned no required result.',status:o}),s=Object(r.compile)({message:'The handler of the method called \"${method}\" returned an unexpected result.',status:o}),f=Object(r.compile)({message:'The specified parameter called \"portId\" with the given value \"${portId}\" does not identify a port connected to this worker.',status:i})},function(e,t,n){!function(e,t,n,r){\"use strict\";t=t&&t.hasOwnProperty(\"default\")?t.default:t,n=n&&n.hasOwnProperty(\"default\")?n.default:n,r=r&&r.hasOwnProperty(\"default\")?r.default:r;var o=function(e,t){return void 0===t?e:t.reduce((function(e,t){if(\"capitalize\"===t){var o=e.charAt(0).toUpperCase(),i=e.slice(1);return\"\".concat(o).concat(i)}return\"dashify\"===t?n(e):\"prependIndefiniteArticle\"===t?\"\".concat(r(e),\" \").concat(e):e}),e)},i=function(e,n){for(var r=/\\${([^.}]+)((\\.[^(]+\\(\\))*)}/g,i=[],u=r.exec(e);null!==u;){var c={modifiers:[],name:u[1]};if(void 0!==u[3])for(var a=/\\.[^(]+\\(\\)/g,s=a.exec(u[2]);null!==s;)c.modifiers.push(s[0].slice(1,-2)),s=a.exec(u[2]);i.push(c),u=r.exec(e)}var f=i.reduce((function(e,r){return e.map((function(e){return\"string\"==typeof e?e.split(function(e){var t=e.name+e.modifiers.map((function(e){return\"\\\\.\".concat(e,\"\\\\(\\\\)\")})).join(\"\");return new RegExp(\"\\\\$\\\\{\".concat(t,\"}\"),\"g\")}(r)).reduce((function(e,i,u){return 0===u?[i]:r.name in n?[].concat(t(e),[o(n[r.name],r.modifiers),i]):[].concat(t(e),[function(e){return o(e[r.name],r.modifiers)},i])}),[]):[e]})).reduce((function(e,n){return[].concat(t(e),t(n))}),[])}),[e]);return function(e){return f.reduce((function(n,r){return[].concat(t(n),\"string\"==typeof r?[r]:[r(e)])}),[]).join(\"\")}};e.compile=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=void 0===e.code?void 0:i(e.code,t),r=void 0===e.message?void 0:i(e.message,t);function o(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=arguments.length>1?arguments[1]:void 0,i=void 0===o&&(t instanceof Error||void 0!==t.code&&\"Exception\"===t.code.slice(-9)),u=i?{cause:t,missingParameters:{}}:{cause:o,missingParameters:t},c=u.cause,a=u.missingParameters,s=void 0===r?new Error:new Error(r(a));return null!==c&&(s.cause=c),void 0!==n&&(s.code=n(a)),void 0!==e.status&&(s.status=e.status),s}return o},Object.defineProperty(e,\"__esModule\",{value:!0})}(t,n(40),n(44),n(45))},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return r}));const r=()=>new Promise(e=>{const t=new ArrayBuffer(0),{port1:n,port2:r}=new MessageChannel;n.onmessage=({data:t})=>e(null!==t),r.postMessage(t,[t])})},function(e,t,n){\"use strict\";n(4),n(5),n(6),n(7),n(8),n(9),n(10),n(11),n(12),n(13),n(14),n(15),n(16),n(17)},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t,n){\"use strict\";n(19),n(20),n(21),n(22),n(23),n(24),n(25),n(26),n(27),n(28),n(29)},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t,n){\"use strict\";n.r(t);var r=n(31);for(var o in r)\"default\"!==o&&function(e){n.d(t,e,(function(){return r[e]}))}(o)},function(e,t){},function(e,t,n){\"use strict\";n.r(t);var r=n(33);for(var o in r)\"default\"!==o&&function(e){n.d(t,e,(function(){return r[e]}))}(o)},function(e,t){},function(e,t,n){\"use strict\";n.d(t,\"createWorker\",(function(){return i}));var r=n(35),o=n(36);n(2),n(3),n(18);const i=(e,t,n=(()=>!0))=>{const u=Object(o.a)(i,t,n),c=Object(r.a)(e,u);return e.addEventListener(\"message\",c),()=>e.removeEventListener(\"message\",c)}},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return o}));var r=n(0);const o=(e,t)=>async({data:{id:n,method:o,params:i}})=>{const u=t[o];try{if(void 0===u)throw Object(r.a)({method:o});const t=void 0===i?u():u(i);if(void 0===t)throw Object(r.b)({method:o});const c=t instanceof Promise?await t:t;if(null===n){if(void 0!==c.result)throw Object(r.c)({method:o})}else{if(void 0===c.result)throw Object(r.c)({method:o});const{result:t,transferables:i=[]}=c;e.postMessage({id:n,result:t},i)}}catch(t){const{message:r,status:o=-32603}=t;e.postMessage({error:{code:o,message:r},id:n})}}},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return c}));var r=n(37),o=n(0),i=n(2);const u=new Map,c=(e,t,n)=>({...t,connect:({port:n})=>{n.start();const o=e(n,t),i=Object(r.generateUniqueNumber)(u);return u.set(i,()=>{o(),n.close(),u.delete(i)}),{result:i}},disconnect:({portId:e})=>{const t=u.get(e);if(void 0===t)throw Object(o.d)({portId:e.toString()});return t(),{result:null}},isSupported:async()=>{if(await Object(i.a)()){const e=n();return{result:e instanceof Promise?await e:e}}return{result:!1}}})},function(e,t,n){!function(e){\"use strict\";var t,n=void 0===Number.MAX_SAFE_INTEGER?9007199254740991:Number.MAX_SAFE_INTEGER,r=new WeakMap,o=(t=r,function(e,n){return t.set(e,n),n}),i=function(e,t){return function(r){var o=t.get(r),i=void 0===o?r.size:o>2147483646?0:o+1;if(!r.has(i))return e(r,i);if(r.size<1073741824){for(;r.has(i);)i=Math.floor(2147483648*Math.random());return e(r,i)}if(r.size>n)throw new Error(\"Congratulations, you created a collection of unique numbers which uses all available integers!\");for(;r.has(i);)i=Math.floor(Math.random()*n);return e(r,i)}}(o,r),u=function(e){return function(t){var n=e(t);return t.add(n),n}}(i);e.addUniqueNumber=u,e.generateUniqueNumber=i,Object.defineProperty(e,\"__esModule\",{value:!0})}(t)},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return r}));const r=e=>new ArrayBuffer(e)},function(e,t,n){\"use strict\";n.r(t);var r=n(34),o=n(38),i=n(30);for(var u in i)\"default\"!==u&&function(e){n.d(t,e,(function(){return i[e]}))}(u);var c=n(32);for(var u in c)\"default\"!==u&&function(e){n.d(t,e,(function(){return c[e]}))}(u);Object(r.createWorker)(self,{allocate:({length:e})=>{const t=Object(o.a)(e);return{result:t,transferables:[t]}},deallocate:()=>({result:void 0})})},function(e,t,n){var r=n(41),o=n(42),i=n(43);e.exports=function(e){return r(e)||o(e)||i()}},function(e,t){e.exports=function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}},function(e,t){e.exports=function(e){if(Symbol.iterator in Object(e)||\"[object Arguments]\"===Object.prototype.toString.call(e))return Array.from(e)}},function(e,t){e.exports=function(){throw new TypeError(\"Invalid attempt to spread non-iterable instance\")}},function(e,t,n){\"use strict\";e.exports=(e,t)=>{if(\"string\"!=typeof e)throw new TypeError(\"expected a string\");return e.trim().replace(/([a-z])([A-Z])/g,\"$1-$2\").replace(/\\W/g,e=>/[\u00C0-\u017E]/.test(e)?e:\"-\").replace(/^-+|-+$/g,\"\").replace(/-{2,}/g,e=>t&&t.condense?\"-\":e).toLowerCase()}},function(e,t,n){var r=function(e){var t,n,r=/\\w+/.exec(e);if(!r)return\"an\";var o=(n=r[0]).toLowerCase(),i=[\"honest\",\"hour\",\"hono\"];for(t in i)if(0==o.indexOf(i[t]))return\"an\";if(1==o.length)return\"aedhilmnorsx\".indexOf(o)>=0?\"an\":\"a\";if(n.match(/(?!FJO|[HLMNS]Y.|RY[EO]|SQU|(F[LR]?|[HL]|MN?|N|RH?|S[CHKLMNPTVW]?|X(YL)?)[AEIOU])[FHLMNRSX][A-Z]/))return\"an\";var u=[/^e[uw]/,/^onc?e\\b/,/^uni([^nmd]|mo)/,/^u[bcfhjkqrst][aeiou]/];for(t=0;t<u.length;t++)if(o.match(u[t]))return\"a\";return n.match(/^U[NK][AIEO]/)?\"a\":n==n.toUpperCase()?\"aedhilmnorsx\".indexOf(o[0])>=0?\"an\":\"a\":\"aeiou\".indexOf(o[0])>=0?\"an\":o.match(/^y(b[lor]|cl[ea]|fere|gg|p[ios]|rou|tt)/)?\"an\":\"a\"};void 0!==e.exports?e.exports=r:window.indefiniteArticle=r}]);";
//# sourceMappingURL=/build/es2019/worker/worker.d.ts.map
// This is the minified and stringified code of the async-array-buffer-worker package.
export const worker = `!function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=40)}([function(e,t,n){"use strict";n.d(t,"a",(function(){return c})),n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return s})),n.d(t,"d",(function(){return f}));var r=n(1);const o=-32603,i=-32602,u=-32601,c=Object(r.compile)({message:'The requested method called "\${method}" is not supported.',status:u}),a=Object(r.compile)({message:'The handler of the method called "\${method}" returned no required result.',status:o}),s=Object(r.compile)({message:'The handler of the method called "\${method}" returned an unexpected result.',status:o}),f=Object(r.compile)({message:'The specified parameter called "portId" with the given value "\${portId}" does not identify a port connected to this worker.',status:i})},function(e,t,n){!function(e,t,n,r){"use strict";t=t&&t.hasOwnProperty("default")?t.default:t,n=n&&n.hasOwnProperty("default")?n.default:n,r=r&&r.hasOwnProperty("default")?r.default:r;var o=function(e,t){return void 0===t?e:t.reduce((function(e,t){if("capitalize"===t){var o=e.charAt(0).toUpperCase(),i=e.slice(1);return"".concat(o).concat(i)}return"dashify"===t?n(e):"prependIndefiniteArticle"===t?"".concat(r(e)," ").concat(e):e}),e)},i=function(e,n){for(var r=/\\\${([^.}]+)((\\.[^(]+\\(\\))*)}/g,i=[],u=r.exec(e);null!==u;){var c={modifiers:[],name:u[1]};if(void 0!==u[3])for(var a=/\\.[^(]+\\(\\)/g,s=a.exec(u[2]);null!==s;)c.modifiers.push(s[0].slice(1,-2)),s=a.exec(u[2]);i.push(c),u=r.exec(e)}var f=i.reduce((function(e,r){return e.map((function(e){return"string"==typeof e?e.split(function(e){var t=e.name+e.modifiers.map((function(e){return"\\\\.".concat(e,"\\\\(\\\\)")})).join("");return new RegExp("\\\\$\\\\{".concat(t,"}"),"g")}(r)).reduce((function(e,i,u){return 0===u?[i]:r.name in n?[].concat(t(e),[o(n[r.name],r.modifiers),i]):[].concat(t(e),[function(e){return o(e[r.name],r.modifiers)},i])}),[]):[e]})).reduce((function(e,n){return[].concat(t(e),t(n))}),[])}),[e]);return function(e){return f.reduce((function(n,r){return[].concat(t(n),"string"==typeof r?[r]:[r(e)])}),[]).join("")}};e.compile=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=void 0===e.code?void 0:i(e.code,t),r=void 0===e.message?void 0:i(e.message,t);function o(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=arguments.length>1?arguments[1]:void 0,i=void 0===o&&(t instanceof Error||void 0!==t.code&&"Exception"===t.code.slice(-9)),u=i?{cause:t,missingParameters:{}}:{cause:o,missingParameters:t},c=u.cause,a=u.missingParameters,s=void 0===r?new Error:new Error(r(a));return null!==c&&(s.cause=c),void 0!==n&&(s.code=n(a)),void 0!==e.status&&(s.status=e.status),s}return o},Object.defineProperty(e,"__esModule",{value:!0})}(t,n(41),n(45),n(46))},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));const r=()=>new Promise(e=>{const t=new ArrayBuffer(0),{port1:n,port2:r}=new MessageChannel;n.onmessage=t=>{let{data:n}=t;return e(null!==n)},r.postMessage(t,[t])})},function(e,t,n){"use strict";n(4),n(5),n(6),n(7),n(8),n(9),n(10),n(11),n(12),n(13),n(14),n(15),n(16),n(17)},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t,n){"use strict";n(19),n(20),n(21),n(22),n(23),n(24),n(25),n(26),n(27),n(28),n(29)},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t,n){"use strict";n.r(t);var r=n(31);for(var o in r)"default"!==o&&function(e){n.d(t,e,(function(){return r[e]}))}(o)},function(e,t){},function(e,t,n){"use strict";n.r(t);var r=n(33);for(var o in r)"default"!==o&&function(e){n.d(t,e,(function(){return r[e]}))}(o)},function(e,t){},function(e,t,n){"use strict";n.d(t,"createWorker",(function(){return i}));var r=n(35),o=n(36);n(2),n(3),n(18);const i=function e(t,n){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:()=>!0;const u=Object(o.a)(e,n,i),c=Object(r.a)(t,u);return t.addEventListener("message",c),()=>t.removeEventListener("message",c)}},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(0);const o=(e,t)=>async n=>{let{data:{id:o,method:i,params:u}}=n;const c=t[i];try{if(void 0===c)throw Object(r.a)({method:i});const t=void 0===u?c():c(u);if(void 0===t)throw Object(r.b)({method:i});const n=t instanceof Promise?await t:t;if(null===o){if(void 0!==n.result)throw Object(r.c)({method:i})}else{if(void 0===n.result)throw Object(r.c)({method:i});const{result:t,transferables:u=[]}=n;e.postMessage({id:o,result:t},u)}}catch(t){const{message:n,status:r=-32603}=t;e.postMessage({error:{code:r,message:n},id:o})}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return f}));var r=n(37),o=n.n(r),i=n(38),u=n(0),c=n(2);function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}const s=new Map,f=(e,t,n)=>function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},t,{connect:n=>{let{port:r}=n;r.start();const o=e(r,t),u=Object(i.generateUniqueNumber)(s);return s.set(u,()=>{o(),r.close(),s.delete(u)}),{result:u}},disconnect:e=>{let{portId:t}=e;const n=s.get(t);if(void 0===n)throw Object(u.d)({portId:t.toString()});return n(),{result:null}},isSupported:async()=>{if(await Object(c.a)()){const e=n();return{result:e instanceof Promise?await e:e}}return{result:!1}}})},function(e,t){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},function(e,t,n){!function(e){"use strict";var t,n=void 0===Number.MAX_SAFE_INTEGER?9007199254740991:Number.MAX_SAFE_INTEGER,r=new WeakMap,o=(t=r,function(e,n){return t.set(e,n),n}),i=function(e,t){return function(r){var o=t.get(r),i=void 0===o?r.size:o>2147483646?0:o+1;if(!r.has(i))return e(r,i);if(r.size<1073741824){for(;r.has(i);)i=Math.floor(2147483648*Math.random());return e(r,i)}if(r.size>n)throw new Error("Congratulations, you created a collection of unique numbers which uses all available integers!");for(;r.has(i);)i=Math.floor(Math.random()*n);return e(r,i)}}(o,r),u=function(e){return function(t){var n=e(t);return t.add(n),n}}(i);e.addUniqueNumber=u,e.generateUniqueNumber=i,Object.defineProperty(e,"__esModule",{value:!0})}(t)},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));const r=e=>new ArrayBuffer(e)},function(e,t,n){"use strict";n.r(t);var r=n(34),o=n(39),i=n(30);for(var u in i)"default"!==u&&function(e){n.d(t,e,(function(){return i[e]}))}(u);var c=n(32);for(var u in c)"default"!==u&&function(e){n.d(t,e,(function(){return c[e]}))}(u);Object(r.createWorker)(self,{allocate:e=>{let{length:t}=e;const n=Object(o.a)(t);return{result:n,transferables:[n]}},deallocate:()=>({result:void 0})})},function(e,t,n){var r=n(42),o=n(43),i=n(44);e.exports=function(e){return r(e)||o(e)||i()}},function(e,t){e.exports=function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}},function(e,t){e.exports=function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}},function(e,t,n){"use strict";e.exports=(e,t)=>{if("string"!=typeof e)throw new TypeError("expected a string");return e.trim().replace(/([a-z])([A-Z])/g,"$1-$2").replace(/\\W/g,e=>/[À-ž]/.test(e)?e:"-").replace(/^-+|-+$/g,"").replace(/-{2,}/g,e=>t&&t.condense?"-":e).toLowerCase()}},function(e,t,n){var r=function(e){var t,n,r=/\\w+/.exec(e);if(!r)return"an";var o=(n=r[0]).toLowerCase(),i=["honest","hour","hono"];for(t in i)if(0==o.indexOf(i[t]))return"an";if(1==o.length)return"aedhilmnorsx".indexOf(o)>=0?"an":"a";if(n.match(/(?!FJO|[HLMNS]Y.|RY[EO]|SQU|(F[LR]?|[HL]|MN?|N|RH?|S[CHKLMNPTVW]?|X(YL)?)[AEIOU])[FHLMNRSX][A-Z]/))return"an";var u=[/^e[uw]/,/^onc?e\\b/,/^uni([^nmd]|mo)/,/^u[bcfhjkqrst][aeiou]/];for(t=0;t<u.length;t++)if(o.match(u[t]))return"a";return n.match(/^U[NK][AIEO]/)?"a":n==n.toUpperCase()?"aedhilmnorsx".indexOf(o[0])>=0?"an":"a":"aeiou".indexOf(o[0])>=0?"an":o.match(/^y(b[lor]|cl[ea]|fere|gg|p[ios]|rou|tt)/)?"an":"a"};void 0!==e.exports?e.exports=r:window.indefiniteArticle=r}]);`; // tslint:disable-line:max-line-length
export const worker = `!function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=39)}([function(e,t,n){"use strict";n.d(t,"a",(function(){return c})),n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return s})),n.d(t,"d",(function(){return f}));var r=n(1);const o=-32603,i=-32602,u=-32601,c=Object(r.compile)({message:'The requested method called "\${method}" is not supported.',status:u}),a=Object(r.compile)({message:'The handler of the method called "\${method}" returned no required result.',status:o}),s=Object(r.compile)({message:'The handler of the method called "\${method}" returned an unexpected result.',status:o}),f=Object(r.compile)({message:'The specified parameter called "portId" with the given value "\${portId}" does not identify a port connected to this worker.',status:i})},function(e,t,n){!function(e,t,n,r){"use strict";t=t&&t.hasOwnProperty("default")?t.default:t,n=n&&n.hasOwnProperty("default")?n.default:n,r=r&&r.hasOwnProperty("default")?r.default:r;var o=function(e,t){return void 0===t?e:t.reduce((function(e,t){if("capitalize"===t){var o=e.charAt(0).toUpperCase(),i=e.slice(1);return"".concat(o).concat(i)}return"dashify"===t?n(e):"prependIndefiniteArticle"===t?"".concat(r(e)," ").concat(e):e}),e)},i=function(e,n){for(var r=/\\\${([^.}]+)((\\.[^(]+\\(\\))*)}/g,i=[],u=r.exec(e);null!==u;){var c={modifiers:[],name:u[1]};if(void 0!==u[3])for(var a=/\\.[^(]+\\(\\)/g,s=a.exec(u[2]);null!==s;)c.modifiers.push(s[0].slice(1,-2)),s=a.exec(u[2]);i.push(c),u=r.exec(e)}var f=i.reduce((function(e,r){return e.map((function(e){return"string"==typeof e?e.split(function(e){var t=e.name+e.modifiers.map((function(e){return"\\\\.".concat(e,"\\\\(\\\\)")})).join("");return new RegExp("\\\\$\\\\{".concat(t,"}"),"g")}(r)).reduce((function(e,i,u){return 0===u?[i]:r.name in n?[].concat(t(e),[o(n[r.name],r.modifiers),i]):[].concat(t(e),[function(e){return o(e[r.name],r.modifiers)},i])}),[]):[e]})).reduce((function(e,n){return[].concat(t(e),t(n))}),[])}),[e]);return function(e){return f.reduce((function(n,r){return[].concat(t(n),"string"==typeof r?[r]:[r(e)])}),[]).join("")}};e.compile=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=void 0===e.code?void 0:i(e.code,t),r=void 0===e.message?void 0:i(e.message,t);function o(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=arguments.length>1?arguments[1]:void 0,i=void 0===o&&(t instanceof Error||void 0!==t.code&&"Exception"===t.code.slice(-9)),u=i?{cause:t,missingParameters:{}}:{cause:o,missingParameters:t},c=u.cause,a=u.missingParameters,s=void 0===r?new Error:new Error(r(a));return null!==c&&(s.cause=c),void 0!==n&&(s.code=n(a)),void 0!==e.status&&(s.status=e.status),s}return o},Object.defineProperty(e,"__esModule",{value:!0})}(t,n(40),n(44),n(45))},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));const r=()=>new Promise(e=>{const t=new ArrayBuffer(0),{port1:n,port2:r}=new MessageChannel;n.onmessage=({data:t})=>e(null!==t),r.postMessage(t,[t])})},function(e,t,n){"use strict";n(4),n(5),n(6),n(7),n(8),n(9),n(10),n(11),n(12),n(13),n(14),n(15),n(16),n(17)},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t,n){"use strict";n(19),n(20),n(21),n(22),n(23),n(24),n(25),n(26),n(27),n(28),n(29)},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t,n){"use strict";n.r(t);var r=n(31);for(var o in r)"default"!==o&&function(e){n.d(t,e,(function(){return r[e]}))}(o)},function(e,t){},function(e,t,n){"use strict";n.r(t);var r=n(33);for(var o in r)"default"!==o&&function(e){n.d(t,e,(function(){return r[e]}))}(o)},function(e,t){},function(e,t,n){"use strict";n.d(t,"createWorker",(function(){return i}));var r=n(35),o=n(36);n(2),n(3),n(18);const i=(e,t,n=(()=>!0))=>{const u=Object(o.a)(i,t,n),c=Object(r.a)(e,u);return e.addEventListener("message",c),()=>e.removeEventListener("message",c)}},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(0);const o=(e,t)=>async({data:{id:n,method:o,params:i}})=>{const u=t[o];try{if(void 0===u)throw Object(r.a)({method:o});const t=void 0===i?u():u(i);if(void 0===t)throw Object(r.b)({method:o});const c=t instanceof Promise?await t:t;if(null===n){if(void 0!==c.result)throw Object(r.c)({method:o})}else{if(void 0===c.result)throw Object(r.c)({method:o});const{result:t,transferables:i=[]}=c;e.postMessage({id:n,result:t},i)}}catch(t){const{message:r,status:o=-32603}=t;e.postMessage({error:{code:o,message:r},id:n})}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var r=n(37),o=n(0),i=n(2);const u=new Map,c=(e,t,n)=>({...t,connect:({port:n})=>{n.start();const o=e(n,t),i=Object(r.generateUniqueNumber)(u);return u.set(i,()=>{o(),n.close(),u.delete(i)}),{result:i}},disconnect:({portId:e})=>{const t=u.get(e);if(void 0===t)throw Object(o.d)({portId:e.toString()});return t(),{result:null}},isSupported:async()=>{if(await Object(i.a)()){const e=n();return{result:e instanceof Promise?await e:e}}return{result:!1}}})},function(e,t,n){!function(e){"use strict";var t,n=void 0===Number.MAX_SAFE_INTEGER?9007199254740991:Number.MAX_SAFE_INTEGER,r=new WeakMap,o=(t=r,function(e,n){return t.set(e,n),n}),i=function(e,t){return function(r){var o=t.get(r),i=void 0===o?r.size:o>2147483646?0:o+1;if(!r.has(i))return e(r,i);if(r.size<1073741824){for(;r.has(i);)i=Math.floor(2147483648*Math.random());return e(r,i)}if(r.size>n)throw new Error("Congratulations, you created a collection of unique numbers which uses all available integers!");for(;r.has(i);)i=Math.floor(Math.random()*n);return e(r,i)}}(o,r),u=function(e){return function(t){var n=e(t);return t.add(n),n}}(i);e.addUniqueNumber=u,e.generateUniqueNumber=i,Object.defineProperty(e,"__esModule",{value:!0})}(t)},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));const r=e=>new ArrayBuffer(e)},function(e,t,n){"use strict";n.r(t);var r=n(34),o=n(38),i=n(30);for(var u in i)"default"!==u&&function(e){n.d(t,e,(function(){return i[e]}))}(u);var c=n(32);for(var u in c)"default"!==u&&function(e){n.d(t,e,(function(){return c[e]}))}(u);Object(r.createWorker)(self,{allocate:({length:e})=>{const t=Object(o.a)(e);return{result:t,transferables:[t]}},deallocate:()=>({result:void 0})})},function(e,t,n){var r=n(41),o=n(42),i=n(43);e.exports=function(e){return r(e)||o(e)||i()}},function(e,t){e.exports=function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}},function(e,t){e.exports=function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}},function(e,t,n){"use strict";e.exports=(e,t)=>{if("string"!=typeof e)throw new TypeError("expected a string");return e.trim().replace(/([a-z])([A-Z])/g,"$1-$2").replace(/\\W/g,e=>/[À-ž]/.test(e)?e:"-").replace(/^-+|-+$/g,"").replace(/-{2,}/g,e=>t&&t.condense?"-":e).toLowerCase()}},function(e,t,n){var r=function(e){var t,n,r=/\\w+/.exec(e);if(!r)return"an";var o=(n=r[0]).toLowerCase(),i=["honest","hour","hono"];for(t in i)if(0==o.indexOf(i[t]))return"an";if(1==o.length)return"aedhilmnorsx".indexOf(o)>=0?"an":"a";if(n.match(/(?!FJO|[HLMNS]Y.|RY[EO]|SQU|(F[LR]?|[HL]|MN?|N|RH?|S[CHKLMNPTVW]?|X(YL)?)[AEIOU])[FHLMNRSX][A-Z]/))return"an";var u=[/^e[uw]/,/^onc?e\\b/,/^uni([^nmd]|mo)/,/^u[bcfhjkqrst][aeiou]/];for(t=0;t<u.length;t++)if(o.match(u[t]))return"a";return n.match(/^U[NK][AIEO]/)?"a":n==n.toUpperCase()?"aedhilmnorsx".indexOf(o[0])>=0?"an":"a":"aeiou".indexOf(o[0])>=0?"an":o.match(/^y(b[lor]|cl[ea]|fere|gg|p[ios]|rou|tt)/)?"an":"a"};void 0!==e.exports?e.exports=r:window.indefiniteArticle=r}]);`; // tslint:disable-line:max-line-length
//# sourceMappingURL=/build/es2019/worker/worker.js.map

@@ -31,3 +31,3 @@ {

"eslint": "^6.8.0",
"eslint-config-holy-grail": "^46.0.4",
"eslint-config-holy-grail": "^46.0.7",
"grunt": "^1.0.4",

@@ -39,3 +39,3 @@ "grunt-cli": "^1.3.2",

"grunt-webpack": "^3.1.3",
"husky": "^4.2.1",
"husky": "^4.2.2",
"karma": "^4.4.1",

@@ -58,7 +58,7 @@ "karma-chrome-launcher": "^3.1.0",

"ts-loader": "^6.2.1",
"tsconfig-holy-grail": "^11.0.0",
"tsconfig-holy-grail": "^11.0.1",
"tslint": "^6.0.0",
"tslint-config-holy-grail": "^47.0.7",
"tslint-config-holy-grail": "^47.0.9",
"typescript": "^3.7.5",
"webpack": "^4.41.5"
"webpack": "^4.41.6"
},

@@ -90,3 +90,3 @@ "files": [

"types": "build/es2019/module.d.ts",
"version": "4.0.0"
"version": "4.0.1"
}
// This is the minified and stringified code of the async-array-buffer-worker package.
export const worker = `!function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=40)}([function(e,t,n){"use strict";n.d(t,"a",(function(){return c})),n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return s})),n.d(t,"d",(function(){return f}));var r=n(1);const o=-32603,i=-32602,u=-32601,c=Object(r.compile)({message:'The requested method called "\${method}" is not supported.',status:u}),a=Object(r.compile)({message:'The handler of the method called "\${method}" returned no required result.',status:o}),s=Object(r.compile)({message:'The handler of the method called "\${method}" returned an unexpected result.',status:o}),f=Object(r.compile)({message:'The specified parameter called "portId" with the given value "\${portId}" does not identify a port connected to this worker.',status:i})},function(e,t,n){!function(e,t,n,r){"use strict";t=t&&t.hasOwnProperty("default")?t.default:t,n=n&&n.hasOwnProperty("default")?n.default:n,r=r&&r.hasOwnProperty("default")?r.default:r;var o=function(e,t){return void 0===t?e:t.reduce((function(e,t){if("capitalize"===t){var o=e.charAt(0).toUpperCase(),i=e.slice(1);return"".concat(o).concat(i)}return"dashify"===t?n(e):"prependIndefiniteArticle"===t?"".concat(r(e)," ").concat(e):e}),e)},i=function(e,n){for(var r=/\\\${([^.}]+)((\\.[^(]+\\(\\))*)}/g,i=[],u=r.exec(e);null!==u;){var c={modifiers:[],name:u[1]};if(void 0!==u[3])for(var a=/\\.[^(]+\\(\\)/g,s=a.exec(u[2]);null!==s;)c.modifiers.push(s[0].slice(1,-2)),s=a.exec(u[2]);i.push(c),u=r.exec(e)}var f=i.reduce((function(e,r){return e.map((function(e){return"string"==typeof e?e.split(function(e){var t=e.name+e.modifiers.map((function(e){return"\\\\.".concat(e,"\\\\(\\\\)")})).join("");return new RegExp("\\\\$\\\\{".concat(t,"}"),"g")}(r)).reduce((function(e,i,u){return 0===u?[i]:r.name in n?[].concat(t(e),[o(n[r.name],r.modifiers),i]):[].concat(t(e),[function(e){return o(e[r.name],r.modifiers)},i])}),[]):[e]})).reduce((function(e,n){return[].concat(t(e),t(n))}),[])}),[e]);return function(e){return f.reduce((function(n,r){return[].concat(t(n),"string"==typeof r?[r]:[r(e)])}),[]).join("")}};e.compile=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=void 0===e.code?void 0:i(e.code,t),r=void 0===e.message?void 0:i(e.message,t);function o(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=arguments.length>1?arguments[1]:void 0,i=void 0===o&&(t instanceof Error||void 0!==t.code&&"Exception"===t.code.slice(-9)),u=i?{cause:t,missingParameters:{}}:{cause:o,missingParameters:t},c=u.cause,a=u.missingParameters,s=void 0===r?new Error:new Error(r(a));return null!==c&&(s.cause=c),void 0!==n&&(s.code=n(a)),void 0!==e.status&&(s.status=e.status),s}return o},Object.defineProperty(e,"__esModule",{value:!0})}(t,n(41),n(45),n(46))},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));const r=()=>new Promise(e=>{const t=new ArrayBuffer(0),{port1:n,port2:r}=new MessageChannel;n.onmessage=t=>{let{data:n}=t;return e(null!==n)},r.postMessage(t,[t])})},function(e,t,n){"use strict";n(4),n(5),n(6),n(7),n(8),n(9),n(10),n(11),n(12),n(13),n(14),n(15),n(16),n(17)},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t,n){"use strict";n(19),n(20),n(21),n(22),n(23),n(24),n(25),n(26),n(27),n(28),n(29)},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t,n){"use strict";n.r(t);var r=n(31);for(var o in r)"default"!==o&&function(e){n.d(t,e,(function(){return r[e]}))}(o)},function(e,t){},function(e,t,n){"use strict";n.r(t);var r=n(33);for(var o in r)"default"!==o&&function(e){n.d(t,e,(function(){return r[e]}))}(o)},function(e,t){},function(e,t,n){"use strict";n.d(t,"createWorker",(function(){return i}));var r=n(35),o=n(36);n(2),n(3),n(18);const i=function e(t,n){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:()=>!0;const u=Object(o.a)(e,n,i),c=Object(r.a)(t,u);return t.addEventListener("message",c),()=>t.removeEventListener("message",c)}},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(0);const o=(e,t)=>async n=>{let{data:{id:o,method:i,params:u}}=n;const c=t[i];try{if(void 0===c)throw Object(r.a)({method:i});const t=void 0===u?c():c(u);if(void 0===t)throw Object(r.b)({method:i});const n=t instanceof Promise?await t:t;if(null===o){if(void 0!==n.result)throw Object(r.c)({method:i})}else{if(void 0===n.result)throw Object(r.c)({method:i});const{result:t,transferables:u=[]}=n;e.postMessage({id:o,result:t},u)}}catch(t){const{message:n,status:r=-32603}=t;e.postMessage({error:{code:r,message:n},id:o})}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return f}));var r=n(37),o=n.n(r),i=n(38),u=n(0),c=n(2);function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}const s=new Map,f=(e,t,n)=>function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},t,{connect:n=>{let{port:r}=n;r.start();const o=e(r,t),u=Object(i.generateUniqueNumber)(s);return s.set(u,()=>{o(),r.close(),s.delete(u)}),{result:u}},disconnect:e=>{let{portId:t}=e;const n=s.get(t);if(void 0===n)throw Object(u.d)({portId:t.toString()});return n(),{result:null}},isSupported:async()=>{if(await Object(c.a)()){const e=n();return{result:e instanceof Promise?await e:e}}return{result:!1}}})},function(e,t){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},function(e,t,n){!function(e){"use strict";var t,n=void 0===Number.MAX_SAFE_INTEGER?9007199254740991:Number.MAX_SAFE_INTEGER,r=new WeakMap,o=(t=r,function(e,n){return t.set(e,n),n}),i=function(e,t){return function(r){var o=t.get(r),i=void 0===o?r.size:o>2147483646?0:o+1;if(!r.has(i))return e(r,i);if(r.size<1073741824){for(;r.has(i);)i=Math.floor(2147483648*Math.random());return e(r,i)}if(r.size>n)throw new Error("Congratulations, you created a collection of unique numbers which uses all available integers!");for(;r.has(i);)i=Math.floor(Math.random()*n);return e(r,i)}}(o,r),u=function(e){return function(t){var n=e(t);return t.add(n),n}}(i);e.addUniqueNumber=u,e.generateUniqueNumber=i,Object.defineProperty(e,"__esModule",{value:!0})}(t)},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));const r=e=>new ArrayBuffer(e)},function(e,t,n){"use strict";n.r(t);var r=n(34),o=n(39),i=n(30);for(var u in i)"default"!==u&&function(e){n.d(t,e,(function(){return i[e]}))}(u);var c=n(32);for(var u in c)"default"!==u&&function(e){n.d(t,e,(function(){return c[e]}))}(u);Object(r.createWorker)(self,{allocate:e=>{let{length:t}=e;const n=Object(o.a)(t);return{result:n,transferables:[n]}},deallocate:()=>({result:void 0})})},function(e,t,n){var r=n(42),o=n(43),i=n(44);e.exports=function(e){return r(e)||o(e)||i()}},function(e,t){e.exports=function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}},function(e,t){e.exports=function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}},function(e,t,n){"use strict";e.exports=(e,t)=>{if("string"!=typeof e)throw new TypeError("expected a string");return e.trim().replace(/([a-z])([A-Z])/g,"$1-$2").replace(/\\W/g,e=>/[À-ž]/.test(e)?e:"-").replace(/^-+|-+$/g,"").replace(/-{2,}/g,e=>t&&t.condense?"-":e).toLowerCase()}},function(e,t,n){var r=function(e){var t,n,r=/\\w+/.exec(e);if(!r)return"an";var o=(n=r[0]).toLowerCase(),i=["honest","hour","hono"];for(t in i)if(0==o.indexOf(i[t]))return"an";if(1==o.length)return"aedhilmnorsx".indexOf(o)>=0?"an":"a";if(n.match(/(?!FJO|[HLMNS]Y.|RY[EO]|SQU|(F[LR]?|[HL]|MN?|N|RH?|S[CHKLMNPTVW]?|X(YL)?)[AEIOU])[FHLMNRSX][A-Z]/))return"an";var u=[/^e[uw]/,/^onc?e\\b/,/^uni([^nmd]|mo)/,/^u[bcfhjkqrst][aeiou]/];for(t=0;t<u.length;t++)if(o.match(u[t]))return"a";return n.match(/^U[NK][AIEO]/)?"a":n==n.toUpperCase()?"aedhilmnorsx".indexOf(o[0])>=0?"an":"a":"aeiou".indexOf(o[0])>=0?"an":o.match(/^y(b[lor]|cl[ea]|fere|gg|p[ios]|rou|tt)/)?"an":"a"};void 0!==e.exports?e.exports=r:window.indefiniteArticle=r}]);`; // tslint:disable-line:max-line-length
export const worker = `!function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=39)}([function(e,t,n){"use strict";n.d(t,"a",(function(){return c})),n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return s})),n.d(t,"d",(function(){return f}));var r=n(1);const o=-32603,i=-32602,u=-32601,c=Object(r.compile)({message:'The requested method called "\${method}" is not supported.',status:u}),a=Object(r.compile)({message:'The handler of the method called "\${method}" returned no required result.',status:o}),s=Object(r.compile)({message:'The handler of the method called "\${method}" returned an unexpected result.',status:o}),f=Object(r.compile)({message:'The specified parameter called "portId" with the given value "\${portId}" does not identify a port connected to this worker.',status:i})},function(e,t,n){!function(e,t,n,r){"use strict";t=t&&t.hasOwnProperty("default")?t.default:t,n=n&&n.hasOwnProperty("default")?n.default:n,r=r&&r.hasOwnProperty("default")?r.default:r;var o=function(e,t){return void 0===t?e:t.reduce((function(e,t){if("capitalize"===t){var o=e.charAt(0).toUpperCase(),i=e.slice(1);return"".concat(o).concat(i)}return"dashify"===t?n(e):"prependIndefiniteArticle"===t?"".concat(r(e)," ").concat(e):e}),e)},i=function(e,n){for(var r=/\\\${([^.}]+)((\\.[^(]+\\(\\))*)}/g,i=[],u=r.exec(e);null!==u;){var c={modifiers:[],name:u[1]};if(void 0!==u[3])for(var a=/\\.[^(]+\\(\\)/g,s=a.exec(u[2]);null!==s;)c.modifiers.push(s[0].slice(1,-2)),s=a.exec(u[2]);i.push(c),u=r.exec(e)}var f=i.reduce((function(e,r){return e.map((function(e){return"string"==typeof e?e.split(function(e){var t=e.name+e.modifiers.map((function(e){return"\\\\.".concat(e,"\\\\(\\\\)")})).join("");return new RegExp("\\\\$\\\\{".concat(t,"}"),"g")}(r)).reduce((function(e,i,u){return 0===u?[i]:r.name in n?[].concat(t(e),[o(n[r.name],r.modifiers),i]):[].concat(t(e),[function(e){return o(e[r.name],r.modifiers)},i])}),[]):[e]})).reduce((function(e,n){return[].concat(t(e),t(n))}),[])}),[e]);return function(e){return f.reduce((function(n,r){return[].concat(t(n),"string"==typeof r?[r]:[r(e)])}),[]).join("")}};e.compile=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=void 0===e.code?void 0:i(e.code,t),r=void 0===e.message?void 0:i(e.message,t);function o(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=arguments.length>1?arguments[1]:void 0,i=void 0===o&&(t instanceof Error||void 0!==t.code&&"Exception"===t.code.slice(-9)),u=i?{cause:t,missingParameters:{}}:{cause:o,missingParameters:t},c=u.cause,a=u.missingParameters,s=void 0===r?new Error:new Error(r(a));return null!==c&&(s.cause=c),void 0!==n&&(s.code=n(a)),void 0!==e.status&&(s.status=e.status),s}return o},Object.defineProperty(e,"__esModule",{value:!0})}(t,n(40),n(44),n(45))},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));const r=()=>new Promise(e=>{const t=new ArrayBuffer(0),{port1:n,port2:r}=new MessageChannel;n.onmessage=({data:t})=>e(null!==t),r.postMessage(t,[t])})},function(e,t,n){"use strict";n(4),n(5),n(6),n(7),n(8),n(9),n(10),n(11),n(12),n(13),n(14),n(15),n(16),n(17)},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t,n){"use strict";n(19),n(20),n(21),n(22),n(23),n(24),n(25),n(26),n(27),n(28),n(29)},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t,n){"use strict";n.r(t);var r=n(31);for(var o in r)"default"!==o&&function(e){n.d(t,e,(function(){return r[e]}))}(o)},function(e,t){},function(e,t,n){"use strict";n.r(t);var r=n(33);for(var o in r)"default"!==o&&function(e){n.d(t,e,(function(){return r[e]}))}(o)},function(e,t){},function(e,t,n){"use strict";n.d(t,"createWorker",(function(){return i}));var r=n(35),o=n(36);n(2),n(3),n(18);const i=(e,t,n=(()=>!0))=>{const u=Object(o.a)(i,t,n),c=Object(r.a)(e,u);return e.addEventListener("message",c),()=>e.removeEventListener("message",c)}},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(0);const o=(e,t)=>async({data:{id:n,method:o,params:i}})=>{const u=t[o];try{if(void 0===u)throw Object(r.a)({method:o});const t=void 0===i?u():u(i);if(void 0===t)throw Object(r.b)({method:o});const c=t instanceof Promise?await t:t;if(null===n){if(void 0!==c.result)throw Object(r.c)({method:o})}else{if(void 0===c.result)throw Object(r.c)({method:o});const{result:t,transferables:i=[]}=c;e.postMessage({id:n,result:t},i)}}catch(t){const{message:r,status:o=-32603}=t;e.postMessage({error:{code:o,message:r},id:n})}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var r=n(37),o=n(0),i=n(2);const u=new Map,c=(e,t,n)=>({...t,connect:({port:n})=>{n.start();const o=e(n,t),i=Object(r.generateUniqueNumber)(u);return u.set(i,()=>{o(),n.close(),u.delete(i)}),{result:i}},disconnect:({portId:e})=>{const t=u.get(e);if(void 0===t)throw Object(o.d)({portId:e.toString()});return t(),{result:null}},isSupported:async()=>{if(await Object(i.a)()){const e=n();return{result:e instanceof Promise?await e:e}}return{result:!1}}})},function(e,t,n){!function(e){"use strict";var t,n=void 0===Number.MAX_SAFE_INTEGER?9007199254740991:Number.MAX_SAFE_INTEGER,r=new WeakMap,o=(t=r,function(e,n){return t.set(e,n),n}),i=function(e,t){return function(r){var o=t.get(r),i=void 0===o?r.size:o>2147483646?0:o+1;if(!r.has(i))return e(r,i);if(r.size<1073741824){for(;r.has(i);)i=Math.floor(2147483648*Math.random());return e(r,i)}if(r.size>n)throw new Error("Congratulations, you created a collection of unique numbers which uses all available integers!");for(;r.has(i);)i=Math.floor(Math.random()*n);return e(r,i)}}(o,r),u=function(e){return function(t){var n=e(t);return t.add(n),n}}(i);e.addUniqueNumber=u,e.generateUniqueNumber=i,Object.defineProperty(e,"__esModule",{value:!0})}(t)},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));const r=e=>new ArrayBuffer(e)},function(e,t,n){"use strict";n.r(t);var r=n(34),o=n(38),i=n(30);for(var u in i)"default"!==u&&function(e){n.d(t,e,(function(){return i[e]}))}(u);var c=n(32);for(var u in c)"default"!==u&&function(e){n.d(t,e,(function(){return c[e]}))}(u);Object(r.createWorker)(self,{allocate:({length:e})=>{const t=Object(o.a)(e);return{result:t,transferables:[t]}},deallocate:()=>({result:void 0})})},function(e,t,n){var r=n(41),o=n(42),i=n(43);e.exports=function(e){return r(e)||o(e)||i()}},function(e,t){e.exports=function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}},function(e,t){e.exports=function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}},function(e,t,n){"use strict";e.exports=(e,t)=>{if("string"!=typeof e)throw new TypeError("expected a string");return e.trim().replace(/([a-z])([A-Z])/g,"$1-$2").replace(/\\W/g,e=>/[À-ž]/.test(e)?e:"-").replace(/^-+|-+$/g,"").replace(/-{2,}/g,e=>t&&t.condense?"-":e).toLowerCase()}},function(e,t,n){var r=function(e){var t,n,r=/\\w+/.exec(e);if(!r)return"an";var o=(n=r[0]).toLowerCase(),i=["honest","hour","hono"];for(t in i)if(0==o.indexOf(i[t]))return"an";if(1==o.length)return"aedhilmnorsx".indexOf(o)>=0?"an":"a";if(n.match(/(?!FJO|[HLMNS]Y.|RY[EO]|SQU|(F[LR]?|[HL]|MN?|N|RH?|S[CHKLMNPTVW]?|X(YL)?)[AEIOU])[FHLMNRSX][A-Z]/))return"an";var u=[/^e[uw]/,/^onc?e\\b/,/^uni([^nmd]|mo)/,/^u[bcfhjkqrst][aeiou]/];for(t=0;t<u.length;t++)if(o.match(u[t]))return"a";return n.match(/^U[NK][AIEO]/)?"a":n==n.toUpperCase()?"aedhilmnorsx".indexOf(o[0])>=0?"an":"a":"aeiou".indexOf(o[0])>=0?"an":o.match(/^y(b[lor]|cl[ea]|fere|gg|p[ios]|rou|tt)/)?"an":"a"};void 0!==e.exports?e.exports=r:window.indefiniteArticle=r}]);`; // tslint:disable-line:max-line-length

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