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

react-scroll-into-view

Package Overview
Dependencies
Maintainers
1
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Comparing version 1.1.1 to 1.2.0

9

package.json
{
"name": "react-scroll-into-view",
"version": "1.1.1",
"version": "1.2.0",
"description": "Simple React element that when clicked scrolls to any element on page",

@@ -30,3 +30,2 @@ "main": "dist/index.js",

"prop-types": "^15.6.1",
"react": "^16.3.1",
"recompose": "^0.26.0",

@@ -36,4 +35,8 @@ "rollup": "^0.57.1",

"rollup-plugin-commonjs": "^9.1.0",
"rollup-plugin-node-resolve": "^3.3.0"
"rollup-plugin-node-resolve": "^3.3.0",
"rollup-plugin-uglify": "^3.0.0"
},
"peerDependencies": {
"react": "^16.0.0"
}
}

@@ -8,4 +8,4 @@ # React scroll-into-view

## Changelog
See [releases](releases) tab
## Demo
See this [codesandbox](https://codesandbox.io/s/14lxm6jmm7)

@@ -46,5 +46,7 @@ ## Installation

## Changelog
See [releases](/dominikbulaj/react-scroll-into-view/releases) tab
## TODO
* tests
* support for all [element.scrollIntoView](https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollIntoView) parameters
* demo
* support for all [element.scrollIntoView](https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollIntoView) parameters
import resolve from 'rollup-plugin-node-resolve'
import babel from 'rollup-plugin-babel'
import commonjs from 'rollup-plugin-commonjs'
import uglify from 'rollup-plugin-uglify'

@@ -12,13 +13,12 @@ export default {

plugins: [
resolve(),
commonjs({
include: 'node_modules/**',
namedExports:{
'./node_modules/react/index.js': ['createFactory', 'Component','createElement'],
}
include: 'node_modules/**'
}),
resolve(),
babel({
exclude: 'node_modules/**'
})
]
}),
uglify()
],
external: ['react']
}

Sorry, the diff of this file is too big to display

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