async-array-buffer
Advanced tools
Comparing version 4.0.21 to 4.0.22
@@ -6,2 +6,2 @@ export declare const allocate: (length: number) => Promise<ArrayBuffer>; | ||
export declare const isSupported: () => Promise<boolean>; | ||
//# sourceMappingURL=/build/es2019/module.d.ts.map | ||
//# sourceMappingURL=module.d.ts.map |
@@ -12,2 +12,2 @@ import { load } from 'async-array-buffer-broker'; | ||
URL.revokeObjectURL(url); | ||
//# sourceMappingURL=/build/es2019/module.js.map | ||
//# sourceMappingURL=module.js.map |
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\";function o(e){return e&&\"object\"==typeof e&&\"default\"in e?e:{default:e}}var i=o(t),u=o(n),c=o(r),a=function(e,t){return void 0===t?e:t.reduce((function(e,t){if(\"capitalize\"===t){var n=e.charAt(0).toUpperCase(),r=e.slice(1);return\"\".concat(n).concat(r)}return\"dashify\"===t?u.default(e):\"prependIndefiniteArticle\"===t?\"\".concat(c.default(e),\" \").concat(e):e}),e)},s=function(e){var t=e.name+e.modifiers.map((function(e){return\"\\\\.\".concat(e,\"\\\\(\\\\)\")})).join(\"\");return new RegExp(\"\\\\$\\\\{\".concat(t,\"}\"),\"g\")},f=function(e,t){for(var n=/\\${([^.}]+)((\\.[^(]+\\(\\))*)}/g,r=[],o=n.exec(e);null!==o;){var u={modifiers:[],name:o[1]};if(void 0!==o[3])for(var c=/\\.[^(]+\\(\\)/g,f=c.exec(o[2]);null!==f;)u.modifiers.push(f[0].slice(1,-2)),f=c.exec(o[2]);r.push(u),o=n.exec(e)}var d=r.reduce((function(e,n){return e.map((function(e){return\"string\"==typeof e?e.split(s(n)).reduce((function(e,r,o){return 0===o?[r]:n.name in t?[].concat(i.default(e),[a(t[n.name],n.modifiers),r]):[].concat(i.default(e),[function(e){return a(e[n.name],n.modifiers)},r])}),[]):[e]})).reduce((function(e,t){return[].concat(i.default(e),i.default(t))}),[])}),[e]);return function(e){return d.reduce((function(t,n){return[].concat(i.default(t),\"string\"==typeof n?[n]:[n(e)])}),[]).join(\"\")}},d=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=void 0===e.code?void 0:f(e.code,t),r=void 0===e.message?void 0:f(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))?{cause:t,missingParameters:{}}:{cause:o,missingParameters:t},u=i.cause,c=i.missingParameters,a=void 0===r?new Error:new Error(r(c));return null!==u&&(a.cause=u),void 0!==n&&(a.code=n(c)),void 0!==e.status&&(a.status=e.status),a}return o};e.compile=d,Object.defineProperty(e,\"__esModule\",{value:!0})}(t,n(41),n(46),n(47))},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){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}},function(e,t,n){\"use strict\";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),n(18)},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(20),n(21),n(22),n(23),n(24),n(25),n(26),n(27),n(28),n(29),n(30)},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(32);for(var o in r)[\"default\"].indexOf(o)<0&&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(34);for(var o in r)[\"default\"].indexOf(o)<0&&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(36),o=n(37);n(2),n(4),n(19);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(38),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=function(e){return function(t){var n=e(t);return t.add(n),n}},n=function(e){return function(t,n){return e.set(t,n),n}},r=void 0===Number.MAX_SAFE_INTEGER?9007199254740991:Number.MAX_SAFE_INTEGER,o=536870912,i=2*o,u=function(e,t){return function(n){var u=t.get(n),c=void 0===u?n.size:u<i?u+1:0;if(!n.has(c))return e(n,c);if(n.size<o){for(;n.has(c);)c=Math.floor(Math.random()*i);return e(n,c)}if(n.size>r)throw new Error(\"Congratulations, you created a collection of unique numbers which uses all available integers!\");for(;n.has(c);)c=Math.floor(Math.random()*r);return e(n,c)}},c=new WeakMap,a=n(c),s=u(a,c),f=t(s);e.addUniqueNumber=f,e.generateUniqueNumber=s,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(35),o=n(39),i=n(31);for(var u in i)[\"default\"].indexOf(u)<0&&function(e){n.d(t,e,(function(){return i[e]}))}(u);var c=n(33);for(var u in c)[\"default\"].indexOf(u)<0&&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(42),o=n(43),i=n(44),u=n(45);e.exports=function(e){return r(e)||o(e)||i(e)||u()}},function(e,t,n){var r=n(3);e.exports=function(e){if(Array.isArray(e))return r(e)}},function(e,t){e.exports=function(e){if(\"undefined\"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}},function(e,t,n){var r=n(3);e.exports=function(e,t){if(e){if(\"string\"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return\"Object\"===n&&e.constructor&&(n=e.constructor.name),\"Map\"===n||\"Set\"===n?Array.from(e):\"Arguments\"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}}},function(e,t){e.exports=function(){throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\")}},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||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 | ||
//# sourceMappingURL=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";function o(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var i=o(t),u=o(n),c=o(r),a=function(e,t){return void 0===t?e:t.reduce((function(e,t){if("capitalize"===t){var n=e.charAt(0).toUpperCase(),r=e.slice(1);return"".concat(n).concat(r)}return"dashify"===t?u.default(e):"prependIndefiniteArticle"===t?"".concat(c.default(e)," ").concat(e):e}),e)},s=function(e){var t=e.name+e.modifiers.map((function(e){return"\\\\.".concat(e,"\\\\(\\\\)")})).join("");return new RegExp("\\\\$\\\\{".concat(t,"}"),"g")},f=function(e,t){for(var n=/\\\${([^.}]+)((\\.[^(]+\\(\\))*)}/g,r=[],o=n.exec(e);null!==o;){var u={modifiers:[],name:o[1]};if(void 0!==o[3])for(var c=/\\.[^(]+\\(\\)/g,f=c.exec(o[2]);null!==f;)u.modifiers.push(f[0].slice(1,-2)),f=c.exec(o[2]);r.push(u),o=n.exec(e)}var d=r.reduce((function(e,n){return e.map((function(e){return"string"==typeof e?e.split(s(n)).reduce((function(e,r,o){return 0===o?[r]:n.name in t?[].concat(i.default(e),[a(t[n.name],n.modifiers),r]):[].concat(i.default(e),[function(e){return a(e[n.name],n.modifiers)},r])}),[]):[e]})).reduce((function(e,t){return[].concat(i.default(e),i.default(t))}),[])}),[e]);return function(e){return d.reduce((function(t,n){return[].concat(i.default(t),"string"==typeof n?[n]:[n(e)])}),[]).join("")}},d=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=void 0===e.code?void 0:f(e.code,t),r=void 0===e.message?void 0:f(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))?{cause:t,missingParameters:{}}:{cause:o,missingParameters:t},u=i.cause,c=i.missingParameters,a=void 0===r?new Error:new Error(r(c));return null!==u&&(a.cause=u),void 0!==n&&(a.code=n(c)),void 0!==e.status&&(a.status=e.status),a}return o};e.compile=d,Object.defineProperty(e,"__esModule",{value:!0})}(t,n(41),n(46),n(47))},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){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}},function(e,t,n){"use strict";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),n(18)},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(20),n(21),n(22),n(23),n(24),n(25),n(26),n(27),n(28),n(29),n(30)},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(32);for(var o in r)["default"].indexOf(o)<0&&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(34);for(var o in r)["default"].indexOf(o)<0&&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(36),o=n(37);n(2),n(4),n(19);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(38),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=function(e){return function(t){var n=e(t);return t.add(n),n}},n=function(e){return function(t,n){return e.set(t,n),n}},r=void 0===Number.MAX_SAFE_INTEGER?9007199254740991:Number.MAX_SAFE_INTEGER,o=536870912,i=2*o,u=function(e,t){return function(n){var u=t.get(n),c=void 0===u?n.size:u<i?u+1:0;if(!n.has(c))return e(n,c);if(n.size<o){for(;n.has(c);)c=Math.floor(Math.random()*i);return e(n,c)}if(n.size>r)throw new Error("Congratulations, you created a collection of unique numbers which uses all available integers!");for(;n.has(c);)c=Math.floor(Math.random()*r);return e(n,c)}},c=new WeakMap,a=n(c),s=u(a,c),f=t(s);e.addUniqueNumber=f,e.generateUniqueNumber=s,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(35),o=n(39),i=n(31);for(var u in i)["default"].indexOf(u)<0&&function(e){n.d(t,e,(function(){return i[e]}))}(u);var c=n(33);for(var u in c)["default"].indexOf(u)<0&&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(42),o=n(43),i=n(44),u=n(45);e.exports=function(e){return r(e)||o(e)||i(e)||u()}},function(e,t,n){var r=n(3);e.exports=function(e){if(Array.isArray(e))return r(e)}},function(e,t){e.exports=function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}},function(e,t,n){var r=n(3);e.exports=function(e,t){if(e){if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}}},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}},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||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 | ||
//# sourceMappingURL=worker.js.map |
@@ -13,4 +13,4 @@ { | ||
"@babel/runtime": "^7.11.2", | ||
"async-array-buffer-broker": "^4.0.20", | ||
"async-array-buffer-worker": "^6.0.20", | ||
"async-array-buffer-broker": "^4.0.21", | ||
"async-array-buffer-worker": "^6.0.21", | ||
"tslib": "^2.0.1" | ||
@@ -20,3 +20,3 @@ }, | ||
"devDependencies": { | ||
"@babel/core": "^7.11.1", | ||
"@babel/core": "^7.11.4", | ||
"@babel/plugin-external-helpers": "^7.10.4", | ||
@@ -34,3 +34,3 @@ "@babel/plugin-transform-runtime": "^7.11.0", | ||
"eslint-config-holy-grail": "^48.0.0", | ||
"grunt": "^1.2.1", | ||
"grunt": "^1.3.0", | ||
"grunt-cli": "^1.3.2", | ||
@@ -55,3 +55,3 @@ "grunt-contrib-clean": "^2.0.0", | ||
"pretty-quick": "^2.0.1", | ||
"rollup": "^2.26.0", | ||
"rollup": "^2.26.4", | ||
"rollup-plugin-babel": "^4.4.0", | ||
@@ -62,5 +62,5 @@ "sinon": "^9.0.3", | ||
"ts-loader": "^8.0.2", | ||
"tsconfig-holy-grail": "^11.0.19", | ||
"tsconfig-holy-grail": "^11.0.20", | ||
"tslint": "^6.1.3", | ||
"tslint-config-holy-grail": "^52.0.4", | ||
"tslint-config-holy-grail": "^52.0.8", | ||
"typescript": "^3.9.7", | ||
@@ -94,3 +94,3 @@ "webpack": "^4.44.1" | ||
"types": "build/es2019/module.d.ts", | ||
"version": "4.0.21" | ||
"version": "4.0.22" | ||
} |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
0
54736