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

@semcore/scroll-area

Package Overview
Dependencies
Maintainers
1
Versions
295
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@semcore/scroll-area - npm Package Compare versions

Comparing version 2.0.1 to 2.1.0

12

CHANGELOG.md

@@ -5,2 +5,14 @@ # Changelog

## [2.1.0] - 2019-06-10
### Change
- Полнята версия React до 16.6 для использования contextType
## [2.0.2] - 2019-05-16
### Fixed
- MutationObserver создается только просле проверки на наличие window
## [2.0.1] - 2019-04-12

@@ -7,0 +19,0 @@

7

lib/index.es.js

@@ -478,4 +478,8 @@ import React, { PureComponent } from 'react';

var MutationObserver = window['MutationObserver'] || window['WebKitMutationObserver'] || window['MozMutationObserver'];
var MutationObserver = undefined;
if (typeof window !== 'undefined') {
MutationObserver = window['MutationObserver'] || window['WebKitMutationObserver'] || window['MozMutationObserver'];
}
var ScrollArea =

@@ -492,3 +496,2 @@ /*#__PURE__*/

_this = _possibleConstructorReturn(this, _getPrototypeOf(ScrollArea).call(this, props, context));
_this.eventEmitter = EventEmitter;

@@ -495,0 +498,0 @@ _this.refContainer = function (node) {

@@ -484,4 +484,8 @@ 'use strict';

var MutationObserver = window['MutationObserver'] || window['WebKitMutationObserver'] || window['MozMutationObserver'];
var MutationObserver = undefined;
if (typeof window !== 'undefined') {
MutationObserver = window['MutationObserver'] || window['WebKitMutationObserver'] || window['MozMutationObserver'];
}
var ScrollArea =

@@ -498,3 +502,2 @@ /*#__PURE__*/

_this = _possibleConstructorReturn(this, _getPrototypeOf(ScrollArea).call(this, props, context));
_this.eventEmitter = EventEmitter;

@@ -501,0 +504,0 @@ _this.refContainer = function (node) {

{
"name": "@semcore/scroll-area",
"description": "SEMRush ScrollArea Component",
"version": "2.0.1",
"version": "2.1.0",
"main": "lib/index.js",

@@ -15,14 +15,14 @@ "module": "lib/index.es.js",

"dependencies": {
"@semcore/utils": "^2.2.1",
"@semcore/utils": "^2.2.3",
"@semcore/flex-box": "^3.1.0",
"@semcore/root-ref": "^1.0.0",
"classnames": "^2.2.6",
"@types/react": "^16.8.13",
"@babel/runtime": "^7.4.3"
"@types/react": "^16.8.19",
"@babel/runtime": "^7.4.5"
},
"peerDependencies": {
"react": "^16.4.0"
"react": "^16.6.0"
},
"devDependencies": {
"react": "^16.4.0",
"react": "^16.6.0",
"jest-preset-ui": "*",

@@ -29,0 +29,0 @@ "rollup-config-react": "*",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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