New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@pluginjs/breakpoints

Package Overview
Dependencies
Maintainers
2
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pluginjs/breakpoints - npm Package Compare versions

Comparing version 0.8.3 to 0.8.4

2

dist/breakpoints.common.js
/*!
* @pluginjs/breakpoints v0.8.3 (https://pluginjs.com)
* @pluginjs/breakpoints v0.8.4 (https://pluginjs.com)
* Copyright 2020 Creation Studio Limited

@@ -4,0 +4,0 @@ * Released under the GPL-3.0 License.

/*!
* @pluginjs/breakpoints v0.8.3 (https://pluginjs.com)
* @pluginjs/breakpoints v0.8.4 (https://pluginjs.com)
* Copyright 2020 Creation Studio Limited

@@ -4,0 +4,0 @@ * Released under the GPL-3.0 License.

/*!
* @pluginjs/breakpoints v0.8.3 (https://pluginjs.com)
* @pluginjs/breakpoints v0.8.4 (https://pluginjs.com)
* Copyright 2020 Creation Studio Limited

@@ -4,0 +4,0 @@ * Released under the GPL-3.0 License.

/*!
* @pluginjs/breakpoints v0.8.3 (https://pluginjs.com)
* @pluginjs/breakpoints v0.8.4 (https://pluginjs.com)
* Copyright 2020 Creation Studio Limited

@@ -4,0 +4,0 @@ * Released under the GPL-3.0 License.

/*!
* @pluginjs/breakpoints v0.8.3 (https://pluginjs.com)
* @pluginjs/breakpoints v0.8.4 (https://pluginjs.com)
* Copyright 2020 Creation Studio Limited

@@ -12,3 +12,3 @@ * Released under the GPL-3.0 License.

Emitter = Emitter && Emitter.hasOwnProperty('default') ? Emitter['default'] : Emitter;
Emitter = Emitter && Object.prototype.hasOwnProperty.call(Emitter, 'default') ? Emitter['default'] : Emitter;

@@ -84,2 +84,15 @@ function _typeof(obj) {

function _isNativeReflectConstruct() {
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
if (Reflect.construct.sham) return false;
if (typeof Proxy === "function") return true;
try {
Date.prototype.toString.call(Reflect.construct(Date, [], function () {}));
return true;
} catch (e) {
return false;
}
}
function _assertThisInitialized(self) {

@@ -101,2 +114,21 @@ if (self === void 0) {

function _createSuper(Derived) {
var hasNativeReflectConstruct = _isNativeReflectConstruct();
return function () {
var Super = _getPrototypeOf(Derived),
result;
if (hasNativeReflectConstruct) {
var NewTarget = _getPrototypeOf(this).constructor;
result = Reflect.construct(Super, arguments, NewTarget);
} else {
result = Super.apply(this, arguments);
}
return _possibleConstructorReturn(this, result);
};
}
function _superPropBase(object, property) {

@@ -209,5 +241,3 @@ while (!Object.prototype.hasOwnProperty.call(object, property)) {

var MediaQuery =
/*#__PURE__*/
function () {
var MediaQuery = /*#__PURE__*/function () {
function MediaQuery(media) {

@@ -349,7 +379,7 @@ _classCallCheck(this, MediaQuery);

var Viewport =
/*#__PURE__*/
function (_MediaQuery) {
var Viewport = /*#__PURE__*/function (_MediaQuery) {
_inherits(Viewport, _MediaQuery);
var _super = _createSuper(Viewport);
function Viewport(name) {

@@ -365,3 +395,3 @@ var _this;

var media = MediaBuilder.get(min, max, unit);
_this = _possibleConstructorReturn(this, _getPrototypeOf(Viewport).call(this, media));
_this = _super.call(this, media);
_this.name = name;

@@ -383,7 +413,7 @@ _this.min = min;

}(MediaQuery);
var Size =
/*#__PURE__*/
function (_Viewport) {
var Size = /*#__PURE__*/function (_Viewport) {
_inherits(Size, _Viewport);
var _super2 = _createSuper(Size);
function Size(name) {

@@ -398,3 +428,3 @@ var _this2;

_this2 = _possibleConstructorReturn(this, _getPrototypeOf(Size).call(this, name, min, max, unit));
_this2 = _super2.call(this, name, min, max, unit);

@@ -401,0 +431,0 @@ _this2.changeListener = function () {

/*!
* @pluginjs/breakpoints v0.8.3 (https://pluginjs.com)
* @pluginjs/breakpoints v0.8.4 (https://pluginjs.com)
* Copyright 2020 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=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})(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),t}function s(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}}),e&&a(t,e)}function c(t){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function a(t,e){return(a=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function f(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function l(t,e){return!e||"object"!=typeof e&&"function"!=typeof e?f(t):e}function h(t,e,n){return(h="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,n){var i=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=c(t)););return t}(t,e);if(i){var r=Object.getOwnPropertyDescriptor(i,e);return r.get?r.get.call(n):r.value}})(t,e,n||t)}e=e&&e.hasOwnProperty("default")?e.default:e;var d={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}},p={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}))}},m={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)}},v=function(t){function e(t){var n,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1/0,u=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"px";r(this,e);var s=m.get(i,o,u);return(n=l(this,c(e).call(this,s))).name=t,n.min=i,n.max=o,n.unit=u,n}return s(e,t),u(e,[{key:"destroy",value:function(){this.off()}}]),e}(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=function(t){function e(t){var n,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1/0,u=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"px";return r(this,e),(n=l(this,c(e).call(this,t,i,o,u))).changeListener=function(){n.isMatched()&&p.trigger(f(n))},n.isMatched()&&(p.current=f(n)),n.mql.addListener(n.changeListener),n}return s(e,t),u(e,[{key:"destroy",value:function(){this.mql.removeListener(this.changeHander),h(c(e.prototype),"destroy",this).call(this)}}]),e}(v),y=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)},w={},b={},j=function(){var t;(t=j).define.apply(t,arguments)};return j.defaults=d,j=n.merge(j,{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=j.defaults),this.options=n.merge(e,{unit:"px"}),t)Object.prototype.hasOwnProperty.call(t,i)&&(w[i]=new g(i,t[i].min,t[i].max,this.options.unit));this.defined=!0},destroy:function(){n.each(w,(function(t,e){e.destroy()})),w={},b={},p.current=null},is:function(t){var e=this.get(t);return e?e.isMatched():null},all:function(){var t=[];return n.each(w,(function(e){t.push(e)})),t},getSize:function(t){return Object.prototype.hasOwnProperty.call(w,t)?w[t]:null},getViewport:function(t){return Object.prototype.hasOwnProperty.call(b,t)?b[t]:null},get:function(e){t.isString(e)?e=e.trim():t.isObject(e)&&(e=y(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,s=o.from,c=o.to,a=this.options.unit,f=null,l=null;if(u)(r=this.getSize(u))&&(l=r.min,f=r.max);else if(s&&c){var h=this.getSize(s),d=this.getSize(c);h&&d&&(l=h.min,f=d.max)}else s?(r=this.getSize(s))&&(l=r.min,f=1/0):c&&(r=this.getSize(c))&&(l=0,f=r.max);return!t.isNull(l)&&i(!t.isNull(f))?(b[e]=new v(e,l,f,a),b[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 p.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,p.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 p.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=y({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)}})}));
!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=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})(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),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}}),e&&a(t,e)}function s(t){return(s=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function a(t,e){return(a=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function f(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function l(t,e){return!e||"object"!=typeof e&&"function"!=typeof e?f(t):e}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 Date.prototype.toString.call(Reflect.construct(Date,[],(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,n){return(p="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,n){var i=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=s(t)););return t}(t,e);if(i){var r=Object.getOwnPropertyDescriptor(i,e);return r.get?r.get.call(n):r.value}})(t,e,n||t)}e=e&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e;var d={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}},m={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}))}},v={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)}},g=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=v.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}(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}()),y=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()&&m.trigger(f(i))},i.isMatched()&&(m.current=f(i)),i.mql.addListener(i.changeListener),i}return u(n,[{key:"destroy",value:function(){this.mql.removeListener(this.changeHander),p(s(n.prototype),"destroy",this).call(this)}}]),n}(g),b=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)},w={},j={},x=function(){var t;(t=x).define.apply(t,arguments)};return x.defaults=d,x=n.merge(x,{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=x.defaults),this.options=n.merge(e,{unit:"px"}),t)Object.prototype.hasOwnProperty.call(t,i)&&(w[i]=new y(i,t[i].min,t[i].max,this.options.unit));this.defined=!0},destroy:function(){n.each(w,(function(t,e){e.destroy()})),w={},j={},m.current=null},is:function(t){var e=this.get(t);return e?e.isMatched():null},all:function(){var t=[];return n.each(w,(function(e){t.push(e)})),t},getSize:function(t){return Object.prototype.hasOwnProperty.call(w,t)?w[t]:null},getViewport:function(t){return Object.prototype.hasOwnProperty.call(j,t)?j[t]:null},get:function(e){t.isString(e)?e=e.trim():t.isObject(e)&&(e=b(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,a=this.options.unit,f=null,l=null;if(u)(r=this.getSize(u))&&(l=r.min,f=r.max);else if(c&&s){var h=this.getSize(c),p=this.getSize(s);h&&p&&(l=h.min,f=p.max)}else c?(r=this.getSize(c))&&(l=r.min,f=1/0):s&&(r=this.getSize(s))&&(l=0,f=r.max);return!t.isNull(l)&&i(!t.isNull(f))?(j[e]=new g(e,l,f,a),j[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 m.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,m.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 m.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=b({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)}})}));

@@ -14,3 +14,3 @@ {

},
"version": "0.8.3",
"version": "0.8.4",
"category": "utils",

@@ -37,14 +37,14 @@ "main": "dist/breakpoints.common.js",

"dependencies": {
"@pluginjs/emitter": "^0.8.3",
"@pluginjs/factory": "^0.8.3",
"@pluginjs/is": "^0.8.3",
"@pluginjs/simple-emitter": "^0.8.3",
"@pluginjs/utils": "^0.8.3"
"@pluginjs/emitter": "^0.8.4",
"@pluginjs/factory": "^0.8.4",
"@pluginjs/is": "^0.8.4",
"@pluginjs/simple-emitter": "^0.8.4",
"@pluginjs/utils": "^0.8.4"
},
"devDependencies": {
"@babel/core": "^7.8.4",
"@pluginjs/browserslist-config": "^1.3.0",
"@pluginjs/cli": "^0.8.0",
"@rollup/plugin-commonjs": "^11.0.2",
"@rollup/plugin-node-resolve": "^7.1.1",
"@babel/core": "^7.10.2",
"@pluginjs/browserslist-config": "^1.3.1",
"@pluginjs/cli": "^0.8.1",
"@rollup/plugin-commonjs": "^12.0.0",
"@rollup/plugin-node-resolve": "^8.0.0",
"babel-jest": "*",

@@ -54,3 +54,3 @@ "jest": "*",

"rename": "^1.0.4",
"rollup": "^1.31.0",
"rollup": "^2.12.0",
"rollup-plugin-babel": "*",

@@ -74,3 +74,3 @@ "rollup-plugin-terser": "*"

],
"gitHead": "02c3afa7042f2cdee5fd639d3646320bd14e3587"
"gitHead": "c7a30bcc922362e40dbc35af4290a259c9b29566"
}
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