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

@alfalab/core-components-mq

Package Overview
Dependencies
Maintainers
16
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@alfalab/core-components-mq - npm Package Compare versions

Comparing version 1.1.1 to 1.1.2

CHANGELOG.md

9

dist/Component.js

@@ -5,9 +5,10 @@ 'use strict';

function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
var React = require('react');
var React__default = _interopDefault(React);
var utils = require('./utils.js');
var useMatchMedia = require('./useMatchMedia.js');
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
var IS_BROWSER = typeof window !== 'undefined';

@@ -25,5 +26,5 @@ var SUPPORTS_TOUCH = IS_BROWSER && (utils.isPointerEventsSupported() || utils.isTouchSupported());

}, [matches, onMatchChange]);
return React__default.createElement(React.Fragment, null, matches && IS_BROWSER ? children : null);
return React__default['default'].createElement(React.Fragment, null, matches && IS_BROWSER ? children : null);
};
exports.Mq = Mq;

@@ -5,9 +5,10 @@ 'use strict';

function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
var React = require('react');
var React__default = _interopDefault(React);
var utils = require('./utils.js');
var useMatchMedia = require('./useMatchMedia.js');
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
var IS_BROWSER = typeof window !== 'undefined';

@@ -25,5 +26,5 @@ var SUPPORTS_TOUCH = IS_BROWSER && (utils.isPointerEventsSupported() || utils.isTouchSupported());

}, [matches, onMatchChange]);
return React__default.createElement(React.Fragment, null, matches && IS_BROWSER ? children : null);
return React__default['default'].createElement(React.Fragment, null, matches && IS_BROWSER ? children : null);
};
exports.Mq = Mq;

@@ -5,6 +5,3 @@ 'use strict';

function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
var React = require('react');
var React__default = _interopDefault(React);
var utils = require('./utils.js');

@@ -11,0 +8,0 @@

@@ -5,6 +5,3 @@ 'use strict';

function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
var React = require('react');
var React__default = _interopDefault(React);
var utils = require('./utils.js');

@@ -11,0 +8,0 @@

{
"name": "@alfalab/core-components-mq",
"version": "1.1.1",
"version": "1.1.2",
"description": "",

@@ -16,5 +16,5 @@ "keywords": [],

"peerDependencies": {
"react": "^16.9.0"
"react": "^16.9.0 || ^17.0.1"
},
"gitHead": "b8e497302de3841540914c3918284a73df9f84bd"
"gitHead": "7f6495e129711b248ad9e77e1d81fbf2de42b7ff"
}
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