2
0
mirror of https://github.com/thumbsup/thumbsup synced 2024-11-11 07:10:26 +00:00

chore(dependencies): update all dependencies to the latest version

This commit is contained in:
Romain 2018-05-14 21:17:01 +02:00
parent b54cfd3cad
commit dd282f92d4
4 changed files with 27 additions and 29 deletions

View File

@ -28,43 +28,43 @@
"test": "npm run lint && npm run unit"
},
"dependencies": {
"JSONStream": "^1.3.1",
"JSONStream": "^1.3.2",
"async": "^2.5.0",
"better-sqlite3": "^4.0.3",
"chalk": "^2.3.0",
"better-sqlite3": "^4.1.0",
"chalk": "^2.4.1",
"command-exists": "^1.2.6",
"debug": "^3.1.0",
"event-stream": "^3.3.4",
"fs-extra": "^4.0.1",
"fs-extra": "^6.0.1",
"fs-readdir-recursive": "^1.0.0",
"handlebars": "~4.0.5",
"ini": "^1.3.4",
"insight": "^0.8.4",
"less": "^2.7.1",
"lightgallery": "1.2.14",
"listr": "^0.13.0",
"insight": "^0.10.1",
"less": "^3.0.4",
"lightgallery": "^1.6.10",
"listr": "^0.14.1",
"listr-work-queue": "https://github.com/thumbsup/listr-work-queue.git",
"lodash": "^4.17.4",
"micromatch": "^3.1.4",
"moment": "^2.19.3",
"readdir-enhanced": "^2.0.0",
"lodash": "^4.17.10",
"micromatch": "^3.1.10",
"moment": "^2.22.1",
"readdir-enhanced": "^2.2.1",
"through2": "^2.0.3",
"thumbsup-downsize": "^1.2.0",
"url-join": "^2.0.2",
"video.js": "^6.2.8",
"yargs": "^10.0.3",
"zen-observable": "^0.6.0"
"thumbsup-downsize": "^1.3.0",
"url-join": "^4.0.0",
"video.js": "^6.9.0",
"yargs": "^11.0.0",
"zen-observable": "^0.8.8"
},
"devDependencies": {
"gm": "^1.23.0",
"gm": "^1.23.1",
"injectmd": "^1.0.0",
"istanbul": "^0.4.5",
"markdown-toc": "^1.1.0",
"mocha": "^4.0.1",
"mock-fs": "^4.4.2",
"mocha": "^5.1.1",
"mock-fs": "^4.5.0",
"require-lint": "^1.3.0",
"should": "^13.1.2",
"standard": "^10.0.3"
"should": "^13.2.1",
"standard": "^11.0.1"
},
"standard": {
"ignore": [

View File

@ -18,8 +18,7 @@ describe('exiftool', function () {
const stream = exiftool.parse(folder, files)
stream.on('data', entry => {
processed.push(entry.SourceFile)
})
.on('end', () => {
}).on('end', () => {
files.sort()
processed.sort()
should(processed).eql(files)
@ -34,8 +33,7 @@ describe('exiftool', function () {
const processed = []
stream.on('data', entry => {
processed.push(entry.SourceFile)
})
.on('end', () => {
}).on('end', () => {
should(processed).eql(['bad-encoding.xmp'])
done()
})

View File

@ -26,8 +26,8 @@ describe('Index: delta', () => {
'IMG_0002': 1420000001000
}
const disk = {
'IMG_0001': 1410000001500, // 500ms later
'IMG_0002': 1420000000500 // 500ms earlier
'IMG_0001': 1410000001500, // 500ms later
'IMG_0002': 1420000000500 // 500ms earlier
}
const res = delta.calculate(database, disk)
should(res).eql({

View File

@ -20,7 +20,7 @@ describe('Handlebars helpers: date', () => {
it('renders a date as <time ago>', () => {
const template = handlebars.compile(`<p>{{date taken "ago"}}</p>`)
const data = {taken: new Date(2017, 10, 27)} // month is 0-based
const data = {taken: new Date(2017, 10, 27)} // month is 0-based
const res = template(data)
const expected = moment(data.taken).fromNow()
should(res).match(/<p>(.*) ago<\/p>/)