mirror of
https://github.com/koel/koel
synced 2024-11-10 06:34:14 +00:00
feat(test): use vue template serializer
This commit is contained in:
parent
3e1c8c8d4e
commit
e82633d405
29 changed files with 263 additions and 108 deletions
|
@ -68,6 +68,7 @@
|
|||
"font-awesome": "^4.7.0",
|
||||
"happy-dom": "^3.1.0",
|
||||
"husky": "^4.2.5",
|
||||
"jest-serializer-vue": "^2.0.2",
|
||||
"kill-port": "^1.6.1",
|
||||
"laravel-mix": "^6.0.43",
|
||||
"lint-staged": "^10.3.0",
|
||||
|
|
4
resources/assets/js/__tests__/setup.ts
Normal file
4
resources/assets/js/__tests__/setup.ts
Normal file
|
@ -0,0 +1,4 @@
|
|||
import vueSnapshotSerializer from 'jest-serializer-vue'
|
||||
import { expect } from 'vitest'
|
||||
|
||||
expect.addSnapshotSerializer(vueSnapshotSerializer)
|
|
@ -1,7 +1,7 @@
|
|||
// Vitest Snapshot v1
|
||||
|
||||
exports[`renders 1`] = `
|
||||
"<li class=\\"\\" title=\\"\\" tabindex=\\"0\\" data-v-d8ad5538=\\"\\"><span class=\\"title\\" data-v-d8ad5538=\\"\\">Fahrstuhl to Heaven</span>
|
||||
<!----><span class=\\"length\\" data-v-d8ad5538=\\"\\">00:42</span>
|
||||
</li>"
|
||||
<li class="" title="" tabindex="0" data-v-d8ad5538=""><span class="title" data-v-d8ad5538="">Fahrstuhl to Heaven</span>
|
||||
<!----><span class="length" data-v-d8ad5538="">00:42</span>
|
||||
</li>
|
||||
`;
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
// Vitest Snapshot v1
|
||||
|
||||
exports[`renders 1`] = `
|
||||
"<form class=\\"\\" data-testid=\\"login-form\\" data-v-7d840a46=\\"\\">
|
||||
<div class=\\"logo\\" data-v-7d840a46=\\"\\"><img alt=\\"Koel's logo\\" src=\\"/resources/assets/img/logo.svg\\" width=\\"156\\" data-v-7d840a46=\\"\\" /></div><input autofocus=\\"\\" placeholder=\\"Email Address\\" required=\\"\\" type=\\"email\\" data-v-7d840a46=\\"\\" /><input placeholder=\\"Password\\" required=\\"\\" type=\\"password\\" data-v-7d840a46=\\"\\" /><button type=\\"submit\\" data-v-27deb898=\\"\\" data-v-7d840a46=\\"\\">Log In</button>
|
||||
</form>"
|
||||
<form class="" data-testid="login-form" data-v-7d840a46="">
|
||||
<div class="logo" data-v-7d840a46=""><img alt="Koel's logo" src="/resources/assets/img/logo.svg" width="156" data-v-7d840a46="" /></div><input autofocus="" placeholder="Email Address" required="" type="email" data-v-7d840a46="" /><input placeholder="Password" required="" type="password" data-v-7d840a46="" /><button type="submit" data-v-27deb898="" data-v-7d840a46="">Log In</button>
|
||||
</form>
|
||||
`;
|
||||
|
|
|
@ -36,7 +36,7 @@ new class extends ComponentTestCase {
|
|||
await fireEvent.click(getByTitle('Show or hide the search form'))
|
||||
await this.tick()
|
||||
|
||||
getByRole('search-form')
|
||||
getByRole('search')
|
||||
})
|
||||
|
||||
it.each([[true, true, true], [false, true, false], [true, false, false], [false, false, false]])(
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
// Vitest Snapshot v1
|
||||
|
||||
exports[`renders 1`] = `
|
||||
"<div class=\\"other-controls\\" data-testid=\\"other-controls\\" data-v-add48cbe=\\"\\">
|
||||
<div class=\\"wrapper\\" data-v-add48cbe=\\"\\">
|
||||
<!--v-if--><button data-testid=\\"toggle-visualizer-btn\\" title=\\"Click for a marvelous visualizer!\\" type=\\"button\\" data-v-add48cbe=\\"\\">
|
||||
<div class=\\"bars\\" data-testid=\\"soundbars\\" data-v-d983e410=\\"\\" data-v-add48cbe=\\"\\"><img alt=\\"Sound bars\\" height=\\"13\\" src=\\"/resources/assets/img/bars.gif\\" data-v-d983e410=\\"\\" /></div>
|
||||
</button><button title=\\"Unlike Fahrstuhl to Heaven by Led Zeppelin\\" class=\\"text-secondary like\\" data-testid=\\"like-btn\\" data-v-5d366bb1=\\"\\" data-v-add48cbe=\\"\\"><i class=\\"fa fa-heart text-maroon\\" data-testid=\\"btn-like-liked\\" data-v-5d366bb1=\\"\\"></i></button><button class=\\"active control text-uppercase\\" data-testid=\\"toggle-extra-panel-btn\\" title=\\"View song information\\" type=\\"button\\" data-v-add48cbe=\\"\\"> Info </button><a class=\\"queue control\\" href=\\"#!/queue\\" data-v-add48cbe=\\"\\"><i class=\\"fa fa-list-ol\\" data-v-add48cbe=\\"\\"></i></a><button class=\\"NO_REPEAT control\\" title=\\"Change repeat mode (current mode: No Repeat)\\" data-testid=\\"repeat-mode-switch\\" type=\\"button\\" data-v-651f1926=\\"\\" data-v-add48cbe=\\"\\"><i class=\\"fa fa-repeat\\" data-v-651f1926=\\"\\"></i></button><span id=\\"volume\\" class=\\"volume control\\" data-v-add48cbe=\\"\\"><i class=\\"fa fa-volume-up mute\\" role=\\"button\\" tabindex=\\"0\\" title=\\"Mute\\"></i><input id=\\"volumeRange\\" class=\\"plyr__volume\\" max=\\"10\\" step=\\"0.1\\" title=\\"Volume\\" type=\\"range\\"/></span>
|
||||
<div class="other-controls" data-testid="other-controls" data-v-add48cbe="">
|
||||
<div class="wrapper" data-v-add48cbe="">
|
||||
<!--v-if--><button data-testid="toggle-visualizer-btn" title="Click for a marvelous visualizer!" type="button" data-v-add48cbe="">
|
||||
<div class="bars" data-testid="soundbars" data-v-d983e410="" data-v-add48cbe=""><img alt="Sound bars" height="13" src="/resources/assets/img/bars.gif" data-v-d983e410="" /></div>
|
||||
</button><button title="Unlike Fahrstuhl to Heaven by Led Zeppelin" class="text-secondary like" data-testid="like-btn" data-v-5d366bb1="" data-v-add48cbe=""><i class="fa fa-heart text-maroon" data-testid="btn-like-liked" data-v-5d366bb1=""></i></button><button class="active control text-uppercase" data-testid="toggle-extra-panel-btn" title="View song information" type="button" data-v-add48cbe=""> Info </button><a class="queue control" href="#!/queue" data-v-add48cbe=""><i class="fa fa-list-ol" data-v-add48cbe=""></i></a><button class="NO_REPEAT control" title="Change repeat mode (current mode: No Repeat)" data-testid="repeat-mode-switch" type="button" data-v-651f1926="" data-v-add48cbe=""><i class="fa fa-repeat" data-v-651f1926=""></i></button><span id="volume" class="volume control" data-v-add48cbe=""><i class="fa fa-volume-up mute" role="button" tabindex="0" title="Mute"></i><input id="volumeRange" class="plyr__volume" max="10" step="0.1" title="Volume" type="range"/></span>
|
||||
</div>
|
||||
</div>"
|
||||
</div>
|
||||
`;
|
||||
|
|
|
@ -1,20 +1,20 @@
|
|||
// Vitest Snapshot v1
|
||||
|
||||
exports[`renders with a song 1`] = `
|
||||
"<div class=\\"middle-pane\\" data-testid=\\"footer-middle-pane\\">
|
||||
<div id=\\"progressPane\\" class=\\"progress\\">
|
||||
<h3 class=\\"title\\">Fahrstuhl to Heaven</h3>
|
||||
<p class=\\"meta\\"><a href=\\"/#!/artist/104\\" class=\\"artist\\">Led Zeppelin</a> – <a href=\\"/#!/album/42\\" class=\\"album\\">IV</a></p>
|
||||
<div class=\\"plyr\\"><audio controls=\\"\\" crossorigin=\\"anonymous\\"></audio></div>
|
||||
<div class="middle-pane" data-testid="footer-middle-pane">
|
||||
<div id="progressPane" class="progress">
|
||||
<h3 class="title">Fahrstuhl to Heaven</h3>
|
||||
<p class="meta"><a href="/#!/artist/104" class="artist">Led Zeppelin</a> – <a href="/#!/album/42" class="album">IV</a></p>
|
||||
<div class="plyr"><audio controls="" crossorigin="anonymous"></audio></div>
|
||||
</div>
|
||||
</div>"
|
||||
</div>
|
||||
`;
|
||||
|
||||
exports[`renders without a song 1`] = `
|
||||
"<div class=\\"middle-pane\\" data-testid=\\"footer-middle-pane\\">
|
||||
<div id=\\"progressPane\\" class=\\"progress\\">
|
||||
<div class="middle-pane" data-testid="footer-middle-pane">
|
||||
<div id="progressPane" class="progress">
|
||||
<!--v-if-->
|
||||
<div class=\\"plyr\\"><audio controls=\\"\\" crossorigin=\\"anonymous\\"></audio></div>
|
||||
<div class="plyr"><audio controls="" crossorigin="anonymous"></audio></div>
|
||||
</div>
|
||||
</div>"
|
||||
</div>
|
||||
`;
|
||||
|
|
|
@ -1,18 +1,18 @@
|
|||
// Vitest Snapshot v1
|
||||
|
||||
exports[`renders 1`] = `
|
||||
"<div class=\\"about text-secondary\\" data-testid=\\"about-modal\\" tabindex=\\"0\\" data-v-0ef2b3f8=\\"\\">
|
||||
<header data-v-0ef2b3f8=\\"\\">
|
||||
<h1 class=\\"text-white\\" data-v-0ef2b3f8=\\"\\">About Koel</h1>
|
||||
<div class="about text-secondary" data-testid="about-modal" tabindex="0" data-v-0ef2b3f8="">
|
||||
<header data-v-0ef2b3f8="">
|
||||
<h1 class="text-white" data-v-0ef2b3f8="">About Koel</h1>
|
||||
</header>
|
||||
<main data-v-0ef2b3f8=\\"\\">
|
||||
<div class=\\"logo\\" data-v-0ef2b3f8=\\"\\"><img alt=\\"Koel's logo\\" src=\\"/resources/assets/img/logo.svg\\" width=\\"128\\" data-v-0ef2b3f8=\\"\\" /></div>
|
||||
<p class=\\"current-version\\" data-v-0ef2b3f8=\\"\\">v0.0.0</p>
|
||||
<main data-v-0ef2b3f8="">
|
||||
<div class="logo" data-v-0ef2b3f8=""><img alt="Koel's logo" src="/resources/assets/img/logo.svg" width="128" data-v-0ef2b3f8="" /></div>
|
||||
<p class="current-version" data-v-0ef2b3f8="">v0.0.0</p>
|
||||
<!--v-if-->
|
||||
<p class=\\"author\\" data-v-0ef2b3f8=\\"\\"> Made with ❤️ by <a href=\\"https://github.com/phanan\\" rel=\\"noopener\\" target=\\"_blank\\" data-v-0ef2b3f8=\\"\\">Phan An</a> and quite a few <a href=\\"https://github.com/koel/core/graphs/contributors\\" rel=\\"noopener\\" target=\\"_blank\\" data-v-0ef2b3f8=\\"\\">awesome</a> <a href=\\"https://github.com/koel/koel/graphs/contributors\\" rel=\\"noopener\\" target=\\"_blank\\" data-v-0ef2b3f8=\\"\\">contributors</a>. </p>
|
||||
<p class="author" data-v-0ef2b3f8=""> Made with ❤️ by <a href="https://github.com/phanan" rel="noopener" target="_blank" data-v-0ef2b3f8="">Phan An</a> and quite a few <a href="https://github.com/koel/core/graphs/contributors" rel="noopener" target="_blank" data-v-0ef2b3f8="">awesome</a> <a href="https://github.com/koel/koel/graphs/contributors" rel="noopener" target="_blank" data-v-0ef2b3f8="">contributors</a>. </p>
|
||||
<!--v-if-->
|
||||
<p data-v-0ef2b3f8=\\"\\"> Loving Koel? Please consider supporting its development via <a href=\\"https://github.com/users/phanan/sponsorship\\" rel=\\"noopener\\" target=\\"_blank\\" data-v-0ef2b3f8=\\"\\">GitHub Sponsors</a> and/or <a href=\\"https://opencollective.com/koel\\" rel=\\"noopener\\" target=\\"_blank\\" data-v-0ef2b3f8=\\"\\">OpenCollective</a>. </p>
|
||||
<p data-v-0ef2b3f8=""> Loving Koel? Please consider supporting its development via <a href="https://github.com/users/phanan/sponsorship" rel="noopener" target="_blank" data-v-0ef2b3f8="">GitHub Sponsors</a> and/or <a href="https://opencollective.com/koel" rel="noopener" target="_blank" data-v-0ef2b3f8="">OpenCollective</a>. </p>
|
||||
</main>
|
||||
<footer data-v-0ef2b3f8=\\"\\"><button type=\\"button\\" data-testid=\\"close-modal-btn\\" red=\\"\\" rounded=\\"\\" data-v-27deb898=\\"\\" data-v-0ef2b3f8=\\"\\">Close</button></footer>
|
||||
</div>"
|
||||
<footer data-v-0ef2b3f8=""><button type="button" data-testid="close-modal-btn" red="" rounded="" data-v-27deb898="" data-v-0ef2b3f8="">Close</button></footer>
|
||||
</div>
|
||||
`;
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
// Vitest Snapshot v1
|
||||
|
||||
exports[`shows after a delay 1`] = `
|
||||
"<div class=\\"support-bar\\" data-testid=\\"support-bar\\" data-v-0db4e332=\\"\\">
|
||||
<p data-v-0db4e332=\\"\\"> Loving Koel? Please consider supporting its development via <a href=\\"https://github.com/users/phanan/sponsorship\\" rel=\\"noopener\\" target=\\"_blank\\" data-v-0db4e332=\\"\\">GitHub Sponsors</a> and/or <a href=\\"https://opencollective.com/koel\\" rel=\\"noopener\\" target=\\"_blank\\" data-v-0db4e332=\\"\\">OpenCollective</a>. </p><button data-testid=\\"hide-support-koel\\" data-v-0db4e332=\\"\\">Hide</button><span class=\\"sep\\" data-v-0db4e332=\\"\\"></span><button data-testid=\\"stop-support-koel-bugging\\" data-v-0db4e332=\\"\\">Don't bug me again</button>
|
||||
</div>"
|
||||
<div class="support-bar" data-testid="support-bar" data-v-0db4e332="">
|
||||
<p data-v-0db4e332=""> Loving Koel? Please consider supporting its development via <a href="https://github.com/users/phanan/sponsorship" rel="noopener" target="_blank" data-v-0db4e332="">GitHub Sponsors</a> and/or <a href="https://opencollective.com/koel" rel="noopener" target="_blank" data-v-0db4e332="">OpenCollective</a>. </p><button data-testid="hide-support-koel" data-v-0db4e332="">Hide</button><span class="sep" data-v-0db4e332=""></span><button data-testid="stop-support-koel-bugging" data-v-0db4e332="">Don't bug me again</button>
|
||||
</div>
|
||||
`;
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
// Vitest Snapshot v1
|
||||
|
||||
exports[`renders 1`] = `
|
||||
"<div class=\\"theme\\" data-testid=\\"theme-card-sample\\" style=\\"background-color: #f00;\\" title=\\"Set current them to Sample\\" role=\\"button\\" data-v-3bc20152=\\"\\">
|
||||
<div class=\\"name\\" data-v-3bc20152=\\"\\">Sample</div>
|
||||
</div>"
|
||||
<div class="theme" data-testid="theme-card-sample" style="background-color: #f00;" title="Set current them to Sample" role="button" data-v-3bc20152="">
|
||||
<div class="name" data-v-3bc20152="">Sample</div>
|
||||
</div>
|
||||
`;
|
||||
|
|
|
@ -1,20 +1,20 @@
|
|||
// Vitest Snapshot v1
|
||||
|
||||
exports[`renders 1`] = `
|
||||
"<div class=\\"add-to\\" data-testid=\\"add-to-menu\\" tabindex=\\"0\\" data-v-0351ff38=\\"\\">
|
||||
<section class=\\"existing-playlists\\" data-v-0351ff38=\\"\\">
|
||||
<p data-v-0351ff38=\\"\\">Add 5 songs to</p>
|
||||
<ul data-v-0351ff38=\\"\\">
|
||||
<li data-testid=\\"queue\\" tabindex=\\"0\\" data-v-0351ff38=\\"\\">Queue</li>
|
||||
<li class=\\"favorites\\" data-testid=\\"add-to-favorites\\" tabindex=\\"0\\" data-v-0351ff38=\\"\\"> Favorites </li>
|
||||
<li class=\\"playlist\\" data-testid=\\"add-to-playlist\\" tabindex=\\"0\\" data-v-0351ff38=\\"\\">Foo</li>
|
||||
<li class=\\"playlist\\" data-testid=\\"add-to-playlist\\" tabindex=\\"0\\" data-v-0351ff38=\\"\\">Bar</li>
|
||||
<li class=\\"playlist\\" data-testid=\\"add-to-playlist\\" tabindex=\\"0\\" data-v-0351ff38=\\"\\">Baz</li>
|
||||
<div class="add-to" data-testid="add-to-menu" tabindex="0" data-v-0351ff38="">
|
||||
<section class="existing-playlists" data-v-0351ff38="">
|
||||
<p data-v-0351ff38="">Add 5 songs to</p>
|
||||
<ul data-v-0351ff38="">
|
||||
<li data-testid="queue" tabindex="0" data-v-0351ff38="">Queue</li>
|
||||
<li class="favorites" data-testid="add-to-favorites" tabindex="0" data-v-0351ff38=""> Favorites </li>
|
||||
<li class="playlist" data-testid="add-to-playlist" tabindex="0" data-v-0351ff38="">Foo</li>
|
||||
<li class="playlist" data-testid="add-to-playlist" tabindex="0" data-v-0351ff38="">Bar</li>
|
||||
<li class="playlist" data-testid="add-to-playlist" tabindex="0" data-v-0351ff38="">Baz</li>
|
||||
</ul>
|
||||
</section>
|
||||
<section class=\\"new-playlist\\" data-testid=\\"new-playlist\\" data-v-0351ff38=\\"\\">
|
||||
<p data-v-0351ff38=\\"\\">or create a new playlist</p>
|
||||
<form class=\\"form-save form-simple form-new-playlist\\" data-v-0351ff38=\\"\\"><input data-testid=\\"new-playlist-name\\" placeholder=\\"Playlist name\\" required=\\"\\" type=\\"text\\" data-v-0351ff38=\\"\\" /><button type=\\"submit\\" title=\\"Save\\" data-v-27deb898=\\"\\" data-v-0351ff38=\\"\\">⏎</button></form>
|
||||
<section class="new-playlist" data-testid="new-playlist" data-v-0351ff38="">
|
||||
<p data-v-0351ff38="">or create a new playlist</p>
|
||||
<form class="form-save form-simple form-new-playlist" data-v-0351ff38=""><input data-testid="new-playlist-name" placeholder="Playlist name" required="" type="text" data-v-0351ff38="" /><button type="submit" title="Save" data-v-27deb898="" data-v-0351ff38="">⏎</button></form>
|
||||
</section>
|
||||
</div>"
|
||||
</div>
|
||||
`;
|
||||
|
|
|
@ -32,7 +32,9 @@ new class extends ComponentTestCase {
|
|||
|
||||
await fireEvent.update(getByRole('searchbox'), 'hey')
|
||||
|
||||
vi.advanceTimersByTime(500)
|
||||
expect(mock).toHaveBeenCalledWith('SEARCH_KEYWORDS_CHANGED', 'hey')
|
||||
|
||||
vi.useRealTimers()
|
||||
})
|
||||
}
|
||||
|
|
15
resources/assets/js/components/ui/ViewModeSwitch.spec.ts
Normal file
15
resources/assets/js/components/ui/ViewModeSwitch.spec.ts
Normal file
|
@ -0,0 +1,15 @@
|
|||
import { expect, it } from 'vitest'
|
||||
import ComponentTestCase from '@/__tests__/ComponentTestCase'
|
||||
import ViewModeSwitch from './ViewModeSwitch.vue'
|
||||
|
||||
new class extends ComponentTestCase {
|
||||
protected test () {
|
||||
it.each<[ArtistAlbumViewMode]>([['thumbnails'], ['list']])('renders %s mode', mode => {
|
||||
expect(this.render(ViewModeSwitch, {
|
||||
props: {
|
||||
mode
|
||||
}
|
||||
}).html()).toMatchSnapshot()
|
||||
})
|
||||
}
|
||||
}
|
|
@ -7,7 +7,7 @@
|
|||
title="View as thumbnails"
|
||||
>
|
||||
<input v-model="value" class="hidden" name="view-mode" type="radio" value="thumbnails">
|
||||
<i class="fa fa-th-large"></i>
|
||||
<i class="fa fa-th-large"/>
|
||||
<span class="hidden">View as thumbnails</span>
|
||||
</label>
|
||||
|
||||
|
@ -18,7 +18,7 @@
|
|||
title="View as list"
|
||||
>
|
||||
<input v-model="value" class="hidden" name="view-mode" type="radio" value="list">
|
||||
<i class="fa fa-list"></i>
|
||||
<i class="fa fa-list"/>
|
||||
<span class="hidden">View as list</span>
|
||||
</label>
|
||||
</span>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// Vitest Snapshot v1
|
||||
|
||||
exports[`displays nothing if fetching fails 1`] = `"<div style=\\"background-image: none;\\" data-testid=\\"album-art-overlay\\" data-v-75d06710=\\"\\"></div>"`;
|
||||
exports[`displays nothing if fetching fails 1`] = `<div style="background-image: none;" data-testid="album-art-overlay" data-v-75d06710=""></div>`;
|
||||
|
||||
exports[`fetches and displays the album thumbnail 1`] = `"<div style=\\"background-image: url(https://localhost/thumb.jpg);\\" data-testid=\\"album-art-overlay\\" data-v-75d06710=\\"\\"></div>"`;
|
||||
exports[`fetches and displays the album thumbnail 1`] = `<div style="background-image: url(https://localhost/thumb.jpg);" data-testid="album-art-overlay" data-v-75d06710=""></div>`;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// Vitest Snapshot v1
|
||||
|
||||
exports[`renders for album 1`] = `"<span class=\\"cover\\" style=\\"background-image: url(https://localhost/album.jpg);\\" data-testid=\\"album-artist-thumbnail\\" data-v-901ba52c=\\"\\"><a class=\\"control control-play font-size-0\\" href=\\"\\" role=\\"button\\" data-v-901ba52c=\\"\\">Play all songs in the album IV</a></span>"`;
|
||||
exports[`renders for album 1`] = `<span class="cover" style="background-image: url(https://localhost/album.jpg);" data-testid="album-artist-thumbnail" data-v-901ba52c=""><a class="control control-play font-size-0" href="" role="button" data-v-901ba52c="">Play all songs in the album IV</a></span>`;
|
||||
|
||||
exports[`renders for artist 1`] = `"<span class=\\"cover\\" style=\\"background-image: url(https://localhost/blimp.jpg);\\" data-testid=\\"album-artist-thumbnail\\" data-v-901ba52c=\\"\\"><a class=\\"control control-play font-size-0\\" href=\\"\\" role=\\"button\\" data-v-901ba52c=\\"\\">Play all songs by the artist Led Zeppelin</a></span>"`;
|
||||
exports[`renders for artist 1`] = `<span class="cover" style="background-image: url(https://localhost/blimp.jpg);" data-testid="album-artist-thumbnail" data-v-901ba52c=""><a class="control control-play font-size-0" href="" role="button" data-v-901ba52c="">Play all songs by the artist Led Zeppelin</a></span>`;
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
// Vitest Snapshot v1
|
||||
|
||||
exports[`renders 1`] = `
|
||||
"<a href=\\"https://music.apple.com/buy-nao\\" target=\\"_blank\\" title=\\"Preview and buy this song on Apple Music\\" data-v-0fa61af1=\\"\\"><svg height=\\"10\\" role=\\"presentation\\" viewBox=\\"0 0 83 20\\" width=\\"41\\" xmlns=\\"http://www.w3.org/2000/svg\\" data-v-0fa61af1=\\"\\">
|
||||
<path d=\\"M34.752 19.746V6.243h-.088l-5.433 13.503h-2.074L21.711 6.243h-.087v13.503h-2.548V1.399h3.235l5.833 14.621h.1L34.064 1.4h3.248v18.347h-2.56zm16.649 0h-2.586v-2.263h-.062c-.725 1.602-2.061 2.504-4.072 2.504-2.86 0-4.61-1.894-4.61-4.958V6.37h2.698v8.125c0 2.034.95 3.127 2.81 3.127 1.95 0 3.124-1.373 3.124-3.458V6.37H51.4v13.376zm7.394-13.618c3.06 0 5.046 1.73 5.134 4.196h-2.536c-.15-1.296-1.087-2.11-2.598-2.11-1.462 0-2.436.724-2.436 1.793 0 .839.6 1.41 2.023 1.741l2.136.496c2.686.636 3.71 1.704 3.71 3.636 0 2.442-2.236 4.12-5.333 4.12-3.285 0-5.26-1.64-5.509-4.183h2.673c.25 1.398 1.187 2.085 2.836 2.085 1.623 0 2.623-.687 2.623-1.78 0-.865-.487-1.373-1.924-1.704l-2.136-.508c-2.498-.585-3.735-1.806-3.735-3.75 0-2.391 2.049-4.032 5.072-4.032zM66.1 2.836c0-.878.7-1.577 1.561-1.577.862 0 1.55.7 1.55 1.577 0 .864-.688 1.576-1.55 1.576a1.573 1.573 0 0 1-1.56-1.576zm.212 3.534h2.698v13.376h-2.698V6.37zm14.089 4.603c-.275-1.424-1.324-2.556-3.085-2.556-2.086 0-3.46 1.767-3.46 4.64 0 2.938 1.386 4.642 3.485 4.642 1.66 0 2.748-.928 3.06-2.48H83C82.713 18.067 80.477 20 77.317 20c-3.76 0-6.208-2.62-6.208-6.942 0-4.247 2.448-6.93 6.183-6.93 3.385 0 5.446 2.213 5.683 4.845h-2.573zM10.824 3.189c-.698.834-1.805 1.496-2.913 1.398-.145-1.128.41-2.33 1.036-3.065C9.644.662 10.848.05 11.835 0c.121 1.178-.336 2.33-1.01 3.19zm.999 1.619c.624.049 2.425.244 3.578 1.98-.096.074-2.137 1.272-2.113 3.79.024 3.01 2.593 4.012 2.617 4.037-.024.074-.407 1.419-1.344 2.812-.817 1.224-1.657 2.422-3.002 2.447-1.297.024-1.73-.783-3.218-.783-1.489 0-1.97.758-3.194.807-1.297.048-2.28-1.297-3.097-2.52C.368 14.908-.904 10.408.825 7.375c.84-1.516 2.377-2.47 4.034-2.495 1.273-.023 2.45.857 3.218.857.769 0 2.137-1.027 3.746-.93z\\" fill-rule=\\"nonzero\\" stroke=\\"none\\" stroke-width=\\"1\\" data-v-0fa61af1=\\"\\" />
|
||||
</svg></a>"
|
||||
<a href="https://music.apple.com/buy-nao" target="_blank" title="Preview and buy this song on Apple Music" data-v-0fa61af1=""><svg height="10" role="presentation" viewBox="0 0 83 20" width="41" xmlns="http://www.w3.org/2000/svg" data-v-0fa61af1="">
|
||||
<path d="M34.752 19.746V6.243h-.088l-5.433 13.503h-2.074L21.711 6.243h-.087v13.503h-2.548V1.399h3.235l5.833 14.621h.1L34.064 1.4h3.248v18.347h-2.56zm16.649 0h-2.586v-2.263h-.062c-.725 1.602-2.061 2.504-4.072 2.504-2.86 0-4.61-1.894-4.61-4.958V6.37h2.698v8.125c0 2.034.95 3.127 2.81 3.127 1.95 0 3.124-1.373 3.124-3.458V6.37H51.4v13.376zm7.394-13.618c3.06 0 5.046 1.73 5.134 4.196h-2.536c-.15-1.296-1.087-2.11-2.598-2.11-1.462 0-2.436.724-2.436 1.793 0 .839.6 1.41 2.023 1.741l2.136.496c2.686.636 3.71 1.704 3.71 3.636 0 2.442-2.236 4.12-5.333 4.12-3.285 0-5.26-1.64-5.509-4.183h2.673c.25 1.398 1.187 2.085 2.836 2.085 1.623 0 2.623-.687 2.623-1.78 0-.865-.487-1.373-1.924-1.704l-2.136-.508c-2.498-.585-3.735-1.806-3.735-3.75 0-2.391 2.049-4.032 5.072-4.032zM66.1 2.836c0-.878.7-1.577 1.561-1.577.862 0 1.55.7 1.55 1.577 0 .864-.688 1.576-1.55 1.576a1.573 1.573 0 0 1-1.56-1.576zm.212 3.534h2.698v13.376h-2.698V6.37zm14.089 4.603c-.275-1.424-1.324-2.556-3.085-2.556-2.086 0-3.46 1.767-3.46 4.64 0 2.938 1.386 4.642 3.485 4.642 1.66 0 2.748-.928 3.06-2.48H83C82.713 18.067 80.477 20 77.317 20c-3.76 0-6.208-2.62-6.208-6.942 0-4.247 2.448-6.93 6.183-6.93 3.385 0 5.446 2.213 5.683 4.845h-2.573zM10.824 3.189c-.698.834-1.805 1.496-2.913 1.398-.145-1.128.41-2.33 1.036-3.065C9.644.662 10.848.05 11.835 0c.121 1.178-.336 2.33-1.01 3.19zm.999 1.619c.624.049 2.425.244 3.578 1.98-.096.074-2.137 1.272-2.113 3.79.024 3.01 2.593 4.012 2.617 4.037-.024.074-.407 1.419-1.344 2.812-.817 1.224-1.657 2.422-3.002 2.447-1.297.024-1.73-.783-3.218-.783-1.489 0-1.97.758-3.194.807-1.297.048-2.28-1.297-3.097-2.52C.368 14.908-.904 10.408.825 7.375c.84-1.516 2.377-2.47 4.034-2.495 1.273-.023 2.45.857 3.218.857.769 0 2.137-1.027 3.746-.93z" fill-rule="nonzero" stroke="none" stroke-width="1" data-v-0fa61af1="" />
|
||||
</svg></a>
|
||||
`;
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
// Vitest Snapshot v1
|
||||
|
||||
exports[`renders 1`] = `"<button type=\\"button\\" data-v-27deb898=\\"\\">Click Me Nao</button>"`;
|
||||
exports[`renders 1`] = `<button type="button" data-v-27deb898="">Click Me Nao</button>`;
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
// Vitest Snapshot v1
|
||||
|
||||
exports[`renders 1`] = `"<button data-testid=\\"close-modal-btn\\" type=\\"button\\" data-v-8e854c66=\\"\\"><i class=\\"fa fa-times\\" data-v-8e854c66=\\"\\"></i></button>"`;
|
||||
exports[`renders 1`] = `<button data-testid="close-modal-btn" type="button" data-v-8e854c66=""><i class="fa fa-times" data-v-8e854c66=""></i></button>`;
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
// Vitest Snapshot v1
|
||||
|
||||
exports[`renders 1`] = `"<span class=\\"btn-group\\"><button type=\\"button\\" data-v-27deb898=\\"\\">Green</button><button type=\\"button\\" data-v-27deb898=\\"\\">Orange</button><button type=\\"button\\" data-v-27deb898=\\"\\">Blue</button></span>"`;
|
||||
exports[`renders 1`] = `<span class="btn-group"><button type="button" data-v-27deb898="">Green</button><button type="button" data-v-27deb898="">Orange</button><button type="button" data-v-27deb898="">Blue</button></span>`;
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
// Vitest Snapshot v1
|
||||
|
||||
exports[`renders 1`] = `"<transition-stub data-v-e7b6c7f6=\\"\\"><button title=\\"Scroll to top\\" type=\\"button\\" data-v-e7b6c7f6=\\"\\" style=\\"display: none;\\"><i class=\\"fa fa-arrow-circle-up\\" data-v-e7b6c7f6=\\"\\"></i> Top </button></transition-stub>"`;
|
||||
exports[`renders 1`] = `<transition-stub data-v-e7b6c7f6=""><button title="Scroll to top" type="button" data-v-e7b6c7f6="" style="display: none;"><i class="fa fa-arrow-circle-up" data-v-e7b6c7f6=""></i> Top </button></transition-stub>`;
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
// Vitest Snapshot v1
|
||||
|
||||
exports[`renders 1`] = `
|
||||
"<article id=\\"lyrics\\" data-v-502c43f0=\\"\\">
|
||||
<div class=\\"content\\" data-v-502c43f0=\\"\\">
|
||||
<div data-v-502c43f0=\\"\\">
|
||||
<div data-v-502c43f0=\\"\\">Foo bar baz qux</div><span class=\\"magnifier\\" data-v-4cadbfe6=\\"\\" data-v-502c43f0=\\"\\"><button title=\\"Zoom out\\" type=\\"button\\" data-v-4cadbfe6=\\"\\"><i class=\\"fa fa-search-minus\\" data-v-4cadbfe6=\\"\\"></i></button><button title=\\"Zoom in\\" type=\\"button\\" data-v-4cadbfe6=\\"\\"><i class=\\"fa fa-search-plus\\" data-v-4cadbfe6=\\"\\"></i></button></span>
|
||||
<article id="lyrics" data-v-502c43f0="">
|
||||
<div class="content" data-v-502c43f0="">
|
||||
<div data-v-502c43f0="">
|
||||
<div data-v-502c43f0="">Foo bar baz qux</div><span class="magnifier" data-v-4cadbfe6="" data-v-502c43f0=""><button title="Zoom out" type="button" data-v-4cadbfe6=""><i class="fa fa-search-minus" data-v-4cadbfe6=""></i></button><button title="Zoom in" type="button" data-v-4cadbfe6=""><i class="fa fa-search-plus" data-v-4cadbfe6=""></i></button></span>
|
||||
</div>
|
||||
<!--v-if-->
|
||||
</div>
|
||||
</article>"
|
||||
</article>
|
||||
`;
|
||||
|
|
|
@ -1,62 +1,62 @@
|
|||
// Vitest Snapshot v1
|
||||
|
||||
exports[`renders error type 1`] = `
|
||||
"<div id=\\"overlay\\" class=\\"error overlay\\" data-testid=\\"overlay\\">
|
||||
<div class=\\"display\\">
|
||||
<!--v-if--><i class=\\"fa fa-exclamation-circle\\"></i>
|
||||
<div id="overlay" class="error overlay" data-testid="overlay">
|
||||
<div class="display">
|
||||
<!--v-if--><i class="fa fa-exclamation-circle"></i>
|
||||
<!--v-if-->
|
||||
<!--v-if-->
|
||||
<!--v-if--><span class=\\"message\\">Look at me now</span>
|
||||
<!--v-if--><span class="message">Look at me now</span>
|
||||
</div>
|
||||
<!--v-if-->
|
||||
</div>"
|
||||
</div>
|
||||
`;
|
||||
|
||||
exports[`renders info type 1`] = `
|
||||
"<div id=\\"overlay\\" class=\\"info overlay\\" data-testid=\\"overlay\\">
|
||||
<div class=\\"display\\">
|
||||
<div id="overlay" class="info overlay" data-testid="overlay">
|
||||
<div class="display">
|
||||
<!--v-if-->
|
||||
<!--v-if-->
|
||||
<!--v-if--><i class=\\"fa fa-info-circle\\"></i>
|
||||
<!--v-if--><span class=\\"message\\">Look at me now</span>
|
||||
<!--v-if--><i class="fa fa-info-circle"></i>
|
||||
<!--v-if--><span class="message">Look at me now</span>
|
||||
</div>
|
||||
<!--v-if-->
|
||||
</div>"
|
||||
</div>
|
||||
`;
|
||||
|
||||
exports[`renders loading type 1`] = `
|
||||
"<div id=\\"overlay\\" class=\\"loading overlay\\" data-testid=\\"overlay\\">
|
||||
<div class=\\"display\\">
|
||||
<div class=\\"bars\\" data-testid=\\"soundbars\\" data-v-d983e410=\\"\\"><img alt=\\"Sound bars\\" height=\\"13\\" src=\\"/resources/assets/img/bars.gif\\" data-v-d983e410=\\"\\" /></div>
|
||||
<div id="overlay" class="loading overlay" data-testid="overlay">
|
||||
<div class="display">
|
||||
<div class="bars" data-testid="soundbars" data-v-d983e410=""><img alt="Sound bars" height="13" src="/resources/assets/img/bars.gif" data-v-d983e410="" /></div>
|
||||
<!--v-if-->
|
||||
<!--v-if-->
|
||||
<!--v-if-->
|
||||
<!--v-if--><span class=\\"message\\">Look at me now</span>
|
||||
<!--v-if--><span class="message">Look at me now</span>
|
||||
</div>
|
||||
<!--v-if-->
|
||||
</div>"
|
||||
</div>
|
||||
`;
|
||||
|
||||
exports[`renders success type 1`] = `
|
||||
"<div id=\\"overlay\\" class=\\"success overlay\\" data-testid=\\"overlay\\">
|
||||
<div class=\\"display\\">
|
||||
<div id="overlay" class="success overlay" data-testid="overlay">
|
||||
<div class="display">
|
||||
<!--v-if-->
|
||||
<!--v-if-->
|
||||
<!--v-if-->
|
||||
<!--v-if--><i class=\\"fa fa-check-circle\\"></i><span class=\\"message\\">Look at me now</span>
|
||||
<!--v-if--><i class="fa fa-check-circle"></i><span class="message">Look at me now</span>
|
||||
</div>
|
||||
<!--v-if-->
|
||||
</div>"
|
||||
</div>
|
||||
`;
|
||||
|
||||
exports[`renders warning type 1`] = `
|
||||
"<div id=\\"overlay\\" class=\\"warning overlay\\" data-testid=\\"overlay\\">
|
||||
<div class=\\"display\\">
|
||||
<div id="overlay" class="warning overlay" data-testid="overlay">
|
||||
<div class="display">
|
||||
<!--v-if-->
|
||||
<!--v-if--><i class=\\"fa fa-exclamation-triangle\\"></i>
|
||||
<!--v-if--><i class="fa fa-exclamation-triangle"></i>
|
||||
<!--v-if-->
|
||||
<!--v-if--><span class=\\"message\\">Look at me now</span>
|
||||
<!--v-if--><span class="message">Look at me now</span>
|
||||
</div>
|
||||
<!--v-if-->
|
||||
</div>"
|
||||
</div>
|
||||
`;
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
// Vitest Snapshot v1
|
||||
|
||||
exports[`renders 1`] = `
|
||||
"<div class=\\"screen-empty-state\\" data-testid=\\"screen-empty-state\\">
|
||||
<div><span class=\\"jumbo-icon\\"><i class=\\"my-icon\\"></i></span>
|
||||
<div class=\\"text\\">Nothing here</div>
|
||||
<div class="screen-empty-state" data-testid="screen-empty-state">
|
||||
<div><span class="jumbo-icon"><i class="my-icon"></i></span>
|
||||
<div class="text">Nothing here</div>
|
||||
</div>
|
||||
</div>"
|
||||
</div>
|
||||
`;
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
// Vitest Snapshot v1
|
||||
|
||||
exports[`renders 1`] = `
|
||||
"<header class=\\"screen-header\\" data-v-661f8f0d=\\"\\">
|
||||
<div class=\\"thumbnail-wrapper\\" data-v-661f8f0d=\\"\\"></div>
|
||||
<div class=\\"heading-wrapper\\" data-v-661f8f0d=\\"\\">
|
||||
<h1 data-v-661f8f0d=\\"\\">This Header</h1><span class=\\"meta text-secondary\\" data-v-661f8f0d=\\"\\"><p>Some meta</p></span>
|
||||
<header class="screen-header" data-v-661f8f0d="">
|
||||
<div class="thumbnail-wrapper" data-v-661f8f0d=""></div>
|
||||
<div class="heading-wrapper" data-v-661f8f0d="">
|
||||
<h1 data-v-661f8f0d="">This Header</h1><span class="meta text-secondary" data-v-661f8f0d=""><p>Some meta</p></span>
|
||||
</div>
|
||||
<nav>Some controls</nav>
|
||||
</header>"
|
||||
</header>
|
||||
`;
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
// Vitest Snapshot v1
|
||||
|
||||
exports[`renders list mode 1`] = `<span class="view-modes" data-v-0c4113b0=""><label class="thumbnails" data-testid="view-mode-thumbnail" title="View as thumbnails" data-v-0c4113b0=""><input class="hidden" name="view-mode" type="radio" value="thumbnails" data-v-0c4113b0=""/><i class="fa fa-th-large" data-v-0c4113b0=""></i><span class="hidden" data-v-0c4113b0="">View as thumbnails</span></label><label class="active list" data-testid="view-mode-list" title="View as list" data-v-0c4113b0=""><input checked="" class="hidden" name="view-mode" type="radio" value="list" data-v-0c4113b0="" /><i class="fa fa-list" data-v-0c4113b0=""></i><span class="hidden" data-v-0c4113b0="">View as list</span></label></span>`;
|
||||
|
||||
exports[`renders thumbnails mode 1`] = `<span class="view-modes" data-v-0c4113b0=""><label class="active thumbnails" data-testid="view-mode-thumbnail" title="View as thumbnails" data-v-0c4113b0=""><input checked="" class="hidden" name="view-mode" type="radio" value="thumbnails" data-v-0c4113b0=""/><i class="fa fa-th-large" data-v-0c4113b0=""></i><span class="hidden" data-v-0c4113b0="">View as thumbnails</span></label><label class="list" data-testid="view-mode-list" title="View as list" data-v-0c4113b0=""><input class="hidden" name="view-mode" type="radio" value="list" data-v-0c4113b0="" /><i class="fa fa-list" data-v-0c4113b0=""></i><span class="hidden" data-v-0c4113b0="">View as list</span></label></span>`;
|
|
@ -1,3 +1,3 @@
|
|||
// Vitest Snapshot v1
|
||||
|
||||
exports[`renders 1`] = `"<div class=\\"canceled upload-item\\" title=\\"\\" data-v-ad447c04=\\"\\"><span style=\\"width: 42%;\\" class=\\"progress\\" data-v-ad447c04=\\"\\"></span><span class=\\"details\\" data-v-ad447c04=\\"\\"><span class=\\"name\\" data-v-ad447c04=\\"\\">Sample Track</span><span class=\\"controls\\" data-v-ad447c04=\\"\\"><button type=\\"button\\" icon-only=\\"\\" title=\\"Retry\\" transparent=\\"\\" unrounded=\\"\\" data-v-27deb898=\\"\\" data-v-ad447c04=\\"\\"><i class=\\"fa fa-repeat\\" data-v-ad447c04=\\"\\"></i></button><button type=\\"button\\" icon-only=\\"\\" title=\\"Remove\\" transparent=\\"\\" unrounded=\\"\\" data-v-27deb898=\\"\\" data-v-ad447c04=\\"\\"><i class=\\"fa fa-times\\" data-v-ad447c04=\\"\\"></i></button></span></span></div>"`;
|
||||
exports[`renders 1`] = `<div class="canceled upload-item" title="" data-v-ad447c04=""><span style="width: 42%;" class="progress" data-v-ad447c04=""></span><span class="details" data-v-ad447c04=""><span class="name" data-v-ad447c04="">Sample Track</span><span class="controls" data-v-ad447c04=""><button type="button" icon-only="" title="Retry" transparent="" unrounded="" data-v-27deb898="" data-v-ad447c04=""><i class="fa fa-repeat" data-v-ad447c04=""></i></button><button type="button" icon-only="" title="Remove" transparent="" unrounded="" data-v-27deb898="" data-v-ad447c04=""><i class="fa fa-times" data-v-ad447c04=""></i></button></span></span></div>`;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/// <reference types="vitest" />
|
||||
import { defineConfig } from 'vite'
|
||||
import {defineConfig} from 'vite'
|
||||
import vue from '@vitejs/plugin-vue'
|
||||
import path from 'path'
|
||||
|
||||
|
@ -25,6 +25,7 @@ export default defineConfig({
|
|||
KOEL_ENV: '""'
|
||||
},
|
||||
test: {
|
||||
environment: 'happy-dom'
|
||||
environment: 'happy-dom',
|
||||
setupFiles: path.resolve(__dirname, './resources/assets/js/__tests__/setup.ts')
|
||||
},
|
||||
})
|
||||
|
|
131
yarn.lock
131
yarn.lock
|
@ -1822,6 +1822,11 @@
|
|||
resolved "https://registry.yarnpkg.com/@xtuc/long/-/long-4.2.2.tgz#d291c6a4e97989b5c61d9acf396ae4fe133a718d"
|
||||
integrity sha512-NuHqBY1PB/D8xU6s/thBgOAiAP7HOYDQ32+BFZILJ8ivkUkAHQnWfn6WhL79Owj1qmUnoN/YPhktdIoucipkAQ==
|
||||
|
||||
abbrev@1:
|
||||
version "1.1.1"
|
||||
resolved "https://registry.yarnpkg.com/abbrev/-/abbrev-1.1.1.tgz#f8f2c887ad10bf67f634f005b6987fed3179aac8"
|
||||
integrity sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==
|
||||
|
||||
accepts@~1.3.4, accepts@~1.3.5, accepts@~1.3.8:
|
||||
version "1.3.8"
|
||||
resolved "https://registry.yarnpkg.com/accepts/-/accepts-1.3.8.tgz#0bf0be125b67014adcb0b0921e62db7bffe16b2e"
|
||||
|
@ -2794,7 +2799,7 @@ combined-stream@^1.0.6, combined-stream@~1.0.6:
|
|||
dependencies:
|
||||
delayed-stream "~1.0.0"
|
||||
|
||||
commander@^2.20.0, commander@^2.9.0:
|
||||
commander@^2.19.0, commander@^2.20.0, commander@^2.9.0:
|
||||
version "2.20.3"
|
||||
resolved "https://registry.yarnpkg.com/commander/-/commander-2.20.3.tgz#fd485e84c03eb4881c20722ba48035e8531aeb33"
|
||||
integrity sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==
|
||||
|
@ -2883,6 +2888,23 @@ concat@^1.0.3:
|
|||
dependencies:
|
||||
commander "^2.9.0"
|
||||
|
||||
condense-newlines@^0.2.1:
|
||||
version "0.2.1"
|
||||
resolved "https://registry.yarnpkg.com/condense-newlines/-/condense-newlines-0.2.1.tgz#3de985553139475d32502c83b02f60684d24c55f"
|
||||
integrity sha1-PemFVTE5R10yUCyDsC9gaE0kxV8=
|
||||
dependencies:
|
||||
extend-shallow "^2.0.1"
|
||||
is-whitespace "^0.3.0"
|
||||
kind-of "^3.0.2"
|
||||
|
||||
config-chain@^1.1.13:
|
||||
version "1.1.13"
|
||||
resolved "https://registry.yarnpkg.com/config-chain/-/config-chain-1.1.13.tgz#fad0795aa6a6cdaff9ed1b68e9dff94372c232f4"
|
||||
integrity sha512-qj+f8APARXHrM0hraqXYb2/bOVSV4PvJQlNZ/DVj0QrmNM2q2euizkeuVckQ57J+W0mRH6Hvi+k50M4Jul2VRQ==
|
||||
dependencies:
|
||||
ini "^1.3.4"
|
||||
proto-list "~1.2.1"
|
||||
|
||||
connect-history-api-fallback@^1.6.0:
|
||||
version "1.6.0"
|
||||
resolved "https://registry.yarnpkg.com/connect-history-api-fallback/-/connect-history-api-fallback-1.6.0.tgz#8b32089359308d111115d81cad3fceab888f97bc"
|
||||
|
@ -3575,6 +3597,16 @@ ecc-jsbn@~0.1.1:
|
|||
jsbn "~0.1.0"
|
||||
safer-buffer "^2.1.0"
|
||||
|
||||
editorconfig@^0.15.3:
|
||||
version "0.15.3"
|
||||
resolved "https://registry.yarnpkg.com/editorconfig/-/editorconfig-0.15.3.tgz#bef84c4e75fb8dcb0ce5cee8efd51c15999befc5"
|
||||
integrity sha512-M9wIMFx96vq0R4F+gRpY3o2exzb8hEj/n9S8unZtHSvYjibBp/iMufSzvmOcV/laG0ZtuTVGtiJggPOSW2r93g==
|
||||
dependencies:
|
||||
commander "^2.19.0"
|
||||
lru-cache "^4.1.5"
|
||||
semver "^5.6.0"
|
||||
sigmund "^1.0.1"
|
||||
|
||||
ee-first@1.1.1:
|
||||
version "1.1.1"
|
||||
resolved "https://registry.yarnpkg.com/ee-first/-/ee-first-1.1.1.tgz#590c61156b0ae2f4f0255732a158b266bc56b21d"
|
||||
|
@ -4216,6 +4248,13 @@ express@^4.17.3:
|
|||
utils-merge "1.0.1"
|
||||
vary "~1.1.2"
|
||||
|
||||
extend-shallow@^2.0.1:
|
||||
version "2.0.1"
|
||||
resolved "https://registry.yarnpkg.com/extend-shallow/-/extend-shallow-2.0.1.tgz#51af7d614ad9a9f610ea1bafbb989d6b1c56890f"
|
||||
integrity sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=
|
||||
dependencies:
|
||||
is-extendable "^0.1.0"
|
||||
|
||||
extend@~3.0.2:
|
||||
version "3.0.2"
|
||||
resolved "https://registry.yarnpkg.com/extend/-/extend-3.0.2.tgz#f8b1136b4071fbd8eb140aff858b1019ec2915fa"
|
||||
|
@ -5128,6 +5167,11 @@ ini@2.0.0:
|
|||
resolved "https://registry.yarnpkg.com/ini/-/ini-2.0.0.tgz#e5fd556ecdd5726be978fa1001862eacb0a94bc5"
|
||||
integrity sha512-7PnF4oN3CvZF23ADhA5wRaYEQpJ8qygSkbtTXWBeXWXmEVRXK+1ITciHWwHhsjv1TmW0MgacIv6hEi5pX5NQdA==
|
||||
|
||||
ini@^1.3.4:
|
||||
version "1.3.8"
|
||||
resolved "https://registry.yarnpkg.com/ini/-/ini-1.3.8.tgz#a29da425b48806f34767a4efce397269af28432c"
|
||||
integrity sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==
|
||||
|
||||
internal-slot@^1.0.3:
|
||||
version "1.0.3"
|
||||
resolved "https://registry.yarnpkg.com/internal-slot/-/internal-slot-1.0.3.tgz#7347e307deeea2faac2ac6205d4bc7d34967f59c"
|
||||
|
@ -5184,7 +5228,7 @@ is-boolean-object@^1.1.0:
|
|||
call-bind "^1.0.2"
|
||||
has-tostringtag "^1.0.0"
|
||||
|
||||
is-buffer@~1.1.6:
|
||||
is-buffer@^1.1.5, is-buffer@~1.1.6:
|
||||
version "1.1.6"
|
||||
resolved "https://registry.yarnpkg.com/is-buffer/-/is-buffer-1.1.6.tgz#efaa2ea9daa0d7ab2ea13a97b2b8ad51fefbe8be"
|
||||
integrity sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==
|
||||
|
@ -5220,6 +5264,11 @@ is-docker@^2.0.0, is-docker@^2.1.1:
|
|||
resolved "https://registry.yarnpkg.com/is-docker/-/is-docker-2.2.1.tgz#33eeabe23cfe86f14bde4408a02c0cfb853acdaa"
|
||||
integrity sha512-F+i2BKsFrH66iaUFc0woD8sLy8getkwTwtOBjvs56Cx4CgJDeKQeqfz8wAYiSb8JOprWhHH5p77PbmYCvvUuXQ==
|
||||
|
||||
is-extendable@^0.1.0:
|
||||
version "0.1.1"
|
||||
resolved "https://registry.yarnpkg.com/is-extendable/-/is-extendable-0.1.1.tgz#62b110e289a471418e3ec36a617d472e301dfc89"
|
||||
integrity sha1-YrEQ4omkcUGOPsNqYX1HLjAd/Ik=
|
||||
|
||||
is-extglob@^2.1.1:
|
||||
version "2.1.1"
|
||||
resolved "https://registry.yarnpkg.com/is-extglob/-/is-extglob-2.1.1.tgz#a88c02535791f02ed37c76a1b9ea9773c833f8c2"
|
||||
|
@ -5354,6 +5403,11 @@ is-weakref@^1.0.2:
|
|||
dependencies:
|
||||
call-bind "^1.0.2"
|
||||
|
||||
is-whitespace@^0.3.0:
|
||||
version "0.3.0"
|
||||
resolved "https://registry.yarnpkg.com/is-whitespace/-/is-whitespace-0.3.0.tgz#1639ecb1be036aec69a54cbb401cfbed7114ab7f"
|
||||
integrity sha1-Fjnssb4DauxppUy7QBz77XEUq38=
|
||||
|
||||
is-wsl@^2.2.0:
|
||||
version "2.2.0"
|
||||
resolved "https://registry.yarnpkg.com/is-wsl/-/is-wsl-2.2.0.tgz#74a4c76e77ca9fd3f932f290c17ea326cd157271"
|
||||
|
@ -5386,6 +5440,13 @@ isstream@~0.1.2:
|
|||
resolved "https://registry.yarnpkg.com/isstream/-/isstream-0.1.2.tgz#47e63f7af55afa6f92e1500e690eb8b8529c099a"
|
||||
integrity sha1-R+Y/evVa+m+S4VAOaQ64uFKcCZo=
|
||||
|
||||
jest-serializer-vue@^2.0.2:
|
||||
version "2.0.2"
|
||||
resolved "https://registry.yarnpkg.com/jest-serializer-vue/-/jest-serializer-vue-2.0.2.tgz#b238ef286357ec6b480421bd47145050987d59b3"
|
||||
integrity sha1-sjjvKGNX7GtIBCG9RxRQUJh9WbM=
|
||||
dependencies:
|
||||
pretty "2.0.0"
|
||||
|
||||
jest-worker@^27.4.5:
|
||||
version "27.5.1"
|
||||
resolved "https://registry.yarnpkg.com/jest-worker/-/jest-worker-27.5.1.tgz#8d146f0900e8973b106b6f73cc1e9a8cb86f8db0"
|
||||
|
@ -5411,6 +5472,16 @@ js-base64@^2.1.9:
|
|||
resolved "https://registry.yarnpkg.com/js-base64/-/js-base64-2.6.4.tgz#f4e686c5de1ea1f867dbcad3d46d969428df98c4"
|
||||
integrity sha512-pZe//GGmwJndub7ZghVHz7vjb2LgC1m8B07Au3eYqeqv9emhESByMXxaEgkUkEqJe87oBbSniGYoQNIBklc7IQ==
|
||||
|
||||
js-beautify@^1.6.12:
|
||||
version "1.14.3"
|
||||
resolved "https://registry.yarnpkg.com/js-beautify/-/js-beautify-1.14.3.tgz#3dd11c949178de7f3bdf3f6f752778d3bed95150"
|
||||
integrity sha512-f1ra8PHtOEu/70EBnmiUlV8nJePS58y9qKjl4JHfYWlFH6bo7ogZBz//FAZp7jDuXtYnGYKymZPlrg2I/9Zo4g==
|
||||
dependencies:
|
||||
config-chain "^1.1.13"
|
||||
editorconfig "^0.15.3"
|
||||
glob "^7.1.3"
|
||||
nopt "^5.0.0"
|
||||
|
||||
js-tokens@^3.0.2:
|
||||
version "3.0.2"
|
||||
resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-3.0.2.tgz#9866df395102130e38f7f996bceb65443209c25b"
|
||||
|
@ -5530,6 +5601,13 @@ kill-port@^1.6.1:
|
|||
get-them-args "1.3.2"
|
||||
shell-exec "1.0.2"
|
||||
|
||||
kind-of@^3.0.2:
|
||||
version "3.2.2"
|
||||
resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-3.2.2.tgz#31ea21a734bab9bbb0f32466d893aea51e4a3c64"
|
||||
integrity sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=
|
||||
dependencies:
|
||||
is-buffer "^1.1.5"
|
||||
|
||||
kind-of@^6.0.2:
|
||||
version "6.0.3"
|
||||
resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-6.0.3.tgz#07c05034a6c349fa06e24fa35aa76db4580ce4dd"
|
||||
|
@ -5806,6 +5884,14 @@ lower-case@^2.0.2:
|
|||
dependencies:
|
||||
tslib "^2.0.3"
|
||||
|
||||
lru-cache@^4.1.5:
|
||||
version "4.1.5"
|
||||
resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-4.1.5.tgz#8bbe50ea85bed59bc9e33dcab8235ee9bcf443cd"
|
||||
integrity sha512-sWZlbEP2OsHNkXrMl5GYk/jKk70MBng6UU4YI/qGDYbgf6YbP4EvmqISbXCoJiRKs+1bSpFHVgQxvJ17F2li5g==
|
||||
dependencies:
|
||||
pseudomap "^1.0.2"
|
||||
yallist "^2.1.2"
|
||||
|
||||
lru-cache@^6.0.0:
|
||||
version "6.0.0"
|
||||
resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-6.0.0.tgz#6d6fe6570ebd96aaf90fcad1dafa3b2566db3a94"
|
||||
|
@ -6107,6 +6193,13 @@ node-releases@^2.0.2:
|
|||
resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-2.0.3.tgz#225ee7488e4a5e636da8da52854844f9d716ca96"
|
||||
integrity sha512-maHFz6OLqYxz+VQyCAtA3PTX4UP/53pa05fyDNc9CwjvJ0yEh6+xBwKsgCxMNhS8taUKBFYxfuiaD9U/55iFaw==
|
||||
|
||||
nopt@^5.0.0:
|
||||
version "5.0.0"
|
||||
resolved "https://registry.yarnpkg.com/nopt/-/nopt-5.0.0.tgz#530942bb58a512fccafe53fe210f13a25355dc88"
|
||||
integrity sha512-Tbj67rffqceeLpcRXrT7vKAN8CwfPeIBgM7E6iBkmKLV7bEMwpGgYLGv0jACUsECaa/vuxP0IjEont6umdMgtQ==
|
||||
dependencies:
|
||||
abbrev "1"
|
||||
|
||||
normalize-path@^3.0.0, normalize-path@~3.0.0:
|
||||
version "3.0.0"
|
||||
resolved "https://registry.yarnpkg.com/normalize-path/-/normalize-path-3.0.0.tgz#0dcd69ff23a1c9b11fd0978316644a0388216a65"
|
||||
|
@ -7085,6 +7178,15 @@ pretty-time@^1.1.0:
|
|||
resolved "https://registry.yarnpkg.com/pretty-time/-/pretty-time-1.1.0.tgz#ffb7429afabb8535c346a34e41873adf3d74dd0e"
|
||||
integrity sha512-28iF6xPQrP8Oa6uxE6a1biz+lWeTOAPKggvjB8HAs6nVMKZwf5bG++632Dx614hIWgUPkgivRfG+a8uAXGTIbA==
|
||||
|
||||
pretty@2.0.0:
|
||||
version "2.0.0"
|
||||
resolved "https://registry.yarnpkg.com/pretty/-/pretty-2.0.0.tgz#adbc7960b7bbfe289a557dc5f737619a220d06a5"
|
||||
integrity sha1-rbx5YLe7/iiaVX3F9zdhmiINBqU=
|
||||
dependencies:
|
||||
condense-newlines "^0.2.1"
|
||||
extend-shallow "^2.0.1"
|
||||
js-beautify "^1.6.12"
|
||||
|
||||
process-nextick-args@~2.0.0:
|
||||
version "2.0.1"
|
||||
resolved "https://registry.yarnpkg.com/process-nextick-args/-/process-nextick-args-2.0.1.tgz#7820d9b16120cc55ca9ae7792680ae7dba6d7fe2"
|
||||
|
@ -7102,6 +7204,11 @@ promise@^8.0.0:
|
|||
dependencies:
|
||||
asap "~2.0.6"
|
||||
|
||||
proto-list@~1.2.1:
|
||||
version "1.2.4"
|
||||
resolved "https://registry.yarnpkg.com/proto-list/-/proto-list-1.2.4.tgz#212d5bfe1318306a420f6402b8e26ff39647a849"
|
||||
integrity sha1-IS1b/hMYMGpCD2QCuOJv85ZHqEk=
|
||||
|
||||
proxy-addr@~2.0.7:
|
||||
version "2.0.7"
|
||||
resolved "https://registry.yarnpkg.com/proxy-addr/-/proxy-addr-2.0.7.tgz#f19fe69ceab311eeb94b42e70e8c2070f9ba1025"
|
||||
|
@ -7122,6 +7229,11 @@ ps-tree@1.2.0:
|
|||
dependencies:
|
||||
event-stream "=3.3.4"
|
||||
|
||||
pseudomap@^1.0.2:
|
||||
version "1.0.2"
|
||||
resolved "https://registry.yarnpkg.com/pseudomap/-/pseudomap-1.0.2.tgz#f052a28da70e618917ef0a8ac34c1ae5a68286b3"
|
||||
integrity sha1-8FKijacOYYkX7wqKw0wa5aaChrM=
|
||||
|
||||
psl@^1.1.28:
|
||||
version "1.8.0"
|
||||
resolved "https://registry.yarnpkg.com/psl/-/psl-1.8.0.tgz#9326f8bcfb013adcc005fdff056acce020e51c24"
|
||||
|
@ -7623,6 +7735,11 @@ semver@7.0.0:
|
|||
resolved "https://registry.yarnpkg.com/semver/-/semver-7.0.0.tgz#5f3ca35761e47e05b206c6daff2cf814f0316b8e"
|
||||
integrity sha512-+GB6zVA9LWh6zovYQLALHwv5rb2PHGlJi3lfiqIHxR0uuwCgefcOJc59v9fv1w8GbStwxuuqqAjI9NMAOOgq1A==
|
||||
|
||||
semver@^5.6.0:
|
||||
version "5.7.1"
|
||||
resolved "https://registry.yarnpkg.com/semver/-/semver-5.7.1.tgz#a954f931aeba508d307bbf069eff0c01c96116f7"
|
||||
integrity sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==
|
||||
|
||||
semver@^6.0.0, semver@^6.1.0, semver@^6.1.1, semver@^6.1.2, semver@^6.3.0:
|
||||
version "6.3.0"
|
||||
resolved "https://registry.yarnpkg.com/semver/-/semver-6.3.0.tgz#ee0a64c8af5e8ceea67687b133761e1becbd1d3d"
|
||||
|
@ -7752,6 +7869,11 @@ side-channel@^1.0.4:
|
|||
get-intrinsic "^1.0.2"
|
||||
object-inspect "^1.9.0"
|
||||
|
||||
sigmund@^1.0.1:
|
||||
version "1.0.1"
|
||||
resolved "https://registry.yarnpkg.com/sigmund/-/sigmund-1.0.1.tgz#3ff21f198cad2175f9f3b781853fd94d0d19b590"
|
||||
integrity sha1-P/IfGYytIXX587eBhT/ZTQ0ZtZA=
|
||||
|
||||
signal-exit@^3.0.2:
|
||||
version "3.0.3"
|
||||
resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.3.tgz#a1410c2edd8f077b08b4e253c8eacfcaf057461c"
|
||||
|
@ -8933,6 +9055,11 @@ y18n@^5.0.5:
|
|||
resolved "https://registry.yarnpkg.com/y18n/-/y18n-5.0.8.tgz#7f4934d0f7ca8c56f95314939ddcd2dd91ce1d55"
|
||||
integrity sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==
|
||||
|
||||
yallist@^2.1.2:
|
||||
version "2.1.2"
|
||||
resolved "https://registry.yarnpkg.com/yallist/-/yallist-2.1.2.tgz#1c11f9218f076089a47dd512f93c6699a6a81d52"
|
||||
integrity sha1-HBH5IY8HYImkfdUS+TxmmaaoHVI=
|
||||
|
||||
yallist@^4.0.0:
|
||||
version "4.0.0"
|
||||
resolved "https://registry.yarnpkg.com/yallist/-/yallist-4.0.0.tgz#9bb92790d9c0effec63be73519e11a35019a3a72"
|
||||
|
|
Loading…
Reference in a new issue