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

react-stickynode

Package Overview
Dependencies
Maintainers
5
Versions
51
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 3.0.3 to 3.0.4

.github/dependabot.yml

3

dist/Sticky.js

@@ -63,3 +63,3 @@ /**

function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function () { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }

@@ -571,2 +571,3 @@ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }

innerClass: _propTypes.default.string,
className: _propTypes.default.string,
onStateChange: _propTypes.default.func,

@@ -573,0 +574,0 @@ shouldFreeze: _propTypes.default.func,

{
"name": "react-stickynode",
"version": "3.0.3",
"version": "3.0.4",
"description": "A performant and comprehensive React sticky component",

@@ -46,3 +46,3 @@ "main": "index.js",

"@babel/register": "^7.9.0",
"@testing-library/react": "^10.0.4",
"@testing-library/react": "^11.0.1",
"babel-jest": "^26.0.1",

@@ -58,10 +58,10 @@ "coveralls": "^3.1.0",

"grunt-contrib-clean": "^2.0.0",
"grunt-contrib-connect": "^2.1.0",
"grunt-contrib-connect": "^3.0.0",
"grunt-contrib-watch": "^1.0.0",
"grunt-saucelabs": "^9.0.1",
"grunt-webpack": "^3.1.3",
"grunt-webpack": "^4.0.2",
"jest": "^26.0.1",
"jsdom": "^16.2.2",
"minimist": "^1.2.5",
"mocha": "^7.1.2",
"mocha": "^8.0.1",
"pre-commit": "^1.0.0",

@@ -68,0 +68,0 @@ "react": "^16.13.1",

@@ -56,2 +56,3 @@ # react-stickynode

| `innerClass` | String | Class name to be applied to the inner element (`''` by default). |
| `className` | String | Class name to be applied to the element independent of the sticky state. |
| `releasedClass` | String | Class name to be applied to the element when the sticky state is released (`released` by default). |

@@ -58,0 +59,0 @@ | `onStateChange` | Function | Callback for when the sticky state changes. See below. |

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