Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit f498f7a

Browse files
committed
Bump packages
1 parent 04e0b67 commit f498f7a

File tree

3 files changed

+2608
-1309
lines changed

3 files changed

+2608
-1309
lines changed

‎index.js‎

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -30,20 +30,20 @@ const processInput = async input => {
3030
if (url.test(input)) {
3131
const result = await ytdl.getInfo(input, {})
3232
file = result.formats[0].url
33-
spinner.stopAndPersist({symbol: '🚀', text: 'Found youtube link'})
33+
spinner.stopAndPersist({symbol: '🚀', text: 'Found youtube link'})
3434
}
3535
}
3636
return file
3737
}
3838

3939
getStdin()
40-
.then(processStdin)
41-
.then(async input => open(await processInput(input)))
42-
.then(() => spinner.stopAndPersist({ symbol: '🌟', text: 'Running!' }))
43-
.catch((err) => {
44-
spinner.fail('Something went wrong')
45-
if (err) console.log(err)
46-
})
40+
.then(processStdin)
41+
.then(async input => open(await processInput(input)))
42+
.then(() => spinner.stopAndPersist({ symbol: '🌟', text: 'Running!' }))
43+
.catch((err) => {
44+
spinner.fail('Something went wrong')
45+
if (err) console.log(err)
46+
})
4747

4848
module.exports.processStdin = processStdin
4949
module.exports.processInput = processInput

‎package.json‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@
1717
"test": "standard && ava"
1818
},
1919
"dependencies": {
20-
"get-stdin": "^5.0.1",
20+
"get-stdin": "^7.0.0",
2121
"open-pip": "^3.0.5",
22-
"ora": "^1.2.0",
23-
"ytdl-core": "^0.10.4"
22+
"ora": "^4.0.3",
23+
"ytdl-core": "^1.0.7"
2424
},
2525
"devDependencies": {
26-
"ava": "^0.19.1",
27-
"standard": "^9.0.2"
26+
"ava": "0.19.1",
27+
"standard": "^14.3.1"
2828
}
2929
}

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /