mirror of https://github.com/Kylart/KawAnime.git
Updated dependencies
This commit is contained in:
parent
10090e763c
commit
4e7bbced0c
File diff suppressed because it is too large
Load Diff
42
package.json
42
package.json
|
@ -33,31 +33,31 @@
|
|||
"dependencies": {
|
||||
"buttercup": "^2.16.1",
|
||||
"chalk": "^3.0.0",
|
||||
"electron-updater": "^4.2.5",
|
||||
"lodash": "^4.17.15",
|
||||
"mal-scraper": "^2.6.8",
|
||||
"mime": "^2.4.4",
|
||||
"moment": "^2.24.0",
|
||||
"node-addon-api": "^1.7.1",
|
||||
"nyaapi": "^2.1.3",
|
||||
"electron-updater": "^4.3.4",
|
||||
"lodash": "^4.17.20",
|
||||
"mal-scraper": "^2.7.1",
|
||||
"mime": "^2.4.6",
|
||||
"moment": "^2.27.0",
|
||||
"node-addon-api": "^1.7.2",
|
||||
"nyaapi": "^2.3.3",
|
||||
"pump": "^3.0.0",
|
||||
"range-parser": "^1.2.1",
|
||||
"rimraf": "^3.0.2",
|
||||
"sanitize-html": "^1.23.0",
|
||||
"sanitize-html": "^1.27.3",
|
||||
"torrent-stream": "^1.2.0",
|
||||
"vue": "^2.6.11",
|
||||
"vue-router": "^3.1.6",
|
||||
"vuetify": "^2.2.25",
|
||||
"vuex": "^3.3.0"
|
||||
"vue-router": "^3.4.3",
|
||||
"vuetify": "^2.3.8",
|
||||
"vuex": "^3.5.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@vue/cli-plugin-babel": "^4.2.3",
|
||||
"@vue/cli-plugin-eslint": "^4.2.3",
|
||||
"@vue/cli-plugin-pwa": "^4.2.3",
|
||||
"@vue/cli-plugin-unit-mocha": "^4.2.3",
|
||||
"@vue/cli-service": "^4.2.3",
|
||||
"@vue/cli-plugin-babel": "^4.5.3",
|
||||
"@vue/cli-plugin-eslint": "^4.5.3",
|
||||
"@vue/cli-plugin-pwa": "^4.5.3",
|
||||
"@vue/cli-plugin-unit-mocha": "^4.5.3",
|
||||
"@vue/cli-service": "^4.5.3",
|
||||
"@vue/eslint-config-standard": "^4.0.0",
|
||||
"@vue/test-utils": "^1.0.0-beta.32",
|
||||
"@vue/test-utils": "^1.0.3",
|
||||
"axios": "^0.19.2",
|
||||
"babel-eslint": "^10.1.0",
|
||||
"chai": "^4.2.0",
|
||||
|
@ -76,16 +76,16 @@
|
|||
"pug": "^2.0.4",
|
||||
"pug-plain-loader": "^1.0.0",
|
||||
"roboto-fontface": "^0.10.0",
|
||||
"sass": "^1.26.3",
|
||||
"sass": "^1.26.10",
|
||||
"sass-loader": "^8.0.0",
|
||||
"spectron": "^6.0.0",
|
||||
"stylus": "^0.54.7",
|
||||
"stylus": "^0.54.8",
|
||||
"stylus-loader": "^3.0.2",
|
||||
"targz": "^1.0.1",
|
||||
"vue-cli-plugin-electron-builder": "^1.4.6",
|
||||
"vue-cli-plugin-vuetify": "^2.0.5",
|
||||
"vue-cli-plugin-vuetify": "^2.0.7",
|
||||
"vue-template-compiler": "^2.6.11",
|
||||
"vuetify-loader": "^1.4.3"
|
||||
"vuetify-loader": "^1.6.0"
|
||||
},
|
||||
"gitHooks": {
|
||||
"pre-commit": "lint-staged"
|
||||
|
|
|
@ -11,7 +11,6 @@ const events = eventsList.download
|
|||
function formatMagnets (data, searchData, feed) {
|
||||
const magnets = []
|
||||
const eps = []
|
||||
const isPantsu = feed === 'pantsu'
|
||||
|
||||
data.forEach((elem) => {
|
||||
const parsed = parse(elem.name)
|
||||
|
@ -23,7 +22,7 @@ function formatMagnets (data, searchData, feed) {
|
|||
magnets.push({
|
||||
originalName: elem.name,
|
||||
name: parsed.anime_title || 'Unknown',
|
||||
link: isPantsu ? elem.magnet : elem.links.magnet,
|
||||
link: elem.magnet,
|
||||
nb: ep,
|
||||
quality: parsed.video_resolution || 'Unknown',
|
||||
fansub: parsed.release_group || 'Unknown'
|
||||
|
|
|
@ -9,7 +9,7 @@ const BEST_ANIME = {
|
|||
const SEARCH_INPUT = 'input#info-search-input'
|
||||
|
||||
module.exports = function () {
|
||||
describe.only('Search modal', function () {
|
||||
describe('Search modal', function () {
|
||||
before(function (done) {
|
||||
this.timeout(30000)
|
||||
Promise.all([
|
||||
|
@ -127,7 +127,7 @@ module.exports = function () {
|
|||
|
||||
it('should go back to results', function () {
|
||||
return this.app.client
|
||||
.$('.info-container > .container > button').click()
|
||||
.$('.info-container > button').click()
|
||||
.pause(500)
|
||||
.waitUntilTextExists('.v-dialog .container > div:last-child > div:nth-child(1)', BEST_ANIME.name, 7500)
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue