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

@pnotify/countdown

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pnotify/countdown - npm Package Compare versions

Comparing version 5.1.0 to 5.1.1

11

CHANGELOG.md

@@ -6,2 +6,13 @@ # Change Log

## [5.1.1](https://github.com/sciactive/pnotify/compare/v5.1.0...v5.1.1) (2020-04-27)
### Bug Fixes
* run build js through babel ([edd8ce7](https://github.com/sciactive/pnotify/commit/edd8ce7f5e8ea008114e178dc5f0a9b08b9c7d5e)), closes [#389](https://github.com/sciactive/pnotify/issues/389)
# [5.1.0](https://github.com/sciactive/pnotify/compare/v5.0.1...v5.1.0) (2020-04-21)

@@ -8,0 +19,0 @@

2

dist/PNotifyCountdown.js

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

!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.PNotifyCountdown=e():t.PNotifyCountdown=e()}(window,(function(){return function(t){var e={};function n(o){if(e[o])return e[o].exports;var r=e[o]={i:o,l:!1,exports:{}};return t[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=t,n.c=e,n.d=function(t,e,o){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:o})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(o,r,function(e){return t[e]}.bind(null,r));return o},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=1)}([function(t,e,n){},function(t,e,n){"use strict";function o(){}n.r(e),n.d(e,"position",(function(){return L})),n.d(e,"defaults",(function(){return z}));function r(t){return t()}function c(){return Object.create(null)}function i(t){t.forEach(r)}function u(t){return"function"==typeof t}function l(t,e){return t!=t?e==e:t!==e||t&&"object"==typeof t||"function"==typeof t}new Set;function a(t,e){t.appendChild(e)}function f(t,e,n){t.insertBefore(e,n||null)}function s(t){t.parentNode.removeChild(t)}function d(t){return document.createElement(t)}function p(t){return document.createTextNode(t)}function y(t,e,n){null==n?t.removeAttribute(e):t.getAttribute(e)!==n&&t.setAttribute(e,n)}function h(t,e,n,o){t.style.setProperty(e,n,o?"important":"")}new Set;let m;function g(t){m=t}function $(){if(!m)throw new Error("Function called outside component initialization");return m}const b=[],w=[],v=[],x=[],_=Promise.resolve();let S=!1;function j(){S||(S=!0,_.then(k))}function O(t){v.push(t)}let C=!1;const P=new Set;function k(){if(!C){C=!0;do{for(let t=0;t<b.length;t+=1){const e=b[t];g(e),E(e.$$)}for(b.length=0;w.length;)w.pop()();for(let t=0;t<v.length;t+=1){const e=v[t];P.has(e)||(P.add(e),e())}v.length=0}while(b.length);for(;x.length;)x.pop()();S=!1,C=!1,P.clear()}}function E(t){if(null!==t.fragment){t.update(),i(t.before_update);const e=t.dirty;t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,e),t.after_update.forEach(O)}}const M=new Set;function T(t,e){t&&t.i&&(M.delete(t),t.i(e))}"undefined"!=typeof window?window:global;new Set(["allowfullscreen","allowpaymentrequest","async","autofocus","autoplay","checked","controls","default","defer","disabled","formnovalidate","hidden","ismap","loop","multiple","muted","nomodule","novalidate","open","playsinline","readonly","required","reversed","selected"]);let N;function A(t,e){const n=t.$$;null!==n.fragment&&(i(n.on_destroy),n.fragment&&n.fragment.d(e),n.on_destroy=n.fragment=null,n.ctx=[])}function q(t,e,n,l,a,f,d=[-1]){const p=m;g(t);const y=e.props||{},h=t.$$={fragment:null,ctx:null,props:f,update:o,not_equal:a,bound:c(),on_mount:[],on_destroy:[],before_update:[],after_update:[],context:new Map(p?p.$$.context:[]),callbacks:c(),dirty:d};let $=!1;if(h.ctx=n?n(t,y,(e,n,...o)=>{const r=o.length?o[0]:n;return h.ctx&&a(h.ctx[e],h.ctx[e]=r)&&(h.bound[e]&&h.bound[e](r),$&&function(t,e){-1===t.$$.dirty[0]&&(b.push(t),j(),t.$$.dirty.fill(0)),t.$$.dirty[e/31|0]|=1<<e%31}(t,e)),n}):[],h.update(),$=!0,i(h.before_update),h.fragment=!!l&&l(h.ctx),e.target){if(e.hydrate){const t=(w=e.target,Array.from(w.childNodes));h.fragment&&h.fragment.l(t),t.forEach(s)}else h.fragment&&h.fragment.c();e.intro&&T(t.$$.fragment),function(t,e,n){const{fragment:o,on_mount:c,on_destroy:l,after_update:a}=t.$$;o&&o.m(e,n),O(()=>{const e=c.map(r).filter(u);l?l.push(...e):i(e),t.$$.on_mount=[]}),a.forEach(O)}(t,e.target,e.anchor),k()}var w;g(p)}"function"==typeof HTMLElement&&(N=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){for(const t in this.$$.slotted)this.appendChild(this.$$.slotted[t])}attributeChangedCallback(t,e,n){this[t]=n}$destroy(){A(this,1),this.$destroy=o}$on(t,e){const n=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return n.push(e),()=>{const t=n.indexOf(e);-1!==t&&n.splice(t,1)}}$set(){}});class D{$destroy(){A(this,1),this.$destroy=o}$on(t,e){const n=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return n.push(e),()=>{const t=n.indexOf(e);-1!==t&&n.splice(t,1)}}$set(){}}n(0);function H(t){let e,n,o,r;return{c(){e=d("div"),n=d("div"),y(n,"class",o="pnotify-countdown-bar "+t[0].getStyle("countdown-bar")),h(n,"height",("right"===t[1]||"left"===t[1]?t[3]:"100")+"%"),h(n,"width",("top"===t[1]||"bottom"===t[1]?t[3]:"100")+"%"),y(e,"class",r="\n pnotify-countdown\n pnotify-countdown-"+t[1]+"\n "+(t[2]?"pnotify-countdown-reverse":"")+"\n "+t[0].getStyle("countdown")+"\n ")},m(t,o){f(t,e,o),a(e,n)},p(t,c){1&c&&o!==(o="pnotify-countdown-bar "+t[0].getStyle("countdown-bar"))&&y(n,"class",o),10&c&&h(n,"height",("right"===t[1]||"left"===t[1]?t[3]:"100")+"%"),10&c&&h(n,"width",("top"===t[1]||"bottom"===t[1]?t[3]:"100")+"%"),7&c&&r!==(r="\n pnotify-countdown\n pnotify-countdown-"+t[1]+"\n "+(t[2]?"pnotify-countdown-reverse":"")+"\n "+t[0].getStyle("countdown")+"\n ")&&y(e,"class",r)},d(t){t&&s(e)}}}function I(t){let e,n=t[4]&&H(t);return{c(){n&&n.c(),e=p("")},m(t,o){n&&n.m(t,o),f(t,e,o)},p(t,[o]){t[4]?n?n.p(t,o):(n=H(t),n.c(),n.m(e.parentNode,e)):n&&(n.d(1),n=null)},i:o,o:o,d(t){n&&n.d(t),t&&s(e)}}}const L="AppendContainer",z={anchor:"bottom",reverse:!1};function B(t,e,n){let{self:o=null}=e,{anchor:r=z.anchor}=e,{reverse:c=z.reverse}=e,i=o.getState(),u=o.getTimer(),l=0,a=100;const f=setInterval(()=>{p&&(y?(l=o.delay-(new Date-y),n(3,a=l/o.delay*100)):n(3,a="closing"===i?0:100))},100),s=o.on("pnotify:update",()=>{n(5,i=o.getState()),n(6,u=o.getTimer())});var d;let p,y;return d=()=>{s(),clearInterval(f)},$().$$.on_destroy.push(d),t.$set=t=>{"self"in t&&n(0,o=t.self),"anchor"in t&&n(1,r=t.anchor),"reverse"in t&&n(2,c=t.reverse)},t.$$.update=()=>{33&t.$$.dirty&&n(4,p=-1!==["opening","open","closing"].indexOf(i)&&o.hide&&o.delay!==1/0),80&t.$$.dirty&&(y=p&&u&&"prevented"!==u?new Date:null)},[o,r,c,a,p]}e.default=class extends D{constructor(t){super(),q(this,t,B,I,l,{self:0,anchor:1,reverse:2})}}}])}));
!function(t,n){"object"==typeof exports&&"object"==typeof module?module.exports=n():"function"==typeof define&&define.amd?define([],n):"object"==typeof exports?exports.PNotifyCountdown=n():t.PNotifyCountdown=n()}(window,(function(){return function(t){var n={};function e(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,e),o.l=!0,o.exports}return e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:r})},e.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},e.t=function(t,n){if(1&n&&(t=e(t)),8&n)return t;if(4&n&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(e.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var o in t)e.d(r,o,function(n){return t[n]}.bind(null,o));return r},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},e.p="",e(e.s=1)}([function(t,n,e){},function(t,n,e){"use strict";function r(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(n&&n.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),n&&a(t,n)}function o(t){return function(){var n,e=l(t);if(f()){var r=l(this).constructor;Reflect.construct(e,arguments,r)}else e.apply(this,arguments);return u(this,n)}}function u(t,n){return!n||"object"!==h(n)&&"function"!=typeof n?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):n}function i(t){var n="function"==typeof Map?new Map:void 0;return function(t){if(null===t||(t,-1===Function.toString.call(e).indexOf("[native code]")))return t;var e;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==n){if(n.has(t))return n.get(t);n.set(t,r)}function r(){return c(t,arguments,l(this).constructor)}return r.prototype=Object.create(t.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),a(r,t)}(t)}function c(t,n,e){return(f()?Reflect.construct:function(t,n,e){var r=[null];r.push.apply(r,n);var o=new(Function.bind.apply(t,r));return e&&a(o,e.prototype),o}).apply(null,arguments)}function f(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}function a(t,n){return(Object.setPrototypeOf||function(t,n){return t.__proto__=n,t})(t,n)}function l(t){return(Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function p(t){return function(t){if(Array.isArray(t))return s(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||function(t,n){if(!t)return;if("string"==typeof t)return s(t,n);var e=Object.prototype.toString.call(t).slice(8,-1);"Object"===e&&t.constructor&&(e=t.constructor.name);if("Map"===e||"Set"===e)return Array.from(e);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return s(t,n)}(t)||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 s(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,r=new Array(n);e<n;e++)r[e]=t[e];return r}function y(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}function d(t,n){for(var e=0;e<n.length;e++){var r=n[e];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function b(t,n,e){return n&&d(t.prototype,n),e&&d(t,e),t}function h(t){return(h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function m(){}e.r(n),e.d(n,"position",(function(){return ct})),e.d(n,"defaults",(function(){return ft}));function v(t){return t()}function g(){return Object.create(null)}function w(t){t.forEach(v)}function S(t){return"function"==typeof t}function $(t,n){return t!=t?n==n:t!==n||t&&"object"===h(t)||"function"==typeof t}new Set;function O(t,n){t.appendChild(n)}function _(t,n,e){t.insertBefore(n,e||null)}function j(t){t.parentNode.removeChild(t)}function x(t){return document.createElement(t)}function P(t){return document.createTextNode(t)}function A(t,n,e){null==e?t.removeAttribute(n):t.getAttribute(n)!==e&&t.setAttribute(n,e)}function E(t){return Array.from(t.childNodes)}var T;new Set;function R(t){T=t}function M(){if(!T)throw new Error("Function called outside component initialization");return T}var C=[],k=[],I=[],D=[],N=Promise.resolve(),q=!1;function F(){q||(q=!0,N.then(z))}function H(t){I.push(t)}var L=!1,U=new Set;function z(){if(!L){L=!0;do{for(var t=0;t<C.length;t+=1){var n=C[t];R(n),B(n.$$)}for(C.length=0;k.length;)k.pop()();for(var e=0;e<I.length;e+=1){var r=I[e];U.has(r)||(U.add(r),r())}I.length=0}while(C.length);for(;D.length;)D.pop()();q=!1,L=!1,U.clear()}}function B(t){if(null!==t.fragment){t.update(),w(t.before_update);var n=t.dirty;t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,n),t.after_update.forEach(H)}}var G=new Set;function J(t,n){t&&t.i&&(G.delete(t),t.i(n))}"undefined"!=typeof window?window:global;new Set(["allowfullscreen","allowpaymentrequest","async","autofocus","autoplay","checked","controls","default","defer","disabled","formnovalidate","hidden","ismap","loop","multiple","muted","nomodule","novalidate","open","playsinline","readonly","required","reversed","selected"]);function K(t,n,e){var r=t.$$,o=r.fragment,u=r.on_mount,i=r.on_destroy,c=r.after_update;o&&o.m(n,e),H((function(){var n=u.map(v).filter(S);i?i.push.apply(i,p(n)):w(n),t.$$.on_mount=[]})),c.forEach(H)}function Q(t,n){var e=t.$$;null!==e.fragment&&(w(e.on_destroy),e.fragment&&e.fragment.d(n),e.on_destroy=e.fragment=null,e.ctx=[])}function V(t,n){-1===t.$$.dirty[0]&&(C.push(t),F(),t.$$.dirty.fill(0)),t.$$.dirty[n/31|0]|=1<<n%31}"function"==typeof HTMLElement&&HTMLElement;var W=function(){function t(){y(this,t)}return b(t,[{key:"$destroy",value:function(){Q(this,1),this.$destroy=m}},{key:"$on",value:function(t,n){var e=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return e.push(n),function(){var t=e.indexOf(n);-1!==t&&e.splice(t,1)}}},{key:"$set",value:function(){}}]),t}();e(0);function X(t){return(X="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Y(t,n){return(Y=Object.setPrototypeOf||function(t,n){return t.__proto__=n,t})(t,n)}function Z(t,n){return!n||"object"!==X(n)&&"function"!=typeof n?tt(t):n}function tt(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function nt(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}function et(t){return(et=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function rt(t,n){return function(t){if(Array.isArray(t))return t}(t)||function(t,n){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(t)))return;var e=[],r=!0,o=!1,u=void 0;try{for(var i,c=t[Symbol.iterator]();!(r=(i=c.next()).done)&&(e.push(i.value),!n||e.length!==n);r=!0);}catch(t){o=!0,u=t}finally{try{r||null==c.return||c.return()}finally{if(o)throw u}}return e}(t,n)||function(t,n){if(!t)return;if("string"==typeof t)return ot(t,n);var e=Object.prototype.toString.call(t).slice(8,-1);"Object"===e&&t.constructor&&(e=t.constructor.name);if("Map"===e||"Set"===e)return Array.from(e);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return ot(t,n)}(t,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ot(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,r=new Array(n);e<n;e++)r[e]=t[e];return r}function ut(t){var n,e,r,o,u;return{c:function(){n=x("div"),A(e=x("div"),"class",r="pnotify-countdown-bar ".concat(t[0].getStyle("countdown-bar"))),A(e,"style",o="height: ".concat("right"===t[1]||"left"===t[1]?t[3]:"100","%; width: ").concat("top"===t[1]||"bottom"===t[1]?t[3]:"100","%;")),A(n,"class",u="pnotify-countdown pnotify-countdown-".concat(t[1]," ").concat(t[2]?"pnotify-countdown-reverse":""," ").concat(t[0].getStyle("countdown")))},m:function(t,r){_(t,n,r),O(n,e)},p:function(t,i){1&i&&r!==(r="pnotify-countdown-bar ".concat(t[0].getStyle("countdown-bar")))&&A(e,"class",r),10&i&&o!==(o="height: ".concat("right"===t[1]||"left"===t[1]?t[3]:"100","%; width: ").concat("top"===t[1]||"bottom"===t[1]?t[3]:"100","%;"))&&A(e,"style",o),7&i&&u!==(u="pnotify-countdown pnotify-countdown-".concat(t[1]," ").concat(t[2]?"pnotify-countdown-reverse":""," ").concat(t[0].getStyle("countdown")))&&A(n,"class",u)},d:function(t){t&&j(n)}}}function it(t){var n,e=t[4]&&ut(t);return{c:function(){e&&e.c(),n=P("")},m:function(t,r){e&&e.m(t,r),_(t,n,r)},p:function(t,r){var o=rt(r,1)[0];t[4]?e?e.p(t,o):((e=ut(t)).c(),e.m(n.parentNode,n)):e&&(e.d(1),e=null)},i:m,o:m,d:function(t){e&&e.d(t),t&&j(n)}}}var ct="AppendContainer",ft={anchor:"bottom",reverse:!1};function at(t,n,e){var r,o,u,i=n.self,c=void 0===i?null:i,f=n.anchor,a=void 0===f?ft.anchor:f,l=n.reverse,p=void 0===l?ft.reverse:l,s=c.getState(),y=c.getTimer(),d=0,b=100,h=setInterval((function(){o&&(u?(d=c.delay-(new Date-u),e(3,b=d/c.delay*100)):e(3,b="closing"===s?0:100))}),100),m=c.on("pnotify:update",(function(){e(5,s=c.getState()),e(6,y=c.getTimer())}));return r=function(){m(),clearInterval(h)},M().$$.on_destroy.push(r),t.$set=function(t){"self"in t&&e(0,c=t.self),"anchor"in t&&e(1,a=t.anchor),"reverse"in t&&e(2,p=t.reverse)},t.$$.update=function(){33&t.$$.dirty&&e(4,o=-1!==["opening","open","closing"].indexOf(s)&&c.hide&&c.delay!==1/0),80&t.$$.dirty&&(u=o&&y&&"prevented"!==y?new Date:null)},[c,a,p,b,o]}var lt=function(t){!function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(n&&n.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),n&&Y(t,n)}(r,t);var n,e=(n=r,function(){var t,e=et(n);if(nt()){var r=et(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return Z(this,t)});function r(t){var n;return function(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}(this,r),function(t,n,e,r,o,u){var i=arguments.length>6&&void 0!==arguments[6]?arguments[6]:[-1],c=T;R(t);var f=n.props||{},a=t.$$={fragment:null,ctx:null,props:u,update:m,not_equal:o,bound:g(),on_mount:[],on_destroy:[],before_update:[],after_update:[],context:new Map(c?c.$$.context:[]),callbacks:g(),dirty:i},l=!1;if(a.ctx=e?e(t,f,(function(n,e){var r=!(arguments.length<=2)&&arguments.length-2?arguments.length<=2?void 0:arguments[2]:e;return a.ctx&&o(a.ctx[n],a.ctx[n]=r)&&(a.bound[n]&&a.bound[n](r),l&&V(t,n)),e})):[],a.update(),l=!0,w(a.before_update),a.fragment=!!r&&r(a.ctx),n.target){if(n.hydrate){var p=E(n.target);a.fragment&&a.fragment.l(p),p.forEach(j)}else a.fragment&&a.fragment.c();n.intro&&J(t.$$.fragment),K(t,n.target,n.anchor),z()}R(c)}(tt(n=e.call(this)),t,at,it,$,{self:0,anchor:1,reverse:2}),n}return r}(W);n.default=lt}])}));

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

import {Module, ModuleOptions} from '@pnotify/core';
import { Module, ModuleOptions } from '@pnotify/core';

@@ -3,0 +3,0 @@ export as namespace PNotifyCountdown;

{
"name": "@pnotify/countdown",
"version": "5.1.0",
"version": "5.1.1",
"description": "PNotify - Countdown Module",

@@ -43,3 +43,3 @@ "keywords": [

"dependencies": {
"@pnotify/core": "^5.1.0"
"@pnotify/core": "^5.1.1"
},

@@ -50,5 +50,5 @@ "devDependencies": {

"babel-loader": "^8.1.0",
"core-js": "^3.6.5",
"css-loader": "^3.5.2",
"mini-css-extract-plugin": "^0.9.0",
"style-loader": "^1.1.4",
"svelte": "^3.20.1",

@@ -59,3 +59,3 @@ "svelte-loader": "^2.13.6",

},
"gitHead": "f069afd87342b2c2d36ca8c2830b0ec818f65419"
"gitHead": "f593ac0d28c293e8f28e8b090d91dc7de694aed3"
}

@@ -34,3 +34,20 @@ const path = require('path');

{
test: /\.(html|svelte)$/,
test: /\.(js|mjs|svelte)$/,
use: {
loader: 'babel-loader',
options: {
presets: [
[
'@babel/preset-env',
{
useBuiltIns: 'entry',
corejs: 3
}
]
]
}
}
},
{
test: /\.svelte$/,
exclude: /\/node_modules\//,

@@ -47,16 +64,3 @@ use: {

test: /\.css$/,
use: [
devMode ? 'style-loader' : MiniCssExtractPlugin.loader,
'css-loader'
]
},
{
test: /\.js$/,
exclude: /node_modules/,
use: {
loader: 'babel-loader',
options: {
presets: ['@babel/preset-env']
}
}
use: [MiniCssExtractPlugin.loader, 'css-loader']
}

@@ -63,0 +67,0 @@ ]

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