From 02cacb3781f3c02523c81fbfb247071dc70ad4bc Mon Sep 17 00:00:00 2001 From: Gabriel Bull Date: Wed, 14 Jun 2017 16:37:39 -0400 Subject: [PATCH] Updated dependencies --- .gitignore | 2 ++ CHANGELOG.md | 4 ++++ package.json | 34 ++++++++++++++++---------------- src/navPane/windows/pane/pane.js | 4 ++-- test/setup.js | 7 ++++--- 5 files changed, 29 insertions(+), 22 deletions(-) diff --git a/.gitignore b/.gitignore index b9414ecc..9aac0b70 100644 --- a/.gitignore +++ b/.gitignore @@ -22,3 +22,5 @@ yarn.lock logs *.log npm-debug.log* +package-lock.json + diff --git a/CHANGELOG.md b/CHANGELOG.md index 4b905119..2aa987b1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # CHANGELOG +## 0.3.1 (June 21th, 2017) + +- Updated dependencies + ## 0.3.0 (April 17th, 2017) - Added prop-types dependency to avoid deprecation in React 16 diff --git a/package.json b/package.json index 72060e63..df6ec2f6 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "react-desktop", "author": "Gabriel Bull", - "version": "0.3.0", + "version": "0.3.1", "description": "React UI Components for macOS Sierra and Windows 10", "main": "./index.js", "keywords": [ @@ -34,7 +34,7 @@ "build-publish": "npm run build && npm publish ./build" }, "dependencies": { - "radium": "^0.18.2" + "radium": "^0.19.1" }, "peerDependencies": { "prop-types": "^15.0 || ^16.0", @@ -43,27 +43,27 @@ }, "devDependencies": { "babel-cli": "^6.24.1", - "babel-core": "^6.24.1", - "babel-eslint": "^7.2.2", - "babel-loader": "^6.4.1", + "babel-core": "^6.25.0", + "babel-eslint": "^7.2.3", + "babel-loader": "^7.0.0", "babel-plugin-transform-decorators-legacy": "^1.3.4", "babel-preset-es2015": "^6.24.1", "babel-preset-react": "^6.24.1", "babel-preset-stage-0": "^6.24.1", - "chai": "^3.5.0", + "chai": "^4.0.2", "eslint": "^3.19.0", - "eslint-plugin-import": "^2.2.0", - "eslint-plugin-react": "^6.10.3", + "eslint-plugin-import": "^2.3.0", + "eslint-plugin-react": "^7.1.0", "html-webpack-plugin": "^2.28.0", - "jsdom": "^9.12.0", - "mocha": "^3.2.0", - "prop-types": "^15.5.8", - "react": "^15.5.4", - "react-addons-test-utils": "^15.5.1", - "react-color": "^2.11.4", - "react-dom": "^15.5.4", + "jsdom": "^11.0.0", + "mocha": "^3.4.2", + "prop-types": "^15.5.10", + "react": "^15.6.0", + "react-addons-test-utils": "^15.6.0", + "react-color": "^2.12.1", + "react-dom": "^15.6.0", "react-hot-loader": "^1.3.1", - "webpack": "^2.4.1", - "webpack-dev-server": "^2.4.2" + "webpack": "^2.6.1", + "webpack-dev-server": "^2.4.5" } } diff --git a/src/navPane/windows/pane/pane.js b/src/navPane/windows/pane/pane.js index 9d99b7b2..fe9b81b7 100644 --- a/src/navPane/windows/pane/pane.js +++ b/src/navPane/windows/pane/pane.js @@ -61,7 +61,7 @@ class Pane extends Component { } renderItems() { - return Children.map(this.props.items, (item, index) => + return Children.map(this.props.items, (item, index) => ( - ); + )); } } diff --git a/test/setup.js b/test/setup.js index b5c74081..61b92a52 100644 --- a/test/setup.js +++ b/test/setup.js @@ -1,7 +1,8 @@ -import { jsdom } from 'jsdom'; +import { JSDOM } from 'jsdom'; -global.document = jsdom(''); -global.window = document.defaultView; +const dom = new JSDOM(''); +global.window = dom.window; +global.document = dom.window.document; global.navigator = { ...global.window.navigator, userAgent: 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.54 Safari/537.36'