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

matchmediaquery

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

matchmediaquery - npm Package Compare versions

Comparing version 0.2.0 to 0.2.1

4

index.js

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

function dispose(){
mql.removeListener(update);
if(mql){
mql.removeListener(update);
}
}

@@ -46,0 +48,0 @@ }

{
"name": "matchmediaquery",
"version": "0.2.0",
"version": "0.2.1",
"description": "Media queries for your client and server",

@@ -31,5 +31,5 @@ "main": "index.js",

"devDependencies": {
"code": "^1.3.0",
"lab": "^5.2.1"
"code": "^4.1.0",
"lab": "^14.1.1"
}
}

@@ -37,2 +37,9 @@ 'use strict';

});
lab.test('can attempt to dispose on server', function(done){
var mql = matchMedia('(max-width: 123px)', { width: 123 });
mql.removeListener(noop);
done();
});
});
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