Socket
Socket
Sign inDemoInstall

react-scroll-into-view-if-needed

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-scroll-into-view-if-needed - npm Package Compare versions

Comparing version 2.1.3 to 2.1.4

16

package.json
{
"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

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