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

@invision-www/set-max-width

Package Overview
Dependencies
Maintainers
8
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@invision-www/set-max-width - npm Package Compare versions

Comparing version 1.0.8-y.0 to 1.0.8

2

build-es5/setMaxWidth.js

@@ -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",

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