@invision-www/set-max-width
Advanced tools
Comparing version 1.0.8-y.0 to 1.0.8
@@ -1,1 +0,1 @@ | ||
(function(a,b){'object'==typeof exports&&'undefined'!=typeof module?b():'function'==typeof define&&define.amd?define(b):b()})(this,function(){'use strict';var a=document.createElement('div'),b=document.createElement('input'),c={zIndex:9999,position:'fixed',top:'25px',left:'25px',padding:'20px',border:'5px solid #000',background:'#DDD'};for(var d in c)a.style[d]=c[d];b.type='number',b.value=window.getComputedStyle(document.body).getPropertyValue('--max-width').replace('px',''),a.appendChild(b),b.addEventListener('keyup',function(a){document.body.style.setProperty('--max-width',''.concat(a.target.value.trim(),'px'))}),document.body.appendChild(a)}); | ||
'use strict';var $div=document.createElement('div'),$input=document.createElement('input'),divStyle={zIndex:9999,position:'fixed',top:'25px',left:'25px',padding:'20px',border:'5px solid #000',background:'#DDD'};for(var property in divStyle)$div.style[property]=divStyle[property];$input.type='number',$input.value=window.getComputedStyle(document.body).getPropertyValue('--max-width').replace('px',''),$div.appendChild($input),$input.addEventListener('keyup',function(a){document.body.style.setProperty('--max-width',''.concat(a.target.value.trim(),'px'))}),document.body.appendChild($div); |
{ | ||
"name": "@invision-www/set-max-width", | ||
"version": "1.0.8-y.0", | ||
"version": "1.0.8", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "build/setMaxWidth.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
2
0
2430