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

@glitchr/breakpoints

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@glitchr/breakpoints - npm Package Compare versions

Comparing version 1.0.17 to 1.0.18

2

package.json
{
"name": "@glitchr/breakpoints",
"version": "1.0.17",
"version": "1.0.18",
"description": "Breakpoint extension",

@@ -5,0 +5,0 @@ "main": "src/index.js",

import './scss/index.scss';
var debug = debug || true;
var getBreakpoint = function () {

@@ -8,9 +9,11 @@ return window.getComputedStyle(document.body, ":before").content.replace(/\"/g, '');

var breakpoint = getBreakpoint();
console.log("Breakpoint: " + breakpoint);
if(debug) {
console.log("Breakpoint: " + breakpoint);
}
window.addEventListener('resize', function() {
breakpoint = getBreakpoint();
console.log("Breakpoint: " + breakpoint);
if(debug) console.log("Breakpoint: " + breakpoint);
}, false);
export default breakpoint;
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