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.8.1 to 1.8.2

LICENSE

2

dist/helpers.js

@@ -33,3 +33,3 @@ "use strict";

var isBody = function isBody(node) {
return node === document.querySelector('body');
return node === document.querySelector('body') || node === document.querySelector('html');
};

@@ -36,0 +36,0 @@

@@ -119,5 +119,5 @@ "use strict";

} else {
_this.setState(setNodeSate(null, _this.helper, step.position), stepCallback);
_this.setState(setNodeState(null, _this.helper, step.position), stepCallback);
step.selector && console.warn("Doesn't found a DOM node '".concat(step.selector, "'.\n Please check the 'steps' Tour prop Array at position: ").concat(current + 1, "."));
step.selector && console.warn("Doesn't find a DOM node '".concat(step.selector, "'.\n Please check the 'steps' Tour prop Array at position: ").concat(current + 1, "."));
}

@@ -151,7 +151,7 @@ }

callback: function callback(nd) {
_this.setState(setNodeSate(nd, _this.helper, stepPosition), cb);
_this.setState(setNodeState(nd, _this.helper, stepPosition), cb);
}
});
} else {
_this.setState(setNodeSate(node, _this.helper, stepPosition), cb);
_this.setState(setNodeState(node, _this.helper, stepPosition), cb);
}

@@ -592,3 +592,3 @@ }

var setNodeSate = function setNodeSate(node, helper, position) {
var setNodeState = function setNodeState(node, helper, position) {
var w = Math.max(document.documentElement.clientWidth, window.innerWidth || 0);

@@ -595,0 +595,0 @@ var h = Math.max(document.documentElement.clientHeight, window.innerHeight || 0);

{
"name": "reactour",
"version": "1.8.1",
"version": "1.8.2",
"description": "Tourist Guide into your React Components",

@@ -49,18 +49,18 @@ "main": "dist/index.js",

"@babel/preset-stage-2": "7.0.0-beta.44",
"babel-eslint": "8.2.3",
"babel-loader": "8.0.0-beta.3",
"babel-eslint": "8.2.5",
"babel-loader": "8.0.0-beta.4",
"css-loader": "0.28.11",
"eslint": "^4.19.1",
"eslint": "5.0.0",
"eslint-config-prettier": "^2.9.0",
"eslint-plugin-prettier": "^2.6.0",
"eslint-plugin-prettier": "2.6.1",
"html-loader": "0.5.5",
"html-webpack-plugin": "3.2.0",
"prettier": "1.12.1",
"react": "16.3.2",
"react-dom": "16.3.2",
"prettier": "1.13.6",
"react": "16.4.1",
"react-dom": "16.4.1",
"reshake": "1.0.8",
"rimraf": "2.6.2",
"style-loader": "0.21.0",
"webpack": "4.8.3",
"webpack-cli": "2.1.3",
"webpack": "4.12.1",
"webpack-cli": "3.0.8",
"webpack-dev-server": "3.1.4"

@@ -73,6 +73,6 @@ },

"dependencies": {
"classnames": "2.2.5",
"classnames": "2.2.6",
"exenv": "1.2.2",
"lodash.pick": "4.4.0",
"prop-types": "15.6.1",
"prop-types": "15.6.2",
"scroll-smooth": "1.0.1",

@@ -79,0 +79,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