From 55cea86dcbfb47faab48d852b26d47c821ef5535 Mon Sep 17 00:00:00 2001 From: Daniel Haim <2808046+danielhaim1@users.noreply.github.com> Date: Sat, 20 Jan 2024 18:41:55 +0100 Subject: [PATCH] Release: v$(node -p "require(./package.json).version") --- dist/modulator.amd.js | 2 +- dist/modulator.js | 2 +- docs/assets/js/modulator.amd.js | 2 +- docs/assets/js/modulator.js | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dist/modulator.amd.js b/dist/modulator.amd.js index 6d8fa3b..08b0c3b 100644 --- a/dist/modulator.amd.js +++ b/dist/modulator.amd.js @@ -1,5 +1,5 @@ /*! - * @danielhaim/modulator - v1.0.18 - 2024-01-20 + * @danielhaim/modulator - v1.0.19 - 2024-01-20 * https://github.com/danielhaim1/modulator.git * Copyright (c) 2024 Daniel Haim, Licensed Apache-2.0 */(()=>{var e={497:(e,t,r)=>{var o,n;e=r.nmd(e),o=[r(352)],void 0===(n=function(t){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}"object"===r(e)&&e.exports&&(e.exports={modulate:t.modulate}),"object"===("undefined"==typeof window?"undefined":r(window))&&(window.modulate=t.modulate)}.apply(t,o))||(e.exports=n)},352:(e,t,r)=>{var o;e=r.nmd(e),void 0===(o=function(r){"use strict";function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}function n(e,t){var r,o=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:100,u=arguments.length>5&&void 0!==arguments[5]?arguments[5]:null;if("function"!=typeof e)throw new TypeError("Expected a function for the first parameter");if("number"!=typeof t||isNaN(t))throw new TypeError("Expected a number for the second parameter");if("number"!=typeof t||isNaN(t))throw new TypeError("Expected a number for the second parameter (wait)");if("boolean"!=typeof o)throw new TypeError("Expected a boolean for the third parameter");if("number"!=typeof i||isNaN(i))throw new TypeError("Expected a number for the fifth parameter");if(null!==u&&("number"!=typeof u||isNaN(u)))throw new TypeError("Expected a number for the sixth parameter");if(null!==u&&u0&&void 0!==arguments[0]?arguments[0]:function(){},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,n=Date.now()-o;if("function"!=typeof e)return Promise.reject(new Error("Expected a function for the first parameter"));if("number"!=typeof t||isNaN(t)||t<=0)return Promise.reject(new Error("Expected a number for the second parameter"));if("number"!=typeof n||isNaN(n)||n<0)return Promise.reject(new Error("Invalid timeSinceLast value"));if(r||n>=t||null!==u&&n>=u)return e(),Promise.resolve(Date.now());var i=t-n;return i<=0?Promise.resolve(Date.now()):new Promise((function(e){return setTimeout((function(){return e(Date.now())}),i)}))}var s=o&&!r,d=Date.now()-p,y=null!==u&&d>=u;if(clearTimeout(r),r=y?setTimeout(c,d):setTimeout((function(){return c(e,t,s,p)}),null!==u?u:t),s&&!y){var h=e.apply(n,m);a.push(h),f.set(JSON.stringify(m),h),f.size>i&&f.delete(f.keys().next().value),l(h),p=Date.now()}var w=f.get(JSON.stringify(m));void 0!==w&&l(w)})).finally((function(){l&&(a=[],f.clear()),l=!1}))};return c.cancel=function(){clearTimeout(r),l=!0},c.result=function(){return a},c}Object.defineProperty(r,"__esModule",{value:!0}),t.modulate=n,"object"===o(e)&&e.exports&&(e.exports={modulate:n})}.apply(t,[t]))||(e.exports=o)}},t={};function r(o){var n=t[o];if(void 0!==n)return n.exports;var i=t[o]={id:o,loaded:!1,exports:{}};return e[o](i,i.exports,r),i.loaded=!0,i.exports}r.nmd=e=>(e.paths=[],e.children||(e.children=[]),e);r(497)})(); \ No newline at end of file diff --git a/dist/modulator.js b/dist/modulator.js index 80b0a1d..8333041 100644 --- a/dist/modulator.js +++ b/dist/modulator.js @@ -1,5 +1,5 @@ /*! - * @danielhaim/modulator - v1.0.18 - 2024-01-20 + * @danielhaim/modulator - v1.0.19 - 2024-01-20 * https://github.com/danielhaim1/modulator.git * Copyright (c) 2024 Daniel Haim, Licensed Apache-2.0 */(()=>{"use strict";var e={497:(e,r,t)=>{var o=t(352);e.exports&&(e.exports={modulate:o.modulate}),"object"==typeof window&&(window.modulate=o.modulate)},352:(e,r)=>{function t(e,r,t=!1,o=null,n=100,a=null){if("function"!=typeof e)throw new TypeError("Expected a function for the first parameter");if("number"!=typeof r||isNaN(r))throw new TypeError("Expected a number for the second parameter");if("number"!=typeof r||isNaN(r))throw new TypeError("Expected a number for the second parameter (wait)");if("boolean"!=typeof t)throw new TypeError("Expected a boolean for the third parameter");if("number"!=typeof n||isNaN(n))throw new TypeError("Expected a number for the fifth parameter");if(null!==a&&("number"!=typeof a||isNaN(a)))throw new TypeError("Expected a number for the sixth parameter");if(null!==a&&a{function l(e=(()=>{}),r=0,t=!1,o=0){const n=Date.now()-o;if("function"!=typeof e)return Promise.reject(new Error("Expected a function for the first parameter"));if("number"!=typeof r||isNaN(r)||r<=0)return Promise.reject(new Error("Expected a number for the second parameter"));if("number"!=typeof n||isNaN(n)||n<0)return Promise.reject(new Error("Invalid timeSinceLast value"));if(t||n>=r||null!==a&&n>=a)return e(),Promise.resolve(Date.now());const i=r-n;return i<=0?Promise.resolve(Date.now()):new Promise((e=>setTimeout((()=>e(Date.now())),i)))}const m=t&&!i,w=Date.now()-p,d=null!==a&&w>=a;if(clearTimeout(i),i=d?setTimeout(l,w):setTimeout((()=>l(e,r,m,p)),null!==a?a:r),m&&!d){const r=e.apply(o,c);u.push(r),s.set(JSON.stringify(c),r),s.size>n&&s.delete(s.keys().next().value),f(r),p=Date.now()}const h=s.get(JSON.stringify(c));void 0!==h&&f(h)})).finally((()=>{f&&(u=[],s.clear()),f=!1}))};return c.cancel=function(){clearTimeout(i),f=!0},c.result=function(){return u},c}Object.defineProperty(r,"__esModule",{value:!0}),r.modulate=t,e.exports&&(e.exports={modulate:t})}},r={};var t=function t(o){var n=r[o];if(void 0!==n)return n.exports;var a=r[o]={exports:{}};return e[o](a,a.exports,t),a.exports}(497);module.exports=t})(); \ No newline at end of file diff --git a/docs/assets/js/modulator.amd.js b/docs/assets/js/modulator.amd.js index 6d8fa3b..08b0c3b 100644 --- a/docs/assets/js/modulator.amd.js +++ b/docs/assets/js/modulator.amd.js @@ -1,5 +1,5 @@ /*! - * @danielhaim/modulator - v1.0.18 - 2024-01-20 + * @danielhaim/modulator - v1.0.19 - 2024-01-20 * https://github.com/danielhaim1/modulator.git * Copyright (c) 2024 Daniel Haim, Licensed Apache-2.0 */(()=>{var e={497:(e,t,r)=>{var o,n;e=r.nmd(e),o=[r(352)],void 0===(n=function(t){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}"object"===r(e)&&e.exports&&(e.exports={modulate:t.modulate}),"object"===("undefined"==typeof window?"undefined":r(window))&&(window.modulate=t.modulate)}.apply(t,o))||(e.exports=n)},352:(e,t,r)=>{var o;e=r.nmd(e),void 0===(o=function(r){"use strict";function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}function n(e,t){var r,o=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:100,u=arguments.length>5&&void 0!==arguments[5]?arguments[5]:null;if("function"!=typeof e)throw new TypeError("Expected a function for the first parameter");if("number"!=typeof t||isNaN(t))throw new TypeError("Expected a number for the second parameter");if("number"!=typeof t||isNaN(t))throw new TypeError("Expected a number for the second parameter (wait)");if("boolean"!=typeof o)throw new TypeError("Expected a boolean for the third parameter");if("number"!=typeof i||isNaN(i))throw new TypeError("Expected a number for the fifth parameter");if(null!==u&&("number"!=typeof u||isNaN(u)))throw new TypeError("Expected a number for the sixth parameter");if(null!==u&&u0&&void 0!==arguments[0]?arguments[0]:function(){},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,n=Date.now()-o;if("function"!=typeof e)return Promise.reject(new Error("Expected a function for the first parameter"));if("number"!=typeof t||isNaN(t)||t<=0)return Promise.reject(new Error("Expected a number for the second parameter"));if("number"!=typeof n||isNaN(n)||n<0)return Promise.reject(new Error("Invalid timeSinceLast value"));if(r||n>=t||null!==u&&n>=u)return e(),Promise.resolve(Date.now());var i=t-n;return i<=0?Promise.resolve(Date.now()):new Promise((function(e){return setTimeout((function(){return e(Date.now())}),i)}))}var s=o&&!r,d=Date.now()-p,y=null!==u&&d>=u;if(clearTimeout(r),r=y?setTimeout(c,d):setTimeout((function(){return c(e,t,s,p)}),null!==u?u:t),s&&!y){var h=e.apply(n,m);a.push(h),f.set(JSON.stringify(m),h),f.size>i&&f.delete(f.keys().next().value),l(h),p=Date.now()}var w=f.get(JSON.stringify(m));void 0!==w&&l(w)})).finally((function(){l&&(a=[],f.clear()),l=!1}))};return c.cancel=function(){clearTimeout(r),l=!0},c.result=function(){return a},c}Object.defineProperty(r,"__esModule",{value:!0}),t.modulate=n,"object"===o(e)&&e.exports&&(e.exports={modulate:n})}.apply(t,[t]))||(e.exports=o)}},t={};function r(o){var n=t[o];if(void 0!==n)return n.exports;var i=t[o]={id:o,loaded:!1,exports:{}};return e[o](i,i.exports,r),i.loaded=!0,i.exports}r.nmd=e=>(e.paths=[],e.children||(e.children=[]),e);r(497)})(); \ No newline at end of file diff --git a/docs/assets/js/modulator.js b/docs/assets/js/modulator.js index 80b0a1d..8333041 100644 --- a/docs/assets/js/modulator.js +++ b/docs/assets/js/modulator.js @@ -1,5 +1,5 @@ /*! - * @danielhaim/modulator - v1.0.18 - 2024-01-20 + * @danielhaim/modulator - v1.0.19 - 2024-01-20 * https://github.com/danielhaim1/modulator.git * Copyright (c) 2024 Daniel Haim, Licensed Apache-2.0 */(()=>{"use strict";var e={497:(e,r,t)=>{var o=t(352);e.exports&&(e.exports={modulate:o.modulate}),"object"==typeof window&&(window.modulate=o.modulate)},352:(e,r)=>{function t(e,r,t=!1,o=null,n=100,a=null){if("function"!=typeof e)throw new TypeError("Expected a function for the first parameter");if("number"!=typeof r||isNaN(r))throw new TypeError("Expected a number for the second parameter");if("number"!=typeof r||isNaN(r))throw new TypeError("Expected a number for the second parameter (wait)");if("boolean"!=typeof t)throw new TypeError("Expected a boolean for the third parameter");if("number"!=typeof n||isNaN(n))throw new TypeError("Expected a number for the fifth parameter");if(null!==a&&("number"!=typeof a||isNaN(a)))throw new TypeError("Expected a number for the sixth parameter");if(null!==a&&a{function l(e=(()=>{}),r=0,t=!1,o=0){const n=Date.now()-o;if("function"!=typeof e)return Promise.reject(new Error("Expected a function for the first parameter"));if("number"!=typeof r||isNaN(r)||r<=0)return Promise.reject(new Error("Expected a number for the second parameter"));if("number"!=typeof n||isNaN(n)||n<0)return Promise.reject(new Error("Invalid timeSinceLast value"));if(t||n>=r||null!==a&&n>=a)return e(),Promise.resolve(Date.now());const i=r-n;return i<=0?Promise.resolve(Date.now()):new Promise((e=>setTimeout((()=>e(Date.now())),i)))}const m=t&&!i,w=Date.now()-p,d=null!==a&&w>=a;if(clearTimeout(i),i=d?setTimeout(l,w):setTimeout((()=>l(e,r,m,p)),null!==a?a:r),m&&!d){const r=e.apply(o,c);u.push(r),s.set(JSON.stringify(c),r),s.size>n&&s.delete(s.keys().next().value),f(r),p=Date.now()}const h=s.get(JSON.stringify(c));void 0!==h&&f(h)})).finally((()=>{f&&(u=[],s.clear()),f=!1}))};return c.cancel=function(){clearTimeout(i),f=!0},c.result=function(){return u},c}Object.defineProperty(r,"__esModule",{value:!0}),r.modulate=t,e.exports&&(e.exports={modulate:t})}},r={};var t=function t(o){var n=r[o];if(void 0!==n)return n.exports;var a=r[o]={exports:{}};return e[o](a,a.exports,t),a.exports}(497);module.exports=t})(); \ No newline at end of file