Skip to content

High performance, self-hosted, newsletter and mailing list manager with a modern dashboard. Single binary app.

WIP: Add tests

Kailash Nadh570a81f966ac
diff --git a/Makefile b/Makefile
index f8be3437..56c0d094 100644
--- a/Makefile
+++ b/Makefile
@@ -17,36 +17,25 @@ deps:
go get -u github.com/knadh/stuffbin/...
cd frontend && yarn install
-# Build the backend to ./listmonk.
-.PHONY: build
-build:
- go build -o ${BIN} -ldflags="-s -w -X 'main.buildString=${BUILDSTR}' -X 'main.versionString=${VERSION}'" cmd/*.go
-
-# Run the backend.
-.PHONY: run
-run: build
- ./${BIN}
+# Run the JS frontend server in dev mode.
+.PHONY: run-frontend
+run-frontend:
+ export VUE_APP_VERSION="${VERSION}" && cd frontend && yarn serve
# Build the JS frontend into frontend/dist.
.PHONY: build-frontend
build-frontend:
export VUE_APP_VERSION="${VERSION}" && cd frontend && yarn build
-# Run the JS frontend server in dev mode.
-.PHONY: run-frontend
-run-frontend:
- export VUE_APP_VERSION="${VERSION}" && cd frontend && yarn serve
-
-# Run Go tests.
-.PHONY: test
-test:
- go test ./...
+# Run the backend.
+.PHONY: run
+run: build
+ ./${BIN}
-# Bundle all static assets including the JS frontend into the ./listmonk binary
-# using stuffbin (installed with make deps).
-.PHONY: dist
-dist: build build-frontend
- stuffbin -a stuff -in ${BIN} -out ${BIN} ${STATIC}
+# Build the backend to ./listmonk.
+.PHONY: build
+build:
+ go build -o ${BIN} -ldflags="-s -w -X 'main.buildString=${BUILDSTR}' -X 'main.versionString=${VERSION}'" cmd/*.go
# pack-releases runns stuffbin packing on the given binary. This is used
# in the .goreleaser post-build hook.
@@ -54,6 +43,12 @@ dist: build build-frontend
pack-bin:
stuffbin -a stuff -in ${BIN} -out ${BIN} ${STATIC}
+# Bundle all static assets including the JS frontend into the ./listmonk binary
+# using stuffbin (installed with make deps).
+.PHONY: dist
+dist: build build-frontend
+ stuffbin -a stuff -in ${BIN} -out ${BIN} ${STATIC}
+
# Use goreleaser to do a dry run producing local builds.
.PHONY: release-dry
release-dry:
@@ -63,3 +58,13 @@ release-dry:
.PHONY: release
release:
goreleaser --parallelism 1 --rm-dist --skip-validate
+
+# Opens the cypress frontend tests UI.
+.PHONY: open-frontend-tests
+open-frontend-tests:
+ cd frontend && ./node_modules/cypress/bin/cypress open
+
+# Run Go tests.
+.PHONY: test
+test:
+ go test ./...
diff --git a/cmd/handlers.go b/cmd/handlers.go
index b1eaef01..0a0d9b7f 100644
--- a/cmd/handlers.go
+++ b/cmd/handlers.go
@@ -37,9 +37,17 @@ var (
)
// registerHandlers registers HTTP handlers.
-func registerHTTPHandlers(e *echo.Echo) {
+func registerHTTPHandlers(e *echo.Echo, app *App) {
// Group of private handlers with BasicAuth.
- g := e.Group("", middleware.BasicAuth(basicAuth))
+ var g *echo.Group
+
+ if len(app.constants.AdminUsername) == 0 ||
+ len(app.constants.AdminPassword) == 0 {
+ g = e.Group("")
+ } else {
+ g = e.Group("", middleware.BasicAuth(basicAuth))
+ }
+
g.GET("/", handleIndexPage)
g.GET("/api/health", handleHealthCheck)
g.GET("/api/config", handleGetServerConfig)
diff --git a/cmd/init.go b/cmd/init.go
index 9170f9b4..da8164bc 100644
--- a/cmd/init.go
+++ b/cmd/init.go
@@ -487,7 +487,7 @@ func initHTTPServer(app *App) *echo.Echo {
}
// Register all HTTP handlers.
- registerHTTPHandlers(srv)
+ registerHTTPHandlers(srv, app)
// Start the server.
go func() {
diff --git a/frontend/README.md b/frontend/README.md
index 85ae477a..b703d7a1 100644
--- a/frontend/README.md
+++ b/frontend/README.md
@@ -12,6 +12,7 @@ In `main.js`, Buefy and vue-i18n are attached globally. In addition:
Some constants are defined in `constants.js`.
+
## APIs and states
The project uses a global `vuex` state to centrally store the responses to pretty much all APIs (eg: fetch lists, campaigns etc.) except for a few exceptions. These are called `models` and have been defined in `constants.js`. The definitions are in `store/index.js`.
diff --git a/frontend/cypress.json b/frontend/cypress.json
new file mode 100644
index 00000000..f8db83a8
--- /dev/null
+++ b/frontend/cypress.json
@@ -0,0 +1,8 @@
+{
+ "baseUrl": "http://localhost:9000",
+ "env": {
+ "server_init_command": "pkill -9 listmonk | cd ../ && ./listmonk --install --yes && ./listmonk > /dev/null 2>/dev/null &",
+ "username": "listmonk",
+ "password": "listmonk"
+ }
+}
diff --git a/frontend/cypress/downloads/data.json b/frontend/cypress/downloads/data.json
new file mode 100644
index 00000000..81f86d47
--- /dev/null
+++ b/frontend/cypress/downloads/data.json
@@ -0,0 +1,28 @@
+{
+ "profile": [
+ {
+ "id": 2,
+ "uuid": "0954ba2e-50e4-4847-86f4-c2b8b72dace8",
+ "email": "[email protected]",
+ "name": "Anon Doe",
+ "attribs": {
+ "city": "Bengaluru",
+ "good": true,
+ "type": "unknown"
+ },
+ "status": "enabled",
+ "created_at": "2021-02-20T15:52:16.251648+05:30",
+ "updated_at": "2021-02-20T15:52:16.251648+05:30"
+ }
+ ],
+ "subscriptions": [
+ {
+ "subscription_status": "unconfirmed",
+ "name": "Opt-in list",
+ "type": "public",
+ "created_at": "2021-02-20T15:52:16.251648+05:30"
+ }
+ ],
+ "campaign_views": [],
+ "link_clicks": []
+}
\ No newline at end of file
diff --git a/frontend/cypress/fixtures/subs.csv b/frontend/cypress/fixtures/subs.csv
new file mode 100644
index 00000000..d792aaf4
--- /dev/null
+++ b/frontend/cypress/fixtures/subs.csv
@@ -0,0 +1,101 @@
+email,name,attributes
[email protected],First0 Last0,"{""age"": 29, ""city"": ""Bangalore"", ""clientId"": ""DAXX79""}"
[email protected],First1 Last1,"{""age"": 43, ""city"": ""Bangalore"", ""clientId"": ""DAXX71""}"
[email protected],First2 Last2,"{""age"": 47, ""city"": ""Bangalore"", ""clientId"": ""DAXX70""}"
[email protected],First3 Last3,"{""age"": 67, ""city"": ""Bangalore"", ""clientId"": ""DAXX32""}"
[email protected],First4 Last4,"{""age"": 63, ""city"": ""Bangalore"", ""clientId"": ""DAXX30""}"
[email protected],First5 Last5,"{""age"": 69, ""city"": ""Bangalore"", ""clientId"": ""DAXX64""}"
[email protected],First6 Last6,"{""age"": 68, ""city"": ""Bangalore"", ""clientId"": ""DAXX22""}"
[email protected],First7 Last7,"{""age"": 56, ""city"": ""Bangalore"", ""clientId"": ""DAXX54""}"
[email protected],First8 Last8,"{""age"": 58, ""city"": ""Bangalore"", ""clientId"": ""DAXX65""}"
[email protected],First9 Last9,"{""age"": 51, ""city"": ""Bangalore"", ""clientId"": ""DAXX66""}"
[email protected],First10 Last10,"{""age"": 53, ""city"": ""Bangalore"", ""clientId"": ""DAXX31""}"
[email protected],First11 Last11,"{""age"": 46, ""city"": ""Bangalore"", ""clientId"": ""DAXX59""}"
[email protected],First12 Last12,"{""age"": 41, ""city"": ""Bangalore"", ""clientId"": ""DAXX80""}"
[email protected],First13 Last13,"{""age"": 27, ""city"": ""Bangalore"", ""clientId"": ""DAXX96""}"
[email protected],First14 Last14,"{""age"": 51, ""city"": ""Bangalore"", ""clientId"": ""DAXX22""}"
[email protected],First15 Last15,"{""age"": 31, ""city"": ""Bangalore"", ""clientId"": ""DAXX97""}"
[email protected],First16 Last16,"{""age"": 59, ""city"": ""Bangalore"", ""clientId"": ""DAXX41""}"
[email protected],First17 Last17,"{""age"": 29, ""city"": ""Bangalore"", ""clientId"": ""DAXX93""}"
[email protected],First18 Last18,"{""age"": 39, ""city"": ""Bangalore"", ""clientId"": ""DAXX35""}"
[email protected],First19 Last19,"{""age"": 67, ""city"": ""Bangalore"", ""clientId"": ""DAXX21""}"
[email protected],First20 Last20,"{""age"": 66, ""city"": ""Bangalore"", ""clientId"": ""DAXX56""}"
[email protected],First21 Last21,"{""age"": 39, ""city"": ""Bangalore"", ""clientId"": ""DAXX26""}"
[email protected],First22 Last22,"{""age"": 44, ""city"": ""Bangalore"", ""clientId"": ""DAXX98""}"
[email protected],First23 Last23,"{""age"": 66, ""city"": ""Bangalore"", ""clientId"": ""DAXX64""}"
[email protected],First24 Last24,"{""age"": 48, ""city"": ""Bangalore"", ""clientId"": ""DAXX41""}"
[email protected],First25 Last25,"{""age"": 38, ""city"": ""Bangalore"", ""clientId"": ""DAXX80""}"
[email protected],First26 Last26,"{""age"": 27, ""city"": ""Bangalore"", ""clientId"": ""DAXX26""}"
[email protected],First27 Last27,"{""age"": 59, ""city"": ""Bangalore"", ""clientId"": ""DAXX55""}"
[email protected],First28 Last28,"{""age"": 49, ""city"": ""Bangalore"", ""clientId"": ""DAXX45""}"
[email protected],First29 Last29,"{""age"": 45, ""city"": ""Bangalore"", ""clientId"": ""DAXX74""}"
[email protected],First30 Last30,"{""age"": 47, ""city"": ""Bangalore"", ""clientId"": ""DAXX27""}"
[email protected],First31 Last31,"{""age"": 21, ""city"": ""Bangalore"", ""clientId"": ""DAXX37""}"
[email protected],First32 Last32,"{""age"": 21, ""city"": ""Bangalore"", ""clientId"": ""DAXX50""}"
[email protected],First33 Last33,"{""age"": 70, ""city"": ""Bangalore"", ""clientId"": ""DAXX29""}"
[email protected],First34 Last34,"{""age"": 59, ""city"": ""Bangalore"", ""clientId"": ""DAXX95""}"
[email protected],First35 Last35,"{""age"": 36, ""city"": ""Bangalore"", ""clientId"": ""DAXX79""}"
[email protected],First36 Last36,"{""age"": 47, ""city"": ""Bangalore"", ""clientId"": ""DAXX30""}"
[email protected],First37 Last37,"{""age"": 36, ""city"": ""Bangalore"", ""clientId"": ""DAXX92""}"
[email protected],First38 Last38,"{""age"": 29, ""city"": ""Bangalore"", ""clientId"": ""DAXX48""}"
[email protected],First39 Last39,"{""age"": 23, ""city"": ""Bangalore"", ""clientId"": ""DAXX12""}"
[email protected],First40 Last40,"{""age"": 39, ""city"": ""Bangalore"", ""clientId"": ""DAXX40""}"
[email protected],First41 Last41,"{""age"": 41, ""city"": ""Bangalore"", ""clientId"": ""DAXX51""}"
[email protected],First42 Last42,"{""age"": 22, ""city"": ""Bangalore"", ""clientId"": ""DAXX49""}"
[email protected],First43 Last43,"{""age"": 68, ""city"": ""Bangalore"", ""clientId"": ""DAXX58""}"
[email protected],First44 Last44,"{""age"": 45, ""city"": ""Bangalore"", ""clientId"": ""DAXX15""}"
[email protected],First45 Last45,"{""age"": 44, ""city"": ""Bangalore"", ""clientId"": ""DAXX75""}"
[email protected],First46 Last46,"{""age"": 42, ""city"": ""Bangalore"", ""clientId"": ""DAXX99""}"
[email protected],First47 Last47,"{""age"": 61, ""city"": ""Bangalore"", ""clientId"": ""DAXX39""}"
[email protected],First48 Last48,"{""age"": 57, ""city"": ""Bangalore"", ""clientId"": ""DAXX13""}"
[email protected],First49 Last49,"{""age"": 28, ""city"": ""Bangalore"", ""clientId"": ""DAXX97""}"
[email protected],First50 Last50,"{""age"": 61, ""city"": ""Bangalore"", ""clientId"": ""DAXX75""}"
[email protected],First51 Last51,"{""age"": 27, ""city"": ""Bangalore"", ""clientId"": ""DAXX55""}"
[email protected],First52 Last52,"{""age"": 62, ""city"": ""Bangalore"", ""clientId"": ""DAXX35""}"
[email protected],First53 Last53,"{""age"": 24, ""city"": ""Bangalore"", ""clientId"": ""DAXX67""}"
[email protected],First54 Last54,"{""age"": 25, ""city"": ""Bangalore"", ""clientId"": ""DAXX36""}"
[email protected],First55 Last55,"{""age"": 39, ""city"": ""Bangalore"", ""clientId"": ""DAXX74""}"
[email protected],First56 Last56,"{""age"": 53, ""city"": ""Bangalore"", ""clientId"": ""DAXX28""}"
[email protected],First57 Last57,"{""age"": 32, ""city"": ""Bangalore"", ""clientId"": ""DAXX36""}"
[email protected],First58 Last58,"{""age"": 64, ""city"": ""Bangalore"", ""clientId"": ""DAXX44""}"
[email protected],First59 Last59,"{""age"": 47, ""city"": ""Bangalore"", ""clientId"": ""DAXX65""}"
[email protected],First60 Last60,"{""age"": 62, ""city"": ""Bangalore"", ""clientId"": ""DAXX11""}"
[email protected],First61 Last61,"{""age"": 24, ""city"": ""Bangalore"", ""clientId"": ""DAXX55""}"
[email protected],First62 Last62,"{""age"": 61, ""city"": ""Bangalore"", ""clientId"": ""DAXX49""}"
[email protected],First63 Last63,"{""age"": 52, ""city"": ""Bangalore"", ""clientId"": ""DAXX83""}"
[email protected],First64 Last64,"{""age"": 38, ""city"": ""Bangalore"", ""clientId"": ""DAXX16""}"
[email protected],First65 Last65,"{""age"": 48, ""city"": ""Bangalore"", ""clientId"": ""DAXX54""}"
[email protected],First66 Last66,"{""age"": 35, ""city"": ""Bangalore"", ""clientId"": ""DAXX74""}"
[email protected],First67 Last67,"{""age"": 70, ""city"": ""Bangalore"", ""clientId"": ""DAXX22""}"
[email protected],First68 Last68,"{""age"": 21, ""city"": ""Bangalore"", ""clientId"": ""DAXX98""}"
[email protected],First69 Last69,"{""age"": 46, ""city"": ""Bangalore"", ""clientId"": ""DAXX24""}"
[email protected],First70 Last70,"{""age"": 58, ""city"": ""Bangalore"", ""clientId"": ""DAXX75""}"
[email protected],First71 Last71,"{""age"": 50, ""city"": ""Bangalore"", ""clientId"": ""DAXX57""}"
[email protected],First72 Last72,"{""age"": 63, ""city"": ""Bangalore"", ""clientId"": ""DAXX30""}"
[email protected],First73 Last73,"{""age"": 54, ""city"": ""Bangalore"", ""clientId"": ""DAXX77""}"
[email protected],First74 Last74,"{""age"": 67, ""city"": ""Bangalore"", ""clientId"": ""DAXX91""}"
[email protected],First75 Last75,"{""age"": 61, ""city"": ""Bangalore"", ""clientId"": ""DAXX30""}"
[email protected],First76 Last76,"{""age"": 50, ""city"": ""Bangalore"", ""clientId"": ""DAXX28""}"
[email protected],First77 Last77,"{""age"": 62, ""city"": ""Bangalore"", ""clientId"": ""DAXX41""}"
[email protected],First78 Last78,"{""age"": 66, ""city"": ""Bangalore"", ""clientId"": ""DAXX18""}"
[email protected],First79 Last79,"{""age"": 40, ""city"": ""Bangalore"", ""clientId"": ""DAXX89""}"
[email protected],First80 Last80,"{""age"": 21, ""city"": ""Bangalore"", ""clientId"": ""DAXX72""}"
[email protected],First81 Last81,"{""age"": 43, ""city"": ""Bangalore"", ""clientId"": ""DAXX31""}"
[email protected],First82 Last82,"{""age"": 33, ""city"": ""Bangalore"", ""clientId"": ""DAXX89""}"
[email protected],First83 Last83,"{""age"": 38, ""city"": ""Bangalore"", ""clientId"": ""DAXX88""}"
[email protected],First84 Last84,"{""age"": 24, ""city"": ""Bangalore"", ""clientId"": ""DAXX77""}"
[email protected],First85 Last85,"{""age"": 27, ""city"": ""Bangalore"", ""clientId"": ""DAXX40""}"
[email protected],First86 Last86,"{""age"": 67, ""city"": ""Bangalore"", ""clientId"": ""DAXX46""}"
[email protected],First87 Last87,"{""age"": 20, ""city"": ""Bangalore"", ""clientId"": ""DAXX53""}"
[email protected],First88 Last88,"{""age"": 45, ""city"": ""Bangalore"", ""clientId"": ""DAXX79""}"
[email protected],First89 Last89,"{""age"": 31, ""city"": ""Bangalore"", ""clientId"": ""DAXX11""}"
[email protected],First90 Last90,"{""age"": 51, ""city"": ""Bangalore"", ""clientId"": ""DAXX71""}"
[email protected],First91 Last91,"{""age"": 49, ""city"": ""Bangalore"", ""clientId"": ""DAXX20""}"
[email protected],First92 Last92,"{""age"": 26, ""city"": ""Bangalore"", ""clientId"": ""DAXX20""}"
[email protected],First93 Last93,"{""age"": 67, ""city"": ""Bangalore"", ""clientId"": ""DAXX64""}"
[email protected],First94 Last94,"{""age"": 60, ""city"": ""Bangalore"", ""clientId"": ""DAXX53""}"
[email protected],First95 Last95,"{""age"": 64, ""city"": ""Bangalore"", ""clientId"": ""DAXX91""}"
[email protected],First96 Last96,"{""age"": 27, ""city"": ""Bangalore"", ""clientId"": ""DAXX53""}"
[email protected],First97 Last97,"{""age"": 29, ""city"": ""Bangalore"", ""clientId"": ""DAXX46""}"
[email protected],First98 Last98,"{""age"": 26, ""city"": ""Bangalore"", ""clientId"": ""DAXX49""}"
[email protected],First99 Last99,"{""age"": 49, ""city"": ""Bangalore"", ""clientId"": ""DAXX26""}"
diff --git a/frontend/cypress/integration/campaigns.js b/frontend/cypress/integration/campaigns.js
new file mode 100644
index 00000000..a80567e8
--- /dev/null
+++ b/frontend/cypress/integration/campaigns.js
@@ -0,0 +1,211 @@
+describe('Subscribers', () => {
+ it('Opens campaigns page', () => {
+ cy.resetDB();
+ cy.loginAndVisit('/campaigns');
+ });
+
+
+ it('Counts campaigns', () => {
+ cy.get('tbody td[data-label=Status]').should('have.length', 1);
+ });
+
+ it('Edits campaign', () => {
+ cy.get('td[data-label=Status] a').click();
+
+ // Fill fields.
+ cy.get('input[name=name]').clear().type('new-name');
+ cy.get('input[name=subject]').clear().type('new-subject');
+ cy.get('input[name=from_email]').clear().type('new <from@email>');
+
+ // Change the list.
+ cy.get('.list-selector a.delete').click();
+ cy.get('.list-selector input').click();
+ cy.get('.list-selector .autocomplete a').eq(1).click();
+
+ // Clear and redo tags.
+ cy.get('input[name=tags]').type('{backspace}new-tag{enter}');
+
+ // Enable schedule.
+ cy.get('[data-cy=btn-send-later] .check').click();
+ cy.get('.datepicker input').click();
+ cy.get('.datepicker-header .control:nth-child(2) select').select((new Date().getFullYear() + 1).toString());
+ cy.get('.datepicker-body a.is-selectable:first').click();
+ cy.get('body').click(1, 1);
+
+ // Switch to content tab.
+ cy.get('.b-tabs nav a').eq(1).click();
+
+ // Switch format to plain text.
+ cy.get('label[data-cy=check-plain]').click();
+ cy.get('.modal button.is-primary').click();
+
+ // Enter body value.
+ cy.get('textarea[name=content]').clear().type('new-content');
+ cy.get('button[data-cy=btn-save]').click();
+
+ // Schedule.
+ cy.get('button[data-cy=btn-schedule]').click();
+ cy.get('.modal button.is-primary').click();
+
+ cy.wait(250);
+
+ // Verify the changes.
+ cy.request('/api/campaigns/1').should((response) => {
+ const { data } = response.body;
+ expect(data.status).to.equal('scheduled');
+ expect(data.name).to.equal('new-name');
+ expect(data.subject).to.equal('new-subject');
+ expect(data.content_type).to.equal('plain');
+ expect(data.altbody).to.equal(null);
+ expect(data.send_at).to.not.equal(null);
+ expect(data.body).to.equal('new-content');
+
+ expect(data.lists.length).to.equal(1);
+ expect(data.lists[0].id).to.equal(2);
+ expect(data.tags.length).to.equal(1);
+ expect(data.tags[0]).to.equal('new-tag');
+ });
+
+ cy.get('tbody td[data-label=Status] .tag.scheduled');
+ });
+
+ it('Clones campaign', () => {
+ for (let n = 0; n < 3; n++) {
+ // Clone the campaign.
+ cy.get('[data-cy=btn-clone]').first().click();
+ cy.get('.modal input').clear().type(`clone${n}`).click();
+ cy.get('.modal button.is-primary').click();
+ cy.wait(250);
+ cy.clickMenu('all-campaigns');
+ cy.wait(100);
+
+ // Verify the newly created row.
+ cy.get('tbody td[data-label="Name"]').first().contains(`clone${n}`);
+ }
+ });
+
+
+ it('Searches campaigns', () => {
+ cy.get('input[name=query]').clear().type('clone2{enter}');
+ cy.get('tbody tr').its('length').should('eq', 1);
+ cy.get('tbody td[data-label="Name"]').first().contains('clone2');
+ cy.get('input[name=query]').clear().type('{enter}');
+ });
+
+
+ it('Deletes campaign', () => {
+ // Delete all visible lists.
+ cy.get('tbody tr').each(() => {
+ cy.get('tbody a[data-cy=btn-delete]').first().click();
+ cy.get('.modal button.is-primary').click();
+ });
+
+ // Confirm deletion.
+ cy.get('table tr.is-empty');
+ });
+
+
+ it('Adds new campaigns', () => {
+ const lists = [[1], [1, 2]];
+ const cTypes = ['richtext', 'html', 'plain'];
+
+ let n = 0;
+ cTypes.forEach((c) => {
+ lists.forEach((l) => {
+ // Click the 'new button'
+ cy.get('[data-cy=btn-new]').click();
+ cy.wait(100);
+
+ // Fill fields.
+ cy.get('input[name=name]').clear().type(`name${n}`);
+ cy.get('input[name=subject]').clear().type(`subject${n}`);
+
+ l.forEach(() => {
+ cy.get('.list-selector input').click();
+ cy.get('.list-selector .autocomplete a').first().click();
+ });
+
+ // Add tags.
+ for (let i = 0; i < 3; i++) {
+ cy.get('input[name=tags]').type(`tag${i}{enter}`);
+ }
+
+ // Hit 'Continue'.
+ cy.get('button[data-cy=btn-continue]').click();
+ cy.wait(250);
+
+ // Insert content.
+ cy.get('.ql-editor').type(`hello${n} \{\{ .Subscriber.Name \}\}`, { parseSpecialCharSequences: false });
+ cy.get('.ql-editor').type('{enter}');
+ cy.get('.ql-editor').type('\{\{ .Subscriber.Attribs.city \}\}', { parseSpecialCharSequences: false });
+
+ // Select content type.
+ cy.get(`label[data-cy=check-${c}]`).click();
+
+ // If it's not richtext, there's a "you'll lose formatting" prompt.
+ if (c !== 'richtext') {
+ cy.get('.modal button.is-primary').click();
+ }
+
+ // Save.
+ cy.get('button[data-cy=btn-save]').click();
+
+ cy.clickMenu('all-campaigns');
+ cy.wait(250);
+
+ // Verify the newly created campaign in the table.
+ cy.get('tbody td[data-label="Name"]').first().contains(`name${n}`);
+ cy.get('tbody td[data-label="Name"]').first().contains(`subject${n}`);
+ cy.get('tbody td[data-label="Lists"]').first().then(($el) => {
+ cy.wrap($el).find('li').should('have.length', l.length);
+ });
+
+ n++;
+ });
+ });
+
+ // Fetch the campaigns API and verfiy the values that couldn't be verified on the table UI.
+ cy.request('/api/campaigns?order=asc&order_by=created_at').should((response) => {
+ const { data } = response.body;
+ expect(data.total).to.equal(lists.length * cTypes.length);
+
+ let n = 0;
+ cTypes.forEach((c) => {
+ lists.forEach((l) => {
+ expect(data.results[n].content_type).to.equal(c);
+ expect(data.results[n].lists.map((ls) => ls.id)).to.deep.equal(l);
+ n++;
+ });
+ });
+ });
+ });
+
+ it('Starts and cancels campaigns', () => {
+ for (let n = 1; n <= 2; n++) {
+ cy.get(`tbody tr:nth-child(${n}) [data-cy=btn-start]`).click();
+ cy.get('.modal button.is-primary').click();
+ cy.wait(250);
+ cy.get(`tbody tr:nth-child(${n}) td[data-label=Status] .tag.running`);
+
+ if (n > 1) {
+ cy.get(`tbody tr:nth-child(${n}) [data-cy=btn-cancel]`).click();
+ cy.get('.modal button.is-primary').click();
+ cy.wait(250);
+ cy.get(`tbody tr:nth-child(${n}) td[data-label=Status] .tag.cancelled`);
+ }
+ }
+ });
+
+ it('Sorts campaigns', () => {
+ const asc = [5, 6, 7, 8, 9, 10];
+ const desc = [10, 9, 8, 7, 6, 5];
+ const cases = ['cy-name', 'cy-timestamp'];
+
+ cases.forEach((c) => {
+ cy.sortTable(`thead th.${c}`, asc);
+ cy.wait(250);
+ cy.sortTable(`thead th.${c}`, desc);
+ cy.wait(250);
+ });
+ });
+});
diff --git a/frontend/cypress/integration/dashboard.js b/frontend/cypress/integration/dashboard.js
new file mode 100644
index 00000000..a19310d9
--- /dev/null
+++ b/frontend/cypress/integration/dashboard.js
@@ -0,0 +1,28 @@
+describe('Dashboard', () => {
+ it('Opens dashboard', () => {
+ cy.loginAndVisit('/');
+
+ // List counts.
+ cy.get('[data-cy=lists]')
+ .should('contain', '2 Lists')
+ .and('contain', '1 Public')
+ .and('contain', '1 Private')
+ .and('contain', '1 Single opt-in')
+ .and('contain', '1 Double opt-in');
+
+ // Campaign counts.
+ cy.get('[data-cy=campaigns]')
+ .should('contain', '1 Campaign')
+ .and('contain', '1 draft');
+
+ // Subscriber counts.
+ cy.get('[data-cy=subscribers]')
+ .should('contain', '2 Subscribers')
+ .and('contain', '0 Blocklisted')
+ .and('contain', '0 Orphans');
+
+ // Message count.
+ cy.get('[data-cy=messages]')
+ .should('contain', '0 Messages sent');
+ });
+});
diff --git a/frontend/cypress/integration/forms.js b/frontend/cypress/integration/forms.js
new file mode 100644
index 00000000..d401d51e
--- /dev/null
+++ b/frontend/cypress/integration/forms.js
@@ -0,0 +1,36 @@
+describe('Forms', () => {
+ it('Opens forms page', () => {
+ cy.resetDB();
+ cy.loginAndVisit('/lists/forms');
+ });
+
+ it('Checks form URL', () => {
+ cy.get('a[data-cy=url]').contains('http://localhost:9000');
+ });
+
+ it('Checks public lists', () => {
+ cy.get('ul[data-cy=lists] li')
+ .should('contain', 'Opt-in list')
+ .its('length')
+ .should('eq', 1);
+
+ cy.get('[data-cy=form] pre').should('not.exist');
+ });
+
+ it('Selects public list', () => {
+ // Click the list checkbox.
+ cy.get('ul[data-cy=lists] .checkbox').click();
+
+ // Make sure the <pre> form HTML has appeared.
+ cy.get('[data-cy=form] pre').then(($pre) => {
+ // Check that the ID of the list in the checkbox appears in the HTML.
+ cy.get('ul[data-cy=lists] input').then(($inp) => {
+ cy.wrap($pre).contains($inp.val());
+ });
+ });
+
+ // Click the list checkbox.
+ cy.get('ul[data-cy=lists] .checkbox').click();
+ cy.get('[data-cy=form] pre').should('not.exist');
+ });
+});
diff --git a/frontend/cypress/integration/import.js b/frontend/cypress/integration/import.js
new file mode 100644
index 00000000..b8b8d554
--- /dev/null
+++ b/frontend/cypress/integration/import.js
@@ -0,0 +1,50 @@
+
+describe('Import', () => {
+ it('Opens import page', () => {
+ cy.resetDB();
+ cy.loginAndVisit('/subscribers/import');
+ });
+
+ it('Imports subscribers', () => {
+ const cases = [
+ { mode: 'check-subscribe', status: 'enabled', count: 102 },
+ { mode: 'check-blocklist', status: 'blocklisted', count: 102 },
+ ];
+
+ cases.forEach((c) => {
+ cy.get(`[data-cy=${c.mode}] .check`).click();
+
+ if (c.status === 'enabled') {
+ cy.get('.list-selector input').click();
+ cy.get('.list-selector .autocomplete a').first().click();
+ }
+
+ cy.fixture('subs.csv').then((data) => {
+ cy.get('input[type="file"]').attachFile({
+ fileContent: data.toString(),
+ fileName: 'subs.csv',
+ mimeType: 'text/csv',
+ });
+ });
+
+ cy.get('button.is-primary').click();
+ cy.get('section.wrap .has-text-success');
+ cy.get('button.is-primary').click();
+ cy.wait(100);
+
+ // Verify that 100 (+2 default) subs are imported.
+ cy.loginAndVisit('/subscribers');
+ cy.wait(100);
+ cy.get('[data-cy=count]').then(($el) => {
+ cy.expect(parseInt($el.text().trim())).to.equal(c.count);
+ });
+
+ cy.get('tbody td[data-label=Status]').each(($el) => {
+ cy.wrap($el).find(`.tag.${c.status}`);
+ });
+
+ cy.loginAndVisit('/subscribers/import');
+ cy.wait(100);
+ });
+ });
+});
diff --git a/frontend/cypress/integration/lists.js b/frontend/cypress/integration/lists.js
new file mode 100644
index 00000000..a8210fbd
--- /dev/null
+++ b/frontend/cypress/integration/lists.js
@@ -0,0 +1,130 @@
+describe('Lists', () => {
+ it('Opens lists page', () => {
+ cy.resetDB();
+ cy.loginAndVisit('/lists');
+ });
+
+
+ it('Counts subscribers in default lists', () => {
+ cy.get('tbody td[data-label=Subscribers]').contains('1');
+ });
+
+
+ it('Creates campaign for list', () => {
+ cy.get('tbody a[data-cy=btn-campaign]').first().click();
+ cy.location('pathname').should('contain', '/campaigns/new');
+ cy.get('.list-tags .tag').contains('Default list');
+
+ cy.clickMenu('lists', 'all-lists');
+ });
+
+
+ it('Creates opt-in campaign for list', () => {
+ cy.get('tbody a[data-cy=btn-send-optin-campaign]').click();
+ cy.get('.modal button.is-primary').click();
+ cy.location('pathname').should('contain', '/campaigns/2');
+
+ cy.clickMenu('lists', 'all-lists');
+ });
+
+
+ it('Checks individual subscribers in lists', () => {
+ const subs = [{ listID: 1, email: '[email protected]' },
+ { listID: 2, email: '[email protected]' }];
+
+ // Click on each list on the lists page, go the the subscribers page
+ // for that list, and check the subscriber details.
+ subs.forEach((s, n) => {
+ cy.get('tbody td[data-label=Subscribers] a').eq(n).click();
+ cy.location('pathname').should('contain', `/subscribers/lists/${s.listID}`);
+ cy.get('tbody tr').its('length').should('eq', 1);
+ cy.get('tbody td[data-label="E-mail"]').contains(s.email);
+ cy.clickMenu('lists', 'all-lists');
+ });
+ });
+
+ it('Edits lists', () => {
+ // Open the edit popup and edit the default lists.
+ cy.get('[data-cy=btn-edit]').each(($el, n) => {
+ cy.wrap($el).click();
+ cy.get('input[name=name]').clear().type(`list-${n}`);
+ cy.get('select[name=type]').select('public');
+ cy.get('select[name=optin]').select('double');
+ cy.get('input[name=tags]').clear().type(`tag${n}`);
+ cy.get('button[type=submit]').click();
+ });
+ cy.wait(250);
+
+ // Confirm the edits.
+ cy.get('tbody tr').each(($el, n) => {
+ cy.wrap($el).find('td[data-label=Name]').contains(`list-${n}`);
+ cy.wrap($el).find('.tags')
+ .should('contain', 'test')
+ .and('contain', `tag${n}`);
+ });
+ });
+
+
+ it('Deletes lists', () => {
+ // Delete all visible lists.
+ cy.get('tbody tr').each(() => {
+ cy.get('tbody a[data-cy=btn-delete]').first().click();
+ cy.get('.modal button.is-primary').click();
+ });
+
+ // Confirm deletion.
+ cy.get('table tr.is-empty');
+ });
+
+
+ // Add new lists.
+ it('Adds new lists', () => {
+ // Open the list form and create lists of multiple type/optin combinations.
+ const types = ['private', 'public'];
+ const optin = ['single', 'double'];
+
+ let n = 0;
+ types.forEach((t) => {
+ optin.forEach((o) => {
+ const name = `list-${t}-${o}-${n}`;
+
+ cy.get('[data-cy=btn-new]').click();
+ cy.get('input[name=name]').type(name);
+ cy.get('select[name=type]').select(t);
+ cy.get('select[name=optin]').select(o);
+ cy.get('input[name=tags]').type(`tag${n}{enter}${t}{enter}${o}{enter}`);
+ cy.get('button[type=submit]').click();
+
+ // Confirm the addition by inspecting the newly created list row.
+ const tr = `tbody tr:nth-child(${n + 1})`;
+ cy.get(`${tr} td[data-label=Name]`).contains(name);
+ cy.get(`${tr} td[data-label=Type] [data-cy=type-${t}]`);
+ cy.get(`${tr} td[data-label=Type] [data-cy=optin-${o}]`);
+ cy.get(`${tr} .tags`)
+ .should('contain', `tag${n}`)
+ .and('contain', t)
+ .and('contain', o);
+
+ n++;
+ });
+ });
+ });
+
+
+ // Sort lists by clicking on various headers. At this point, there should be four
+ // lists with IDs = [3, 4, 5, 6]. Sort the items be columns and match them with
+ // the expected order of IDs.
+ it('Sorts lists', () => {
+ cy.sortTable('thead th.cy-name', [4, 3, 6, 5]);
+ cy.sortTable('thead th.cy-name', [5, 6, 3, 4]);
+
+ cy.sortTable('thead th.cy-type', [5, 6, 4, 3]);
+ cy.sortTable('thead th.cy-type', [4, 3, 5, 6]);
+
+ cy.sortTable('thead th.cy-created_at', [3, 4, 5, 6]);
+ cy.sortTable('thead th.cy-created_at', [6, 5, 4, 3]);
+
+ cy.sortTable('thead th.cy-updated_at', [3, 4, 5, 6]);
+ cy.sortTable('thead th.cy-updated_at', [6, 5, 4, 3]);
+ });
+});
diff --git a/frontend/cypress/integration/settings.js b/frontend/cypress/integration/settings.js
new file mode 100644
index 00000000..28de7bf3
--- /dev/null
+++ b/frontend/cypress/integration/settings.js
@@ -0,0 +1,40 @@
+describe('Templates', () => {
+ it('Opens settings page', () => {
+ cy.resetDB();
+ cy.loginAndVisit('/settings');
+ });
+
+ it('Changes some settings', () => {
+ const rootURL = 'http://127.0.0.1:9000';
+ const faveURL = 'http://127.0.0.1:9000/public/static/logo.png';
+
+ cy.get('input[name="app.root_url"]').clear().type(rootURL);
+ cy.get('input[name="app.favicon_url"]').type(faveURL);
+ cy.get('.b-tabs nav a').eq(1).click();
+ cy.get('.tab-item:visible').find('.field').first()
+ .find('button')
+ .first()
+ .click();
+
+ // Enable / disable SMTP and delete one.
+ cy.get('.b-tabs nav a').eq(4).click();
+ cy.get('.tab-item:visible [data-cy=btn-enable-smtp]').eq(1).click();
+ cy.get('.tab-item:visible [data-cy=btn-delete-smtp]').first().click();
+ cy.get('.modal button.is-primary').click();
+
+ cy.get('[data-cy=btn-save]').click();
+
+ cy.wait(250);
+
+ // Verify the changes.
+ cy.request('/api/settings').should((response) => {
+ const { data } = response.body;
+ expect(data['app.root_url']).to.equal(rootURL);
+ expect(data['app.favicon_url']).to.equal(faveURL);
+ expect(data['app.concurrency']).to.equal(9);
+
+ expect(data.smtp.length).to.equal(1);
+ expect(data.smtp[0].enabled).to.equal(true);
+ });
+ });
+});
diff --git a/frontend/cypress/integration/subscribers.js b/frontend/cypress/integration/subscribers.js
new file mode 100644
index 00000000..aa740946
--- /dev/null
+++ b/frontend/cypress/integration/subscribers.js
@@ -0,0 +1,219 @@
+describe('Subscribers', () => {
+ it('Opens subscribers page', () => {
+ cy.resetDB();
+ cy.loginAndVisit('/subscribers');
+ });
+
+
+ it('Counts subscribers', () => {
+ cy.get('tbody td[data-label=Status]').its('length').should('eq', 2);
+ });
+
+
+ it('Searches subscribers', () => {
+ const cases = [
+ { value: 'john{enter}', count: 1, contains: '[email protected]' },
+ { value: 'anon{enter}', count: 1, contains: '[email protected]' },
+ { value: '{enter}', count: 2, contains: null },
+ ];
+
+ cases.forEach((c) => {
+ cy.get('[data-cy=search]').clear().type(c.value);
+ cy.get('tbody td[data-label=Status]').its('length').should('eq', c.count);
+ if (c.contains) {
+ cy.get('tbody td[data-label=E-mail]').contains(c.contains);
+ }
+ });
+ });
+
+
+ it('Advanced searches subscribers', () => {
+ cy.get('[data-cy=btn-advanced-search]').click();
+
+ const cases = [
+ { value: 'subscribers.attribs->>\'city\'=\'Bengaluru\'', count: 2 },
+ { value: 'subscribers.attribs->>\'city\'=\'Bengaluru\' AND id=1', count: 1 },
+ { value: '(subscribers.attribs->>\'good\')::BOOLEAN = true AND name like \'Anon%\'', count: 1 },
+ ];
+
+ cases.forEach((c) => {
+ cy.get('[data-cy=query]').clear().type(c.value);
+ cy.get('[data-cy=btn-query]').click();
+ cy.get('tbody td[data-label=Status]').its('length').should('eq', c.count);
+ });
+
+ cy.get('[data-cy=btn-query-reset]').click();
+ cy.get('tbody td[data-label=Status]').its('length').should('eq', 2);
+ });
+
+
+ it('Does bulk subscriber list add and remove', () => {
+ const cases = [
+ // radio: action to perform, rows: table rows to select and perform on: [expected statuses of those rows after thea action]
+ { radio: 'check-list-add', lists: [0, 1], rows: { 0: ['unconfirmed', 'unconfirmed'] } },
+ { radio: 'check-list-unsubscribe', lists: [0, 1], rows: { 0: ['unsubscribed', 'unsubscribed'], 1: ['unsubscribed'] } },
+ { radio: 'check-list-remove', lists: [0, 1], rows: { 1: [] } },
+ { radio: 'check-list-add', lists: [0, 1], rows: { 0: ['unsubscribed', 'unsubscribed'], 1: ['unconfirmed', 'unconfirmed'] } },
+ { radio: 'check-list-remove', lists: [0], rows: { 0: ['unsubscribed'] } },
+ { radio: 'check-list-add', lists: [0], rows: { 0: ['unconfirmed', 'unsubscribed'] } },
+ ];
+
+
+ cases.forEach((c, n) => {
+ // Select one of the 2 subscriber in the table.
+ Object.keys(c.rows).forEach((r) => {
+ cy.get('tbody td.checkbox-cell .checkbox').eq(r).click();
+ });
+
+ // Open the 'manage lists' modal.
+ cy.get('[data-cy=btn-manage-lists]').click();
+
+ // Check both lists in the modal.
+ c.lists.forEach((l) => {
+ cy.get('.list-selector input').click();
+ cy.get('.list-selector .autocomplete a').first().click();
+ });
+
+ // Select the radio option in the modal.
+ cy.get(`[data-cy=${c.radio}] .check`).click();
+
+ // Save.
+ cy.get('.modal button.is-primary').click();
+
+ // Check the status of the lists on the subscriber.
+ Object.keys(c.rows).forEach((r) => {
+ cy.get('tbody td[data-label=E-mail]').eq(r).find('.tags').then(($el) => {
+ cy.wrap($el).find('.tag').should('have.length', c.rows[r].length);
+ c.rows[r].forEach((status, n) => {
+ // eg: .tag(n).unconfirmed
+ cy.wrap($el).find(`.tag:nth-child(${n + 1}).${status}`);
+ });
+ });
+ });
+ });
+ });
+
+ it('Resets subscribers page', () => {
+ cy.resetDB();
+ cy.loginAndVisit('/subscribers');
+ });
+
+
+ it('Edits subscribers', () => {
+ const status = ['enabled', 'blocklisted'];
+ const json = '{"string": "hello", "ints": [1,2,3], "null": null, "sub": {"bool": true}}';
+
+ // Collect values being edited on each sub to confirm the changes in the next step
+ // index by their ID shown in the modal.
+ const rows = {};
+
+ // Open the edit popup and edit the default lists.
+ cy.get('[data-cy=btn-edit]').each(($el, n) => {
+ const email = `email-${n}@email.com`;
+ const name = `name-${n}`;
+
+ // Open the edit modal.
+ cy.wrap($el).click();
+
+ // Get the ID from the header and proceed to fill the form.
+ let id = 0;
+ cy.get('[data-cy=id]').then(($el) => {
+ id = $el.text();
+
+ cy.get('input[name=email]').clear().type(email);
+ cy.get('input[name=name]').clear().type(name);
+ cy.get('select[name=status]').select(status[n]);
+ cy.get('.list-selector input').click();
+ cy.get('.list-selector .autocomplete a').first().click();
+ cy.get('textarea[name=attribs]').clear().type(json, { parseSpecialCharSequences: false, delay: 0 });
+ cy.get('.modal-card-foot button[type=submit]').click();
+
+ rows[id] = { email, name, status: status[n] };
+ });
+ });
+
+ // Confirm the edits on the table.
+ cy.get('tbody tr').each(($el) => {
+ cy.wrap($el).find('td[data-id]').invoke('attr', 'data-id').then((id) => {
+ cy.wrap($el).find('td[data-label=E-mail]').contains(rows[id].email);
+ cy.wrap($el).find('td[data-label=Name]').contains(rows[id].name);
+ cy.wrap($el).find('td[data-label=Status]').contains(rows[id].status, { matchCase: false });
+
+ // Both lists on the enabled sub should be 'unconfirmed' and the blocklisted one, 'unsubscribed.'
+ cy.wait(250);
+ cy.wrap($el).find(`.tags .${rows[id].status === 'enabled' ? 'unconfirmed' : 'unsubscribed'}`)
+ .its('length').should('eq', 2);
+ cy.wrap($el).find('td[data-label=Lists]').then((l) => {
+ cy.expect(parseInt(l.text().trim())).to.equal(rows[id].status === 'blocklisted' ? 0 : 2);
+ });
+ });
+ });
+ });
+
+ it('Deletes subscribers', () => {
+ // Delete all visible lists.
+ cy.get('tbody tr').each(() => {
+ cy.get('tbody a[data-cy=btn-delete]').first().click();
+ cy.get('.modal button.is-primary').click();
+ });
+
+ // Confirm deletion.
+ cy.get('table tr.is-empty');
+ });
+
+
+ it('Creates new subscribers', () => {
+ const statuses = ['enabled', 'blocklisted'];
+ const lists = [[1], [2], [1, 2]];
+ const json = '{"string": "hello", "ints": [1,2,3], "null": null, "sub": {"bool": true}}';
+
+
+ // Cycle through each status and each list ID combination and create subscribers.
+ const n = 0;
+ for (let n = 0; n < 6; n++) {
+ const email = `email-${n}@email.com`;
+ const name = `name-${n}`;
+ const status = statuses[(n + 1) % statuses.length];
+ const list = lists[(n + 1) % lists.length];
+
+ cy.get('[data-cy=btn-new]').click();
+ cy.get('input[name=email]').type(email);
+ cy.get('input[name=name]').type(name);
+ cy.get('select[name=status]').select(status);
+
+ list.forEach((l) => {
+ cy.get('.list-selector input').click();
+ cy.get('.list-selector .autocomplete a').first().click();
+ });
+ cy.get('textarea[name=attribs]').clear().type(json, { parseSpecialCharSequences: false, delay: 0 });
+ cy.get('.modal-card-foot button[type=submit]').click();
+
+ // Confirm the addition by inspecting the newly created list row,
+ // which is always the first row in the table.
+ cy.wait(250);
+ const tr = cy.get('tbody tr:nth-child(1)').then(($el) => {
+ cy.wrap($el).find('td[data-label=E-mail]').contains(email);
+ cy.wrap($el).find('td[data-label=Name]').contains(name);
+ cy.wrap($el).find('td[data-label=Status]').contains(status, { matchCase: false });
+ cy.wrap($el).find(`.tags .${status === 'enabled' ? 'unconfirmed' : 'unsubscribed'}`)
+ .its('length').should('eq', list.length);
+ cy.wrap($el).find('td[data-label=Lists]').then((l) => {
+ cy.expect(parseInt(l.text().trim())).to.equal(status === 'blocklisted' ? 0 : list.length);
+ });
+ });
+ }
+ });
+
+ it('Sorts subscribers', () => {
+ const asc = [3, 4, 5, 6, 7, 8];
+ const desc = [8, 7, 6, 5, 4, 3];
+ const cases = ['cy-status', 'cy-email', 'cy-name', 'cy-created_at', 'cy-updated_at'];
+
+ cases.forEach((c) => {
+ cy.sortTable(`thead th.${c}`, asc);
+ cy.wait(100);
+ cy.sortTable(`thead th.${c}`, desc);
+ cy.wait(100);
+ });
+ });
+});
diff --git a/frontend/cypress/integration/templates.js b/frontend/cypress/integration/templates.js
new file mode 100644
index 00000000..48cc5af2
--- /dev/null
+++ b/frontend/cypress/integration/templates.js
@@ -0,0 +1,77 @@
+describe('Templates', () => {
+ it('Opens templates page', () => {
+ cy.resetDB();
+ cy.loginAndVisit('/campaigns/templates');
+ });
+
+
+ it('Counts default templates', () => {
+ cy.get('tbody td[data-label=Name]').should('have.length', 1);
+ });
+
+ it('Clones template', () => {
+ // Clone the campaign.
+ cy.get('[data-cy=btn-clone]').first().click();
+ cy.get('.modal input').clear().type('cloned').click();
+ cy.get('.modal button.is-primary').click();
+ cy.wait(250);
+
+ // Verify the newly created row.
+ cy.get('tbody td[data-label="Name"]').eq(1).contains('cloned');
+ });
+
+ it('Edits template', () => {
+ cy.get('tbody td.actions [data-cy=btn-edit]').first().click();
+ cy.wait(250);
+ cy.get('input[name=name]').clear().type('edited');
+ cy.get('textarea[name=body]').clear().type('<span>test</span> {{ template "content" . }}',
+ { parseSpecialCharSequences: false, delay: 0 });
+ cy.get('footer.modal-card-foot button.is-primary').click();
+ cy.wait(250);
+ cy.get('tbody td[data-label="Name"] a').contains('edited');
+ });
+
+
+ it('Previews templates', () => {
+ // Edited one sould have a bare body.
+ cy.get('tbody [data-cy=btn-preview').eq(0).click();
+ cy.wait(500);
+ cy.get('.modal-card-body iframe').iframe(() => {
+ cy.get('span').first().contains('test');
+ cy.get('p').first().contains('Hi there');
+ });
+ cy.get('footer.modal-card-foot button').click();
+
+ // Cloned one should have the full template.
+ cy.get('tbody [data-cy=btn-preview').eq(1).click();
+ cy.wait(500);
+ cy.get('.modal-card-body iframe').iframe(() => {
+ cy.get('.wrap p').first().contains('Hi there');
+ cy.get('.footer a').first().contains('Unsubscribe');
+ });
+ cy.get('footer.modal-card-foot button').click();
+ });
+
+ it('Sets default', () => {
+ cy.get('tbody td.actions').eq(1).find('[data-cy=btn-set-default]').click();
+ cy.get('.modal button.is-primary').click();
+
+ // The original default shouldn't have default and the new one should have.
+ cy.get('tbody td.actions').eq(0).then((el) => {
+ cy.wrap(el).find('[data-cy=btn-delete]').should('exist');
+ cy.wrap(el).find('[data-cy=btn-set-default]').should('exist');
+ });
+ cy.get('tbody td.actions').eq(1).then((el) => {
+ cy.wrap(el).find('[data-cy=btn-delete]').should('not.exist');
+ cy.wrap(el).find('[data-cy=btn-set-default]').should('not.exist');
+ });
+ });
+
+
+ it('Deletes template', () => {
+ cy.get('tbody td.actions [data-cy=btn-delete]').first().click();
+ cy.get('.modal button.is-primary').click();
+ cy.wait(250);
+ cy.get('tbody td.actions').should('have.length', 1);
+ });
+});
diff --git a/frontend/cypress/plugins/index.js b/frontend/cypress/plugins/index.js
new file mode 100644
index 00000000..aa9918d2
--- /dev/null
+++ b/frontend/cypress/plugins/index.js
@@ -0,0 +1,21 @@
+/// <reference types="cypress" />
+// ***********************************************************
+// This example plugins/index.js can be used to load plugins
+//
+// You can change the location of this file or turn off loading
+// the plugins file with the 'pluginsFile' configuration option.
+//
+// You can read more here:
+// https://on.cypress.io/plugins-guide
+// ***********************************************************
+
+// This function is called when a project is opened or re-opened (e.g. due to
+// the project's config changing)
+
+/**
+ * @type {Cypress.PluginConfig}
+ */
+module.exports = (on, config) => {
+ // `on` is used to hook into various events Cypress emits
+ // `config` is the resolved Cypress config
+}
diff --git a/frontend/cypress/support/commands.js b/frontend/cypress/support/commands.js
new file mode 100644
index 00000000..e8b3fbfe
--- /dev/null
+++ b/frontend/cypress/support/commands.js
@@ -0,0 +1,42 @@
+import 'cypress-file-upload';
+
+Cypress.Commands.add('resetDB', () => {
+ // Although cypress clearly states that a webserver should not be run
+ // from within it, listmonk is killed, the DB reset, and run again
+ // in the background. If the DB is reset without restartin listmonk,
+ // the live Postgres connections in the app throw errors because the
+ // schema changes midway.
+ cy.exec(Cypress.env('server_init_command'));
+});
+
+// Takes a th class selector of a Buefy table, clicks it sorting the table,
+// then compares the values of [td.data-id] attri of all the rows in the
+// table against the given IDs, asserting the expected order of sort.
+Cypress.Commands.add('sortTable', (theadSelector, ordIDs) => {
+ cy.get(theadSelector).click();
+ cy.get('tbody td[data-id]').each(($el, index) => {
+ expect(ordIDs[index]).to.equal(parseInt($el.attr('data-id')));
+ });
+});
+
+Cypress.Commands.add('loginAndVisit', (url) => {
+ cy.visit(url, {
+ auth: {
+ username: Cypress.env('username'),
+ password: Cypress.env('password'),
+ },
+ });
+});
+
+Cypress.Commands.add('clickMenu', (...selectors) => {
+ selectors.forEach((s) => {
+ cy.get(`.menu a[data-cy="${s}"]`).click();
+ });
+});
+
+// https://www.nicknish.co/blog/cypress-targeting-elements-inside-iframes
+Cypress.Commands.add('iframe', { prevSubject: 'element' }, ($iframe, callback = () => {}) => cy
+ .wrap($iframe)
+ .should((iframe) => expect(iframe.contents().find('body')).to.exist)
+ .then((iframe) => cy.wrap(iframe.contents().find('body')))
+ .within({}, callback));
diff --git a/frontend/cypress/support/index.js b/frontend/cypress/support/index.js
new file mode 100644
index 00000000..02d3a1d4
--- /dev/null
+++ b/frontend/cypress/support/index.js
@@ -0,0 +1,16 @@
+import './commands';
+
+beforeEach(() => {
+ cy.server({
+ ignore: (xhr) => {
+ // Ignore the webpack dev server calls that interfere in the tests
+ // when testing with `yarn serve`.
+ if (xhr.url.indexOf('sockjs-node/') > -1) {
+ return true;
+ }
+
+ // Return the default cypress whitelist filer.
+ return xhr.method === 'GET' && /\.(jsx?|html|css)(\?.*)?$/.test(xhr.url);
+ },
+ });
+});
diff --git a/frontend/cypress/support/reset.sh b/frontend/cypress/support/reset.sh
new file mode 100755
index 00000000..6bbf3399
--- /dev/null
+++ b/frontend/cypress/support/reset.sh
@@ -0,0 +1,6 @@
+#!/bin/bash
+
+pkill -9 listmonk
+ cd ../
+./listmonk --install --yes
+./listmonk > /dev/null 2>/dev/null &
diff --git a/frontend/package.json b/frontend/package.json
index 7b9efd80..6b6f3a63 100644
--- a/frontend/package.json
+++ b/frontend/package.json
@@ -40,6 +40,8 @@
"@vue/cli-service": "~4.4.0",
"@vue/eslint-config-airbnb": "^5.0.2",
"babel-eslint": "^10.1.0",
+ "cypress": "^6.4.0",
+ "cypress-file-upload": "^5.0.2",
"eslint": "^6.7.2",
"eslint-plugin-import": "^2.20.2",
"eslint-plugin-vue": "^6.2.2",
diff --git a/frontend/src/App.vue b/frontend/src/App.vue
index a7d58a78..3297aa55 100644
--- a/frontend/src/App.vue
+++ b/frontend/src/App.vue
@@ -32,63 +32,63 @@
</b-menu-item><!-- dashboard -->
<b-menu-item :expanded="activeGroup.lists"
- :active="activeGroup.lists"
+ :active="activeGroup.lists" data-cy="lists"
v-on:update:active="(state) => toggleGroup('lists', state)"
icon="format-list-bulleted-square" :label="$t('globals.terms.lists')">
<b-menu-item :to="{name: 'lists'}" tag="router-link"
- :active="activeItem.lists"
+ :active="activeItem.lists" data-cy="all-lists"
icon="format-list-bulleted-square" :label="$t('menu.allLists')"></b-menu-item>
<b-menu-item :to="{name: 'forms'}" tag="router-link"
- :active="activeItem.forms"
+ :active="activeItem.forms" class="forms"
icon="newspaper-variant-outline" :label="$t('menu.forms')"></b-menu-item>
</b-menu-item><!-- lists -->
<b-menu-item :expanded="activeGroup.subscribers"
- :active="activeGroup.subscribers"
+ :active="activeGroup.subscribers" data-cy="subscribers"
v-on:update:active="(state) => toggleGroup('subscribers', state)"
icon="account-multiple" :label="$t('globals.terms.subscribers')">
<b-menu-item :to="{name: 'subscribers'}" tag="router-link"
- :active="activeItem.subscribers"
+ :active="activeItem.subscribers" data-cy="all-subscribers"
icon="account-multiple" :label="$t('menu.allSubscribers')"></b-menu-item>
<b-menu-item :to="{name: 'import'}" tag="router-link"
- :active="activeItem.import"
+ :active="activeItem.import" data-cy="import"
icon="file-upload-outline" :label="$t('menu.import')"></b-menu-item>
</b-menu-item><!-- subscribers -->
<b-menu-item :expanded="activeGroup.campaigns"
- :active="activeGroup.campaigns"
+ :active="activeGroup.campaigns" data-cy="campaigns"
v-on:update:active="(state) => toggleGroup('campaigns', state)"
icon="rocket-launch-outline" :label="$t('globals.terms.campaigns')">
<b-menu-item :to="{name: 'campaigns'}" tag="router-link"
- :active="activeItem.campaigns"
+ :active="activeItem.campaigns" data-cy="all-campaigns"
icon="rocket-launch-outline" :label="$t('menu.allCampaigns')"></b-menu-item>
<b-menu-item :to="{name: 'campaign', params: {id: 'new'}}" tag="router-link"
- :active="activeItem.campaign"
+ :active="activeItem.campaign" data-cy="new-campaign"
icon="plus" :label="$t('menu.newCampaign')"></b-menu-item>
<b-menu-item :to="{name: 'media'}" tag="router-link"
- :active="activeItem.media"
+ :active="activeItem.media" data-cy="media"
icon="image-outline" :label="$t('menu.media')"></b-menu-item>
<b-menu-item :to="{name: 'templates'}" tag="router-link"
- :active="activeItem.templates"
+ :active="activeItem.templates" data-cy="templates"
icon="file-image-outline" :label="$t('globals.terms.templates')"></b-menu-item>
</b-menu-item><!-- campaigns -->
<b-menu-item :expanded="activeGroup.settings"
- :active="activeGroup.settings"
+ :active="activeGroup.settings" data-cy="settings"
v-on:update:active="(state) => toggleGroup('settings', state)"
icon="cog-outline" :label="$t('menu.settings')">
<b-menu-item :to="{name: 'settings'}" tag="router-link"
- :active="activeItem.settings"
+ :active="activeItem.settings" data-cy="all-settings"
icon="cog-outline" :label="$t('menu.settings')"></b-menu-item>
<b-menu-item :to="{name: 'logs'}" tag="router-link"
- :active="activeItem.logs"
+ :active="activeItem.logs" data-cy="logs"
icon="newspaper-variant-outline" :label="$t('menu.logs')"></b-menu-item>
</b-menu-item><!-- settings -->
</b-menu-list>
diff --git a/frontend/src/components/Editor.vue b/frontend/src/components/Editor.vue
index 6ec46462..347ac0cf 100644
--- a/frontend/src/components/Editor.vue
+++ b/frontend/src/components/Editor.vue
@@ -7,13 +7,16 @@
<div>
<b-radio v-model="form.radioFormat"
@input="onChangeFormat" :disabled="disabled" name="format"
- native-value="richtext">{{ $t('campaigns.richText') }}</b-radio>
+ native-value="richtext"
+ data-cy="check-richtext">{{ $t('campaigns.richText') }}</b-radio>
<b-radio v-model="form.radioFormat"
@input="onChangeFormat" :disabled="disabled" name="format"
- native-value="html">{{ $t('campaigns.rawHTML') }}</b-radio>
+ native-value="html"
+ data-cy="check-html">{{ $t('campaigns.rawHTML') }}</b-radio>
<b-radio v-model="form.radioFormat"
@input="onChangeFormat" :disabled="disabled" name="format"
- native-value="plain">{{ $t('campaigns.plainText') }}</b-radio>
+ native-value="plain"
+ data-cy="check-plain">{{ $t('campaigns.plainText') }}</b-radio>
</div>
</b-field>
</div>
@@ -42,7 +45,7 @@
<!-- plain text editor //-->
<b-input v-if="form.format === 'plain'" v-model="form.body" @input="onEditorChange"
- type="textarea" ref="plainEditor" class="plain-editor" />
+ type="textarea" name="content" ref="plainEditor" class="plain-editor" />
<!-- campaign preview //-->
<campaign-preview v-if="isPreviewing"
diff --git a/frontend/src/components/ListSelector.vue b/frontend/src/components/ListSelector.vue
index a6c137c4..9e5cf49c 100644
--- a/frontend/src/components/ListSelector.vue
+++ b/frontend/src/components/ListSelector.vue
@@ -1,5 +1,5 @@
<template>
- <div class="field">
+ <div class="field list-selector">
<div :class="['list-tags', ...classes]">
<b-taglist>
<b-tag v-for="l in selectedItems"
diff --git a/frontend/src/views/Campaign.vue b/frontend/src/views/Campaign.vue
index 69b4dee0..e4b21dfe 100644
--- a/frontend/src/views/Campaign.vue
+++ b/frontend/src/views/Campaign.vue
@@ -17,15 +17,15 @@
<div class="column">
<div class="buttons" v-if="isEditing && canEdit">
<b-button @click="onSubmit" :loading="loading.campaigns"
- type="is-primary" icon-left="content-save-outline">
+ type="is-primary" icon-left="content-save-outline" data-cy="btn-save">
{{ $t('globals.buttons.saveChanges') }}
</b-button>
<b-button v-if="canStart" @click="startCampaign" :loading="loading.campaigns"
- type="is-primary" icon-left="rocket-launch-outline">
+ type="is-primary" icon-left="rocket-launch-outline" data-cy="btn-start">
{{ $t('campaigns.start') }}
</b-button>
<b-button v-if="canSchedule" @click="startCampaign" :loading="loading.campaigns"
- type="is-primary" icon-left="clock-start">
+ type="is-primary" icon-left="clock-start" data-cy="btn-schedule">
{{ $t('campaigns.schedule') }}
</b-button>
</div>
@@ -42,17 +42,20 @@
<div class="column is-7">
<form @submit.prevent="onSubmit">
<b-field :label="$t('globals.fields.name')" label-position="on-border">
- <b-input :maxlength="200" :ref="'focus'" v-model="form.name" :disabled="!canEdit"
+ <b-input :maxlength="200" :ref="'focus'" v-model="form.name"
+ name="name" :disabled="!canEdit"
:placeholder="$t('globals.fields.name')" required></b-input>
</b-field>
<b-field :label="$t('campaigns.subject')" label-position="on-border">
- <b-input :maxlength="200" v-model="form.subject" :disabled="!canEdit"
+ <b-input :maxlength="200" v-model="form.subject"
+ name="subject" :disabled="!canEdit"
:placeholder="$t('campaigns.subject')" required></b-input>
</b-field>
<b-field :label="$t('campaigns.fromAddress')" label-position="on-border">
- <b-input :maxlength="200" v-model="form.fromEmail" :disabled="!canEdit"
+ <b-input :maxlength="200" v-model="form.fromEmail"
+ name="from_email" :disabled="!canEdit"
:placeholder="$t('campaigns.fromAddressPlaceholder')" required></b-input>
</b-field>
@@ -67,34 +70,34 @@
<b-field :label="$tc('globals.terms.template')" label-position="on-border">
<b-select :placeholder="$tc('globals.terms.template')" v-model="form.templateId"
- :disabled="!canEdit" required>
+ name="template" :disabled="!canEdit" required>
<option v-for="t in templates" :value="t.id" :key="t.id">{{ t.name }}</option>
</b-select>
</b-field>
<b-field :label="$tc('globals.terms.messenger')" label-position="on-border">
<b-select :placeholder="$tc('globals.terms.messenger')" v-model="form.messenger"
- :disabled="!canEdit" required>
+ name="messenger" :disabled="!canEdit" required>
<option v-for="m in messengers"
:value="m" :key="m">{{ m }}</option>
</b-select>
</b-field>
<b-field :label="$t('globals.terms.tags')" label-position="on-border">
- <b-taginput v-model="form.tags" :disabled="!canEdit"
+ <b-taginput v-model="form.tags" name="tags" :disabled="!canEdit"
ellipsis icon="tag-outline" :placeholder="$t('globals.terms.tags')" />
</b-field>
<hr />
<div class="columns">
<div class="column is-4">
- <b-field :label="$t('campaigns.sendLater')">
+ <b-field :label="$t('campaigns.sendLater')" data-cy="btn-send-later">
<b-switch v-model="form.sendLater" :disabled="!canEdit" />
</b-field>
</div>
<div class="column">
<br />
- <b-field v-if="form.sendLater"
+ <b-field v-if="form.sendLater" data-cy="send_at"
:message="form.sendAtDate ? $utils.duration(Date(), form.sendAtDate) : ''">
<b-datetimepicker
v-model="form.sendAtDate"
@@ -112,7 +115,9 @@
<b-field v-if="isNew">
<b-button native-type="submit" type="is-primary"
- :loading="loading.campaigns">{{ $t('campaigns.continue') }}</b-button>
+ :loading="loading.campaigns" data-cy="btn-continue">
+ {{ $t('campaigns.continue') }}
+ </b-button>
</b-field>
</form>
</div>
diff --git a/frontend/src/views/Campaigns.vue b/frontend/src/views/Campaigns.vue
index 05d52d19..3b7db767 100644
--- a/frontend/src/views/Campaigns.vue
+++ b/frontend/src/views/Campaigns.vue
@@ -8,13 +8,15 @@
</div>
<div class="column has-text-right">
<b-button :to="{name: 'campaign', params:{id: 'new'}}" tag="router-link"
- type="is-primary" icon-left="plus">{{ $t('globals.buttons.new') }}</b-button>
+ type="is-primary" icon-left="plus" data-cy="btn-new">
+ {{ $t('globals.buttons.new') }}
+ </b-button>
</div>
</header>
<form @submit.prevent="getCampaigns">
<b-field grouped>
- <b-input v-model="queryParams.query"
+ <b-input v-model="queryParams.query" name="query"
:placeholder="$t('campaigns.queryPlaceholder')" icon="magnify" ref="query"></b-input>
<b-button native-type="submit" type="is-primary" icon-left="magnify"></b-button>
</b-field>
@@ -29,7 +31,8 @@
hoverable backend-sorting @sort="onSort">
<template slot-scope="props">
<b-table-column class="status" field="status" :label="$t('globals.fields.status')"
- width="10%" :id="props.row.id" sortable>
+ width="10%" :id="props.row.id" sortable
+ header-class="cy-status" :data-id="props.row.id">
<div>
<p>
<router-link :to="{ name: 'campaign', params: { 'id': props.row.id }}">
@@ -46,13 +49,14 @@
<span class="is-size-7 has-text-grey scheduled">
<b-icon icon="alarm" size="is-small" />
{{ $utils.duration(Date(), props.row.sendAt, true) }}
- &ndash; {{ $utils.niceDate(props.row.sendAt, true) }}
+ <br />{{ $utils.niceDate(props.row.sendAt, true) }}
</span>
</b-tooltip>
</p>
</div>
</b-table-column>
- <b-table-column field="name" :label="$t('globals.fields.name')" sortable width="25%">
+ <b-table-column field="name" :label="$t('globals.fields.name')" sortable width="25%"
+ header-class="cy-name">
<div>
<p>
<b-tag v-if="props.row.type !== 'regular'" class="is-small">
@@ -78,7 +82,7 @@
</ul>
</b-table-column>
<b-table-column field="created_at" :label="$t('campaigns.timestamps')"
- width="19%" sortable>
+ width="19%" sortable header-class="cy-timestamp">
<div class="fields timestamps" :set="stats = getCampaignStats(props.row)">
<p>
<label>{{ $t('globals.fields.createdAt') }}</label>
@@ -136,54 +140,56 @@
<div>
<a href="" v-if="canStart(props.row)"
@click.prevent="$utils.confirm(null,
- () => changeCampaignStatus(props.row, 'running'))">
+ () => changeCampaignStatus(props.row, 'running'))" data-cy="btn-start">
<b-tooltip :label="$t('campaigns.start')" type="is-dark">
<b-icon icon="rocket-launch-outline" size="is-small" />
</b-tooltip>
</a>
<a href="" v-if="canPause(props.row)"
@click.prevent="$utils.confirm(null,
- () => changeCampaignStatus(props.row, 'paused'))">
+ () => changeCampaignStatus(props.row, 'paused'))" data-cy="btn-pause">
<b-tooltip :label="$t('campaigns.pause')" type="is-dark">
<b-icon icon="pause-circle-outline" size="is-small" />
</b-tooltip>
</a>
<a href="" v-if="canResume(props.row)"
@click.prevent="$utils.confirm(null,
- () => changeCampaignStatus(props.row, 'running'))">
+ () => changeCampaignStatus(props.row, 'running'))" data-cy="btn-resume">
<b-tooltip :label="$t('campaigns.send')" type="is-dark">
<b-icon icon="rocket-launch-outline" size="is-small" />
</b-tooltip>
</a>
<a href="" v-if="canSchedule(props.row)"
@click.prevent="$utils.confirm($t('campaigns.confirmSchedule'),
- () => changeCampaignStatus(props.row, 'scheduled'))">
+ () => changeCampaignStatus(props.row, 'scheduled'))" data-cy="btn-schedule">
<b-tooltip :label="$t('campaigns.schedule')" type="is-dark">
<b-icon icon="clock-start" size="is-small" />
</b-tooltip>
</a>
- <a href="" @click.prevent="previewCampaign(props.row)">
+ <a href="" @click.prevent="previewCampaign(props.row)" data-cy="btn-preview">
<b-tooltip :label="$t('campaigns.preview')" type="is-dark">
<b-icon icon="file-find-outline" size="is-small" />
</b-tooltip>
</a>
<a href="" @click.prevent="$utils.prompt($t('globals.buttons.clone'),
- { placeholder: $t('globals.fields.name'),
- value: $t('campaigns.copyOf', { name: props.row.name }) },
- (name) => cloneCampaign(name, props.row))">
+ { placeholder: $t('globals.fields.name'),
+ value: $t('campaigns.copyOf', { name: props.row.name }) },
+ (name) => cloneCampaign(name, props.row))"
+ data-cy="btn-clone">
<b-tooltip :label="$t('globals.buttons.clone')" type="is-dark">
<b-icon icon="file-multiple-outline" size="is-small" />
</b-tooltip>
</a>
<a href="" v-if="canCancel(props.row)"
@click.prevent="$utils.confirm(null,
- () => changeCampaignStatus(props.row, 'cancelled'))">
+ () => changeCampaignStatus(props.row, 'cancelled'))"
+ data-cy="btn-cancel">
<b-tooltip :label="$t('globals.buttons.cancel')" type="is-dark">
<b-icon icon="cancel" size="is-small" />
</b-tooltip>
</a>
<a href="" @click.prevent="$utils.confirm($tc('campaigns.confirmDelete'),
- () => deleteCampaign(props.row))">
+ () => deleteCampaign(props.row))" data-cy="btn-delete">
<b-icon icon="trash-can-outline" size="is-small" />
</a>
</div>
diff --git a/frontend/src/views/Dashboard.vue b/frontend/src/views/Dashboard.vue
index 2512b0be..460eb51b 100644
--- a/frontend/src/views/Dashboard.vue
+++ b/frontend/src/views/Dashboard.vue
@@ -12,7 +12,7 @@
<div class="tile">
<div class="tile is-parent is-vertical relative">
<b-loading v-if="isCountsLoading" active :is-full-page="false" />
- <article class="tile is-child notification">
+ <article class="tile is-child notification" data-cy="lists">
<div class="columns is-mobile">
<div class="column is-6">
<p class="title">{{ $utils.niceNumber(counts.lists.total) }}</p>
@@ -43,7 +43,7 @@
</div>
</article><!-- lists -->
- <article class="tile is-child notification">
+ <article class="tile is-child notification" data-cy="campaigns">
<div class="columns is-mobile">
<div class="column is-6">
<p class="title">{{ $utils.niceNumber(counts.campaigns.total) }}</p>
@@ -64,7 +64,7 @@
<div class="tile is-parent relative">
<b-loading v-if="isCountsLoading" active :is-full-page="false" />
- <article class="tile is-child notification">
+ <article class="tile is-child notification" data-cy="subscribers">
<div class="columns is-mobile">
<div class="column is-6">
<p class="title">{{ $utils.niceNumber(counts.subscribers.total) }}</p>
@@ -87,7 +87,7 @@
</div><!-- subscriber breakdown -->
</div><!-- subscriber columns -->
<hr />
- <div class="columns">
+ <div class="columns" data-cy="messages">
<div class="column is-12">
<p class="title">{{ $utils.niceNumber(counts.messages) }}</p>
<p class="is-size-6 has-text-grey">
diff --git a/frontend/src/views/Forms.vue b/frontend/src/views/Forms.vue
index c2bf3d15..7194513d 100644
--- a/frontend/src/views/Forms.vue
+++ b/frontend/src/views/Forms.vue
@@ -15,7 +15,7 @@
<p>{{ $t('forms.selectHelp') }}</p>
<b-loading :active="loading.lists" :is-full-page="false" />
- <ul class="no">
+ <ul class="no" data-cy="lists">
<li v-for="l in publicLists" :key="l.id">
<b-checkbox v-model="checked"
:native-value="l.uuid">{{ l.name }}</b-checkbox>
@@ -27,11 +27,11 @@
<h4>{{ $t('forms.publicSubPage') }}</h4>
<p>
<a :href="`${settings['app.root_url']}/subscription/form`"
- target="_blank">{{ settings['app.root_url'] }}/subscription/form</a>
+ target="_blank" data-cy="url">{{ settings['app.root_url'] }}/subscription/form</a>
</p>
</template>
</div>
- <div class="column">
+ <div class="column" data-cy="form">
<h4>{{ $t('forms.formHTML') }}</h4>
<p>
{{ $t('forms.formHTMLHelp') }}
diff --git a/frontend/src/views/Import.vue b/frontend/src/views/Import.vue
index a213d947..1c5bebb6 100644
--- a/frontend/src/views/Import.vue
+++ b/frontend/src/views/Import.vue
@@ -11,9 +11,11 @@
<b-field :label="$t('import.mode')">
<div>
<b-radio v-model="form.mode" name="mode"
- native-value="subscribe">{{ $t('import.subscribe') }}</b-radio>
+ native-value="subscribe"
+ data-cy="check-subscribe">{{ $t('import.subscribe') }}</b-radio>
<b-radio v-model="form.mode" name="mode"
- native-value="blocklist">{{ $t('import.blocklist') }}</b-radio>
+ native-value="blocklist"
+ data-cy="check-blocklist">{{ $t('import.blocklist') }}</b-radio>
</div>
</b-field>
</div>
diff --git a/frontend/src/views/ListForm.vue b/frontend/src/views/ListForm.vue
index 1d202346..87999577 100644
--- a/frontend/src/views/ListForm.vue
+++ b/frontend/src/views/ListForm.vue
@@ -12,13 +12,13 @@
</header>
<section expanded class="modal-card-body">
<b-field :label="$t('globals.fields.name')" label-position="on-border">
- <b-input :maxlength="200" :ref="'focus'" v-model="form.name"
+ <b-input :maxlength="200" :ref="'focus'" v-model="form.name" name="name"
:placeholder="$t('globals.fields.name')" required></b-input>
</b-field>
<b-field :label="$t('lists.type')" label-position="on-border"
:message="$t('lists.typeHelp')">
- <b-select v-model="form.type" :placeholder="$t('lists.typeHelp')" required>
+ <b-select v-model="form.type" name="type" :placeholder="$t('lists.typeHelp')" required>
<option value="private">{{ $t('lists.types.private') }}</option>
<option value="public">{{ $t('lists.types.public') }}</option>
</b-select>
@@ -26,14 +26,14 @@
<b-field :label="$t('lists.optin')" label-position="on-border"
:message="$t('lists.optinHelp')">
- <b-select v-model="form.optin" placeholder="Opt-in type" required>
+ <b-select v-model="form.optin" name="optin" placeholder="Opt-in type" required>
<option value="single">{{ $t('lists.optins.single') }}</option>
<option value="double">{{ $t('lists.optins.double') }}</option>
</b-select>
</b-field>
<b-field :label="$t('globals.terms.tags')" label-position="on-border">
- <b-taginput v-model="form.tags" ellipsis
+ <b-taginput v-model="form.tags" name="tags" ellipsis
icon="tag-outline" :placeholder="$t('globals.terms.tags')"></b-taginput>
</b-field>
</section>
diff --git a/frontend/src/views/Lists.vue b/frontend/src/views/Lists.vue
index a76f7608..740cd407 100644
--- a/frontend/src/views/Lists.vue
+++ b/frontend/src/views/Lists.vue
@@ -8,7 +8,7 @@
</h1>
</div>
<div class="column has-text-right">
- <b-button type="is-primary" icon-left="plus" @click="showNewForm">
+ <b-button type="is-primary" icon-left="plus" @click="showNewForm" data-cy="btn-new">
{{ $t('globals.buttons.new') }}
</b-button>
</div>
@@ -23,9 +23,9 @@
backend-sorting @sort="onSort"
>
<template slot-scope="props">
- <b-table-column field="name" :label="$t('globals.fields.name')"
+ <b-table-column field="name" :label="$t('globals.fields.name')" header-class="cy-name"
sortable width="25%" paginated backend-pagination pagination-position="both"
- @page-change="onPageChange">
+ @page-change="onPageChange" :data-id="props.row.id">
<div>
<router-link :to="{name: 'subscribers_list', params: { listID: props.row.id }}">
{{ props.row.name }}
@@ -36,20 +36,22 @@
</div>
</b-table-column>
- <b-table-column field="type" :label="$t('globals.fields.type')" sortable>
+ <b-table-column field="type" :label="$t('globals.fields.type')" header-class="cy-type"
+ sortable>
<div>
- <b-tag :class="props.row.type">
+ <b-tag :class="props.row.type" :data-cy="`type-${props.row.type}`">
{{ $t('lists.types.' + props.row.type) }}
</b-tag>
{{ ' ' }}
- <b-tag>
+ <b-tag :data-cy="`optin-${props.row.optin}`">
<b-icon :icon="props.row.optin === 'double' ?
'account-check-outline' : 'account-off-outline'" size="is-small" />
{{ ' ' }}
{{ $t('lists.optins.' + props.row.optin) }}
</b-tag>{{ ' ' }}
<a v-if="props.row.optin === 'double'" class="is-size-7 send-optin"
- href="#" @click="$utils.confirm(null, () => createOptinCampaign(props.row))">
+ href="#" @click="$utils.confirm(null, () => createOptinCampaign(props.row))"
+ data-cy="btn-send-optin-campaign">
<b-tooltip :label="$t('lists.sendOptinCampaign')" type="is-dark">
<b-icon icon="rocket-launch-outline" size="is-small" />
{{ $t('lists.sendOptinCampaign') }}
@@ -58,33 +60,35 @@
</div>
</b-table-column>
- <b-table-column field="subscriber_count" :label="$t('globals.terms.lists')"
- numeric sortable centered>
+ <b-table-column field="subscriber_count" :label="$t('globals.terms.subscribers')"
+ header-class="cy-subscribers" numeric sortable centered>
<router-link :to="`/subscribers/lists/${props.row.id}`">
{{ props.row.subscriberCount }}
</router-link>
</b-table-column>
- <b-table-column field="created_at" :label="$t('globals.fields.createdAt')" sortable>
+ <b-table-column field="created_at" :label="$t('globals.fields.createdAt')"
+ header-class="cy-created_at" sortable>
{{ $utils.niceDate(props.row.createdAt) }}
</b-table-column>
- <b-table-column field="updated_at" :label="$t('globals.fields.updatedAt')" sortable>
+ <b-table-column field="updated_at" :label="$t('globals.fields.updatedAt')"
+ header-class="cy-updated_at" sortable>
{{ $utils.niceDate(props.row.updatedAt) }}
</b-table-column>
<b-table-column class="actions" align="right">
<div>
- <router-link :to="`/campaigns/new?list_id=${props.row.id}`">
+ <router-link :to="`/campaigns/new?list_id=${props.row.id}`" data-cy="btn-campaign">
<b-tooltip :label="$t('lists.sendCampaign')" type="is-dark">
<b-icon icon="rocket-launch-outline" size="is-small" />
</b-tooltip>
</router-link>
- <a href="" @click.prevent="showEditForm(props.row)">
+ <a href="" @click.prevent="showEditForm(props.row)" data-cy="btn-edit">
<b-tooltip :label="$t('globals.buttons.edit')" type="is-dark">
<b-icon icon="pencil-outline" size="is-small" />
</b-tooltip>
</a>
- <a href="" @click.prevent="deleteList(props.row)">
+ <a href="" @click.prevent="deleteList(props.row)" data-cy="btn-delete">
<b-tooltip :label="$t('globals.buttons.delete')" type="is-dark">
<b-icon icon="trash-can-outline" size="is-small" />
</b-tooltip>
diff --git a/frontend/src/views/Settings.vue b/frontend/src/views/Settings.vue
index 56777e70..8e4d99c5 100644
--- a/frontend/src/views/Settings.vue
+++ b/frontend/src/views/Settings.vue
@@ -8,7 +8,9 @@
<div class="column has-text-right">
<b-button :disabled="!hasFormChanged"
type="is-primary" icon-left="content-save-outline"
- @click="onSubmit" class="isSaveEnabled">{{ $t('globals.buttons.save') }}</b-button>
+ @click="onSubmit" class="isSaveEnabled" data-cy="btn-save">
+ {{ $t('globals.buttons.save') }}
+ </b-button>
</div>
</header>
<hr />
@@ -278,11 +280,11 @@
<div class="column is-2">
<b-field :label="$t('globals.buttons.enabled')">
<b-switch v-model="item.enabled" name="enabled"
- :native-value="true" />
+ :native-value="true" data-cy="btn-enable-smtp" />
</b-field>
<b-field v-if="form.smtp.length > 1">
<a @click.prevent="$utils.confirm(null, () => removeSMTP(n))"
- href="#" class="is-size-7">
+ href="#" class="is-size-7" data-cy="btn-delete-smtp">
<b-icon icon="trash-can-outline" size="is-small" />
{{ $t('globals.buttons.delete') }}
</a>
diff --git a/frontend/src/views/SubscriberBulkList.vue b/frontend/src/views/SubscriberBulkList.vue
index 99fb79fa..cbdf5796 100644
--- a/frontend/src/views/SubscriberBulkList.vue
+++ b/frontend/src/views/SubscriberBulkList.vue
@@ -8,16 +8,19 @@
<section expanded class="modal-card-body">
<b-field label="Action">
<div>
- <b-radio v-model="form.action" name="action" native-value="add">
+ <b-radio v-model="form.action" name="action" native-value="add"
+ data-cy="check-list-add">
{{ $t('globals.buttons.add') }}
</b-radio>
- <b-radio v-model="form.action" name="action" native-value="remove">
+ <b-radio v-model="form.action" name="action" native-value="remove"
+ data-cy="check-list-remove">
{{ $t('globals.buttons.remove') }}
</b-radio>
<b-radio
v-model="form.action"
name="action"
native-value="unsubscribe"
+ data-cy="check-list-unsubscribe"
>{{ $t('subscribers.markUnsubscribed') }}</b-radio>
</div>
</b-field>
diff --git a/frontend/src/views/SubscriberForm.vue b/frontend/src/views/SubscriberForm.vue
index 8129e8ff..5a034edf 100644
--- a/frontend/src/views/SubscriberForm.vue
+++ b/frontend/src/views/SubscriberForm.vue
@@ -8,24 +8,25 @@
<h4 v-else>{{ $t('subscribers.newSubscriber') }}</h4>
<p v-if="isEditing" class="has-text-grey is-size-7">
- {{ $t('globals.fields.id') }}: {{ data.id }} /
+ {{ $t('globals.fields.id') }}: <span data-cy="id">{{ data.id }}</span> /
{{ $t('globals.fields.uuid') }}: {{ data.uuid }}
</p>
</header>
<section expanded class="modal-card-body">
<b-field :label="$t('subscribers.email')" label-position="on-border">
- <b-input :maxlength="200" v-model="form.email" :ref="'focus'"
+ <b-input :maxlength="200" v-model="form.email" name="email" :ref="'focus'"
:placeholder="$t('subscribers.email')" required></b-input>
</b-field>
<b-field :label="$t('globals.fields.name')" label-position="on-border">
- <b-input :maxlength="200" v-model="form.name"
+ <b-input :maxlength="200" v-model="form.name" name="name"
:placeholder="$t('globals.fields.name')"></b-input>
</b-field>
<b-field :label="$t('globals.fields.status')" label-position="on-border"
:message="$t('subscribers.blocklistedHelp')">
- <b-select v-model="form.status" :placeholder="$t('globals.fields.status')" required>
+ <b-select v-model="form.status" name="status" :placeholder="$t('globals.fields.status')"
+ required>
<option value="enabled">{{ $t('subscribers.status.enabled') }}</option>
<option value="blocklisted">{{ $t('subscribers.status.blocklisted') }}</option>
</b-select>
@@ -42,7 +43,7 @@
<b-field :label="$t('subscribers.attribs')" label-position="on-border"
:message="$t('subscribers.attribsHelp') + ' ' + egAttribs">
- <b-input v-model="form.strAttribs" type="textarea" />
+ <b-input v-model="form.strAttribs" name="attribs" type="textarea" />
</b-field>
<a href="https://listmonk.app/docs/concepts"
target="_blank" rel="noopener noreferrer" class="is-size-7">
diff --git a/frontend/src/views/Subscribers.vue b/frontend/src/views/Subscribers.vue
index ac037445..f7a482b9 100644
--- a/frontend/src/views/Subscribers.vue
+++ b/frontend/src/views/Subscribers.vue
@@ -3,14 +3,16 @@
<header class="columns">
<div class="column is-half">
<h1 class="title is-4">{{ $t('globals.terms.subscribers') }}
- <span v-if="!isNaN(subscribers.total)">({{ subscribers.total }})</span>
+ <span v-if="!isNaN(subscribers.total)">
+ (<span data-cy="count">{{ subscribers.total }}</span>)
+ </span>
<span v-if="currentList">
&raquo; {{ currentList.name }}
</span>
</h1>
</div>
<div class="column has-text-right">
- <b-button type="is-primary" icon-left="plus" @click="showNewForm">
+ <b-button type="is-primary" icon-left="plus" @click="showNewForm" data-cy="btn-new">
{{ $t('globals.buttons.new') }}
</b-button>
</div>
@@ -23,13 +25,13 @@
<b-field grouped>
<b-input @input="onSimpleQueryInput" v-model="queryInput"
:placeholder="$t('subscribers.queryPlaceholder')" icon="magnify" ref="query"
- :disabled="isSearchAdvanced"></b-input>
+ :disabled="isSearchAdvanced" data-cy="search"></b-input>
<b-button native-type="submit" type="is-primary" icon-left="magnify"
- :disabled="isSearchAdvanced"></b-button>
+ :disabled="isSearchAdvanced" data-cy="btn-search"></b-button>
</b-field>
<p>
- <a href="#" @click.prevent="toggleAdvancedSearch">
+ <a href="#" @click.prevent="toggleAdvancedSearch" data-cy="btn-advanced-search">
<b-icon icon="cog-outline" size="is-small" />
{{ $t('subscribers.advancedQuery') }}
</a>
@@ -40,7 +42,8 @@
<b-input v-model="queryParams.queryExp"
@keydown.native.enter="onAdvancedQueryEnter"
type="textarea" ref="queryExp"
- placeholder="subscribers.name LIKE '%user%' or subscribers.status='blocklisted'">
+ placeholder="subscribers.name LIKE '%user%' or subscribers.status='blocklisted'"
+ data-cy="query">
</b-input>
</b-field>
<b-field>
@@ -55,8 +58,9 @@
<div class="buttons">
<b-button native-type="submit" type="is-primary"
- icon-left="magnify">{{ $t('subscribers.query') }}</b-button>
- <b-button @click.prevent="toggleAdvancedSearch" icon-left="cancel">
+ icon-left="magnify" data-cy="btn-query">{{ $t('subscribers.query') }}</b-button>
+ <b-button @click.prevent="toggleAdvancedSearch" icon-left="cancel"
+ data-cy="btn-query-reset">
{{ $t('subscribers.reset') }}
</b-button>
</div>
@@ -80,15 +84,15 @@
</p>
<p class="actions">
- <a href='' @click.prevent="showBulkListForm">
+ <a href='' @click.prevent="showBulkListForm" data-cy="btn-manage-lists">
<b-icon icon="format-list-bulleted-square" size="is-small" /> Manage lists
</a>
- <a href='' @click.prevent="deleteSubscribers">
+ <a href='' @click.prevent="deleteSubscribers" data-cy="btn-delete-subscribers">
<b-icon icon="trash-can-outline" size="is-small" /> Delete
</a>
- <a href='' @click.prevent="blocklistSubscribers">
+ <a href='' @click.prevent="blocklistSubscribers" data-cy="btn-manage-blocklist">
<b-icon icon="account-off-outline" size="is-small" /> Blocklist
</a>
</p><!-- selection actions //-->
@@ -110,7 +114,8 @@
</a>
</template>
<template slot-scope="props">
- <b-table-column field="status" :label="$t('globals.fields.status')" sortable>
+ <b-table-column field="status" :label="$t('globals.fields.status')"
+ header-class="cy-status" :data-id="props.row.id" sortable>
<a :href="`/subscribers/${props.row.id}`"
@click.prevent="showEditForm(props.row)">
<b-tag :class="props.row.status">
@@ -119,7 +124,8 @@
</a>
</b-table-column>
- <b-table-column field="email" :label="$t('subscribers.email')" sortable>
+ <b-table-column field="email" :label="$t('subscribers.email')"
+ header-class="cy-email" sortable>
<a :href="`/subscribers/${props.row.id}`"
@click.prevent="showEditForm(props.row)">
{{ props.row.email }}
@@ -137,39 +143,43 @@
</b-taglist>
</b-table-column>
- <b-table-column field="name" :label="$t('globals.fields.name')" sortable>
+ <b-table-column field="name" :label="$t('globals.fields.name')"
+ header-class="cy-name" sortable>
<a :href="`/subscribers/${props.row.id}`"
@click.prevent="showEditForm(props.row)">
{{ props.row.name }}
</a>
</b-table-column>
- <b-table-column field="lists" :label="$t('globals.terms.lists')" numeric centered>
+ <b-table-column field="lists" :label="$t('globals.terms.lists')"
+ header-class="cy-lists" numeric centered>
{{ listCount(props.row.lists) }}
</b-table-column>
- <b-table-column field="created_at" :label="$t('globals.fields.createdAt')" sortable>
+ <b-table-column field="created_at" :label="$t('globals.fields.createdAt')"
+ header-class="cy-created_at" sortable>
{{ $utils.niceDate(props.row.createdAt) }}
</b-table-column>
- <b-table-column field="updated_at" :label="$t('globals.fields.updatedAt')" sortable>
+ <b-table-column field="updated_at" :label="$t('globals.fields.updatedAt')"
+ header-class="cy-updated_at" sortable>
{{ $utils.niceDate(props.row.updatedAt) }}
</b-table-column>
<b-table-column class="actions" align="right">
<div>
- <a :href="`/api/subscribers/${props.row.id}/export`">
+ <a :href="`/api/subscribers/${props.row.id}/export`" data-cy="btn-download">
<b-tooltip :label="$t('subscribers.downloadData')" type="is-dark">
<b-icon icon="cloud-download-outline" size="is-small" />
</b-tooltip>
</a>
<a :href="`/subscribers/${props.row.id}`"
- @click.prevent="showEditForm(props.row)">
+ @click.prevent="showEditForm(props.row)" data-cy="btn-edit">
<b-tooltip :label="$t('globals.buttons.edit')" type="is-dark">
<b-icon icon="pencil-outline" size="is-small" />
</b-tooltip>
</a>
- <a href='' @click.prevent="deleteSubscriber(props.row)">
+ <a href='' @click.prevent="deleteSubscriber(props.row)" data-cy="btn-delete">
<b-tooltip :label="$t('globals.buttons.delete')" type="is-dark">
<b-icon icon="trash-can-outline" size="is-small" />
</b-tooltip>
@@ -245,7 +255,7 @@ export default Vue.extend({
methods: {
// Count the lists from which a subscriber has not unsubscribed.
listCount(lists) {
- return lists.reduce((defVal, item) => (defVal + item.status !== 'unsubscribed' ? 1 : 0), 0);
+ return lists.reduce((defVal, item) => (defVal + (item.subscriptionStatus !== 'unsubscribed' ? 1 : 0)), 0);
},
toggleAdvancedSearch() {
diff --git a/frontend/src/views/TemplateForm.vue b/frontend/src/views/TemplateForm.vue
index f302cc15..a2e46a28 100644
--- a/frontend/src/views/TemplateForm.vue
+++ b/frontend/src/views/TemplateForm.vue
@@ -12,12 +12,12 @@
</header>
<section expanded class="modal-card-body">
<b-field :label="$t('globals.fields.name')" label-position="on-border">
- <b-input :maxlength="200" :ref="'focus'" v-model="form.name"
- :placeholder="$t('globals.fields.name')" required></b-input>
+ <b-input :maxlength="200" :ref="'focus'" v-model="form.name" name="name"
+ :placeholder="$t('globals.fields.name')" required />
</b-field>
<b-field :label="$t('templates.rawHTML')" label-position="on-border">
- <b-input v-model="form.body" type="textarea" required />
+ <b-input v-model="form.body" type="textarea" required />
</b-field>
<p class="is-size-7">
diff --git a/frontend/src/views/Templates.vue b/frontend/src/views/Templates.vue
index d2acf36c..67e759b8 100644
--- a/frontend/src/views/Templates.vue
+++ b/frontend/src/views/Templates.vue
@@ -32,31 +32,34 @@
<b-table-column class="actions" align="right">
<div>
- <a href="#" @click.prevent="previewTemplate(props.row)">
+ <a href="#" @click.prevent="previewTemplate(props.row)" data-cy="btn-preview">
<b-tooltip :label="$t('templates.preview')" type="is-dark">
<b-icon icon="file-find-outline" size="is-small" />
</b-tooltip>
</a>
- <a href="#" @click.prevent="showEditForm(props.row)">
+ <a href="#" @click.prevent="showEditForm(props.row)" data-cy="btn-edit">
<b-tooltip :label="$t('globals.buttons.edit')" type="is-dark">
<b-icon icon="pencil-outline" size="is-small" />
</b-tooltip>
</a>
<a href="" @click.prevent="$utils.prompt(`Clone template`,
{ placeholder: 'Name', value: `Copy of ${props.row.name}`},
- (name) => cloneTemplate(name, props.row))">
+ (name) => cloneTemplate(name, props.row))"
+ data-cy="btn-clone">
<b-tooltip :label="$t('globals.buttons.clone')" type="is-dark">
<b-icon icon="file-multiple-outline" size="is-small" />
</b-tooltip>
</a>
<a v-if="!props.row.isDefault" href="#"
- @click.prevent="$utils.confirm(null, () => makeTemplateDefault(props.row))">
+ @click.prevent="$utils.confirm(null, () => makeTemplateDefault(props.row))"
+ data-cy="btn-set-default">
<b-tooltip :label="$t('templates.makeDefault')" type="is-dark">
<b-icon icon="check-circle-outline" size="is-small" />
</b-tooltip>
</a>
<a v-if="!props.row.isDefault"
- href="#" @click.prevent="$utils.confirm(null, () => deleteTemplate(props.row))">
+ href="#" @click.prevent="$utils.confirm(null, () => deleteTemplate(props.row))"
+ data-cy="btn-delete">
<b-tooltip :label="$t('globals.buttons.delete')" type="is-dark">
<b-icon icon="trash-can-outline" size="is-small" />
</b-tooltip>
diff --git a/frontend/yarn.lock b/frontend/yarn.lock
index 637e3e97..d083a54b 100644
--- a/frontend/yarn.lock
+++ b/frontend/yarn.lock
@@ -822,6 +822,50 @@
lodash "^4.17.13"
to-fast-properties "^2.0.0"
+"@cypress/listr-verbose-renderer@^0.4.1":
+ version "0.4.1"
+ resolved "https://registry.yarnpkg.com/@cypress/listr-verbose-renderer/-/listr-verbose-renderer-0.4.1.tgz#a77492f4b11dcc7c446a34b3e28721afd33c642a"
+ integrity sha1-p3SS9LEdzHxEajSz4ochr9M8ZCo=
+ dependencies:
+ chalk "^1.1.3"
+ cli-cursor "^1.0.2"
+ date-fns "^1.27.2"
+ figures "^1.7.0"
+
+"@cypress/request@^2.88.5":
+ version "2.88.5"
+ resolved "https://registry.yarnpkg.com/@cypress/request/-/request-2.88.5.tgz#8d7ecd17b53a849cfd5ab06d5abe7d84976375d7"
+ integrity sha512-TzEC1XMi1hJkywWpRfD2clreTa/Z+lOrXDCxxBTBPEcY5azdPi56A6Xw+O4tWJnaJH3iIE7G5aDXZC6JgRZLcA==
+ dependencies:
+ aws-sign2 "~0.7.0"
+ aws4 "^1.8.0"
+ caseless "~0.12.0"
+ combined-stream "~1.0.6"
+ extend "~3.0.2"
+ forever-agent "~0.6.1"
+ form-data "~2.3.2"
+ har-validator "~5.1.3"
+ http-signature "~1.2.0"
+ is-typedarray "~1.0.0"
+ isstream "~0.1.2"
+ json-stringify-safe "~5.0.1"
+ mime-types "~2.1.19"
+ oauth-sign "~0.9.0"
+ performance-now "^2.1.0"
+ qs "~6.5.2"
+ safe-buffer "^5.1.2"
+ tough-cookie "~2.5.0"
+ tunnel-agent "^0.6.0"
+ uuid "^3.3.2"
+
+"@cypress/xvfb@^1.2.4":
+ version "1.2.4"
+ resolved "https://registry.yarnpkg.com/@cypress/xvfb/-/xvfb-1.2.4.tgz#2daf42e8275b39f4aa53c14214e557bd14e7748a"
+ integrity sha512-skbBzPggOVYCbnGgV+0dmBdW/s77ZkAOXIC1knS8NagwDjBrNC1LuXtQJeiN6l+m7lzmHtaoUw/ctJKdqkG57Q==
+ dependencies:
+ debug "^3.1.0"
+ lodash.once "^4.1.1"
+
version "2.1.4"
resolved "https://registry.yarnpkg.com/@hapi/address/-/address-2.1.4.tgz#5d67ed43f3fd41a69d4b9ff7b56e7c0d1d0a81e5"
@@ -876,6 +920,13 @@
resolved "https://registry.yarnpkg.com/@nodelib/fs.stat/-/fs.stat-1.1.3.tgz#2b5a3ab3f918cca48a8c754c08168e3f03eba61b"
integrity sha512-shAmDyaQC4H92APFoIaVDHCx5bStIocgvbwQyxPRrbUY20V1EYTbSDchWbuwlMG3V17cprZhA6+78JfB+3DTPw==
+"@samverschueren/stream-to-observable@^0.3.0":
+ version "0.3.1"
+ resolved "https://registry.yarnpkg.com/@samverschueren/stream-to-observable/-/stream-to-observable-0.3.1.tgz#a21117b19ee9be70c379ec1877537ef2e1c63301"
+ integrity sha512-c/qwwcHyafOQuVQJj0IlBjf5yYgBI7YPJ77k4fOJYesb41jio65eaJODRUmfYKhTOFBrIZ66kgvGPlNbjuoRdQ==
+ dependencies:
+ any-observable "^0.3.0"
+
"@soda/friendly-errors-webpack-plugin@^1.7.1":
version "1.7.1"
resolved "https://registry.yarnpkg.com/@soda/friendly-errors-webpack-plugin/-/friendly-errors-webpack-plugin-1.7.1.tgz#706f64bcb4a8b9642b48ae3ace444c70334d615d"
@@ -918,6 +969,11 @@
resolved "https://registry.yarnpkg.com/@types/node/-/node-14.0.11.tgz#61d4886e2424da73b7b25547f59fdcb534c165a3"
integrity sha512-lCvvI24L21ZVeIiyIUHZ5Oflv1hhHQ5E1S25IRlKIXaRkVgmXpJMI3wUJkmym2bTbCe+WoIibQnMVAU3FguaOg==
+ version "12.12.50"
+ resolved "https://registry.yarnpkg.com/@types/node/-/node-12.12.50.tgz#e9b2e85fafc15f2a8aa8fdd41091b983da5fd6ee"
+ integrity sha512-5ImO01Fb8YsEOYpV+aeyGYztcYcjGsBvN4D7G5r1ef2cuQOpymjWNQi5V0rKHE6PC2ru3HkoUr/Br2/8GUA84w==
+
"@types/normalize-package-data@^2.4.0":
version "2.4.0"
resolved "https://registry.yarnpkg.com/@types/normalize-package-data/-/normalize-package-data-2.4.0.tgz#e486d0d97396d79beedd0a6e33f4534ff6b4973e"
@@ -933,6 +989,16 @@
resolved "https://registry.yarnpkg.com/@types/q/-/q-1.5.4.tgz#15925414e0ad2cd765bfef58842f7e26a7accb24"
integrity sha512-1HcDas8SEj4z1Wc696tH56G8OlRaH/sqZOynNNB+HF0WOeXPaxTtbYzJY2oEfiUxjSKjhCKr+MvR7dCHcEelug==
+"@types/sinonjs__fake-timers@^6.0.1":
+ version "6.0.2"
+ resolved "https://registry.yarnpkg.com/@types/sinonjs__fake-timers/-/sinonjs__fake-timers-6.0.2.tgz#3a84cf5ec3249439015e14049bd3161419bf9eae"
+ integrity sha512-dIPoZ3g5gcx9zZEszaxLSVTvMReD3xxyyDnQUjA6IYDG9Ba2AV0otMPs+77sG9ojB4Qr2N2Vk5RnKeuA0X/0bg==
+
+"@types/sizzle@^2.3.2":
+ version "2.3.2"
+ resolved "https://registry.yarnpkg.com/@types/sizzle/-/sizzle-2.3.2.tgz#a811b8c18e2babab7d542b3365887ae2e4d9de47"
+ integrity sha512-7EJYyKTL7tFR8+gDbB6Wwz/arpGa0Mywk1TJbNzKzHtzbwVmY4HR9WqS5VV7dsBUKQmPNr192jHr/VpBluj/hg==
+
"@vue/babel-helper-vue-jsx-merge-props@^1.0.0":
version "1.0.0"
resolved "https://registry.yarnpkg.com/@vue/babel-helper-vue-jsx-merge-props/-/babel-helper-vue-jsx-merge-props-1.0.0.tgz#048fe579958da408fb7a8b2a3ec050b50a661040"
@@ -1409,6 +1475,11 @@ ansi-colors@^3.0.0:
resolved "https://registry.yarnpkg.com/ansi-colors/-/ansi-colors-3.2.4.tgz#e3a3da4bfbae6c86a9c285625de124a234026fbf"
integrity sha512-hHUXGagefjN2iRrID63xckIvotOXOojhQKWIPUZ4mNUZ9nLZW+7FMNoE1lOkEhNWYsx/7ysGIuJYCiMAA9FnrA==
+ansi-escapes@^3.0.0:
+ version "3.2.0"
+ resolved "https://registry.yarnpkg.com/ansi-escapes/-/ansi-escapes-3.2.0.tgz#8780b98ff9dbf5638152d1f1fe5c1d7b4442976b"
+ integrity sha512-cBhpre4ma+U0T1oM5fXg7Dy1Jw7zzwv7lt/GoCpr+hDQJoYnKVPLL4dCvSEFMmQurOQvSrwT7SL/DAlhBI97RQ==
+
ansi-escapes@^4.2.1:
version "4.3.1"
resolved "https://registry.yarnpkg.com/ansi-escapes/-/ansi-escapes-4.3.1.tgz#a5c47cc43181f1f38ffd7076837700d395522a61"
@@ -1461,6 +1532,11 @@ ansi-styles@^4.0.0, ansi-styles@^4.1.0:
"@types/color-name" "^1.1.1"
color-convert "^2.0.1"
+any-observable@^0.3.0:
+ version "0.3.0"
+ resolved "https://registry.yarnpkg.com/any-observable/-/any-observable-0.3.0.tgz#af933475e5806a67d0d7df090dd5e8bef65d119b"
+ integrity sha512-/FQM1EDkTsf63Ub2C6O7GuYFDsSXUwsaZDurV0np41ocwq0jthUAYCmhBX9f+KwlaCgIuWyr/4WlUQUBfKfZog==
+
any-promise@^1.0.0:
version "1.3.0"
resolved "https://registry.yarnpkg.com/any-promise/-/any-promise-1.3.0.tgz#abc6afeedcea52e809cdc0376aed3ce39635d17f"
@@ -1492,6 +1568,11 @@ arch@^2.1.1:
resolved "https://registry.yarnpkg.com/arch/-/arch-2.1.2.tgz#0c52bbe7344bb4fa260c443d2cbad9c00ff2f0bf"
integrity sha512-NTBIIbAfkJeIletyABbVtdPgeKfDafR+1mZV/AyyfC1UkVkp9iUjV+wwmqtUgphHYajbI86jejBJp5e+jkGTiQ==
+arch@^2.1.2:
+ version "2.2.0"
+ resolved "https://registry.yarnpkg.com/arch/-/arch-2.2.0.tgz#1bc47818f305764f23ab3306b0bfc086c5a29d11"
+ integrity sha512-Of/R0wqp83cgHozfIYLbBMnej79U/SVGOOyuB3VVFv1NRM/PSFMK12x9KVtiYzJqmnU5WR2qp0Z5rHb7sWGnFQ==
+
are-we-there-yet@~1.1.2:
version "1.1.5"
resolved "https://registry.yarnpkg.com/are-we-there-yet/-/are-we-there-yet-1.1.5.tgz#4b35c2944f062a8bfcda66410760350fe9ddfc21"
@@ -1637,11 +1718,21 @@ async@^2.6.2:
dependencies:
lodash "^4.17.14"
+async@^3.2.0:
+ version "3.2.0"
+ resolved "https://registry.yarnpkg.com/async/-/async-3.2.0.tgz#b3a2685c5ebb641d3de02d161002c60fc9f85720"
+ integrity sha512-TR2mEZFVOj2pLStYxLht7TyfuRzaydfpxr3k9RpHIzMgw7A64dzsdqCxH1WJyQdoe8T10nDXd9wnEigmiuHIZw==
+
asynckit@^0.4.0:
version "0.4.0"
resolved "https://registry.yarnpkg.com/asynckit/-/asynckit-0.4.0.tgz#c79ed97f7f34cb8f2ba1bc9790bcc366474b4b79"
integrity sha1-x57Zf380y48robyXkLzDZkdLS3k=
+at-least-node@^1.0.0:
+ version "1.0.0"
+ resolved "https://registry.yarnpkg.com/at-least-node/-/at-least-node-1.0.0.tgz#602cd4b46e844ad4effc92a8011a3c46e0238dc2"
+ integrity sha512-+q/t7Ekv1EDY2l6Gda6LLiX14rU9TV20Wa3ofeQmwPFZbOMo9DXrLbOjFaaclkXKWidIaopwAObQDqwWtGUjqg==
+
atob@^2.1.2:
version "2.1.2"
resolved "https://registry.yarnpkg.com/atob/-/atob-2.1.2.tgz#6d9517eb9e030d2436666651e86bd9f6f13533c9"
@@ -1779,6 +1870,11 @@ bindings@^1.5.0:
dependencies:
file-uri-to-path "1.0.0"
+ version "2.0.2"
+ resolved "https://registry.yarnpkg.com/blob-util/-/blob-util-2.0.2.tgz#3b4e3c281111bb7f11128518006cdc60b403a1eb"
+ integrity sha512-T7JQa+zsXXEa6/8ZhHcQEW1UFfVM49Ts65uBkFL6fz2QmrElqmbajIDJvuA0tEhRe5eIjpV9ZF+0RfZR9voJFQ==
+
block-stream@*:
version "0.0.9"
resolved "https://registry.yarnpkg.com/block-stream/-/block-stream-0.0.9.tgz#13ebfe778a03205cfe03751481ebb4b3300c126a"
@@ -1786,7 +1882,7 @@ block-stream@*:
dependencies:
inherits "~2.0.0"
-bluebird@^3.1.1, bluebird@^3.5.5:
+bluebird@^3.1.1, bluebird@^3.5.5, bluebird@^3.7.2:
version "3.7.2"
resolved "https://registry.yarnpkg.com/bluebird/-/bluebird-3.7.2.tgz#9f229c15be272454ffa973ace0dbee79a1b0c36f"
integrity sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg==
@@ -1948,6 +2044,11 @@ buefy@^0.8.20:
dependencies:
bulma "0.7.5"
+buffer-crc32@~0.2.3:
+ version "0.2.13"
+ resolved "https://registry.yarnpkg.com/buffer-crc32/-/buffer-crc32-0.2.13.tgz#0d333e3f00eac50aa1454abd30ef8c2a5d9a7242"
+ integrity sha1-DTM+PwDqxQqhRUq9MO+MKl2ackI=
+
buffer-from@^1.0.0:
version "1.1.1"
resolved "https://registry.yarnpkg.com/buffer-from/-/buffer-from-1.1.1.tgz#32713bc028f75c02fdb710d7c7bcec1f2c6070ef"
@@ -2076,6 +2177,11 @@ cache-loader@^4.1.0:
neo-async "^2.6.1"
schema-utils "^2.0.0"
+cachedir@^2.3.0:
+ version "2.3.0"
+ resolved "https://registry.yarnpkg.com/cachedir/-/cachedir-2.3.0.tgz#0c75892a052198f0b21c7c1804d8331edfcae0e8"
+ integrity sha512-A+Fezp4zxnit6FanDmv9EqXNAi3vt9DWp51/71UEhXukb7QUuvtv9344h91dyAxuTLoSYJFU299qzR3tzwPAhw==
+
call-me-maybe@^1.0.1:
version "1.0.1"
resolved "https://registry.yarnpkg.com/call-me-maybe/-/call-me-maybe-1.0.1.tgz#26d208ea89e37b5cbde60250a15f031c16a4d66b"
@@ -2156,7 +2262,7 @@ caseless@~0.12.0:
resolved "https://registry.yarnpkg.com/caseless/-/caseless-0.12.0.tgz#1b681c21ff84033c826543090689420d187151dc"
integrity sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw=
-chalk@^1.1.1, chalk@^1.1.3:
+chalk@^1.0.0, chalk@^1.1.1, chalk@^1.1.3:
version "1.1.3"
resolved "https://registry.yarnpkg.com/chalk/-/chalk-1.1.3.tgz#a8115c55e4a702fe4d150abd3872822a7e09fc98"
integrity sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=
@@ -2184,11 +2290,24 @@ chalk@^3.0.0:
ansi-styles "^4.1.0"
supports-color "^7.1.0"
+chalk@^4.1.0:
+ version "4.1.0"
+ resolved "https://registry.yarnpkg.com/chalk/-/chalk-4.1.0.tgz#4e14870a618d9e2edd97dd8345fd9d9dc315646a"
+ integrity sha512-qwx12AxXe2Q5xQ43Ac//I6v5aXTipYrSESdOgzrN+9XjgEpyjpKuvSGaN4qE93f7TQTlerQQ8S+EQ0EyDoVL1A==
+ dependencies:
+ ansi-styles "^4.1.0"
+ supports-color "^7.1.0"
+
chardet@^0.7.0:
version "0.7.0"
resolved "https://registry.yarnpkg.com/chardet/-/chardet-0.7.0.tgz#90094849f0937f2eedc2425d0d28a9e5f0cbad9e"
integrity sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA==
+check-more-types@^2.24.0:
+ version "2.24.0"
+ resolved "https://registry.yarnpkg.com/check-more-types/-/check-more-types-2.24.0.tgz#1420ffb10fd444dcfc79b43891bbfffd32a84600"
+ integrity sha1-FCD/sQ/URNz8ebQ4kbv//TKoRgA=
+
check-types@^8.0.3:
version "8.0.3"
resolved "https://registry.yarnpkg.com/check-types/-/check-types-8.0.3.tgz#3356cca19c889544f2d7a95ed49ce508a0ecf552"
@@ -2245,6 +2364,11 @@ ci-info@^1.5.0:
resolved "https://registry.yarnpkg.com/ci-info/-/ci-info-1.6.0.tgz#2ca20dbb9ceb32d4524a683303313f0304b1e497"
integrity sha512-vsGdkwSCDpWmP80ncATX7iea5DWQemg1UgCW5J8tqjU3lYw4FBYuj89J0CTVomA7BEfvSZd84GmHko+MxFQU2A==
+ci-info@^2.0.0:
+ version "2.0.0"
+ resolved "https://registry.yarnpkg.com/ci-info/-/ci-info-2.0.0.tgz#67a9e964be31a51e15e5010d58e6f12834002f46"
+ integrity sha512-5tK7EtrZ0N+OLFMthtqOj4fI2Jeb88C4CAZPu25LDVUgXJ0A3Js4PMGqrn0JU1W0Mh1/Z8wZzYPxqUrXeBboCQ==
+
cipher-base@^1.0.0, cipher-base@^1.0.1, cipher-base@^1.0.3:
version "1.0.4"
resolved "https://registry.yarnpkg.com/cipher-base/-/cipher-base-1.0.4.tgz#8760e4ecc272f4c363532f926d874aae2c1397de"
@@ -2275,7 +2399,14 @@ clean-stack@^2.0.0:
resolved "https://registry.yarnpkg.com/clean-stack/-/clean-stack-2.2.0.tgz#ee8472dbb129e727b31e8a10a427dee9dfe4008b"
integrity sha512-4diC9HaTE+KRAMWhDhrGOECgWZxoevMc5TlkObMqNSsVU62PYzXZ/SMTjzyGAFF1YusgxGcSWTEXBhp0CPwQ1A==
-cli-cursor@^2.1.0:
+cli-cursor@^1.0.2:
+ version "1.0.2"
+ resolved "https://registry.yarnpkg.com/cli-cursor/-/cli-cursor-1.0.2.tgz#64da3f7d56a54412e59794bd62dc35295e8f2987"
+ integrity sha1-ZNo/fValRBLll5S9Ytw1KV6PKYc=
+ dependencies:
+ restore-cursor "^1.0.1"
+
+cli-cursor@^2.0.0, cli-cursor@^2.1.0:
version "2.1.0"
resolved "https://registry.yarnpkg.com/cli-cursor/-/cli-cursor-2.1.0.tgz#b35dac376479facc3e94747d41d0d0f5238ffcb5"
integrity sha1-s12sN2R5+sw+lHR9QdDQ9SOP/LU=
@@ -2306,6 +2437,24 @@ cli-spinners@^2.0.0:
resolved "https://registry.yarnpkg.com/cli-spinners/-/cli-spinners-2.3.0.tgz#0632239a4b5aa4c958610142c34bb7a651fc8df5"
integrity sha512-Xs2Hf2nzrvJMFKimOR7YR0QwZ8fc0u98kdtwN1eNAZzNQgH3vK2pXzff6GJtKh7S5hoJ87ECiAiZFS2fb5Ii2w==
+cli-table3@~0.6.0:
+ version "0.6.0"
+ resolved "https://registry.yarnpkg.com/cli-table3/-/cli-table3-0.6.0.tgz#b7b1bc65ca8e7b5cef9124e13dc2b21e2ce4faee"
+ integrity sha512-gnB85c3MGC7Nm9I/FkiasNBOKjOiO1RNuXXarQms37q4QMpWdlbBgD/VnOStA2faG1dpXMv31RFApjX1/QdgWQ==
+ dependencies:
+ object-assign "^4.1.0"
+ string-width "^4.2.0"
+ optionalDependencies:
+ colors "^1.1.2"
+
+cli-truncate@^0.2.1:
+ version "0.2.1"
+ resolved "https://registry.yarnpkg.com/cli-truncate/-/cli-truncate-0.2.1.tgz#9f15cfbb0705005369216c626ac7d05ab90dd574"
+ integrity sha1-nxXPuwcFAFNpIWxiasfQWrkN1XQ=
+ dependencies:
+ slice-ansi "0.0.4"
+ string-width "^1.0.1"
+
cli-width@^2.0.0:
version "2.2.1"
resolved "https://registry.yarnpkg.com/cli-width/-/cli-width-2.2.1.tgz#b0433d0b4e9c847ef18868a4ef16fd5fc8271c48"
@@ -2436,6 +2585,11 @@ color@^3.0.0:
color-convert "^1.9.1"
color-string "^1.5.2"
+colors@^1.1.2:
+ version "1.4.0"
+ resolved "https://registry.yarnpkg.com/colors/-/colors-1.4.0.tgz#c50491479d4c1bdaed2c9ced32cf7c7dc2360f78"
+ integrity sha512-a+UqTh4kgZg/SlGvfbzDHpgRu7AAQOmmqRHJnxhRZICKFUT91brVhNNt58CMWU9PsBbv3PDCZUHbVxuDiH2mtA==
+
combined-stream@^1.0.6, combined-stream@~1.0.6:
version "1.0.8"
resolved "https://registry.yarnpkg.com/combined-stream/-/combined-stream-1.0.8.tgz#c3d45a8b34fd730631a110a8a2520682b31d5a7f"
@@ -2453,11 +2607,21 @@ [email protected]:
resolved "https://registry.yarnpkg.com/commander/-/commander-2.17.1.tgz#bd77ab7de6de94205ceacc72f1716d29f20a77bf"
integrity sha512-wPMUt6FnH2yzG95SA6mzjQOEKUU3aLaDEmzs1ti+1E9h+CsrZghRlqEM/EJ4KscsQVG8uNN4uVreUeT8+drlgg==
+commander@^5.1.0:
+ version "5.1.0"
+ resolved "https://registry.yarnpkg.com/commander/-/commander-5.1.0.tgz#46abbd1652f8e059bddaef99bbdcb2ad9cf179ae"
+ integrity sha512-P0CysNDQ7rtVw4QIQtm+MRxV66vKFSvlsQvGYXZWR3qFU0jlMKHZZZgw8e+8DSah4UDKMqnknRDQz+xuQXQ/Zg==
+
commander@~2.19.0:
version "2.19.0"
resolved "https://registry.yarnpkg.com/commander/-/commander-2.19.0.tgz#f6198aa84e5b83c46054b94ddedbfed5ee9ff12a"
integrity sha512-6tvAOO+D6OENvRAh524Dh9jcfKTYDQAqvqezbCW82xj5X0pSrcpxtvRKHLG0yBY6SD7PSDrJaj+0AiOcKVd1Xg==
+common-tags@^1.8.0:
+ version "1.8.0"
+ resolved "https://registry.yarnpkg.com/common-tags/-/common-tags-1.8.0.tgz#8e3153e542d4a39e9b10554434afaaf98956a937"
+ integrity sha512-6P6g0uetGpW/sdyUy/iQQCbFF0kWVMSIVSyYz7Zgjcgh8mgw8PQzDNZeyZ5DQ2gM7LBoZPHmnjz8rUthkBG5tw==
+
commondir@^1.0.1:
version "1.0.1"
resolved "https://registry.yarnpkg.com/commondir/-/commondir-1.0.1.tgz#ddd800da0c66127393cca5950ea968a3aaf1253b"
@@ -2493,7 +2657,7 @@ [email protected]:
resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b"
integrity sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=
-concat-stream@^1.5.0:
+concat-stream@^1.5.0, concat-stream@^1.6.2:
version "1.6.2"
resolved "https://registry.yarnpkg.com/concat-stream/-/concat-stream-1.6.2.tgz#904bdf194cd3122fc675c77fc4ac3d4ff0fd1a34"
integrity sha512-27HBghJxjiZtIk3Ycvn/4kbJk/1uZuJFfuPEns6LaEvpvG1f0hTea8lilrouyo9mVc2GWdcEZ8OLoGmSADlrCw==
@@ -2892,6 +3056,59 @@ cyclist@^1.0.1:
resolved "https://registry.yarnpkg.com/cyclist/-/cyclist-1.0.1.tgz#596e9698fd0c80e12038c2b82d6eb1b35b6224d9"
integrity sha1-WW6WmP0MgOEgOMK4LW6xs1tiJNk=
+cypress-file-upload@^5.0.2:
+ version "5.0.3"
+ resolved "https://registry.yarnpkg.com/cypress-file-upload/-/cypress-file-upload-5.0.3.tgz#e2b90ac523b254074a61acd30f8fc92abd5a35ba"
+ integrity sha512-MEwXssCtcTbmcay2SJW+evwbgT4fEXns2pSBOqto9L50/QWl7llgrzRbC4Tl0b9q4w6hfs/X42gDCqmNrmZctA==
+ dependencies:
+ mime "^2.5.0"
+
+cypress@^6.4.0:
+ version "6.8.0"
+ resolved "https://registry.yarnpkg.com/cypress/-/cypress-6.8.0.tgz#8338f39212a8f71e91ff8c017a1b6e22d823d8c1"
+ integrity sha512-W2e9Oqi7DmF48QtOD0LfsOLVq6ef2hcXZvJXI/E3PgFNmZXEVwBefhAxVCW9yTPortjYA2XkM20KyC4HRkOm9w==
+ dependencies:
+ "@cypress/listr-verbose-renderer" "^0.4.1"
+ "@cypress/request" "^2.88.5"
+ "@cypress/xvfb" "^1.2.4"
+ "@types/node" "12.12.50"
+ "@types/sinonjs__fake-timers" "^6.0.1"
+ "@types/sizzle" "^2.3.2"
+ arch "^2.1.2"
+ blob-util "2.0.2"
+ bluebird "^3.7.2"
+ cachedir "^2.3.0"
+ chalk "^4.1.0"
+ check-more-types "^2.24.0"
+ cli-table3 "~0.6.0"
+ commander "^5.1.0"
+ common-tags "^1.8.0"
+ dayjs "^1.9.3"
+ debug "4.3.2"
+ eventemitter2 "^6.4.2"
+ execa "^4.0.2"
+ executable "^4.1.1"
+ extract-zip "^1.7.0"
+ fs-extra "^9.0.1"
+ getos "^3.2.1"
+ is-ci "^2.0.0"
+ is-installed-globally "^0.3.2"
+ lazy-ass "^1.6.0"
+ listr "^0.14.3"
+ lodash "^4.17.19"
+ log-symbols "^4.0.0"
+ minimist "^1.2.5"
+ moment "^2.29.1"
+ ospath "^1.2.2"
+ pretty-bytes "^5.4.1"
+ ramda "~0.27.1"
+ request-progress "^3.0.0"
+ supports-color "^7.2.0"
+ tmp "~0.2.1"
+ untildify "^4.0.0"
+ url "^0.11.0"
+ yauzl "^2.10.0"
+
d3-array@1, d3-array@^1.1.1, d3-array@^1.2.0:
version "1.2.4"
resolved "https://registry.yarnpkg.com/d3-array/-/d3-array-1.2.4.tgz#635ce4d5eea759f6f605863dbcfc30edc737f71f"
@@ -3147,11 +3364,21 @@ dashdash@^1.12.0:
dependencies:
assert-plus "^1.0.0"
+date-fns@^1.27.2:
+ version "1.30.1"
+ resolved "https://registry.yarnpkg.com/date-fns/-/date-fns-1.30.1.tgz#2e71bf0b119153dbb4cc4e88d9ea5acfb50dc05c"
+ integrity sha512-hBSVCvSmWC+QypYObzwGOd9wqdDpOt+0wl0KbU+R+uuZBS1jN8VsD1ss3irQDknRj5NvxiTF6oj/nDRnN/UQNw==
+
dayjs@^1.8.28:
version "1.8.28"
resolved "https://registry.yarnpkg.com/dayjs/-/dayjs-1.8.28.tgz#37aa6201df483d089645cb6c8f6cef6f0c4dbc07"
integrity sha512-ccnYgKC0/hPSGXxj7Ju6AV/BP4HUkXC2u15mikXT5mX9YorEaoi1bEKOmAqdkJHN4EEkmAf97SpH66Try5Mbeg==
+dayjs@^1.9.3:
+ version "1.10.4"
+ resolved "https://registry.yarnpkg.com/dayjs/-/dayjs-1.10.4.tgz#8e544a9b8683f61783f570980a8a80eaf54ab1e2"
+ integrity sha512-RI/Hh4kqRc1UKLOAf/T5zdMMX5DQIlDxwUe3wSyMMnEbGunnpENCdbUgM+dW7kXidZqCttBrmw7BhN4TMddkCw==
+
de-indent@^1.0.2:
version "1.0.2"
resolved "https://registry.yarnpkg.com/de-indent/-/de-indent-1.0.2.tgz#b2038e846dc33baa5796128d0804b455b8c1e21d"
@@ -3164,6 +3391,20 @@ [email protected], debug@^2.2.0, debug@^2.3.3, debug@^2.6.8, debug@^2.6.9:
dependencies:
ms "2.0.0"
+ version "4.3.2"
+ resolved "https://registry.yarnpkg.com/debug/-/debug-4.3.2.tgz#f0a49c18ac8779e31d4a0c6029dfb76873c7428b"
+ integrity sha512-mOp8wKcvj7XxC78zLgw/ZA+6TSgkoE2C/ienthhRD298T7UNwAg9diBpLRxC0mOezLl4B0xV7M0cCO6P/O0Xhw==
+ dependencies:
+ ms "2.1.2"
+
+debug@^3.1.0:
+ version "3.2.7"
+ resolved "https://registry.yarnpkg.com/debug/-/debug-3.2.7.tgz#72580b7e9145fb39b6676f9c5e5fb100b934179a"
+ integrity sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==
+ dependencies:
+ ms "^2.1.1"
+
debug@^3.1.1, debug@^3.2.5:
version "3.2.6"
resolved "https://registry.yarnpkg.com/debug/-/debug-3.2.6.tgz#e83d17de16d8a7efb7717edbe5fb10135eee629b"
@@ -3476,6 +3717,11 @@ electron-to-chromium@^1.3.413:
resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.462.tgz#82087404c20ed664963ececab23337ac7a150e21"
integrity sha512-HST/xWLOeA0LGUhxBqvcPDDUGHjB6rn99VBgPWmaHv+zqwXgOaZO5RnRcd5owjRE7nh+z1c0SwcK8qP8o7sofg==
+elegant-spinner@^1.0.1:
+ version "1.0.1"
+ resolved "https://registry.yarnpkg.com/elegant-spinner/-/elegant-spinner-1.0.1.tgz#db043521c95d7e303fd8f345bedc3349cfb0729e"
+ integrity sha1-2wQ1IcldfjA/2PNFvtwzSc+wcp4=
+
elliptic@^6.0.0, elliptic@^6.5.2, elliptic@^6.5.4:
version "6.5.4"
resolved "https://registry.yarnpkg.com/elliptic/-/elliptic-6.5.4.tgz#da37cebd31e79a1367e941b592ed1fbebd58abbb"
@@ -3809,6 +4055,11 @@ [email protected]:
resolved "https://registry.yarnpkg.com/event-pubsub/-/event-pubsub-4.3.0.tgz#f68d816bc29f1ec02c539dc58c8dd40ce72cb36e"
integrity sha512-z7IyloorXvKbFx9Bpie2+vMJKKx1fH1EN5yiTfp8CiLOTptSYy1g8H4yDpGlEdshL1PBiFtBHepF2cNsqeEeFQ==
+eventemitter2@^6.4.2:
+ version "6.4.4"
+ resolved "https://registry.yarnpkg.com/eventemitter2/-/eventemitter2-6.4.4.tgz#aa96e8275c4dbeb017a5d0e03780c65612a1202b"
+ integrity sha512-HLU3NDY6wARrLCEwyGKRBvuWYyvW6mHYv72SJJAH3iJN3a6eVUvkjFkcxah1bcTgGVBBrFdIopBJPhCQFMLyXw==
+
eventemitter3@^2.0.3:
version "2.0.3"
resolved "https://registry.yarnpkg.com/eventemitter3/-/eventemitter3-2.0.3.tgz#b5e1079b59fb5e1ba2771c0a993be060a58c99ba"
@@ -3881,6 +4132,33 @@ execa@^3.3.0:
signal-exit "^3.0.2"
strip-final-newline "^2.0.0"
+execa@^4.0.2:
+ version "4.1.0"
+ resolved "https://registry.yarnpkg.com/execa/-/execa-4.1.0.tgz#4e5491ad1572f2f17a77d388c6c857135b22847a"
+ integrity sha512-j5W0//W7f8UxAn8hXVnwG8tLwdiUy4FJLcSupCg6maBYZDpyBvTApK7KyuI4bKj8KOh1r2YH+6ucuYtJv1bTZA==
+ dependencies:
+ cross-spawn "^7.0.0"
+ get-stream "^5.0.0"
+ human-signals "^1.1.1"
+ is-stream "^2.0.0"
+ merge-stream "^2.0.0"
+ npm-run-path "^4.0.0"
+ onetime "^5.1.0"
+ signal-exit "^3.0.2"
+ strip-final-newline "^2.0.0"
+
+executable@^4.1.1:
+ version "4.1.1"
+ resolved "https://registry.yarnpkg.com/executable/-/executable-4.1.1.tgz#41532bff361d3e57af4d763b70582db18f5d133c"
+ integrity sha512-8iA79xD3uAch729dUG8xaaBBFGaEa0wdD2VkYLFHwlqosEj/jT66AzcreRDSgV7ehnNLBW2WR5jIXwGKjVdTLg==
+ dependencies:
+ pify "^2.2.0"
+
+exit-hook@^1.0.0:
+ version "1.1.1"
+ resolved "https://registry.yarnpkg.com/exit-hook/-/exit-hook-1.1.1.tgz#f05ca233b48c05d54fff07765df8507e95c02ff8"
+ integrity sha1-8FyiM7SMBdVP/wd2XfhQfpXAL/g=
+
expand-brackets@^2.1.4:
version "2.1.4"
resolved "https://registry.yarnpkg.com/expand-brackets/-/expand-brackets-2.1.4.tgz#b77735e315ce30f6b6eff0f83b04151a22449622"
@@ -3973,6 +4251,16 @@ extglob@^2.0.4:
snapdragon "^0.8.1"
to-regex "^3.0.1"
+extract-zip@^1.7.0:
+ version "1.7.0"
+ resolved "https://registry.yarnpkg.com/extract-zip/-/extract-zip-1.7.0.tgz#556cc3ae9df7f452c493a0cfb51cc30277940927"
+ integrity sha512-xoh5G1W/PB0/27lXgMQyIhP5DSY/LhoCsOyZgb+6iMmRtCwVBo55uKaMoEYrDCKQhWvqEip5ZPKAc6eFNyf/MA==
+ dependencies:
+ concat-stream "^1.6.2"
+ debug "^2.6.9"
+ mkdirp "^0.5.4"
+ yauzl "^2.10.0"
+
version "1.3.0"
resolved "https://registry.yarnpkg.com/extsprintf/-/extsprintf-1.3.0.tgz#96918440e3041a7a414f8c52e3c574eb3c3e1e05"
@@ -4034,11 +4322,33 @@ faye-websocket@~0.11.1:
dependencies:
websocket-driver ">=0.5.1"
+fd-slicer@~1.1.0:
+ version "1.1.0"
+ resolved "https://registry.yarnpkg.com/fd-slicer/-/fd-slicer-1.1.0.tgz#25c7c89cb1f9077f8891bbe61d8f390eae256f1e"
+ integrity sha1-JcfInLH5B3+IkbvmHY85Dq4lbx4=
+ dependencies:
+ pend "~1.2.0"
+
figgy-pudding@^3.5.1:
version "3.5.2"
resolved "https://registry.yarnpkg.com/figgy-pudding/-/figgy-pudding-3.5.2.tgz#b4eee8148abb01dcf1d1ac34367d59e12fa61d6e"
integrity sha512-0btnI/H8f2pavGMN8w40mlSKOfTK2SVJmBfBeVIj3kNw0swwgzyRq0d5TJVOwodFmtvpPeWPN/MCcfuWF0Ezbw==
+figures@^1.7.0:
+ version "1.7.0"
+ resolved "https://registry.yarnpkg.com/figures/-/figures-1.7.0.tgz#cbe1e3affcf1cd44b80cadfed28dc793a9701d2e"
+ integrity sha1-y+Hjr/zxzUS4DK3+0o3Hk6lwHS4=
+ dependencies:
+ escape-string-regexp "^1.0.5"
+ object-assign "^4.1.0"
+
+figures@^2.0.0:
+ version "2.0.0"
+ resolved "https://registry.yarnpkg.com/figures/-/figures-2.0.0.tgz#3ab1a2d2a62c8bfb431a0c94cb797a2fce27c962"
+ integrity sha1-OrGi0qYsi/tDGgyUy3l6L84nyWI=
+ dependencies:
+ escape-string-regexp "^1.0.5"
+
figures@^3.0.0:
version "3.2.0"
resolved "https://registry.yarnpkg.com/figures/-/figures-3.2.0.tgz#625c18bd293c604dc4a8ddb2febf0c88341746af"
@@ -4243,6 +4553,16 @@ fs-extra@^7.0.1:
jsonfile "^4.0.0"
universalify "^0.1.0"
+fs-extra@^9.0.1:
+ version "9.1.0"
+ resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-9.1.0.tgz#5954460c764a8da2094ba3554bf839e6b9a7c86d"
+ integrity sha512-hcg3ZmepS30/7BSFqRvoo3DOMQu7IjqxO5nCDt+zM9XWjb33Wg7ziNT+Qvqbuc3+gWpzO02JubVyk2G4Zvo1OQ==
+ dependencies:
+ at-least-node "^1.0.0"
+ graceful-fs "^4.2.0"
+ jsonfile "^6.0.1"
+ universalify "^2.0.0"
+
fs-minipass@^2.0.0:
version "2.1.0"
resolved "https://registry.yarnpkg.com/fs-minipass/-/fs-minipass-2.1.0.tgz#7f5036fdbf12c63c169190cbe4199c852271f9fb"
@@ -4358,6 +4678,13 @@ get-value@^2.0.3, get-value@^2.0.6:
resolved "https://registry.yarnpkg.com/get-value/-/get-value-2.0.6.tgz#dc15ca1c672387ca76bd37ac0a395ba2042a2c28"
integrity sha1-3BXKHGcjh8p2vTesCjlbogQqLCg=
+getos@^3.2.1:
+ version "3.2.1"
+ resolved "https://registry.yarnpkg.com/getos/-/getos-3.2.1.tgz#0134d1f4e00eb46144c5a9c0ac4dc087cbb27dc5"
+ integrity sha512-U56CfOK17OKgTVqozZjUKNdkfEv6jk5WISBJ8SHoagjE6L69zOwl3Z+O8myjY9MEW3i2HPWQBt/LTbCgcC973Q==
+ dependencies:
+ async "^3.2.0"
+
getpass@^0.1.1:
version "0.1.7"
resolved "https://registry.yarnpkg.com/getpass/-/getpass-0.1.7.tgz#5eff8e3e684d569ae4cb2b1282604e8ba62149fa"
@@ -4397,6 +4724,13 @@ glob@^7.0.0, glob@^7.0.3, glob@^7.1.2, glob@^7.1.3, glob@^7.1.4, glob@~7.1.1:
once "^1.3.0"
path-is-absolute "^1.0.0"
+global-dirs@^2.0.1:
+ version "2.1.0"
+ resolved "https://registry.yarnpkg.com/global-dirs/-/global-dirs-2.1.0.tgz#e9046a49c806ff04d6c1825e196c8f0091e8df4d"
+ integrity sha512-MG6kdOUh/xBnyo9cJFeIKkLEc1AyFq42QTU4XiX51i2NEdxLxLWXIjEjmqKeSuKR7pAZjTqUVoT2b2huxVLgYQ==
+ dependencies:
+ ini "1.3.7"
+
globals@^11.1.0:
version "11.12.0"
resolved "https://registry.yarnpkg.com/globals/-/globals-11.12.0.tgz#ab8795338868a0babd8525758018c2a7eb95c42e"
@@ -4467,6 +4801,11 @@ graceful-fs@^4.1.11, graceful-fs@^4.1.15, graceful-fs@^4.1.2, graceful-fs@^4.1.6
resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.4.tgz#2256bde14d3632958c465ebc96dc467ca07a29fb"
integrity sha512-WjKPNJF79dtJAVniUlGGWHYGz2jWxT6VhN/4m1NdkbZ2nOsEF+cI1Edgql5zCRhs/VsQYRvrXctxktVXZUkixw==
+graceful-fs@^4.2.0:
+ version "4.2.6"
+ resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.6.tgz#ff040b2b0853b23c3d31027523706f1885d76bee"
+ integrity sha512-nTnJ528pbqxYanhpDYsi4Rd8MAeaBA67+RZ10CM1m3bTAVFEDcd5AuA4a6W5YkGZ1iNXHzZz8T6TBKLeBuNriQ==
+
gzip-size@^5.0.0:
version "5.1.1"
resolved "https://registry.yarnpkg.com/gzip-size/-/gzip-size-5.1.1.tgz#cb9bee692f87c0612b232840a873904e4c135274"
@@ -4866,6 +5205,11 @@ indent-string@^2.1.0:
dependencies:
repeating "^2.0.0"
+indent-string@^3.0.0:
+ version "3.2.0"
+ resolved "https://registry.yarnpkg.com/indent-string/-/indent-string-3.2.0.tgz#4a5fd6d27cc332f37e5419a504dbb837105c9289"
+ integrity sha1-Sl/W0nzDMvN+VBmlBNu4NxBckok=
+
indent-string@^4.0.0:
version "4.0.0"
resolved "https://registry.yarnpkg.com/indent-string/-/indent-string-4.0.0.tgz#624f8f4497d619b2d9768531d58f4122854d7251"
@@ -4904,6 +5248,11 @@ [email protected]:
resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.3.tgz#633c2c83e3da42a502f52466022480f4208261de"
integrity sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4=
+ version "1.3.7"
+ resolved "https://registry.yarnpkg.com/ini/-/ini-1.3.7.tgz#a09363e1911972ea16d7a8851005d84cf09a9a84"
+ integrity sha512-iKpRpXP+CrP2jyrxvg1kMUpXDyRUFDWurxbnVT1vQPx+Wz9uCYsMIqYuSBLV+PAaZG/d7kRLKRFc9oDMsH+mFQ==
+
inquirer@^7.0.0, inquirer@^7.1.0:
version "7.1.0"
resolved "https://registry.yarnpkg.com/inquirer/-/inquirer-7.1.0.tgz#1298a01859883e17c7264b82870ae1034f92dd29"
@@ -5028,6 +5377,13 @@ is-ci@^1.0.10:
dependencies:
ci-info "^1.5.0"
+is-ci@^2.0.0:
+ version "2.0.0"
+ resolved "https://registry.yarnpkg.com/is-ci/-/is-ci-2.0.0.tgz#6bc6334181810e04b5c22b3d589fdca55026404c"
+ integrity sha512-YfJT7rkpQB0updsdHLGWrvhBJfcfzNNawYDNIyQXJz0IViGf75O8EBPKSdvw2rF+LGCsX4FZ8tcr3b19LcZq4w==
+ dependencies:
+ ci-info "^2.0.0"
+
is-color-stop@^1.0.0:
version "1.1.0"
resolved "https://registry.yarnpkg.com/is-color-stop/-/is-color-stop-1.1.0.tgz#cfff471aee4dd5c9e158598fbe12967b5cdad345"
@@ -5140,6 +5496,14 @@ is-glob@^4.0.0, is-glob@^4.0.1, is-glob@~4.0.1:
dependencies:
is-extglob "^2.1.1"
+is-installed-globally@^0.3.2:
+ version "0.3.2"
+ resolved "https://registry.yarnpkg.com/is-installed-globally/-/is-installed-globally-0.3.2.tgz#fd3efa79ee670d1187233182d5b0a1dd00313141"
+ integrity sha512-wZ8x1js7Ia0kecP/CHM/3ABkAmujX7WPvQk6uu3Fly/Mk44pySulQpnHG46OMjHGXApINnV4QhY3SWnECO2z5g==
+ dependencies:
+ global-dirs "^2.0.1"
+ is-path-inside "^3.0.1"
+
is-number@^3.0.0:
version "3.0.0"
resolved "https://registry.yarnpkg.com/is-number/-/is-number-3.0.0.tgz#24fd6201a4782cf50561c810276afc7d12d71195"
@@ -5157,6 +5521,13 @@ is-obj@^2.0.0:
resolved "https://registry.yarnpkg.com/is-obj/-/is-obj-2.0.0.tgz#473fb05d973705e3fd9620545018ca8e22ef4982"
integrity sha512-drqDG3cbczxxEJRoOXcOjtdp1J/lyp1mNn0xaznRs8+muBhgQcrnbspox5X5fOw0HnMnbfDzvnEMEtqDEJEo8w==
+is-observable@^1.1.0:
+ version "1.1.0"
+ resolved "https://registry.yarnpkg.com/is-observable/-/is-observable-1.1.0.tgz#b3e986c8f44de950867cab5403f5a3465005975e"
+ integrity sha512-NqCa4Sa2d+u7BWc6CukaObG3Fh+CU9bvixbpcXYhy2VvYS7vVGIdAgnIS5Ks3A/cqk4rebLJ9s8zBstT2aKnIA==
+ dependencies:
+ symbol-observable "^1.1.0"
+
is-path-cwd@^2.0.0:
version "2.2.0"
resolved "https://registry.yarnpkg.com/is-path-cwd/-/is-path-cwd-2.2.0.tgz#67d43b82664a7b5191fd9119127eb300048a9fdb"
@@ -5176,6 +5547,11 @@ is-path-inside@^2.1.0:
dependencies:
path-is-inside "^1.0.2"
+is-path-inside@^3.0.1:
+ version "3.0.3"
+ resolved "https://registry.yarnpkg.com/is-path-inside/-/is-path-inside-3.0.3.tgz#d231362e53a07ff2b0e0ea7fed049161ffd16283"
+ integrity sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ==
+
is-plain-obj@^1.0.0:
version "1.1.0"
resolved "https://registry.yarnpkg.com/is-plain-obj/-/is-plain-obj-1.1.0.tgz#71a50c8429dfca773c92a390a4a03b39fcd51d3e"
@@ -5188,6 +5564,11 @@ is-plain-object@^2.0.3, is-plain-object@^2.0.4:
dependencies:
isobject "^3.0.1"
+is-promise@^2.1.0:
+ version "2.2.2"
+ resolved "https://registry.yarnpkg.com/is-promise/-/is-promise-2.2.2.tgz#39ab959ccbf9a774cf079f7b40c7a26f763135f1"
+ integrity sha512-+lP4/6lKUBfQjZ2pdxThZvLUAafmZb8OAxFb8XXtiQmS35INgr85hdOGoEs124ez1FCnZJt6jau/T+alh58QFQ==
+
is-regex@^1.0.4, is-regex@^1.0.5:
version "1.1.0"
resolved "https://registry.yarnpkg.com/is-regex/-/is-regex-1.1.0.tgz#ece38e389e490df0dc21caea2bd596f987f767ff"
@@ -5234,6 +5615,11 @@ is-typedarray@~1.0.0:
resolved "https://registry.yarnpkg.com/is-typedarray/-/is-typedarray-1.0.0.tgz#e479c80858df0c1b11ddda6940f96011fcda4a9a"
integrity sha1-5HnICFjfDBsR3dppQPlgEfzaSpo=
+is-unicode-supported@^0.1.0:
+ version "0.1.0"
+ resolved "https://registry.yarnpkg.com/is-unicode-supported/-/is-unicode-supported-0.1.0.tgz#3f26c76a809593b52bfa2ecb5710ed2779b522a7"
+ integrity sha512-knxG2q4UC3u8stRGyAVJCOdxFmv5DZiRcdlIaAQXAbSfJya+OhopNotLQrstBhququ4ZpuKbDc/8S6mgXgPFPw==
+
is-utf8@^0.2.0:
version "0.2.1"
resolved "https://registry.yarnpkg.com/is-utf8/-/is-utf8-0.2.1.tgz#4b0da1442104d1b336340e80797e865cf39f7d72"
@@ -5397,6 +5783,15 @@ jsonfile@^4.0.0:
optionalDependencies:
graceful-fs "^4.1.6"
+jsonfile@^6.0.1:
+ version "6.1.0"
+ resolved "https://registry.yarnpkg.com/jsonfile/-/jsonfile-6.1.0.tgz#bc55b2634793c679ec6403094eb13698a6ec0aae"
+ integrity sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==
+ dependencies:
+ universalify "^2.0.0"
+ optionalDependencies:
+ graceful-fs "^4.1.6"
+
jsprim@^1.2.2:
version "1.4.1"
resolved "https://registry.yarnpkg.com/jsprim/-/jsprim-1.4.1.tgz#313e66bc1e5cc06e438bc1b7499c2e5c56acb6a2"
@@ -5451,6 +5846,11 @@ launch-editor@^2.2.1:
chalk "^2.3.0"
shell-quote "^1.6.1"
+lazy-ass@^1.6.0:
+ version "1.6.0"
+ resolved "https://registry.yarnpkg.com/lazy-ass/-/lazy-ass-1.6.0.tgz#7999655e8646c17f089fdd187d150d3324d54513"
+ integrity sha1-eZllXoZGwX8In90YfRUNMyTVRRM=
+
leven@^3.1.0:
version "3.1.0"
resolved "https://registry.yarnpkg.com/leven/-/leven-3.1.0.tgz#77891de834064cccba82ae7842bb6b14a13ed7f2"
@@ -5476,6 +5876,50 @@ lines-and-columns@^1.1.6:
resolved "https://registry.yarnpkg.com/lines-and-columns/-/lines-and-columns-1.1.6.tgz#1c00c743b433cd0a4e80758f7b64a57440d9ff00"
integrity sha1-HADHQ7QzzQpOgHWPe2SldEDZ/wA=
+listr-silent-renderer@^1.1.1:
+ version "1.1.1"
+ resolved "https://registry.yarnpkg.com/listr-silent-renderer/-/listr-silent-renderer-1.1.1.tgz#924b5a3757153770bf1a8e3fbf74b8bbf3f9242e"
+ integrity sha1-kktaN1cVN3C/Go4/v3S4u/P5JC4=
+
+listr-update-renderer@^0.5.0:
+ version "0.5.0"
+ resolved "https://registry.yarnpkg.com/listr-update-renderer/-/listr-update-renderer-0.5.0.tgz#4ea8368548a7b8aecb7e06d8c95cb45ae2ede6a2"
+ integrity sha512-tKRsZpKz8GSGqoI/+caPmfrypiaq+OQCbd+CovEC24uk1h952lVj5sC7SqyFUm+OaJ5HN/a1YLt5cit2FMNsFA==
+ dependencies:
+ chalk "^1.1.3"
+ cli-truncate "^0.2.1"
+ elegant-spinner "^1.0.1"
+ figures "^1.7.0"
+ indent-string "^3.0.0"
+ log-symbols "^1.0.2"
+ log-update "^2.3.0"
+ strip-ansi "^3.0.1"
+
+listr-verbose-renderer@^0.5.0:
+ version "0.5.0"
+ resolved "https://registry.yarnpkg.com/listr-verbose-renderer/-/listr-verbose-renderer-0.5.0.tgz#f1132167535ea4c1261102b9f28dac7cba1e03db"
+ integrity sha512-04PDPqSlsqIOaaaGZ+41vq5FejI9auqTInicFRndCBgE3bXG8D6W1I+mWhk+1nqbHmyhla/6BUrd5OSiHwKRXw==
+ dependencies:
+ chalk "^2.4.1"
+ cli-cursor "^2.1.0"
+ date-fns "^1.27.2"
+ figures "^2.0.0"
+
+listr@^0.14.3:
+ version "0.14.3"
+ resolved "https://registry.yarnpkg.com/listr/-/listr-0.14.3.tgz#2fea909604e434be464c50bddba0d496928fa586"
+ integrity sha512-RmAl7su35BFd/xoMamRjpIE4j3v+L28o8CT5YhAXQJm1fD+1l9ngXY8JAQRJ+tFK2i5njvi0iRUKV09vPwA0iA==
+ dependencies:
+ "@samverschueren/stream-to-observable" "^0.3.0"
+ is-observable "^1.1.0"
+ is-promise "^2.1.0"
+ is-stream "^1.1.0"
+ listr-silent-renderer "^1.1.1"
+ listr-update-renderer "^0.5.0"
+ listr-verbose-renderer "^0.5.0"
+ p-map "^2.0.0"
+ rxjs "^6.3.3"
+
load-json-file@^1.0.0:
version "1.1.0"
resolved "https://registry.yarnpkg.com/load-json-file/-/load-json-file-1.1.0.tgz#956905708d58b4bab4c2261b04f59f31c99374c0"
@@ -5582,6 +6026,11 @@ lodash.memoize@^4.1.2:
resolved "https://registry.yarnpkg.com/lodash.memoize/-/lodash.memoize-4.1.2.tgz#bcc6c49a42a2840ed997f323eada5ecd182e0bfe"
integrity sha1-vMbEmkKihA7Zl/Mj6tpezRguC/4=
+lodash.once@^4.1.1:
+ version "4.1.1"
+ resolved "https://registry.yarnpkg.com/lodash.once/-/lodash.once-4.1.1.tgz#0dd3971213c7c56df880977d504c88fb471a97ac"
+ integrity sha1-DdOXEhPHxW34gJd9UEyI+0cal6w=
+
lodash.transform@^4.6.0:
version "4.6.0"
resolved "https://registry.yarnpkg.com/lodash.transform/-/lodash.transform-4.6.0.tgz#12306422f63324aed8483d3f38332b5f670547a0"
@@ -5602,6 +6051,13 @@ lodash@^4.17.19:
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.19.tgz#e48ddedbe30b3321783c5b4301fbd353bc1e4a4b"
integrity sha512-JNvd8XER9GQX0v2qJgsaN/mzFCNA5BRe/j8JN9d+tWyGLSodKQHKFicdwNYzWwI3wjRnaKPsGj1XkBjx/F96DQ==
+log-symbols@^1.0.2:
+ version "1.0.2"
+ resolved "https://registry.yarnpkg.com/log-symbols/-/log-symbols-1.0.2.tgz#376ff7b58ea3086a0f09facc74617eca501e1a18"
+ integrity sha1-N2/3tY6jCGoPCfrMdGF+ylAeGhg=
+ dependencies:
+ chalk "^1.0.0"
+
log-symbols@^2.2.0:
version "2.2.0"
resolved "https://registry.yarnpkg.com/log-symbols/-/log-symbols-2.2.0.tgz#5740e1c5d6f0dfda4ad9323b5332107ef6b4c40a"
@@ -5609,6 +6065,23 @@ log-symbols@^2.2.0:
dependencies:
chalk "^2.0.1"
+log-symbols@^4.0.0:
+ version "4.1.0"
+ resolved "https://registry.yarnpkg.com/log-symbols/-/log-symbols-4.1.0.tgz#3fbdbb95b4683ac9fc785111e792e558d4abd503"
+ integrity sha512-8XPvpAA8uyhfteu8pIvQxpJZ7SYYdpUivZpGy6sFsBuKRY/7rQGavedeB8aK+Zkyq6upMFVL/9AW6vOYzfRyLg==
+ dependencies:
+ chalk "^4.1.0"
+ is-unicode-supported "^0.1.0"
+
+log-update@^2.3.0:
+ version "2.3.0"
+ resolved "https://registry.yarnpkg.com/log-update/-/log-update-2.3.0.tgz#88328fd7d1ce7938b29283746f0b1bc126b24708"
+ integrity sha1-iDKP19HOeTiykoN0bwsbwSayRwg=
+ dependencies:
+ ansi-escapes "^3.0.0"
+ cli-cursor "^2.0.0"
+ wrap-ansi "^3.0.1"
+
loglevel@^1.6.8:
version "1.6.8"
resolved "https://registry.yarnpkg.com/loglevel/-/loglevel-1.6.8.tgz#8a25fb75d092230ecd4457270d80b54e28011171"
@@ -5818,6 +6291,11 @@ mime@^2.4.4:
resolved "https://registry.yarnpkg.com/mime/-/mime-2.4.6.tgz#e5b407c90db442f2beb5b162373d07b69affa4d1"
integrity sha512-RZKhC3EmpBchfTGBVb8fb+RL2cWyw/32lshnsETttkBAyAUXSGHxbEJWWRXc751DrIxG1q04b8QwMbAwkRPpUA==
+mime@^2.5.0:
+ version "2.5.2"
+ resolved "https://registry.yarnpkg.com/mime/-/mime-2.5.2.tgz#6e3dc6cc2b9510643830e5f19d5cb753da5eeabe"
+ integrity sha512-tqkh47FzKeCPD2PUiPB6pkbMzsCasjxAfC62/Wap5qrUWcb+sFasXUC5I3gYM5iBM8v/Qpn4UK0x+j0iHyFPDg==
+
mimic-fn@^1.0.0:
version "1.2.0"
resolved "https://registry.yarnpkg.com/mimic-fn/-/mimic-fn-1.2.0.tgz#820c86a39334640e99516928bd03fca88057d022"
@@ -5912,13 +6390,18 @@ mixin-deep@^1.2.0:
for-in "^1.0.2"
is-extendable "^1.0.1"
-"mkdirp@>=0.5 0", mkdirp@^0.5.0, mkdirp@^0.5.1, mkdirp@^0.5.3, mkdirp@~0.5.1:
+"mkdirp@>=0.5 0", mkdirp@^0.5.0, mkdirp@^0.5.1, mkdirp@^0.5.3, mkdirp@^0.5.4, mkdirp@~0.5.1:
version "0.5.5"
resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-0.5.5.tgz#d91cefd62d1436ca0f41620e251288d420099def"
integrity sha512-NKmAlESf6jMGym1++R0Ra7wvhV+wFW63FaSOFPwRahvea0gMUcGUhVeAg/0BC0wiv9ih5NYPB1Wn1UEI1/L+xQ==
dependencies:
minimist "^1.2.5"
+moment@^2.29.1:
+ version "2.29.1"
+ resolved "https://registry.yarnpkg.com/moment/-/moment-2.29.1.tgz#b2be769fa31940be9eeea6469c075e35006fa3d3"
+ integrity sha512-kHmoybcPV8Sqy59DwNDY3Jefr64lK/by/da0ViFcuA4DH0vQg5Q6Ze5VimxkfQNSC+Mls/Kx53s7TjP1RhFEDQ==
+
move-concurrently@^1.0.1:
version "1.0.1"
resolved "https://registry.yarnpkg.com/move-concurrently/-/move-concurrently-1.0.1.tgz#be2c005fda32e0b29af1f05d7c4b33214c701f92"
@@ -5941,7 +6424,7 @@ [email protected]:
resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.1.tgz#30a5864eb3ebb0a66f2ebe6d727af06a09d86e0a"
integrity sha512-tgp+dl5cGk28utYktBsrFqA7HKgrhgPsg6Z/EfhWI4gl1Hwq8B/GmY/0oXZ6nF8hDVesS/FpnYaD/kOWhYQvyg==
-ms@^2.1.1:
[email protected], ms@^2.1.1:
version "2.1.2"
resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.2.tgz#d09d1f357b443f493382a8eb3ccd183872ae6009"
integrity sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==
@@ -6328,6 +6811,11 @@ once@^1.3.0, once@^1.3.1, once@^1.4.0:
dependencies:
wrappy "1"
+onetime@^1.0.0:
+ version "1.1.0"
+ resolved "https://registry.yarnpkg.com/onetime/-/onetime-1.1.0.tgz#a1f7838f8314c516f05ecefcbc4ccfe04b4ed789"
+ integrity sha1-ofeDj4MUxRbwXs78vEzP4EtO14k=
+
onetime@^2.0.0:
version "2.0.1"
resolved "https://registry.yarnpkg.com/onetime/-/onetime-2.0.1.tgz#067428230fd67443b2794b22bba528b6867962d4"
@@ -6415,6 +6903,11 @@ osenv@0:
os-homedir "^1.0.0"
os-tmpdir "^1.0.0"
+ospath@^1.2.2:
+ version "1.2.2"
+ resolved "https://registry.yarnpkg.com/ospath/-/ospath-1.2.2.tgz#1276639774a3f8ef2572f7fe4280e0ea4550c07b"
+ integrity sha1-EnZjl3Sj+O8lcvf+QoDg6kVQwHs=
+
p-finally@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/p-finally/-/p-finally-1.0.0.tgz#3fbcfb15b899a44123b34b6dcc18b724336a2cae"
@@ -6672,6 +7165,11 @@ pbkdf2@^3.0.3:
safe-buffer "^5.0.1"
sha.js "^2.4.8"
+pend@~1.2.0:
+ version "1.2.0"
+ resolved "https://registry.yarnpkg.com/pend/-/pend-1.2.0.tgz#7a57eb550a6783f9115331fcf4663d5c8e007a50"
+ integrity sha1-elfrVQpng/kRUzH89GY9XI4AelA=
+
performance-now@^2.1.0:
version "2.1.0"
resolved "https://registry.yarnpkg.com/performance-now/-/performance-now-2.1.0.tgz#6309f4e0e5fa913ec1c69307ae364b4b377c9e7b"
@@ -6682,7 +7180,7 @@ picomatch@^2.0.4, picomatch@^2.2.1:
resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-2.2.2.tgz#21f333e9b6b8eaff02468f5146ea406d345f4dad"
integrity sha512-q0M/9eZHzmr0AulXyPwNfZjtwZ/RBZlbN3K3CErVrk50T2ASYI7Bye0EvekFY3IP1Nt2DHu0re+V2ZHIpMkuWg==
-pify@^2.0.0:
+pify@^2.0.0, pify@^2.2.0:
version "2.3.0"
resolved "https://registry.yarnpkg.com/pify/-/pify-2.3.0.tgz#ed141a6ac043a849ea588498e7dca8b15330e90c"
integrity sha1-7RQaasBDqEnqWISY59yosVMw6Qw=
@@ -7115,6 +7613,11 @@ prettier@^1.18.2:
resolved "https://registry.yarnpkg.com/prettier/-/prettier-1.19.1.tgz#f7d7f5ff8a9cd872a7be4ca142095956a60797cb"
integrity sha512-s7PoyDv/II1ObgQunCbB9PdLmUcBZcnWOcxDh7O0N/UwDEsHyqkW+Qh28jW+mVuCdx7gLB0BotYI1Y6uI9iyew==
+pretty-bytes@^5.4.1:
+ version "5.6.0"
+ resolved "https://registry.yarnpkg.com/pretty-bytes/-/pretty-bytes-5.6.0.tgz#356256f643804773c82f64723fe78c92c62beaeb"
+ integrity sha512-FFw039TmrBqFK8ma/7OL3sDz/VytdtJr044/QUJtH0wK9lb9jLq9tJyIxUwtQJHwar2BqtiA4iCWSwo9JLkzFg==
+
pretty-error@^2.0.2:
version "2.1.1"
resolved "https://registry.yarnpkg.com/pretty-error/-/pretty-error-2.1.1.tgz#5f4f87c8f91e5ae3f3ba87ab4cf5e03b1a17f1a3"
@@ -7303,6 +7806,11 @@ quill@^1.3.4, quill@^1.3.7:
parchment "^1.1.4"
quill-delta "^3.6.2"
+ramda@~0.27.1:
+ version "0.27.1"
+ resolved "https://registry.yarnpkg.com/ramda/-/ramda-0.27.1.tgz#66fc2df3ef873874ffc2da6aa8984658abacf5c9"
+ integrity sha512-PgIdVpn5y5Yns8vqb8FzBUEYn98V3xcPgawAkkgj0YJ0qDsnHCiNmZYfOGMgOvoB0eWFLpYbhxUR3mxfDIMvpw==
+
randombytes@^2.0.0, randombytes@^2.0.1, randombytes@^2.0.5, randombytes@^2.1.0:
version "2.1.0"
resolved "https://registry.yarnpkg.com/randombytes/-/randombytes-2.1.0.tgz#df6f84372f0270dc65cdf6291349ab7a473d4f2a"
@@ -7531,6 +8039,13 @@ repeating@^2.0.0:
dependencies:
is-finite "^1.0.0"
+request-progress@^3.0.0:
+ version "3.0.0"
+ resolved "https://registry.yarnpkg.com/request-progress/-/request-progress-3.0.0.tgz#4ca754081c7fec63f505e4faa825aa06cd669dbe"
+ integrity sha1-TKdUCBx/7GP1BeT6qCWqBs1mnb4=
+ dependencies:
+ throttleit "^1.0.0"
+
version "1.1.3"
resolved "https://registry.yarnpkg.com/request-promise-core/-/request-promise-core-1.1.3.tgz#e9a3c081b51380dfea677336061fea879a829ee9"
@@ -7617,6 +8132,14 @@ resolve@^1.10.0, resolve@^1.12.0, resolve@^1.13.1, resolve@^1.3.2, resolve@^1.8.
dependencies:
path-parse "^1.0.6"
+restore-cursor@^1.0.1:
+ version "1.0.1"
+ resolved "https://registry.yarnpkg.com/restore-cursor/-/restore-cursor-1.0.1.tgz#34661f46886327fed2991479152252df92daa541"
+ integrity sha1-NGYfRohjJ/7SmRR5FSJS35LapUE=
+ dependencies:
+ exit-hook "^1.0.0"
+ onetime "^1.0.0"
+
restore-cursor@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/restore-cursor/-/restore-cursor-2.0.0.tgz#9f7ee287f82fd326d4fd162923d62129eee0dfaf"
@@ -7667,6 +8190,13 @@ [email protected]:
dependencies:
glob "^7.1.3"
+rimraf@^3.0.0:
+ version "3.0.2"
+ resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-3.0.2.tgz#f1a5402ba6220ad52cc1282bac1ae3aa49fd061a"
+ integrity sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==
+ dependencies:
+ glob "^7.1.3"
+
ripemd160@^2.0.0, ripemd160@^2.0.1:
version "2.0.2"
resolved "https://registry.yarnpkg.com/ripemd160/-/ripemd160-2.0.2.tgz#a1c1a6f624751577ba5d07914cbc92850585890c"
@@ -7692,6 +8222,13 @@ rw@1:
resolved "https://registry.yarnpkg.com/rw/-/rw-1.3.3.tgz#3f862dfa91ab766b14885ef4d01124bfda074fb4"
integrity sha1-P4Yt+pGrdmsUiF700BEkv9oHT7Q=
+rxjs@^6.3.3:
+ version "6.6.6"
+ resolved "https://registry.yarnpkg.com/rxjs/-/rxjs-6.6.6.tgz#14d8417aa5a07c5e633995b525e1e3c0dec03b70"
+ integrity sha512-/oTwee4N4iWzAMAL9xdGKjkEHmIwupR3oXbQjCKywF1BeFohswF3vZdogbmEF6pZkOsXTzWkrZszrWpQTByYVg==
+ dependencies:
+ tslib "^1.9.0"
+
rxjs@^6.5.3:
version "6.5.5"
resolved "https://registry.yarnpkg.com/rxjs/-/rxjs-6.5.5.tgz#c5c884e3094c8cfee31bf27eb87e54ccfc87f9ec"
@@ -7960,6 +8497,11 @@ slash@^2.0.0:
resolved "https://registry.yarnpkg.com/slash/-/slash-2.0.0.tgz#de552851a1759df3a8f206535442f5ec4ddeab44"
integrity sha512-ZYKh3Wh2z1PpEXWr0MpSBZ0V6mZHAQfYevttO11c51CaWjGTaadiKZ+wVt1PbMlDV5qhMFslpZCemhwOK7C89A==
+ version "0.0.4"
+ resolved "https://registry.yarnpkg.com/slice-ansi/-/slice-ansi-0.0.4.tgz#edbf8903f66f7ce2f8eafd6ceed65e264c831b35"
+ integrity sha1-7b+JA/ZvfOL46v1s7tZeJkyDGzU=
+
slice-ansi@^2.1.0:
version "2.1.0"
resolved "https://registry.yarnpkg.com/slice-ansi/-/slice-ansi-2.1.0.tgz#cacd7693461a637a5788d92a7dd4fba068e81636"
@@ -8245,7 +8787,7 @@ string-width@^1.0.1:
is-fullwidth-code-point "^1.0.0"
strip-ansi "^3.0.0"
-"string-width@^1.0.2 || 2", string-width@^2.0.0:
+"string-width@^1.0.2 || 2", string-width@^2.0.0, string-width@^2.1.1:
version "2.1.1"
resolved "https://registry.yarnpkg.com/string-width/-/string-width-2.1.1.tgz#ab93f27a8dc13d28cac815c462143a6d9012ae9e"
integrity sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw==
@@ -8421,6 +8963,13 @@ supports-color@^7.0.0, supports-color@^7.1.0:
dependencies:
has-flag "^4.0.0"
+supports-color@^7.2.0:
+ version "7.2.0"
+ resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-7.2.0.tgz#1b7dcdcb32b8138801b3e478ba6a51caa89648da"
+ integrity sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==
+ dependencies:
+ has-flag "^4.0.0"
+
svg-tags@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/svg-tags/-/svg-tags-1.0.0.tgz#58f71cee3bd519b59d4b2a843b6c7de64ac04764"
@@ -8445,6 +8994,11 @@ svgo@^1.0.0:
unquote "~1.1.1"
util.promisify "~1.0.0"
+symbol-observable@^1.1.0:
+ version "1.2.0"
+ resolved "https://registry.yarnpkg.com/symbol-observable/-/symbol-observable-1.2.0.tgz#c22688aed4eab3cdc2dfeacbb561660560a00804"
+ integrity sha512-e900nM8RRtGhlV36KGEU9k65K3mPb1WV70OdjfxlG2EAuM1noi/E/BaW/uMhL7bPEssK8QV57vN3esixjUvcXQ==
+
table@^5.2.3:
version "5.4.6"
resolved "https://registry.yarnpkg.com/table/-/table-5.4.6.tgz#1292d19500ce3f86053b05f0e8e7e4a3bb21079e"
@@ -8546,6 +9100,11 @@ thread-loader@^2.1.3:
loader-utils "^1.1.0"
neo-async "^2.6.0"
+throttleit@^1.0.0:
+ version "1.0.0"
+ resolved "https://registry.yarnpkg.com/throttleit/-/throttleit-1.0.0.tgz#9e785836daf46743145a5984b6268d828528ac6c"
+ integrity sha1-nnhYNtr0Z0MUWlmEtiaNgoUorGw=
+
through2@^2.0.0:
version "2.0.5"
resolved "https://registry.yarnpkg.com/through2/-/through2-2.0.5.tgz#01c1e39eb31d07cb7d03a96a70823260b23132cd"
@@ -8588,6 +9147,13 @@ tmp@^0.0.33:
dependencies:
os-tmpdir "~1.0.2"
+tmp@~0.2.1:
+ version "0.2.1"
+ resolved "https://registry.yarnpkg.com/tmp/-/tmp-0.2.1.tgz#8457fc3037dcf4719c251367a1af6500ee1ccf14"
+ integrity sha512-76SUhtfqR2Ijn+xllcI5P1oyannHNHByD80W1q447gU3mp9G9PSpGdWmjUOHRDPiHYacIk66W7ubDTuPF3BEtQ==
+ dependencies:
+ rimraf "^3.0.0"
+
to-arraybuffer@^1.0.0:
version "1.0.1"
resolved "https://registry.yarnpkg.com/to-arraybuffer/-/to-arraybuffer-1.0.1.tgz#7d229b1fcc637e466ca081180836a7aabff83f43"
@@ -8797,6 +9363,11 @@ universalify@^0.1.0:
resolved "https://registry.yarnpkg.com/universalify/-/universalify-0.1.2.tgz#b646f69be3942dabcecc9d6639c80dc105efaa66"
integrity sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==
+universalify@^2.0.0:
+ version "2.0.0"
+ resolved "https://registry.yarnpkg.com/universalify/-/universalify-2.0.0.tgz#75a4984efedc4b08975c5aeb73f530d02df25717"
+ integrity sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==
+
[email protected], unpipe@~1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/unpipe/-/unpipe-1.0.0.tgz#b2bf4ee8514aae6165b4817829d21b2ef49904ec"
@@ -8815,6 +9386,11 @@ unset-value@^1.0.0:
has-value "^0.3.1"
isobject "^3.0.0"
+untildify@^4.0.0:
+ version "4.0.0"
+ resolved "https://registry.yarnpkg.com/untildify/-/untildify-4.0.0.tgz#2bc947b953652487e4600949fb091e3ae8cd919b"
+ integrity sha512-KK8xQ1mkzZeg9inewmFVDNkg3l5LUhoq9kN6iWYB/CC9YMG8HA+c1Q8HwDe6dEX7kErrEVNVBO3fWsVq5iDgtw==
+
upath@^1.1.1:
version "1.2.0"
resolved "https://registry.yarnpkg.com/upath/-/upath-1.2.0.tgz#8f66dbcd55a883acdae4408af8b035a5044c1894"
@@ -9258,6 +9834,14 @@ worker-farm@^1.7.0:
dependencies:
errno "~0.1.7"
+wrap-ansi@^3.0.1:
+ version "3.0.1"
+ resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-3.0.1.tgz#288a04d87eda5c286e060dfe8f135ce8d007f8ba"
+ integrity sha1-KIoE2H7aXChuBg3+jxNc6NAH+Lo=
+ dependencies:
+ string-width "^2.1.1"
+ strip-ansi "^4.0.0"
+
wrap-ansi@^5.1.0:
version "5.1.0"
resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-5.1.0.tgz#1fd1f67235d5b6d0fee781056001bfb694c03b09"
@@ -9369,6 +9953,14 @@ yargs@^15.0.0:
y18n "^4.0.0"
yargs-parser "^18.1.1"
+yauzl@^2.10.0:
+ version "2.10.0"
+ resolved "https://registry.yarnpkg.com/yauzl/-/yauzl-2.10.0.tgz#c7eb17c93e112cb1086fa6d8e51fb0667b79a5f9"
+ integrity sha1-x+sXyT4RLLEIb6bY5R+wZnt5pfk=
+ dependencies:
+ buffer-crc32 "~0.2.3"
+ fd-slicer "~1.1.0"
+
yorkie@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/yorkie/-/yorkie-2.0.0.tgz#92411912d435214e12c51c2ae1093e54b6bb83d9"