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.0 to 1.0.1

2

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

@@ -1,1 +0,1 @@

"use strict";var mvkScrollHelper=function(e){if(e&&"string"==typeof e){var l=new URLSearchParams(window.location.search);if(l.has("vk_platform")&&"mobile_web"===l.get("vk_platform")){var o=document.getElementById(e);o&&(o.style.overflowY="scroll",o.style.webkitOverflowScrolling="touch")}}};module.exports=mvkScrollHelper;
"use strict";var mvkScrollHelper=function(e){if(e&&"string"==typeof e){var o=new URLSearchParams(window.location.search);if((~window.navigator.userAgent.indexOf("iPhone")||~window.navigator.userAgent.indexOf("iPad"))&&o.has("vk_platform")&&"mobile_web"===o.get("vk_platform")){var r=document.getElementById(e);r&&(r.style.overflowY="scroll",r.style.webkitOverflowScrolling="touch")}}};module.exports=mvkScrollHelper;

@@ -1,1 +0,1 @@

export default e=>{if(e&&"string"==typeof e){const o=new URLSearchParams(window.location.search);if(o.has("vk_platform")&&"mobile_web"===o.get("vk_platform")){const o=document.getElementById(e);o&&(o.style.overflowY="scroll",o.style.webkitOverflowScrolling="touch")}}};
export default e=>{if(e&&"string"==typeof e){const o=new URLSearchParams(window.location.search);if((~window.navigator.userAgent.indexOf("iPhone")||~window.navigator.userAgent.indexOf("iPad"))&&o.has("vk_platform")&&"mobile_web"===o.get("vk_platform")){const o=document.getElementById(e);o&&(o.style.overflowY="scroll",o.style.webkitOverflowScrolling="touch")}}};

@@ -1,1 +0,1 @@

!function(e,o){"object"==typeof exports&&"undefined"!=typeof module?module.exports=o():"function"==typeof define&&define.amd?define(o):(e=e||self).mVKMiniAppsScrollHelper=o()}(this,function(){"use strict";return e=>{if(e&&"string"==typeof e){const o=new URLSearchParams(window.location.search);if(o.has("vk_platform")&&"mobile_web"===o.get("vk_platform")){const o=document.getElementById(e);o&&(o.style.overflowY="scroll",o.style.webkitOverflowScrolling="touch")}}}});
!function(e,o){"object"==typeof exports&&"undefined"!=typeof module?module.exports=o():"function"==typeof define&&define.amd?define(o):(e=e||self).mVKMiniAppsScrollHelper=o()}(this,function(){"use strict";return e=>{if(e&&"string"==typeof e){const o=new URLSearchParams(window.location.search);if((~window.navigator.userAgent.indexOf("iPhone")||~window.navigator.userAgent.indexOf("iPad"))&&o.has("vk_platform")&&"mobile_web"===o.get("vk_platform")){const o=document.getElementById(e);o&&(o.style.overflowY="scroll",o.style.webkitOverflowScrolling="touch")}}}});

@@ -1,1 +0,1 @@

!function(e,o){"object"==typeof exports&&"undefined"!=typeof module?module.exports=o():"function"==typeof define&&define.amd?define(o):(e=e||self).mVKMiniAppsScrollHelper=o()}(this,function(){"use strict";return function(e){if(e&&"string"==typeof e){var o=new URLSearchParams(window.location.search);if(o.has("vk_platform")&&"mobile_web"===o.get("vk_platform")){var t=document.getElementById(e);t&&(t.style.overflowY="scroll",t.style.webkitOverflowScrolling="touch")}}}});
!function(e,o){"object"==typeof exports&&"undefined"!=typeof module?module.exports=o():"function"==typeof define&&define.amd?define(o):(e=e||self).mVKMiniAppsScrollHelper=o()}(this,function(){"use strict";return function(e){if(e&&"string"==typeof e){var o=new URLSearchParams(window.location.search);if((~window.navigator.userAgent.indexOf("iPhone")||~window.navigator.userAgent.indexOf("iPad"))&&o.has("vk_platform")&&"mobile_web"===o.get("vk_platform")){var n=document.getElementById(e);n&&(n.style.overflowY="scroll",n.style.webkitOverflowScrolling="touch")}}}});
{
"name": "@vkontakte/mvk-mini-apps-scroll-helper",
"version": "1.0.0",
"version": "1.0.1",
"main": "dist/mvk-mini-apps-scroll-helper.cjs.js",

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