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

simplebar-react

Package Overview
Dependencies
Maintainers
1
Versions
93
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

simplebar-react - npm Package Compare versions

Comparing version

to
1.0.0-alpha.0

6

dist/simplebar-react.esm.js
/**
* simplebar-react - v0.1.6
* simplebar-react - v1.0.0-alpha.0
* React component for SimpleBar

@@ -87,3 +87,5 @@ * https://grsmto.github.io/simplebar/

className: "simplebar-content".concat(scrollableNodeProps && scrollableNodeProps.className ? " ".concat(scrollableNodeProps.className) : '')
}), children))), React.createElement("div", {
}), React.createElement("div", {
className: "simplebar-resize-wrapper"
}, children)))), React.createElement("div", {
className: "simplebar-placeholder"

@@ -90,0 +92,0 @@ })), React.createElement("div", {

/**
* simplebar-react - v0.1.6
* simplebar-react - v1.0.0-alpha.0
* React component for SimpleBar

@@ -10,2 +10,2 @@ * https://grsmto.github.io/simplebar/

!function(e,r){"object"==typeof exports&&"undefined"!=typeof module?module.exports=r(require("react"),require("prop-types"),require("simplebar")):"function"==typeof define&&define.amd?define(["react","prop-types","simplebar"],r):(e=e||self).SimpleBar=r(e.React,e.PropTypes)}(this,function(e,r){"use strict";function a(){return(a=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var a=arguments[r];for(var t in a)Object.prototype.hasOwnProperty.call(a,t)&&(e[t]=a[t])}return e}).apply(this,arguments)}function t(e,r){if(null==e)return{};var a,t,l=function(e,r){if(null==e)return{};var a,t,l={},s=Object.keys(e);for(t=0;t<s.length;t++)a=s[t],r.indexOf(a)>=0||(l[a]=e[a]);return l}(e,r);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(t=0;t<s.length;t++)a=s[t],r.indexOf(a)>=0||Object.prototype.propertyIsEnumerable.call(e,a)&&(l[a]=e[a])}return l}function l(r){var l=r.children,s=r.scrollableNodeProps,n=t(r,["children","scrollableNodeProps"]);return e.createElement("div",a({"data-simplebar":!0},n),e.createElement("div",{className:"simplebar-wrapper"},e.createElement("div",{className:"simplebar-height-auto-observer-wrapper"},e.createElement("div",{className:"simplebar-height-auto-observer"})),e.createElement("div",{className:"simplebar-mask"},e.createElement("div",{className:"simplebar-offset"},e.createElement("div",a({},s,{className:"simplebar-content".concat(s&&s.className?" ".concat(s.className):"")}),l))),e.createElement("div",{className:"simplebar-placeholder"})),e.createElement("div",{className:"simplebar-track simplebar-horizontal"},e.createElement("div",{className:"simplebar-scrollbar"})),e.createElement("div",{className:"simplebar-track simplebar-vertical"},e.createElement("div",{className:"simplebar-scrollbar"})))}return e=e&&e.hasOwnProperty("default")?e.default:e,r=r&&r.hasOwnProperty("default")?r.default:r,l.propTypes={children:r.node},l});
!function(e,r){"object"==typeof exports&&"undefined"!=typeof module?module.exports=r(require("react"),require("prop-types"),require("simplebar")):"function"==typeof define&&define.amd?define(["react","prop-types","simplebar"],r):(e=e||self).SimpleBar=r(e.React,e.PropTypes)}(this,function(e,r){"use strict";function a(){return(a=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var a=arguments[r];for(var t in a)Object.prototype.hasOwnProperty.call(a,t)&&(e[t]=a[t])}return e}).apply(this,arguments)}function t(e,r){if(null==e)return{};var a,t,l=function(e,r){if(null==e)return{};var a,t,l={},s=Object.keys(e);for(t=0;t<s.length;t++)a=s[t],r.indexOf(a)>=0||(l[a]=e[a]);return l}(e,r);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(t=0;t<s.length;t++)a=s[t],r.indexOf(a)>=0||Object.prototype.propertyIsEnumerable.call(e,a)&&(l[a]=e[a])}return l}function l(r){var l=r.children,s=r.scrollableNodeProps,n=t(r,["children","scrollableNodeProps"]);return e.createElement("div",a({"data-simplebar":!0},n),e.createElement("div",{className:"simplebar-wrapper"},e.createElement("div",{className:"simplebar-height-auto-observer-wrapper"},e.createElement("div",{className:"simplebar-height-auto-observer"})),e.createElement("div",{className:"simplebar-mask"},e.createElement("div",{className:"simplebar-offset"},e.createElement("div",a({},s,{className:"simplebar-content".concat(s&&s.className?" ".concat(s.className):"")}),e.createElement("div",{className:"simplebar-resize-wrapper"},l)))),e.createElement("div",{className:"simplebar-placeholder"})),e.createElement("div",{className:"simplebar-track simplebar-horizontal"},e.createElement("div",{className:"simplebar-scrollbar"})),e.createElement("div",{className:"simplebar-track simplebar-vertical"},e.createElement("div",{className:"simplebar-scrollbar"})))}return e=e&&e.hasOwnProperty("default")?e.default:e,r=r&&r.hasOwnProperty("default")?r.default:r,l.propTypes={children:r.node},l});
{
"name": "simplebar-react",
"version": "0.1.6",
"version": "1.0.0-alpha.0",
"description": "React component for SimpleBar",

@@ -22,3 +22,3 @@ "files": [

"prop-types": "^15.6.1",
"simplebar": "^3.1.5"
"simplebar": "^4.0.0-alpha.0"
},

@@ -43,3 +43,3 @@ "peerDependencies": {

},
"gitHead": "8d281434028a5e4ec4df5cfd80c2646deae7dad6"
"gitHead": "842948dc7ba9fa1959653853e3fea537fc0d3ecf"
}