Skip to content

Commit

Permalink
Upgrade dependencies (wulkano#689)
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus authored Jul 8, 2019
1 parent 19ba637 commit 83b774d
Show file tree
Hide file tree
Showing 6 changed files with 813 additions and 340 deletions.
46 changes: 23 additions & 23 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,23 +25,23 @@
"name": "Kap"
},
"dependencies": {
"@ffmpeg-installer/ffmpeg": "^1.0.17",
"@sentry/browser": "^5.1.1",
"@ffmpeg-installer/ffmpeg": "^1.0.19",
"@sentry/browser": "^5.5.0",
"@sentry/electron": "^0.17.1",
"@sindresorhus/do-not-disturb": "^1.0.0",
"@sindresorhus/do-not-disturb": "^1.1.0",
"@sindresorhus/to-milliseconds": "^1.2.0",
"ajv": "^6.9.1",
"ajv": "^6.10.1",
"aperture": "^5.2.0",
"base64-img": "^1.0.4",
"classnames": "^2.2.6",
"delay": "^4.2.0",
"delay": "^4.3.0",
"electron-better-ipc": "^0.3.0",
"electron-log": "^3.0.5",
"electron-log": "^3.0.6",
"electron-next": "^3.1.5",
"electron-store": "^3.2.0",
"electron-updater": "^4.0.6",
"electron-util": "^0.11.0",
"execa": "^1.0.0",
"electron-store": "^4.0.0",
"electron-updater": "^4.0.14",
"electron-util": "^0.12.1",
"execa": "^2.0.3",
"file-icon": "^3.0.0",
"first-run": "^2.0.0",
"got": "^9.6.0",
Expand All @@ -55,28 +55,28 @@
"move-file": "^1.2.0",
"nearest-normal-aspect-ratio": "^1.2.1",
"node-mac-app-icon": "^1.4.0",
"npm": "^6.8.0",
"npm": "^6.10.0",
"p-cancelable": "^2.0.0",
"p-event": "^4.1.0",
"pify": "^4.0.1",
"prop-types": "^15.7.2",
"react": "^16.8.6",
"react-dom": "^16.8.6",
"react-linkify": "^0.2.2",
"semver": "^6.0.0",
"semver": "^6.2.0",
"tempy": "^0.3.0",
"tildify": "^1.2.0",
"tildify": "^2.0.0",
"tmp": "^0.1.0",
"unstated": "^1.2.0"
},
"devDependencies": {
"babel-eslint": "^10.0.1",
"electron": "^5.0.0",
"electron-builder": "^20.39.0",
"eslint-config-xo-react": "^0.19.0",
"eslint-plugin-react": "^7.12.4",
"eslint-plugin-react-hooks": "^1.6.0",
"husky": "^2.1.0",
"babel-eslint": "^10.0.2",
"electron": "5.0.4",
"electron-builder": "^20.44.4",
"eslint-config-xo-react": "^0.20.0",
"eslint-plugin-react": "^7.14.2",
"eslint-plugin-react-hooks": "^1.6.1",
"husky": "^3.0.0",
"next": "^8.1.0",
"xo": "^0.24.0"
},
Expand All @@ -91,11 +91,11 @@
"rules": {
"import/no-extraneous-dependencies": "off",
"import/no-unassigned-import": "off",
"no-use-before-define": "off",
"react/jsx-closing-tag-location": "off",
"react/require-default-props": "off",
"react/no-unused-prop-types": "off",
"react/jsx-curly-brace-presence": "off"
"react/jsx-curly-brace-presence": "off",
"react/static-property-placement": "off",
"react/boolean-prop-naming": "off"
},
"ignores": [
"dist",
Expand Down
3 changes: 1 addition & 2 deletions renderer/components/action-bar/controls/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,15 +74,14 @@ class Left extends React.Component {

Left.propTypes = {
toggleAdvanced: PropTypes.elementType.isRequired,
selectApp: PropTypes.elementType.isRequired,
selectedApp: PropTypes.string,
advanced: PropTypes.bool
};

MainControls.Left = connect(
[CropperContainer, ActionBarContainer],
({selectedApp}, {advanced}) => ({selectedApp, advanced}),
({selectApp}, {toggleAdvanced}) => ({selectApp, toggleAdvanced})
(_, {toggleAdvanced}) => ({toggleAdvanced})
)(Left);

class Right extends React.Component {
Expand Down
1 change: 0 additions & 1 deletion renderer/components/action-bar/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,6 @@ ActionBar.propTypes = {
hidden: PropTypes.bool,
advanced: PropTypes.bool,
isMoving: PropTypes.bool,
isRecording: PropTypes.bool,
cropperWidth: PropTypes.number,
cropperHeight: PropTypes.number
};
Expand Down
10 changes: 5 additions & 5 deletions renderer/components/editor/controls/play-bar.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ import {connect, VideoContainer} from '../../../containers';
import Preview from './preview';

class PlayBar extends React.Component {
constructor(props) {
super(props);
this.state = {hoverTime: 0};
this.progress = React.createRef();
}
state = {
hoverTime: 0
};

progress = React.createRef();

getTimeFromEvent = event => {
const {startTime, endTime} = this.props;
Expand Down
6 changes: 3 additions & 3 deletions renderer/components/preferences/item/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,9 @@ class Item extends React.Component {
{children}
</div>
</div>
{
errors && errors.length > 0 && <div className="errors">{ errors.map(e => <div key={e}>{e}</div>) }</div>
}
{errors && errors.length > 0 && (
<div className="errors">{errors.map(e => <div key={e}>{e}</div>)}</div>
)}
<style jsx>{`
.container {
display: flex;
Expand Down
Loading

0 comments on commit 83b774d

Please sign in to comment.