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

react-scrollbar-size

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-scrollbar-size - npm Package Compare versions

Comparing version 3.1.0 to 3.1.1

13

CHANGELOG.md
## HEAD
## 3.1.1
###### _2021_03_06_
- Update links to reference new repository location and main branch ([#260](https://github.com/shawnmcknight/react-scrollbar-size/pull/260) by [@shawnmcknight](https://github.com/shawnmcknight))
- Change from `master` branch to `main` branch (by [@shawnmcknight](https://github.com/shawnmcknight))
## 3.1.0
###### _2020_11_07_
- Update dependency ranges to support react `^17.0.1` ([#140](https://github.com/STORIS/react-scrollbar-size/pull/140) by [@shawnmcknight](https://github.com/shawnmcknight))
- Update dependency ranges to support react `^17.0.1` ([#140](https://github.com/shawnmcknight/react-scrollbar-size/pull/140) by [@shawnmcknight](https://github.com/shawnmcknight))
## 3.0.1
###### _2020-07-25_
- Internalized `debounce` function ([#30](https://github.com/STORIS/react-scrollbar-size/pull/30) by [@shawnmcknight](https://github.com/shawnmcknight))
- Internalized `debounce` function ([#30](https://github.com/shawnmcknight/react-scrollbar-size/pull/30) by [@shawnmcknight](https://github.com/shawnmcknight))
- Repo now has zero production dependencies!

@@ -15,3 +20,3 @@

**BREAKING CHANGE**
- Library has been completely rewritten in TypeScript, complies with React >=16.8, and all tooling has been updated ([#11](https://github.com/STORIS/react-scrollbar-size/pull/11) by [@shawnmcknight](https://github.com/shawnmcknight))
- Library has been completely rewritten in TypeScript, complies with React >=16.8, and all tooling has been updated ([#11](https://github.com/shawnmcknight/react-scrollbar-size/pull/11) by [@shawnmcknight](https://github.com/shawnmcknight))
- The API has been changed significantly; there are no longer separate `onLoad` and `onChange` props in favor of a single `onChange` prop. The callback for `onChange` returns `height` and `width` instead of `scrollbarHeight` and `scrollbarWidth`.

@@ -22,3 +27,3 @@

**BREAKING CHANGE**
- Library has been completely rewritten in TypeScript, complies with React >=16.8, and all tooling has been updated ([#11](https://github.com/STORIS/react-scrollbar-size/pull/11) by [@shawnmcknight](https://github.com/shawnmcknight))
- Library has been completely rewritten in TypeScript, complies with React >=16.8, and all tooling has been updated ([#11](https://github.com/shawnmcknight/react-scrollbar-size/pull/11) by [@shawnmcknight](https://github.com/shawnmcknight))
- The API has been changed significantly; there are no longer separate `onLoad` and `onChange` props in favor of a single `onChange` prop. The callback for `onChange` returns `height` and `width` instead of `scrollbarHeight` and `scrollbarWidth`.

@@ -25,0 +30,0 @@

{
"name": "react-scrollbar-size",
"version": "3.1.0",
"version": "3.1.1",
"description": "React component to calculate the size of browser scrollbars",

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

"type": "git",
"url": "git+https://github.com/STORIS/react-scrollbar-size.git"
"url": "git+https://github.com/shawnmcknight/react-scrollbar-size.git"
},

@@ -15,8 +15,8 @@ "keywords": [

],
"author": "STORIS",
"author": "Shawn McKnight",
"license": "MIT",
"bugs": {
"url": "https://github.com/STORIS/react-scrollbar-size/issues"
"url": "https://github.com/shawnmcknight/react-scrollbar-size/issues"
},
"homepage": "https://github.com/STORIS/react-scrollbar-size#readme",
"homepage": "https://github.com/shawnmcknight/react-scrollbar-size#readme",
"peerDependencies": {

@@ -23,0 +23,0 @@ "react": "^16.8.0 || ^17.0.1"

@@ -9,14 +9,14 @@ # React-Scrollbar-Size

[![npm downloads](https://img.shields.io/npm/dm/react-scrollbar-size)](https://www.npmjs.com/package/react-scrollbar-size)
[![CircleCI](https://circleci.com/gh/STORIS/react-scrollbar-size.svg?style=shield)](https://circleci.com/gh/STORIS/react-scrollbar-size/tree/master)
[![Code Climate](https://img.shields.io/codeclimate/maintainability/STORIS/react-scrollbar-size)](https://codeclimate.com/github/STORIS/react-scrollbar-size)
[![CircleCI](https://circleci.com/gh/shawnmcknight/react-scrollbar-size.svg?style=shield)](https://circleci.com/gh/shawnmcknight/react-scrollbar-size/tree/main)
[![Code Climate](https://img.shields.io/codeclimate/maintainability/shawnmcknight/react-scrollbar-size)](https://codeclimate.com/github/shawnmcknight/react-scrollbar-size)
[![Code Style](https://badgen.net/badge/eslint/airbnb/ff5a5f?icon=airbnb)](https://github.com/airbnb/javascript)
[![Code style](https://img.shields.io/badge/code_style-prettier-ff69b4.svg)](https://prettier.io/)
[![Dependabot Status](https://api.dependabot.com/badges/status?host=github&repo=storis/react-scrollbar-size)](https://dependabot.com)
[![Dependencies](https://david-dm.org/STORIS/react-scrollbar-size/master/status.svg)](https://david-dm.org/STORIS/react-scrollbar-size/master)
[![PeerDependencies](https://david-dm.org/STORIS/react-scrollbar-size/master/peer-status.svg)](https://david-dm.org/STORIS/react-scrollbar-size/master?type=peer)
[![DevDependencies](https://david-dm.org/STORIS/react-scrollbar-size/dev-status.svg)](https://david-dm.org/STORIS/react-scrollbar-size/master?type=dev)
[![Percentage of issues still open](https://isitmaintained.com/badge/open/storis/react-scrollbar-size.svg)](https://isitmaintained.com/project/storis/react-scrollbar-size)
[![Dependabot Status](https://api.dependabot.com/badges/status?host=github&repo=shawnmcknight/react-scrollbar-size)](https://dependabot.com)
[![Dependencies](https://david-dm.org/shawnmcknight/react-scrollbar-size/main/status.svg)](https://david-dm.org/shawnmcknight/react-scrollbar-size/main)
[![PeerDependencies](https://david-dm.org/shawnmcknight/react-scrollbar-size/main/peer-status.svg)](https://david-dm.org/shawnmcknight/react-scrollbar-size/main?type=peer)
[![DevDependencies](https://david-dm.org/shawnmcknight/react-scrollbar-size/dev-status.svg)](https://david-dm.org/shawnmcknight/react-scrollbar-size/main?type=dev)
[![Percentage of issues still open](https://isitmaintained.com/badge/open/shawnmcknight/react-scrollbar-size.svg)](https://isitmaintained.com/project/shawnmcknight/react-scrollbar-size)
![License](https://img.shields.io/npm/l/react-scrollbar-size)
[![Contributor Covenant](https://img.shields.io/badge/Contributor%20Covenant-v2.0%20adopted-ff69b4.svg)](code_of_conduct.md)
[![Star on Github](https://img.shields.io/github/stars/storis/react-scrollbar-size?style=social)](https://github.com/STORIS/react-scrollbar-size)
[![Star on Github](https://img.shields.io/github/stars/shawnmcknight/react-scrollbar-size?style=social)](https://github.com/shawnmcknight/react-scrollbar-size)

@@ -23,0 +23,0 @@ </div>

Sorry, the diff of this file is not supported yet

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