get-scroll-info
Advanced tools
Comparing version 0.2.1 to 0.3.0
"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 @@ }; |
{ | ||
"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": [ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
2
1
0
7187
5
203
1