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

reactour

Package Overview
Dependencies
Maintainers
1
Versions
67
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

reactour - npm Package Compare versions

Comparing version 1.15.1 to 1.15.2

3

dist/reactour.cjs.js

@@ -818,6 +818,7 @@ 'use strict';

var parentScroll = Scrollparent(node);
var offset = scrollOffset ? scrollOffset : attrs.height > h ? -25 : -(h / 2) + attrs.height / 2;
scrollSmooth.to(node, {
context: isBody(parentScroll) ? window : parentScroll,
duration: scrollDuration,
offset: scrollOffset || -(h / 2),
offset: offset,
callback: function callback(nd) {

@@ -824,0 +825,0 @@ _this.setState(setNodeState(nd, _this.helper.current, stepPosition), cb);

@@ -810,6 +810,7 @@ import 'focus-outline-manager';

var parentScroll = Scrollparent(node);
var offset = scrollOffset ? scrollOffset : attrs.height > h ? -25 : -(h / 2) + attrs.height / 2;
scrollSmooth.to(node, {
context: isBody(parentScroll) ? window : parentScroll,
duration: scrollDuration,
offset: scrollOffset || -(h / 2),
offset: offset,
callback: function callback(nd) {

@@ -816,0 +817,0 @@ _this.setState(setNodeState(nd, _this.helper.current, stepPosition), cb);

{
"name": "reactour",
"version": "1.15.1",
"version": "1.15.2",
"description": "Tourist Guide into your React Components",

@@ -71,3 +71,3 @@ "main": "dist/reactour.cjs.js",

"style-loader": "1.0.0",
"styled-components": "4.3.2",
"styled-components": "4.4.0",
"webpack": "4.40.2",

@@ -83,3 +83,3 @@ "webpack-cli": "3.3.9",

"dependencies": {
"@rooks/use-mutation-observer": "3.0.1",
"@rooks/use-mutation-observer": "3.3.0",
"classnames": "2.2.6",

@@ -90,3 +90,3 @@ "focus-outline-manager": "^1.0.2",

"prop-types": "15.7.2",
"react-focus-lock": "2.0.5",
"react-focus-lock": "2.1.0",
"scroll-smooth": "1.0.1",

@@ -93,0 +93,0 @@ "scrollparent": "2.0.1"

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