react-scroll-into-view-if-needed
Advanced tools
Comparing version 2.1.3 to 2.1.4
{ | ||
"name": "react-scroll-into-view-if-needed", | ||
"version": "2.1.3", | ||
"version": "2.1.4", | ||
"description": "A thin component wrapper around scroll-into-view-if-needed", | ||
@@ -31,7 +31,7 @@ "main": "dist/umd/index.js", | ||
"coveralls": "^3.0.1", | ||
"cross-env": "^5.1.6", | ||
"cross-env": "^5.2.0", | ||
"enzyme": "^3.3.0", | ||
"enzyme-adapter-react-16": "^1.1.1", | ||
"eslint": "^4.19.1", | ||
"eslint-config-airbnb": "^16.1.0", | ||
"eslint-config-airbnb": "^17.0.0", | ||
"eslint-plugin-import": "^2.12.0", | ||
@@ -41,10 +41,10 @@ "eslint-plugin-jsx-a11y": "^6.0.3", | ||
"jest": "^23.1.0", | ||
"prop-types": "^15.6.1", | ||
"react": "^16.4.0", | ||
"react-dom": "^16.4.0", | ||
"rollup": "^0.60.1", | ||
"prop-types": "^15.6.2", | ||
"react": "^16.4.1", | ||
"react-dom": "^16.4.1", | ||
"rollup": "^0.61.1", | ||
"rollup-plugin-babel": "^3.0.4", | ||
"rollup-plugin-commonjs": "^9.1.3", | ||
"rollup-plugin-node-resolve": "^3.3.0", | ||
"scroll-into-view-if-needed": "^2.2.5" | ||
"scroll-into-view-if-needed": "^2.2.6" | ||
}, | ||
@@ -51,0 +51,0 @@ "scripts": { |
import React from 'react'; | ||
import { shallow } from 'enzyme'; | ||
import ScrollIntoViewIfNeeded from '../'; | ||
import ScrollIntoViewIfNeeded from '..'; | ||
import mockScroll from '../../__mocks__/scroll-into-view-if-needed'; | ||
const MockChild = () => (<div>Yo</div>); | ||
const MockChild = () => ( | ||
<div> | ||
Yo | ||
</div> | ||
); | ||
@@ -8,0 +12,0 @@ test('Render with no props', () => { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
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
534691
1777