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

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.2.1 to 0.3.0

build/es/src/__tests__/testGetScrollInfo.mjs

10

build/cjs/src/index.js
"use strict";
var _interopRequireDefault = require("reshow-runtime/helpers/interopRequireDefault");
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.__esModule = true;
exports.getScrollNode = exports["default"] = void 0;
var _typeof2 = _interopRequireDefault(require("reshow-runtime/helpers/typeof"));
var _winDoc = require("win-doc");

@@ -26,3 +20,3 @@

oWin = (0, _winDoc.win)();
isWebkit = _reshowConstant.UNDEFINED !== (0, _typeof2["default"])(oDoc.webkitIsFullScreen);
isWebkit = _reshowConstant.UNDEFINED !== typeof oDoc.webkitIsFullScreen;
docEl = oDoc.documentElement;

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

29

package.json
{
"version": "0.3.0",
"name": "get-scroll-info",
"version": "0.2.1",
"repository": {
"type": "git",
"url": "https://github.com/react-atomic/react-atomic-organism",
"directory": "packages/lib/get-scroll-info"
},
"homepage": "https://github.com/react-atomic/react-atomic-organism/tree/main/packages/lib/get-scroll-info",
"description": "Get Scroll Information",
"repository": "react-atomic/react-atomic-organism",
"main": "./build/cjs/src/index.js",

@@ -12,21 +17,19 @@ "module": "./build/es/src/index.js",

"dependencies": {
"win-doc": "*",
"reshow-constant": "*",
"reshow-runtime": "*",
"reshow-constant": "*"
"win-doc": "*"
},
"devDependencies": {
"@babel/cli": "^7.x",
"chai": "*",
"jsdom": "*",
"jsdom-global": "*",
"mocha": "*"
"reshow-unit-dom": "*"
},
"scripts": {
"clean": "find ./build -name '*.*' | xargs rm -rf",
"build:cjs": "BABEL_ENV=build babel src -d build/cjs/src --root-mode upward",
"build:es": "BABEL_ENV=es babel src -d build/es/src --root-mode upward",
"build:cjs": "BABEL_ENV=cjs babel src -d build/cjs/src --ignore /**/__tests__ --root-mode upward",
"build:es": "BABEL_ENV=es babel src -d build/es/src --out-file-extension .mjs --root-mode upward",
"build": "npm run clean && npm run build:cjs && npm run build:es",
"prepublishOnly": "npm run test",
"mocha": "mocha -r jsdom-global/register 'build/cjs/**/__tests__/*.js'",
"test": "npm run build && npm run mocha"
"mochaFor": "mocha -r global-jsdom/register",
"mocha": "npm run mochaFor -- 'build/es/**/__tests__/*.mjs'",
"test": "npm run build && npm run mocha",
"prepublishOnly": "npm run test"
},

@@ -33,0 +36,0 @@ "files": [

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