@pluginjs/breakpoints
Advanced tools
Comparing version 0.8.9 to 0.8.10
/*! | ||
* @pluginjs/breakpoints v0.8.9 (https://pluginjs.com) | ||
* @pluginjs/breakpoints v0.8.10 (https://pluginjs.com) | ||
* Copyright 2022 Creation Studio Limited | ||
@@ -4,0 +4,0 @@ * Released under the GPL-3.0 License. |
/*! | ||
* @pluginjs/breakpoints v0.8.9 (https://pluginjs.com) | ||
* @pluginjs/breakpoints v0.8.10 (https://pluginjs.com) | ||
* Copyright 2022 Creation Studio Limited | ||
@@ -4,0 +4,0 @@ * Released under the GPL-3.0 License. |
/*! | ||
* @pluginjs/breakpoints v0.8.9 (https://pluginjs.com) | ||
* @pluginjs/breakpoints v0.8.10 (https://pluginjs.com) | ||
* Copyright 2022 Creation Studio Limited | ||
@@ -4,0 +4,0 @@ * Released under the GPL-3.0 License. |
/*! | ||
* @pluginjs/breakpoints v0.8.9 (https://pluginjs.com) | ||
* @pluginjs/breakpoints v0.8.10 (https://pluginjs.com) | ||
* Copyright 2022 Creation Studio Limited | ||
@@ -4,0 +4,0 @@ * Released under the GPL-3.0 License. |
/*! | ||
* @pluginjs/breakpoints v0.8.9 (https://pluginjs.com) | ||
* @pluginjs/breakpoints v0.8.10 (https://pluginjs.com) | ||
* Copyright 2022 Creation Studio Limited | ||
@@ -66,3 +66,3 @@ * Released under the GPL-3.0 License. | ||
function _getPrototypeOf(o) { | ||
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { | ||
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { | ||
return o.__proto__ || Object.getPrototypeOf(o); | ||
@@ -74,7 +74,6 @@ }; | ||
function _setPrototypeOf(o, p) { | ||
_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { | ||
_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { | ||
o.__proto__ = p; | ||
return o; | ||
}; | ||
return _setPrototypeOf(o, p); | ||
@@ -144,3 +143,3 @@ } | ||
if (typeof Reflect !== "undefined" && Reflect.get) { | ||
_get = Reflect.get; | ||
_get = Reflect.get.bind(); | ||
} else { | ||
@@ -147,0 +146,0 @@ _get = function _get(target, property, receiver) { |
/*! | ||
* @pluginjs/breakpoints v0.8.9 (https://pluginjs.com) | ||
* @pluginjs/breakpoints v0.8.10 (https://pluginjs.com) | ||
* Copyright 2022 Creation Studio Limited | ||
* Released under the GPL-3.0 License. | ||
*/ | ||
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("@pluginjs/is"),require("@pluginjs/simple-emitter"),require("@pluginjs/utils")):"function"==typeof define&&define.amd?define(["@pluginjs/is","@pluginjs/simple-emitter","@pluginjs/utils"],e):(t="undefined"!=typeof globalThis?globalThis:t||self)["@pluginjs/breakpoints"]=e(t["@pluginjs/is"],t["@pluginjs/simple-emitter"],t["@pluginjs/utils"])}(this,(function(t,e,n){"use strict";function i(t){return i="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},i(t)}function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function u(t,e,n){return e&&o(t.prototype,e),n&&o(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}function c(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&f(t,e)}function s(t){return s=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},s(t)}function f(t,e){return f=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},f(t,e)}function a(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function l(t,e){if(e&&("object"==typeof e||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return a(t)}function h(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,i=s(t);if(e){var r=s(this).constructor;n=Reflect.construct(i,arguments,r)}else n=i.apply(this,arguments);return l(this,n)}}function p(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=s(t)););return t}function d(){return d="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,n){var i=p(t,e);if(i){var r=Object.getOwnPropertyDescriptor(i,e);return r.get?r.get.call(arguments.length<3?t:n):r.value}},d.apply(this,arguments)}var m={xs:{min:0,max:575},sm:{min:576,max:767},md:{min:768,max:991},lg:{min:992,max:1199},xl:{min:1200,max:1/0}},v={current:null,listeners:[],trigger:function(t){var e=this,n=this.current;this.current=t,this.listeners.forEach((function(i,r){i.listener.call({current:t,previous:n},i.data),i.one&&delete e.listeners[r]}))},one:function(t,e){return this.on(t,e,!0)},on:function(e,n){var i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];void 0===n&&t.isFunction(e)&&(n=e,e=void 0),t.isFunction(n)&&this.listeners.push({data:e,listener:n,one:i})},off:function(t){this.listeners=void 0===t?[]:this.listeners.filter((function(e){return e.listener!==t}))}},y=function(){function n(t){r(this,n),this.media=t,this.initialize()}return u(n,[{key:"initialize",value:function(){var t=this;this.emitter=new e,this.mql=window.matchMedia&&window.matchMedia(this.media)||{matches:!1,media:this.media,addListener:function(){},removeListener:function(){}};var n=this;this.mqlListener=function(e){var i=e.matches?"enter":"leave";t.emitter.emit(i,n)},this.mql.addListener(this.mqlListener)}},{key:"on",value:function(e,n,r){var o=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if("object"===i(e)){for(var u in e)Object.prototype.hasOwnProperty.call(e,u)&&this.on(u,n,e[u],o);return this}return void 0===r&&t.isFunction(n)&&(r=n,n=void 0),t.isFunction(r)?(o?this.emitter.once(e,r,n):this.emitter.on(e,r,n),this):this}},{key:"one",value:function(t,e,n){return this.on(t,e,n,!0)}},{key:"off",value:function(t,e){var n;if("object"===i(t)){for(n in t)Object.prototype.hasOwnProperty.call(t,n)&&this.off(n,t[n]);return this}return void 0===t?(this.emitter.off("enter"),this.emitter.off("leave")):this.emitter.off(t,e),this}},{key:"isMatched",value:function(){return this.mql.matches}},{key:"destroy",value:function(){this.emitter.off("enter"),this.emitter.off("leave")}}]),n}(),g={min:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"px";return"(min-width: ".concat(t).concat(e,")")},max:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"px";return"(max-width: ".concat(t).concat(e,")")},between:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"px";return"(min-width: ".concat(t).concat(n,") and (max-width: ").concat(e).concat(n,")")},get:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"px";return 0===t?this.max(e,n):e===1/0?this.min(t,n):this.between(t,e,n)}},b=function(t){c(n,t);var e=h(n);function n(t){var i,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,u=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1/0,c=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"px";r(this,n);var s=g.get(o,u,c);return(i=e.call(this,s)).name=t,i.min=o,i.max=u,i.unit=c,i}return u(n,[{key:"destroy",value:function(){this.off()}}]),n}(y),w=function(t){c(n,t);var e=h(n);function n(t){var i,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,u=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1/0,c=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"px";return r(this,n),(i=e.call(this,t,o,u,c)).changeListener=function(){i.isMatched()&&v.trigger(a(i))},i.isMatched()&&(v.current=a(i)),i.mql.addListener(i.changeListener),i}return u(n,[{key:"destroy",value:function(){this.mql.removeListener(this.changeHander),d(s(n.prototype),"destroy",this).call(this)}}]),n}(b),j=function(t){var e=t.at,n=t.from,i=t.to;return e||(n&&i?"".concat(n,"-").concat(i):n?"".concat(n,"+"):i?"".concat(i,"-"):null)},x={},O={},P=function(){var t;(t=P).define.apply(t,arguments)};return P.defaults=m,P=n.merge(P,{defined:!1,init:function(){this.defined||this.define.apply(this,arguments)},define:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};for(var i in this.defined&&this.destroy(),t||(t=P.defaults),this.options=n.merge(e,{unit:"px"}),t)Object.prototype.hasOwnProperty.call(t,i)&&(x[i]=new w(i,t[i].min,t[i].max,this.options.unit));this.defined=!0},destroy:function(){n.each(x,(function(t,e){e.destroy()})),x={},O={},v.current=null},is:function(t){var e=this.get(t);return e?e.isMatched():null},all:function(){var t=[];return n.each(x,(function(e){t.push(e)})),t},getSize:function(t){return Object.prototype.hasOwnProperty.call(x,t)?x[t]:null},getViewport:function(t){return Object.prototype.hasOwnProperty.call(O,t)?O[t]:null},get:function(e){t.isString(e)?e=e.trim():t.isObject(e)&&(e=j(e));var n=this.getSize(e)||this.getViewport(e);if(n)return n;var r,o=function(t){return t=t.trim(),/^([\w\d]+)$/.test(t)?{at:t}:/^([\w\d]+)\+$/.test(t)?{from:t.replace(/\+$/,"")}:/^([\w\d]+)-$/.test(t)?{to:t.replace(/-$/,"")}:/^([\w\d]+)-([\w\d]+)$/.test(t)?{from:t.replace(/-([\w\d]+)$/,""),to:t.replace(/^([\w\d]+)-/,"")}:{}}(e),u=o.at,c=o.from,s=o.to,f=this.options.unit,a=null,l=null;if(u)(r=this.getSize(u))&&(l=r.min,a=r.max);else if(c&&s){var h=this.getSize(c),p=this.getSize(s);h&&p&&(l=h.min,a=p.max)}else c?(r=this.getSize(c))&&(l=r.min,a=1/0):s&&(r=this.getSize(s))&&(l=0,a=r.max);return!t.isNull(l)&&i(!t.isNull(a))?(O[e]=new b(e,l,a,f),O[e]):null},getMin:function(t){var e=this.get(t);return e?e.min:null},getMax:function(t){var e=this.get(t);return e?e.max:null},current:function(){return v.current},getMedia:function(t){var e=this.get(t);return e?e.media:null},on:function(t,e,n,i){var r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if("change"===t)return i=n,n=e,v.on(n,i,r);var o=this.get(t);return o&&o.on(e,n,i,r),this},one:function(t,e,n,i){return this.on(t,e,n,i,!0)},off:function(t,e,n){if("change"===t)return v.off(e);var i=this.get(t);return i&&i.off(e,n),this},at:function(t,e,n,i){var r=arguments.length>4&&void 0!==arguments[4]&&arguments[4],o=j({at:t});return this.on(o,e,n,i,r)},from:function(t,e,n,i){var r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];return this.on({from:t},e,n,i,r)},to:function(t,e,n,i){var r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];return this.on({to:t},e,n,i,r)},between:function(t,e,n,i,r){var o=arguments.length>5&&void 0!==arguments[5]&&arguments[5];return this.on({from:t,to:e},n,i,r,o)}}),P})); | ||
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("@pluginjs/is"),require("@pluginjs/simple-emitter"),require("@pluginjs/utils")):"function"==typeof define&&define.amd?define(["@pluginjs/is","@pluginjs/simple-emitter","@pluginjs/utils"],e):(t="undefined"!=typeof globalThis?globalThis:t||self)["@pluginjs/breakpoints"]=e(t["@pluginjs/is"],t["@pluginjs/simple-emitter"],t["@pluginjs/utils"])}(this,(function(t,e,n){"use strict";function i(t){return i="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},i(t)}function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function u(t,e,n){return e&&o(t.prototype,e),n&&o(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}function c(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&f(t,e)}function s(t){return s=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},s(t)}function f(t,e){return f=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},f(t,e)}function a(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function l(t,e){if(e&&("object"==typeof e||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return a(t)}function h(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,i=s(t);if(e){var r=s(this).constructor;n=Reflect.construct(i,arguments,r)}else n=i.apply(this,arguments);return l(this,n)}}function p(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=s(t)););return t}function d(){return d="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(t,e,n){var i=p(t,e);if(i){var r=Object.getOwnPropertyDescriptor(i,e);return r.get?r.get.call(arguments.length<3?t:n):r.value}},d.apply(this,arguments)}var m={xs:{min:0,max:575},sm:{min:576,max:767},md:{min:768,max:991},lg:{min:992,max:1199},xl:{min:1200,max:1/0}},v={current:null,listeners:[],trigger:function(t){var e=this,n=this.current;this.current=t,this.listeners.forEach((function(i,r){i.listener.call({current:t,previous:n},i.data),i.one&&delete e.listeners[r]}))},one:function(t,e){return this.on(t,e,!0)},on:function(e,n){var i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];void 0===n&&t.isFunction(e)&&(n=e,e=void 0),t.isFunction(n)&&this.listeners.push({data:e,listener:n,one:i})},off:function(t){this.listeners=void 0===t?[]:this.listeners.filter((function(e){return e.listener!==t}))}},y=function(){function n(t){r(this,n),this.media=t,this.initialize()}return u(n,[{key:"initialize",value:function(){var t=this;this.emitter=new e,this.mql=window.matchMedia&&window.matchMedia(this.media)||{matches:!1,media:this.media,addListener:function(){},removeListener:function(){}};var n=this;this.mqlListener=function(e){var i=e.matches?"enter":"leave";t.emitter.emit(i,n)},this.mql.addListener(this.mqlListener)}},{key:"on",value:function(e,n,r){var o=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if("object"===i(e)){for(var u in e)Object.prototype.hasOwnProperty.call(e,u)&&this.on(u,n,e[u],o);return this}return void 0===r&&t.isFunction(n)&&(r=n,n=void 0),t.isFunction(r)?(o?this.emitter.once(e,r,n):this.emitter.on(e,r,n),this):this}},{key:"one",value:function(t,e,n){return this.on(t,e,n,!0)}},{key:"off",value:function(t,e){var n;if("object"===i(t)){for(n in t)Object.prototype.hasOwnProperty.call(t,n)&&this.off(n,t[n]);return this}return void 0===t?(this.emitter.off("enter"),this.emitter.off("leave")):this.emitter.off(t,e),this}},{key:"isMatched",value:function(){return this.mql.matches}},{key:"destroy",value:function(){this.emitter.off("enter"),this.emitter.off("leave")}}]),n}(),g={min:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"px";return"(min-width: ".concat(t).concat(e,")")},max:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"px";return"(max-width: ".concat(t).concat(e,")")},between:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"px";return"(min-width: ".concat(t).concat(n,") and (max-width: ").concat(e).concat(n,")")},get:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"px";return 0===t?this.max(e,n):e===1/0?this.min(t,n):this.between(t,e,n)}},b=function(t){c(n,t);var e=h(n);function n(t){var i,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,u=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1/0,c=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"px";r(this,n);var s=g.get(o,u,c);return(i=e.call(this,s)).name=t,i.min=o,i.max=u,i.unit=c,i}return u(n,[{key:"destroy",value:function(){this.off()}}]),n}(y),w=function(t){c(n,t);var e=h(n);function n(t){var i,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,u=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1/0,c=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"px";return r(this,n),(i=e.call(this,t,o,u,c)).changeListener=function(){i.isMatched()&&v.trigger(a(i))},i.isMatched()&&(v.current=a(i)),i.mql.addListener(i.changeListener),i}return u(n,[{key:"destroy",value:function(){this.mql.removeListener(this.changeHander),d(s(n.prototype),"destroy",this).call(this)}}]),n}(b),j=function(t){var e=t.at,n=t.from,i=t.to;return e||(n&&i?"".concat(n,"-").concat(i):n?"".concat(n,"+"):i?"".concat(i,"-"):null)},O={},x={},P=function(){var t;(t=P).define.apply(t,arguments)};return P.defaults=m,P=n.merge(P,{defined:!1,init:function(){this.defined||this.define.apply(this,arguments)},define:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};for(var i in this.defined&&this.destroy(),t||(t=P.defaults),this.options=n.merge(e,{unit:"px"}),t)Object.prototype.hasOwnProperty.call(t,i)&&(O[i]=new w(i,t[i].min,t[i].max,this.options.unit));this.defined=!0},destroy:function(){n.each(O,(function(t,e){e.destroy()})),O={},x={},v.current=null},is:function(t){var e=this.get(t);return e?e.isMatched():null},all:function(){var t=[];return n.each(O,(function(e){t.push(e)})),t},getSize:function(t){return Object.prototype.hasOwnProperty.call(O,t)?O[t]:null},getViewport:function(t){return Object.prototype.hasOwnProperty.call(x,t)?x[t]:null},get:function(e){t.isString(e)?e=e.trim():t.isObject(e)&&(e=j(e));var n=this.getSize(e)||this.getViewport(e);if(n)return n;var r,o=function(t){return t=t.trim(),/^([\w\d]+)$/.test(t)?{at:t}:/^([\w\d]+)\+$/.test(t)?{from:t.replace(/\+$/,"")}:/^([\w\d]+)-$/.test(t)?{to:t.replace(/-$/,"")}:/^([\w\d]+)-([\w\d]+)$/.test(t)?{from:t.replace(/-([\w\d]+)$/,""),to:t.replace(/^([\w\d]+)-/,"")}:{}}(e),u=o.at,c=o.from,s=o.to,f=this.options.unit,a=null,l=null;if(u)(r=this.getSize(u))&&(l=r.min,a=r.max);else if(c&&s){var h=this.getSize(c),p=this.getSize(s);h&&p&&(l=h.min,a=p.max)}else c?(r=this.getSize(c))&&(l=r.min,a=1/0):s&&(r=this.getSize(s))&&(l=0,a=r.max);return!t.isNull(l)&&i(!t.isNull(a))?(x[e]=new b(e,l,a,f),x[e]):null},getMin:function(t){var e=this.get(t);return e?e.min:null},getMax:function(t){var e=this.get(t);return e?e.max:null},current:function(){return v.current},getMedia:function(t){var e=this.get(t);return e?e.media:null},on:function(t,e,n,i){var r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if("change"===t)return i=n,n=e,v.on(n,i,r);var o=this.get(t);return o&&o.on(e,n,i,r),this},one:function(t,e,n,i){return this.on(t,e,n,i,!0)},off:function(t,e,n){if("change"===t)return v.off(e);var i=this.get(t);return i&&i.off(e,n),this},at:function(t,e,n,i){var r=arguments.length>4&&void 0!==arguments[4]&&arguments[4],o=j({at:t});return this.on(o,e,n,i,r)},from:function(t,e,n,i){var r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];return this.on({from:t},e,n,i,r)},to:function(t,e,n,i){var r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];return this.on({to:t},e,n,i,r)},between:function(t,e,n,i,r){var o=arguments.length>5&&void 0!==arguments[5]&&arguments[5];return this.on({from:t,to:e},n,i,r,o)}}),P})); |
@@ -14,3 +14,3 @@ { | ||
}, | ||
"version": "0.8.9", | ||
"version": "0.8.10", | ||
"category": "utils", | ||
@@ -37,21 +37,22 @@ "main": "dist/breakpoints.common.js", | ||
"dependencies": { | ||
"@pluginjs/emitter": "^0.8.8", | ||
"@pluginjs/factory": "^0.8.9", | ||
"@pluginjs/is": "^0.8.8", | ||
"@pluginjs/simple-emitter": "^0.8.8", | ||
"@pluginjs/utils": "^0.8.9" | ||
"@pluginjs/emitter": "^0.8.9", | ||
"@pluginjs/factory": "^0.8.10", | ||
"@pluginjs/is": "^0.8.9", | ||
"@pluginjs/simple-emitter": "^0.8.9", | ||
"@pluginjs/utils": "^0.8.10" | ||
}, | ||
"devDependencies": { | ||
"@babel/core": "^7.16.7", | ||
"@pluginjs/browserslist-config": "^1.3.3", | ||
"@pluginjs/cli": "^0.8.5", | ||
"@rollup/plugin-babel": "^5.3.0", | ||
"@rollup/plugin-commonjs": "^21.0.1", | ||
"@rollup/plugin-node-resolve": "^13.1.3", | ||
"babel-jest": "^27.4.6", | ||
"jest": "^27.4.7", | ||
"jest-extended": "^1.2.0", | ||
"@babel/core": "7.18.13", | ||
"@babel/preset-env": "7.18.10", | ||
"@pluginjs/browserslist-config": "^1.3.4", | ||
"@pluginjs/cli": "^0.8.6", | ||
"@rollup/plugin-babel": "5.3.1", | ||
"@rollup/plugin-commonjs": "22.0.2", | ||
"@rollup/plugin-node-resolve": "^13.3.0", | ||
"babel-jest": "29.0.1", | ||
"jest": "29.0.1", | ||
"jest-extended": "3.0.2", | ||
"rename": "^1.0.4", | ||
"rollup": "^2.63.0", | ||
"rollup-plugin-terser": "^7.0.2" | ||
"rollup": "2.78.1", | ||
"rollup-plugin-terser": "7.0.2" | ||
}, | ||
@@ -58,0 +59,0 @@ "engines": { |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
81656
13
1
Updated@pluginjs/emitter@^0.8.9
Updated@pluginjs/factory@^0.8.10
Updated@pluginjs/is@^0.8.9
Updated@pluginjs/utils@^0.8.10