happo 6.0.1 → 6.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/cli/{cancelJob-WJENZG2D.js → cancelJob-DLBVJJZD.js} +3 -3
- package/dist/cli/{chunk-TN4ETT64.js → chunk-3DMZ3X42.js} +2 -2
- package/dist/cli/{chunk-5TMGUI7R.js → chunk-6EGFARRJ.js} +2 -2
- package/dist/cli/{chunk-FJEU3Q5K.js → chunk-WCYGMV7Y.js} +24 -5
- package/dist/cli/chunk-WCYGMV7Y.js.map +7 -0
- package/dist/cli/createAsyncComparison-6QN75552.js +9 -0
- package/dist/cli/{createAsyncReport-4JQLIRC3.js → createAsyncReport-NU2YZCLB.js} +3 -3
- package/dist/cli/index.js +9 -9
- package/dist/cli/package-XGP4W7OT.js +7 -0
- package/dist/cli/{prepareSnapRequests-3QY7GDSP.js → prepareSnapRequests-YHIEO2TR.js} +3 -3
- package/dist/cli/{startJob-F6F63N2M.js → startJob-GYFQMV2N.js} +3 -3
- package/dist/cli/{wrapper-4HPTAS7H.js → wrapper-YF7XYZUE.js} +4 -4
- package/dist/cypress/task.js +23 -4
- package/dist/cypress/task.js.map +2 -2
- package/dist/playwright/index.js +23 -4
- package/dist/playwright/index.js.map +2 -2
- package/package.json +23 -4
- package/dist/cli/chunk-FJEU3Q5K.js.map +0 -7
- package/dist/cli/createAsyncComparison-M67S4LND.js +0 -9
- package/dist/cli/package-46H7ER65.js +0 -7
- /package/dist/cli/{cancelJob-WJENZG2D.js.map → cancelJob-DLBVJJZD.js.map} +0 -0
- /package/dist/cli/{chunk-TN4ETT64.js.map → chunk-3DMZ3X42.js.map} +0 -0
- /package/dist/cli/{chunk-5TMGUI7R.js.map → chunk-6EGFARRJ.js.map} +0 -0
- /package/dist/cli/{createAsyncComparison-M67S4LND.js.map → createAsyncComparison-6QN75552.js.map} +0 -0
- /package/dist/cli/{createAsyncReport-4JQLIRC3.js.map → createAsyncReport-NU2YZCLB.js.map} +0 -0
- /package/dist/cli/{package-46H7ER65.js.map → package-XGP4W7OT.js.map} +0 -0
- /package/dist/cli/{prepareSnapRequests-3QY7GDSP.js.map → prepareSnapRequests-YHIEO2TR.js.map} +0 -0
- /package/dist/cli/{startJob-F6F63N2M.js.map → startJob-GYFQMV2N.js.map} +0 -0
- /package/dist/cli/{wrapper-4HPTAS7H.js.map → wrapper-YF7XYZUE.js.map} +0 -0
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
[](https://opensource.org/licenses/MIT)
|
|
4
4
|
|
|
5
|
-
An open source library for integrating with [happo.io](https://happo.io) - a visual regression testing platform that helps you catch unintended
|
|
5
|
+
An open source library for integrating with [happo.io](https://happo.io) - a visual and accessibility regression testing platform that helps you catch unintended changes in your applications.
|
|
6
6
|
|
|
7
7
|
## ⚠️ Active Development
|
|
8
8
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeHappoAPIRequest
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-6EGFARRJ.js";
|
|
4
|
+
import "./chunk-WCYGMV7Y.js";
|
|
5
5
|
|
|
6
6
|
// src/network/cancelJob.ts
|
|
7
7
|
async function cancelJob(status, config, { beforeSha, afterSha, link, message }, logger) {
|
|
@@ -24,4 +24,4 @@ async function cancelJob(status, config, { beforeSha, afterSha, link, message },
|
|
|
24
24
|
export {
|
|
25
25
|
cancelJob as default
|
|
26
26
|
};
|
|
27
|
-
//# sourceMappingURL=cancelJob-
|
|
27
|
+
//# sourceMappingURL=cancelJob-DLBVJJZD.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeHappoAPIRequest
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-6EGFARRJ.js";
|
|
4
4
|
|
|
5
5
|
// src/network/createAsyncComparison.ts
|
|
6
6
|
function assertResultIsCreateAsyncComparisonResult(result) {
|
|
@@ -56,4 +56,4 @@ async function createAsyncComparison(config, {
|
|
|
56
56
|
export {
|
|
57
57
|
createAsyncComparison
|
|
58
58
|
};
|
|
59
|
-
//# sourceMappingURL=chunk-
|
|
59
|
+
//# sourceMappingURL=chunk-3DMZ3X42.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
package_default
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-WCYGMV7Y.js";
|
|
4
4
|
|
|
5
5
|
// src/network/makeHappoAPIRequest.ts
|
|
6
6
|
import { SignJWT } from "jose";
|
|
@@ -138,4 +138,4 @@ async function makeHappoAPIRequest({ url, path, method = "GET", formData, body }
|
|
|
138
138
|
export {
|
|
139
139
|
makeHappoAPIRequest
|
|
140
140
|
};
|
|
141
|
-
//# sourceMappingURL=chunk-
|
|
141
|
+
//# sourceMappingURL=chunk-6EGFARRJ.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
// package.json
|
|
2
2
|
var package_default = {
|
|
3
3
|
name: "happo",
|
|
4
|
-
version: "6.0.
|
|
5
|
-
description: "
|
|
4
|
+
version: "6.0.2",
|
|
5
|
+
description: "Catch unexpected visual and accessibility changes and UI bugs",
|
|
6
6
|
license: "MIT",
|
|
7
7
|
repository: {
|
|
8
8
|
type: "git",
|
|
@@ -146,16 +146,35 @@ var package_default = {
|
|
|
146
146
|
"mime-types": "^3.0.1",
|
|
147
147
|
srcset: "^5.0.2"
|
|
148
148
|
},
|
|
149
|
+
storybook: {
|
|
150
|
+
displayName: "Happo",
|
|
151
|
+
icon: "https://happo.io/static/happo-hippo.png",
|
|
152
|
+
supportedFrameworks: [
|
|
153
|
+
"angular",
|
|
154
|
+
"ember",
|
|
155
|
+
"html",
|
|
156
|
+
"preact",
|
|
157
|
+
"react",
|
|
158
|
+
"react-native",
|
|
159
|
+
"svelte",
|
|
160
|
+
"vue",
|
|
161
|
+
"web-components"
|
|
162
|
+
],
|
|
163
|
+
unsupportedFrameworks: []
|
|
164
|
+
},
|
|
149
165
|
keywords: [
|
|
166
|
+
"storybook-addon",
|
|
150
167
|
"accessibility",
|
|
151
168
|
"cypress",
|
|
152
169
|
"playwright",
|
|
153
170
|
"regression",
|
|
154
171
|
"storybook",
|
|
172
|
+
"test",
|
|
155
173
|
"testing",
|
|
156
174
|
"ui",
|
|
157
|
-
"visual
|
|
158
|
-
"visual"
|
|
175
|
+
"visual-regression",
|
|
176
|
+
"visual",
|
|
177
|
+
"vrt"
|
|
159
178
|
],
|
|
160
179
|
engines: {
|
|
161
180
|
node: ">=22"
|
|
@@ -165,4 +184,4 @@ var package_default = {
|
|
|
165
184
|
export {
|
|
166
185
|
package_default
|
|
167
186
|
};
|
|
168
|
-
//# sourceMappingURL=chunk-
|
|
187
|
+
//# sourceMappingURL=chunk-WCYGMV7Y.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../package.json"],
|
|
4
|
+
"sourcesContent": ["{\n \"name\": \"happo\",\n \"version\": \"6.0.2\",\n \"description\": \"Catch unexpected visual and accessibility changes and UI bugs\",\n \"license\": \"MIT\",\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"git+https://github.com/happo/happo.git\"\n },\n \"bugs\": \"https://github.com/happo/happo/issues\",\n \"homepage\": \"https://happo.io\",\n \"bin\": {\n \"happo\": \"dist/cli/index.js\"\n },\n \"type\": \"module\",\n \"main\": \"./dist/config/index.js\",\n \"types\": \"./dist/config/index.d.ts\",\n \"exports\": {\n \".\": {\n \"types\": \"./dist/config/index.d.ts\",\n \"default\": \"./dist/config/index.js\"\n },\n \"./cypress\": {\n \"types\": \"./dist/cypress/index.d.ts\",\n \"default\": \"./dist/cypress/index.js\"\n },\n \"./cypress/task\": {\n \"types\": \"./dist/cypress/task.d.ts\",\n \"default\": \"./dist/cypress/task.js\"\n },\n \"./playwright\": {\n \"types\": \"./dist/playwright/index.d.ts\",\n \"default\": \"./dist/playwright/index.js\"\n },\n \"./custom\": {\n \"types\": \"./dist/custom/index.d.ts\",\n \"default\": \"./dist/custom/index.js\"\n },\n \"./storybook/addon\": {\n \"types\": \"./dist/storybook/browser/addon.d.ts\",\n \"default\": \"./dist/storybook/browser/addon.js\"\n },\n \"./storybook/decorator\": {\n \"types\": \"./dist/storybook/browser/decorator.d.ts\",\n \"default\": \"./dist/storybook/browser/decorator.js\"\n },\n \"./storybook/preset\": {\n \"types\": \"./dist/storybook/preset.d.ts\",\n \"default\": \"./dist/storybook/preset.js\"\n },\n \"./storybook/register\": {\n \"types\": \"./dist/storybook/browser/register.d.ts\",\n \"default\": \"./dist/storybook/browser/register.js\"\n }\n },\n \"files\": [\n \"dist\"\n ],\n \"scripts\": {\n \"all\": \"node ./scripts/allchecks.ts\",\n \"build\": \"pnpm build:types && pnpm build:dist\",\n \"build:custom\": \"esbuild src/custom/__happo__/index.ts --bundle --format=iife --global-name=happoCustom --outfile=tmp/happo-custom/bundle.js --platform=browser --target=esnext\",\n \"build:dist\": \"./scripts/build.ts\",\n \"build:types\": \"pnpm tsc --pretty\",\n \"build:watch\": \"tsc --build --watch\",\n \"clean\": \"rm -rf dist tmp/tsc tmp/happo-custom\",\n \"lint\": \"eslint .\",\n \"prepublishOnly\": \"pnpm clean && pnpm build\",\n \"storybook:dev\": \"storybook dev --config-dir src/storybook/__tests__/storybook-app -p ${PORT:-6007}\",\n \"test\": \"node --env-file-if-exists=.env.local ./scripts/test.ts\",\n \"test:custom\": \"pnpm build:dist && pnpm build:custom && node --env-file-if-exists=.env.local dist/cli/index.js -c ./happoconfigs/happo.custom.config.ts\",\n \"test:cypress\": \"pnpm build:dist && node --env-file-if-exists=.env.local dist/cli/index.js -c ./happoconfigs/happo.cypress.config.ts e2e -- cypress run -C src/cypress/__cypress__/cypress.config.ts\",\n \"test:cypress:open\": \"cypress open -C src/cypress/__cypress__/cypress.config.ts\",\n \"test:playwright\": \"pnpm build:dist && node --env-file-if-exists=.env.local dist/cli/index.js -c ./happoconfigs/happo.playwright.config.ts e2e -- playwright test\",\n \"test:storybook\": \"pnpm build:dist && node --env-file-if-exists=.env.local dist/cli/index.js -c ./happoconfigs/happo.storybook.config.ts\",\n \"test:pages\": \"pnpm build:dist && node --env-file-if-exists=.env.local dist/cli/index.js -c ./happoconfigs/happo.pages.config.ts\",\n \"tsc\": \"tsc --build tsconfig.json\"\n },\n \"browserslist\": {\n \"node\": [\n \"node 22\"\n ],\n \"browser\": [\n \"last 2 Chrome major versions\",\n \"last 2 Firefox major versions\",\n \"last 2 Safari major versions\",\n \"last 2 Edge major versions\"\n ],\n \"isomorphic\": [\n \"node 22\",\n \"last 2 Chrome major versions\",\n \"last 2 Firefox major versions\",\n \"last 2 Safari major versions\",\n \"last 2 Edge major versions\"\n ]\n },\n \"prettier\": {\n \"printWidth\": 85,\n \"singleQuote\": true,\n \"trailingComma\": \"all\",\n \"arrowParens\": \"always\"\n },\n \"devDependencies\": {\n \"@eslint/js\": \"^9.36.0\",\n \"@playwright/test\": \"^1.55.1\",\n \"@reporters/github\": \"^1.11.0\",\n \"@storybook/builder-vite\": \"^10.0.1\",\n \"@storybook/react-vite\": \"^10.0.1\",\n \"@types/async-retry\": \"^1.4.9\",\n \"@types/base64-stream\": \"^1.0.5\",\n \"@types/jsdom\": \"^27.0.0\",\n \"@types/mime-types\": \"^3.0.1\",\n \"@types/multiparty\": \"^4.2.1\",\n \"@types/node\": \"^24.9.1\",\n \"@types/react\": \"^19.2.0\",\n \"@types/react-dom\": \"^19.2.0\",\n \"@types/serve-handler\": \"^6.1.4\",\n \"cypress\": \"^15.5.0\",\n \"esbuild\": \"^0.27.0\",\n \"eslint\": \"^9.36.0\",\n \"eslint-config-prettier\": \"^10.1.8\",\n \"eslint-plugin-compat\": \"^6.0.2\",\n \"eslint-plugin-depend\": \"^1.3.1\",\n \"eslint-plugin-simple-import-sort\": \"^12.1.1\",\n \"eslint-plugin-unicorn\": \"^62.0.0\",\n \"jiti\": \"^2.6.0\",\n \"jsdom\": \"^27.0.0\",\n \"multiparty\": \"^4.2.3\",\n \"prettier\": \"^3.6.2\",\n \"react\": \"^19.2.0\",\n \"react-dom\": \"^19.2.0\",\n \"react-error-boundary\": \"^6.0.0\",\n \"serve-handler\": \"^6.1.6\",\n \"storybook\": \"^10.0.1\",\n \"typescript\": \"^5.9.2\",\n \"typescript-eslint\": \"^8.44.1\"\n },\n \"dependencies\": {\n \"async-retry\": \"^1.3.3\",\n \"base64-stream\": \"^1.0.0\",\n \"empathic\": \"^2.0.0\",\n \"fflate\": \"^0.8.2\",\n \"jose\": \"^6.1.0\",\n \"limit-concur\": \"^4.0.0\",\n \"mime-types\": \"^3.0.1\",\n \"srcset\": \"^5.0.2\"\n },\n \"storybook\": {\n \"displayName\": \"Happo\",\n \"icon\": \"https://happo.io/static/happo-hippo.png\",\n \"supportedFrameworks\": [\n \"angular\",\n \"ember\",\n \"html\",\n \"preact\",\n \"react\",\n \"react-native\",\n \"svelte\",\n \"vue\",\n \"web-components\"\n ],\n \"unsupportedFrameworks\": []\n },\n \"keywords\": [\n \"storybook-addon\",\n \"accessibility\",\n \"cypress\",\n \"playwright\",\n \"regression\",\n \"storybook\",\n \"test\",\n \"testing\",\n \"ui\",\n \"visual-regression\",\n \"visual\",\n \"vrt\"\n ],\n \"engines\": {\n \"node\": \">=22\"\n }\n}\n"],
|
|
5
|
+
"mappings": ";AAAA;AAAA,EACE,MAAQ;AAAA,EACR,SAAW;AAAA,EACX,aAAe;AAAA,EACf,SAAW;AAAA,EACX,YAAc;AAAA,IACZ,MAAQ;AAAA,IACR,KAAO;AAAA,EACT;AAAA,EACA,MAAQ;AAAA,EACR,UAAY;AAAA,EACZ,KAAO;AAAA,IACL,OAAS;AAAA,EACX;AAAA,EACA,MAAQ;AAAA,EACR,MAAQ;AAAA,EACR,OAAS;AAAA,EACT,SAAW;AAAA,IACT,KAAK;AAAA,MACH,OAAS;AAAA,MACT,SAAW;AAAA,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A,EACA,SAAW;AAAA,IACT,MAAQ;AAAA,EACV;AACF;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeHappoAPIRequest
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-6EGFARRJ.js";
|
|
4
|
+
import "./chunk-WCYGMV7Y.js";
|
|
5
5
|
|
|
6
6
|
// src/network/createAsyncReport.ts
|
|
7
7
|
function assertResultIsCreateAsyncReportResult(result) {
|
|
@@ -37,4 +37,4 @@ async function createAsyncReport(snapRequestIds, config, { afterSha, link, messa
|
|
|
37
37
|
export {
|
|
38
38
|
createAsyncReport as default
|
|
39
39
|
};
|
|
40
|
-
//# sourceMappingURL=createAsyncReport-
|
|
40
|
+
//# sourceMappingURL=createAsyncReport-NU2YZCLB.js.map
|
package/dist/cli/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
package_default
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-WCYGMV7Y.js";
|
|
5
5
|
|
|
6
6
|
// src/cli/index.ts
|
|
7
7
|
import path2 from "node:path";
|
|
@@ -762,7 +762,7 @@ function createReporter(opts = {}) {
|
|
|
762
762
|
|
|
763
763
|
// src/cli/index.ts
|
|
764
764
|
async function getVersion() {
|
|
765
|
-
const packageJson = await import("./package-
|
|
765
|
+
const packageJson = await import("./package-XGP4W7OT.js");
|
|
766
766
|
return packageJson.default.version;
|
|
767
767
|
}
|
|
768
768
|
function parseDashdashCommandParts(rawArgs) {
|
|
@@ -952,10 +952,10 @@ async function main(rawArgs = process.argv, logger = console) {
|
|
|
952
952
|
async function handleDefaultCommand(config, environment, logger) {
|
|
953
953
|
logger.log("Running happo tests...");
|
|
954
954
|
const [startJob, createAsyncComparison, createAsyncReport, prepareSnapRequests] = await Promise.all([
|
|
955
|
-
(await import("./startJob-
|
|
956
|
-
(await import("./createAsyncComparison-
|
|
957
|
-
(await import("./createAsyncReport-
|
|
958
|
-
(await import("./prepareSnapRequests-
|
|
955
|
+
(await import("./startJob-GYFQMV2N.js")).default,
|
|
956
|
+
(await import("./createAsyncComparison-6QN75552.js")).default,
|
|
957
|
+
(await import("./createAsyncReport-NU2YZCLB.js")).default,
|
|
958
|
+
(await import("./prepareSnapRequests-YHIEO2TR.js")).default
|
|
959
959
|
]);
|
|
960
960
|
await startJob(config, environment, logger);
|
|
961
961
|
try {
|
|
@@ -977,7 +977,7 @@ async function handleDefaultCommand(config, environment, logger) {
|
|
|
977
977
|
}
|
|
978
978
|
} catch (e) {
|
|
979
979
|
logger.error(e instanceof Error ? e.message : String(e), e);
|
|
980
|
-
const cancelJob = (await import("./cancelJob-
|
|
980
|
+
const cancelJob = (await import("./cancelJob-DLBVJJZD.js")).default;
|
|
981
981
|
await cancelJob("failure", config, environment, logger);
|
|
982
982
|
process.exitCode = 1;
|
|
983
983
|
return;
|
|
@@ -988,7 +988,7 @@ async function handleFinalizeCommand(config, environment, logger) {
|
|
|
988
988
|
logger.log("Config:", config);
|
|
989
989
|
logger.log("Environment:", environment);
|
|
990
990
|
try {
|
|
991
|
-
const finalizeAll = (await import("./wrapper-
|
|
991
|
+
const finalizeAll = (await import("./wrapper-YF7XYZUE.js")).finalizeAll;
|
|
992
992
|
await finalizeAll({ happoConfig: config, environment, logger });
|
|
993
993
|
} catch (e) {
|
|
994
994
|
logger.error(e instanceof Error ? e.message : String(e), e);
|
|
@@ -1017,7 +1017,7 @@ async function handleE2ECommand(config, environment, dashdashCommandParts, confi
|
|
|
1017
1017
|
logger.log("Config:", config);
|
|
1018
1018
|
logger.log("Environment:", environment);
|
|
1019
1019
|
logger.log("Dashdash command parts:", dashdashCommandParts);
|
|
1020
|
-
const runWithWrapper = (await import("./wrapper-
|
|
1020
|
+
const runWithWrapper = (await import("./wrapper-YF7XYZUE.js")).default;
|
|
1021
1021
|
const exitCode = await runWithWrapper(
|
|
1022
1022
|
dashdashCommandParts,
|
|
1023
1023
|
config,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeHappoAPIRequest
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-6EGFARRJ.js";
|
|
4
|
+
import "./chunk-WCYGMV7Y.js";
|
|
5
5
|
|
|
6
6
|
// src/network/prepareSnapRequests.ts
|
|
7
7
|
import fs5 from "node:fs";
|
|
@@ -731,4 +731,4 @@ async function prepareSnapRequests(config) {
|
|
|
731
731
|
export {
|
|
732
732
|
prepareSnapRequests as default
|
|
733
733
|
};
|
|
734
|
-
//# sourceMappingURL=prepareSnapRequests-
|
|
734
|
+
//# sourceMappingURL=prepareSnapRequests-YHIEO2TR.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeHappoAPIRequest
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-6EGFARRJ.js";
|
|
4
|
+
import "./chunk-WCYGMV7Y.js";
|
|
5
5
|
|
|
6
6
|
// src/network/startJob.ts
|
|
7
7
|
function assertResultIsStartJobResult(result) {
|
|
@@ -36,4 +36,4 @@ async function startJob(config, { beforeSha, afterSha, link, message }, logger)
|
|
|
36
36
|
export {
|
|
37
37
|
startJob as default
|
|
38
38
|
};
|
|
39
|
-
//# sourceMappingURL=startJob-
|
|
39
|
+
//# sourceMappingURL=startJob-GYFQMV2N.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createAsyncComparison
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-3DMZ3X42.js";
|
|
4
4
|
import {
|
|
5
5
|
makeHappoAPIRequest
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-6EGFARRJ.js";
|
|
7
|
+
import "./chunk-WCYGMV7Y.js";
|
|
8
8
|
|
|
9
9
|
// src/e2e/wrapper.ts
|
|
10
10
|
import { spawn } from "node:child_process";
|
|
@@ -370,4 +370,4 @@ export {
|
|
|
370
370
|
runWithWrapper as default,
|
|
371
371
|
finalizeAll
|
|
372
372
|
};
|
|
373
|
-
//# sourceMappingURL=wrapper-
|
|
373
|
+
//# sourceMappingURL=wrapper-YF7XYZUE.js.map
|
package/dist/cypress/task.js
CHANGED
|
@@ -93,8 +93,8 @@ import asyncRetry from "async-retry";
|
|
|
93
93
|
// package.json
|
|
94
94
|
var package_default = {
|
|
95
95
|
name: "happo",
|
|
96
|
-
version: "6.0.
|
|
97
|
-
description: "
|
|
96
|
+
version: "6.0.2",
|
|
97
|
+
description: "Catch unexpected visual and accessibility changes and UI bugs",
|
|
98
98
|
license: "MIT",
|
|
99
99
|
repository: {
|
|
100
100
|
type: "git",
|
|
@@ -238,16 +238,35 @@ var package_default = {
|
|
|
238
238
|
"mime-types": "^3.0.1",
|
|
239
239
|
srcset: "^5.0.2"
|
|
240
240
|
},
|
|
241
|
+
storybook: {
|
|
242
|
+
displayName: "Happo",
|
|
243
|
+
icon: "https://happo.io/static/happo-hippo.png",
|
|
244
|
+
supportedFrameworks: [
|
|
245
|
+
"angular",
|
|
246
|
+
"ember",
|
|
247
|
+
"html",
|
|
248
|
+
"preact",
|
|
249
|
+
"react",
|
|
250
|
+
"react-native",
|
|
251
|
+
"svelte",
|
|
252
|
+
"vue",
|
|
253
|
+
"web-components"
|
|
254
|
+
],
|
|
255
|
+
unsupportedFrameworks: []
|
|
256
|
+
},
|
|
241
257
|
keywords: [
|
|
258
|
+
"storybook-addon",
|
|
242
259
|
"accessibility",
|
|
243
260
|
"cypress",
|
|
244
261
|
"playwright",
|
|
245
262
|
"regression",
|
|
246
263
|
"storybook",
|
|
264
|
+
"test",
|
|
247
265
|
"testing",
|
|
248
266
|
"ui",
|
|
249
|
-
"visual
|
|
250
|
-
"visual"
|
|
267
|
+
"visual-regression",
|
|
268
|
+
"visual",
|
|
269
|
+
"vrt"
|
|
251
270
|
],
|
|
252
271
|
engines: {
|
|
253
272
|
node: ">=22"
|