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

react-scrollbars-custom

Package Overview
Dependencies
Maintainers
1
Versions
92
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-scrollbars-custom - npm Package Compare versions

Comparing version 4.0.9 to 4.0.10

11

CHANGELOG.md
# CHANGELOG
## v4.0.10
- Refusing `is-fun` due to too big performance impact - no sense to use it with hte prop-types =\
- Refusing `is-number` for almost the same reasons;
## v4.0.9
- ESM version now has ESNext lang level;
- CJS version now has ES3 lang level;
- Now using [is-fun](https://github.com/xobotyi/is-fun) to detect callable props;
### v4.0.0-alpha.23

@@ -4,0 +15,0 @@

8

dist/index.esm.js
import { createElement, Component, createContext } from 'react';
import { oneOf, func, bool, number, string, object } from 'prop-types';
import cnb from 'cnbuilder';
import isFun from 'is-fun';
import isNum from 'is-number';
import { DraggableCore } from 'react-draggable';

@@ -121,2 +119,8 @@ import { zoomLevel } from 'zoom-level';

}
function isFun(v) {
return typeof v === "function";
}
function isNum(v) {
return typeof v === "number";
}
/**

@@ -123,0 +127,0 @@ * @description Return element's height without padding

export declare function isUndef(v: any): boolean;
export declare function isFun(v: any): boolean;
export declare function isNum(v: any): boolean;
/**

@@ -3,0 +5,0 @@ * @description Return element's height without padding

{
"name": "react-scrollbars-custom",
"description": "The best React custom scrollbars component",
"version": "4.0.9",
"version": "4.0.10",
"repository": {

@@ -40,4 +40,2 @@ "type": "git",

"cnbuilder": "^1.1.1",
"is-fun": "^1.0.4",
"is-number": "^7.0.0",
"react-draggable": "^3.3.0",

@@ -44,0 +42,0 @@ "zoom-level": "^1.2.1"

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