Socket
Socket
Sign inDemoInstall

get-scroll-info

Package Overview
Dependencies
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

get-scroll-info - npm Package Compare versions

Comparing version 0.5.1 to 0.5.2

10

build/cjs/src/index.js

@@ -15,6 +15,12 @@ "use strict";

var lastScrollStore = (0, _reshowConstant.NEW_OBJ)();
/**
* @typedef {import("reshow-constant").SAFE_UNDEFINED} SAFE_UNDEFINED
*/
/**
* @typedef {object & Document} ThisDocument
* @propert {function} webkitIsFullScreen
* @property {function} webkitIsFullScreen
*/
/**

@@ -35,3 +41,3 @@ * @type ThisDocument

/**
* @param {HTMLElement} [el]
* @param {SAFE_UNDEFINED|HTMLElement} [el]
* @returns {HTMLElement}

@@ -38,0 +44,0 @@ */

2

package.json
{
"version": "0.5.1",
"version": "0.5.2",
"name": "get-scroll-info",

@@ -4,0 +4,0 @@ "repository": {

@@ -72,2 +72,3 @@ export class ScrollInfoType {

export default getScrollInfo;
export type SAFE_UNDEFINED = import("reshow-constant").SAFE_UNDEFINED;
export type ThisDocument = object & Document;

@@ -80,5 +81,5 @@ /**

/**
* @param {HTMLElement} [el]
* @param {SAFE_UNDEFINED|HTMLElement} [el]
* @returns {HTMLElement}
*/
export function getScrollNode(el?: HTMLElement): HTMLElement;
export function getScrollNode(el?: SAFE_UNDEFINED | HTMLElement): HTMLElement;

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