react-window-decorators
Advanced tools
Comparing version 1.0.5 to 1.0.6
# Changelog | ||
### v1.0.6 | ||
07.01.2019. | ||
**Fixed** | ||
* Fixed [the bug](https://github.com/Stanko/react-window-decorators/pull/3) with breakpoint data not being broadcasted properly. | ||
----- | ||
### v1.0.5 | ||
@@ -4,0 +15,0 @@ |
@@ -134,3 +134,3 @@ 'use strict'; | ||
if (supportsCustomEvents) { | ||
event = new CustomEvent(EVENT_NAME, detail); | ||
event = new CustomEvent(EVENT_NAME, { detail: detail }); | ||
} else { | ||
@@ -137,0 +137,0 @@ event = document.createEvent('CustomEvent'); |
{ | ||
"name": "react-window-decorators", | ||
"version": "1.0.5", | ||
"version": "1.0.6", | ||
"private": false, | ||
@@ -14,3 +14,3 @@ "license": "MIT", | ||
"preview": "rm -rf ./dist && NODE_ENV=\"production\" webpack-dev-server", | ||
"publish-to-npm": "npm run build && npm publish", | ||
"prepublish": "npm run build", | ||
"postpublish": "PACKAGE_VERSION=$(cat package.json | grep \\\"version\\\" | head -1 | awk -F: '{ print $2 }' | sed 's/[\",]//g' | tr -d '[[:space:]]') && git tag v$PACKAGE_VERSION && git push --tags", | ||
@@ -17,0 +17,0 @@ "start": "webpack-dev-server", |
@@ -108,3 +108,3 @@ import isTouchDevice from 'is-touch-device'; | ||
if (supportsCustomEvents) { | ||
event = new CustomEvent(EVENT_NAME, detail); | ||
event = new CustomEvent(EVENT_NAME, { detail }); | ||
} else { | ||
@@ -111,0 +111,0 @@ event = document.createEvent('CustomEvent'); |
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
38062