New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

ios-inner-height

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ios-inner-height - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

2

package.json
{
"name": "ios-inner-height",
"version": "1.0.1",
"version": "1.0.2",
"description": "Retrieve a consistent, accurate `window.innerHeight` measurement from iOS",

@@ -5,0 +5,0 @@ "author": "Tyler Peterson <tylerjpeterson@gmail.com>",

@@ -6,4 +6,4 @@ 'use strict';

var rulerInitial = document.getElementById('ruler-initial');
var rulerLabel = document.getElementById('ruler-label');
var windowInitial = document.getElementById('win-initial');
// var rulerLabel = document.getElementById('ruler-label');
// var windowInitial = document.getElementById('win-initial');
var windowLabel = document.getElementById('win-label');

@@ -13,3 +13,4 @@

rulerInitial.textContent = vph() + 'px';
windowInitial.textContent = window.innerHeight + 'px';
// windowLabel.textContent = window.innerHeight + 'px';
// windowInitial.textContent = window.innerHeight + 'px';
update();

@@ -19,3 +20,3 @@ };

var update = function () {
rulerLabel.textContent = vph() + 'px';
// rulerLabel.textContent = vph() + 'px';
windowLabel.textContent = window.innerHeight + 'px';

@@ -22,0 +23,0 @@ };

Sorry, the diff of this file is not supported yet

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