@semcore/scroll-area
Advanced tools
Comparing version 2.0.1 to 2.1.0
@@ -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 @@ |
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
153375
2106
Updated@babel/runtime@^7.4.5
Updated@semcore/utils@^2.2.3
Updated@types/react@^16.8.19