New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

react-stickynode

Package Overview
Dependencies
Maintainers
5
Versions
54
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-stickynode - npm Package Compare versions

Comparing version 1.4.0 to 1.4.1

2

dist/Sticky.js

@@ -382,3 +382,3 @@ /**

// No Sticky on lower-end browser when no Modernizr
if (M) {
if (M && M.prefixed) {
canEnableTransforms = M.csstransforms3d;

@@ -385,0 +385,0 @@ TRANSFORM_PROP = M.prefixed('transform');

{
"name": "react-stickynode",
"version": "1.4.0",
"version": "1.4.1",
"description": "A performant and comprehensive React sticky",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -34,3 +34,4 @@ # react-stickynode

```js
var Sticky = require('react-stickynode');
import Sticky from 'react-stickynode';
<Sticky enabled={true} top={50} bottomBoundary={1200}>

@@ -42,3 +43,4 @@ <YourComponent/>

```js
var Sticky = require('react-stickynode');
import Sticky from 'react-stickynode';
<Sticky top='#header' bottomBoundary='#content'>

@@ -71,3 +73,3 @@ <YourComponent/>

```js
var Sticky = require('react-stickynode');
import Sticky from 'react-stickynode';

@@ -74,0 +76,0 @@ const handleStateChange = (status) => {

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