Skip to content

Commit 6cf07f3

Browse files
authored
Merge pull request #316 from hypermodules/update-deps
Update deps
2 parents a3c5cfd + b301afa commit 6cf07f3

File tree

10 files changed

+23
-23
lines changed

10 files changed

+23
-23
lines changed

main/artwork.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
var path = require('path')
2-
var {app} = require('electron')
2+
var { app } = require('electron')
33
var ArtworkCache = require('./lib/artwork-cache')
44
var artwork = module.exports = {
55
cache: null,

main/lib/artwork-cache/test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
var test = require('tape')
2-
var {artwork} = require('./util')
2+
var { artwork } = require('./util')
33
var path = require('path')
44
var concatStream = require('concat-stream')
55
var isBuffer = require('is-buffer')

main/lib/audio-library/test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ function getRandomInt (min, max) {
3636
return Math.floor(Math.random() * (max - min)) + min // The maximum is exclusive and the minimum is inclusive
3737
}
3838

39-
test('instantiate and queue', {timeout: 500}, function (t) {
39+
test('instantiate and queue', { timeout: 500 }, function (t) {
4040
var al = new AudioLibrary(libraryA)
4141

4242
t.plan(2)
@@ -48,7 +48,7 @@ test('instantiate and queue', {timeout: 500}, function (t) {
4848
t.deepEqual(al.visibleOrder, al.order, 'visible order is showing the correct order')
4949
})
5050

51-
test('visibleOrder and search', {timeout: 500}, function (t) {
51+
test('visibleOrder and search', { timeout: 500 }, function (t) {
5252
var al = new AudioLibrary(libraryA)
5353
t.deepEqual(al.visibleOrder, al.order, 'visible order is showing the intial order')
5454
t.equal(al.query, null, 'query is null')

package.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,11 @@
5151
"electron-debug": "^2.0.0",
5252
"electron-default-menu": "^1.0.1",
5353
"electron-ipc-log": "^3.0.0",
54-
"electron-is-dev": "^0.3.0",
54+
"electron-is-dev": "^1.0.1",
5555
"electron-log": "^2.2.12",
5656
"electron-store": "^2.0.0",
5757
"electron-updater": "^3.0.3",
58-
"electron-window-state": "^4.0.2",
58+
"electron-window-state": "^5.0.2",
5959
"entypo": "^2.1.0",
6060
"existy": "^1.0.1",
6161
"file-url": "^2.0.2",
@@ -69,7 +69,7 @@
6969
"lodash.throttle": "^4.1.1",
7070
"mkdirp": "^0.5.1",
7171
"mousetrap": "^1.6.1",
72-
"music-metadata": "^2.4.2",
72+
"music-metadata": "^3.1.6",
7373
"nanobus": "^4.1.0",
7474
"nanocomponent": "^6.0.0",
7575
"nanologger": "^1.3.0",
@@ -90,17 +90,17 @@
9090
"common-shakeify": "^0.5.0",
9191
"concat-stream": "^1.6.0",
9292
"dependency-check": "^3.0.0",
93-
"electron": "^3.0.0-beta.3",
94-
"electron-builder": "20.27.1",
93+
"electron": "^3.0.7",
94+
"electron-builder": "^20.31.2",
9595
"electron-renderify": "0.0.2",
9696
"envify": "^4.1.0",
9797
"gh-release": "^3.2.0",
9898
"is-buffer": "^2.0.0",
9999
"npm-run-all": "^4.1.1",
100100
"rimraf": "^2.6.2",
101-
"snazzy": "^7.0.0",
102-
"spectron": "^3.7.1",
103-
"standard": "^11.0.1",
101+
"snazzy": "^8.0.0",
102+
"spectron": "^5.0.0",
103+
"standard": "^12.0.1",
104104
"tape": "^4.6.3",
105105
"temporary-directory": "^1.0.2",
106106
"unassertify": "^2.0.5",

renderer/player/elements/header/search.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ class Search extends Component {
3333
}
3434

3535
createElement ({ onchange, value, className }) {
36-
assert.equal(typeof onchange, 'function', 'Search: onchange should be a function')
36+
assert.strict.equal(typeof onchange, 'function', 'Search: onchange should be a function')
3737

3838
this.onchange = onchange
3939
this.value = value
@@ -49,8 +49,8 @@ class Search extends Component {
4949
}
5050

5151
// Lets mutate!
52-
update ({value, onchange, className}) {
53-
assert.equal(typeof onchange, 'function', 'Range: onchange should be a function')
52+
update ({ value, onchange, className }) {
53+
assert.strict.equal(typeof onchange, 'function', 'Range: onchange should be a function')
5454
if (this.onchange !== onchange) {
5555
this.onchange = onchange
5656
}

renderer/player/elements/icon.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
var html = require('choo/html')
22
var assert = require('assert')
33

4-
assert.equal(document.body.firstChild.tagName, 'svg', 'svg sprite sheet must be mounted before icons work')
4+
assert.strict.equal(document.body.firstChild.tagName, 'svg', 'svg sprite sheet must be mounted before icons work')
55

66
function icon (opts) {
77
var name = opts.name

renderer/player/elements/playlist/test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
var test = require('tape')
2-
var {formatCount} = require('./lib')
2+
var { formatCount } = require('./lib')
33

44
test('format disk and track objects correctly', function (t) {
55
var tests = [

renderer/player/elements/playlist/track-view.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ class TrackView extends Component {
4949
}
5050

5151
get bottomVisibleRowIndex () {
52-
var {clientHeight} = this.element
52+
var { clientHeight } = this.element
5353
return Math.floor(clientHeight / this.rowHeight) + this.topVisibleRowIndex
5454
}
5555

renderer/player/elements/range.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ class Range extends Component {
3535
if (this._onchange) this._onchange(this.element.value)
3636
}
3737

38-
createElement ({value, onchange, className, disabled}) {
39-
assert.equal(typeof onchange, 'function', 'Range: onchange should be a function')
38+
createElement ({ value, onchange, className, disabled }) {
39+
assert.strict.equal(typeof onchange, 'function', 'Range: onchange should be a function')
4040

4141
this._onchange = onchange
4242
this._value = value
@@ -57,8 +57,8 @@ class Range extends Component {
5757
}
5858

5959
// Lets mutate!
60-
update ({value, onchange, className, disabled}) {
61-
assert.equal(typeof onchange, 'function', 'Range: onchange should be a function')
60+
update ({ value, onchange, className, disabled }) {
61+
assert.strict.equal(typeof onchange, 'function', 'Range: onchange should be a function')
6262

6363
if (this._onchange !== onchange) {
6464
this._onchange = onchange

renderer/player/stores/library.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ function libraryStore (state, emitter) {
161161
trackView.scrollCurrent()
162162
})
163163
ipcRenderer.on('sync-state', (ev, data) => {
164-
var {trackDict, order, paths} = data
164+
var { trackDict, order, paths } = data
165165
window.requestAnimationFrame(() => {
166166
emitter.emit('library:track-dict', trackDict)
167167
emitter.emit('library:track-order', order)

0 commit comments

Comments
 (0)