Socket
Socket
Sign inDemoInstall

eqcss

Package Overview
Dependencies
0
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.7.1 to 1.7.2

2

EQCSS-polyfills.js
/*
# EQCSS IE8 Polyfills
## version 1.7.1
## version 1.7.2

@@ -6,0 +6,0 @@ This file contains optional polyfills to provide:

// EQCSS / Tommy Hodgins, Maxime Euzière / MIT license
// version 1.7.1
// version 1.7.2
(function(b,f){function h(k){var d=f[k];f[k]=function(e){return a(d(e))}}function g(a,d,e){return(e=this).attachEvent("on"+a,function(a){a=a||b.event;a.preventDefault=a.preventDefault||function(){a.returnValue=!1};a.stopPropagation=a.stopPropagation||function(){a.cancelBubble=!0};try{d.call(e,a)}catch(k){}})}function a(a){var d;if(d=a.length)for(;d--;)a[d].addEventListener=g;else a.addEventListener=g;return a}b.addEventListener||(a([f,b]),"Element"in b?b.Element.prototype.addEventListener=g:(f.attachEvent("onreadystatechange",

@@ -4,0 +4,0 @@ function(){a(f.all)}),h("getElementsByTagName"),h("getElementById"),h("createElement"),a(f.all)))})(window,document);

/*
# EQCSS
## version 1.7.1
## version 1.7.2

@@ -6,0 +6,0 @@ A JavaScript plugin to read EQCSS syntax to provide:

// EQCSS / Tommy Hodgins, Maxime Euzière / MIT license
// version 1.7.1
// version 1.7.2
(function(root,factory){if(typeof define==="function"&&define.amd)define([],factory);else if(typeof module==="object"&&module.exports)module.exports=factory();else root.EQCSS=factory()})(this,function(){var EQCSS={data:[]};EQCSS.load=function(){var styles=document.getElementsByTagName("style");for(var i=0;i<styles.length;i++)if(styles[i].namespaceURI!=="http://www.w3.org/2000/svg")if(styles[i].getAttribute("data-eqcss-read")===null){styles[i].setAttribute("data-eqcss-read","true");EQCSS.process(styles[i].innerHTML)}var script=

@@ -37,2 +37,2 @@ document.getElementsByTagName("script");for(var i=0;i<script.length;i++)if(script[i].getAttribute("data-eqcss-read")===null&&script[i].type==="text/eqcss"){if(script[i].src)(function(){var xhr=new XMLHttpRequest;xhr.open("GET",script[i].src,true);xhr.send(null);xhr.onreadystatechange=function(){EQCSS.process(xhr.responseText)}})();else EQCSS.process(script[i].innerHTML);script[i].setAttribute("data-eqcss-read","true")}var link=document.getElementsByTagName("link");for(i=0;i<link.length;i++)if(link[i].getAttribute("data-eqcss-read")===

true;var EQCSS_throttle_queued=false;var EQCSS_mouse_down=false;var EQCSS_timeout=200;EQCSS.throttle=function(){if(EQCSS_throttle_available){EQCSS.apply();EQCSS_throttle_available=false;setTimeout(function(){EQCSS_throttle_available=true;if(EQCSS_throttle_queued){EQCSS_throttle_queued=false;EQCSS.apply()}},EQCSS_timeout)}else EQCSS_throttle_queued=true};EQCSS.domReady(function(){EQCSS.load();EQCSS.throttle()});window.addEventListener("resize",EQCSS.throttle);window.addEventListener("input",EQCSS.throttle);
window.addEventListener("click",EQCSS.throttle);window.addEventListener("mousedown",function(e){if(e.which===1)EQCSS_mouse_down=true});window.addEventListener("mousemove",function(){if(EQCSS_mouse_down)EQCSS.throttle()});window.addEventListener("mouseup",function(){EQCSS_mouse_down=false;EQCSS.throttle()});function l(a)
window.addEventListener("click",EQCSS.throttle);window.addEventListener("mousedown",function(e){if(e.which===1)EQCSS_mouse_down=true});window.addEventListener("mousemove",function(){if(EQCSS_mouse_down)EQCSS.throttle()});window.addEventListener("mouseup",function(){EQCSS_mouse_down=false;EQCSS.throttle()});function l(a){console.log(a)}return EQCSS});
{
"name": "eqcss",
"filename": "EQCSS.js",
"version": "1.7.1",
"version": "1.7.2",
"description": "EQCSS is a CSS reprocessor that introduces Element Queries, Scoped CSS, selectors for parent, next, and previous elements to all browsers IE8 and up",

@@ -6,0 +6,0 @@ "homepage": "http://elementqueries.com",

@@ -53,7 +53,7 @@ ![](http://i.imgur.com/OUQzoiA.png)

```
https://cdnjs.cloudflare.com/ajax/libs/eqcss/1.7.1/EQCSS-polyfills.min.js
https://cdnjs.cloudflare.com/ajax/libs/eqcss/1.7.2/EQCSS-polyfills.min.js
```
```
https://cdnjs.cloudflare.com/ajax/libs/eqcss/1.7.1/EQCSS.min.js
https://cdnjs.cloudflare.com/ajax/libs/eqcss/1.7.2/EQCSS.min.js
```

@@ -60,0 +60,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc