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

@vkontakte/mvk-mini-apps-scroll-helper

Package Overview
Dependencies
Maintainers
10
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vkontakte/mvk-mini-apps-scroll-helper - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

4

dist/mvk-mini-apps-scroll-helper.cjs.js

@@ -14,7 +14,7 @@ 'use strict';

var searchParams = new URLSearchParams(location.search);
var isMobileWeb = location.search.indexOf("".concat(PLATFORM_PARAM, "=").concat(MOBILE_WEB)) > -1;
var _navigator = navigator,
userAgent = _navigator.userAgent;
if ((userAgent.includes('iPhone') || userAgent.includes('iPad')) && searchParams.get(PLATFORM_PARAM) === MOBILE_WEB) {
if ((userAgent.indexOf('iPhone') > -1 || userAgent.indexOf('iPad') > -1) && isMobileWeb) {
appContainerNode.style.overflowY = 'scroll';

@@ -21,0 +21,0 @@ appContainerNode.style.webkitOverflowScrolling = 'touch';

@@ -18,7 +18,7 @@ (function (global, factory) {

var searchParams = new URLSearchParams(location.search);
var isMobileWeb = location.search.indexOf("".concat(PLATFORM_PARAM, "=").concat(MOBILE_WEB)) > -1;
var _navigator = navigator,
userAgent = _navigator.userAgent;
if ((userAgent.includes('iPhone') || userAgent.includes('iPad')) && searchParams.get(PLATFORM_PARAM) === MOBILE_WEB) {
if ((userAgent.indexOf('iPhone') > -1 || userAgent.indexOf('iPad') > -1) && isMobileWeb) {
appContainerNode.style.overflowY = 'scroll';

@@ -25,0 +25,0 @@ appContainerNode.style.webkitOverflowScrolling = 'touch';

{
"name": "@vkontakte/mvk-mini-apps-scroll-helper",
"version": "1.0.2",
"version": "1.0.3",
"main": "dist/mvk-mini-apps-scroll-helper.cjs.js",

@@ -5,0 +5,0 @@ "browser": "dist/mvk-mini-apps-scroll-helper.umd.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