react-now-you-see-me
Advanced tools
Comparing version 1.5.25 to 1.5.26-dev.0
"use strict"; | ||
function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); } | ||
Object.defineProperty(exports, "__esModule", { | ||
@@ -48,6 +46,10 @@ value: true | ||
var onWindowScroll = (0, _util.on)('scroll', { | ||
function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); } | ||
var onWindowScroll = (typeof window === "undefined" ? "undefined" : _typeof(window)) !== undefined ? (0, _util.on)('scroll', { | ||
capture: true, | ||
passive: true | ||
})(window); // eslint-disable-next-line no-undef | ||
})(window) : function () { | ||
return function () {}; | ||
}; // eslint-disable-next-line no-undef | ||
@@ -54,0 +56,0 @@ var isProd = process && process.env && process.env.NODE_ENV === 'production'; |
{ | ||
"name": "react-now-you-see-me", | ||
"description": "A React component for determining when an element is within a given threshold of the viewport, horizontally.", | ||
"version": "1.5.25", | ||
"version": "1.5.26-dev.0", | ||
"author": "Jane Web Team", | ||
@@ -6,0 +6,0 @@ "license": "MIT", |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
40386
732
1
1