happo 6.12.1 → 6.13.0
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/dist/cli/cancelJob-X6WN6AHI.js +10 -0
- package/dist/cli/{chunk-M6KGLDWT.js → chunk-DKTZGFEN.js} +3 -2
- package/dist/cli/chunk-DKTZGFEN.js.map +7 -0
- package/dist/cli/{chunk-R5S67WFY.js → chunk-KHHTPRKU.js} +2 -2
- package/dist/cli/{chunk-ELEYE33M.js → chunk-OGKEBLDS.js} +2 -2
- package/dist/cli/{chunk-JP4CQJOB.js → chunk-Q5QFRFFU.js} +2 -2
- package/dist/cli/{chunk-KIKOPE76.js → chunk-WBVBJ4BH.js} +3 -3
- package/dist/cli/{chunk-IN3NUOK5.js → chunk-Z63LRWUL.js} +2 -2
- package/dist/cli/createAsyncComparison-2IFZGTYT.js +10 -0
- package/dist/cli/{createAsyncReport-HDUAAI6X.js → createAsyncReport-KJOLZDLC.js} +4 -4
- package/dist/cli/{createExtendsReportSnapRequest-O4TCQEKU.js → createExtendsReportSnapRequest-IRHFVRCI.js} +4 -4
- package/dist/cli/{findBaselineReport-QJA6XU2W.js → findBaselineReport-3U3N2BB6.js} +4 -4
- package/dist/cli/{getFlakes-B5M53JHP.js → getFlakes-36553LJ7.js} +4 -4
- package/dist/cli/main.js +15 -15
- package/dist/cli/package-BBL2QL2E.js +7 -0
- package/dist/cli/{prepareSnapRequests-LZPA55RF.js → prepareSnapRequests-NIN2NCRF.js} +6 -6
- package/dist/cli/{prepareSnapRequests-LZPA55RF.js.map → prepareSnapRequests-NIN2NCRF.js.map} +1 -1
- package/dist/cli/startJob-BPJRINPZ.js +10 -0
- package/dist/cli/{wrapper-OCC73BIP.js → wrapper-WXSMHY3Z.js} +7 -7
- package/dist/cypress/task.js +2 -1
- package/dist/cypress/task.js.map +2 -2
- package/dist/playwright/index.js +2 -1
- package/dist/playwright/index.js.map +2 -2
- package/dist/storybook/browser/addon-v8.d.ts +2 -0
- package/dist/storybook/browser/addon-v8.d.ts.map +1 -0
- package/dist/storybook/browser/addon-v8.js +95 -0
- package/dist/storybook/browser/addon-v8.js.map +7 -0
- package/dist/storybook/browser/addon.js.map +2 -2
- package/dist/storybook/browser/decorator.d.ts +1 -1
- package/dist/storybook/browser/decorator.d.ts.map +1 -1
- package/dist/storybook/browser/decorator.js +1 -1
- package/dist/storybook/browser/decorator.js.map +1 -1
- package/dist/storybook/chunk-YBRVICYB.js +89 -0
- package/dist/storybook/chunk-YBRVICYB.js.map +7 -0
- package/dist/storybook/index.js +20 -101
- package/dist/storybook/index.js.map +4 -4
- package/dist/storybook/preset.d.ts.map +1 -1
- package/dist/storybook/preset.js +7 -1
- package/dist/storybook/preset.js.map +2 -2
- package/package.json +2 -1
- package/dist/cli/cancelJob-CXFNZISF.js +0 -10
- package/dist/cli/chunk-M6KGLDWT.js.map +0 -7
- package/dist/cli/createAsyncComparison-A7XFBPPB.js +0 -10
- package/dist/cli/package-X535EUT6.js +0 -7
- package/dist/cli/startJob-EY5AL55N.js +0 -10
- /package/dist/cli/{cancelJob-CXFNZISF.js.map → cancelJob-X6WN6AHI.js.map} +0 -0
- /package/dist/cli/{chunk-R5S67WFY.js.map → chunk-KHHTPRKU.js.map} +0 -0
- /package/dist/cli/{chunk-ELEYE33M.js.map → chunk-OGKEBLDS.js.map} +0 -0
- /package/dist/cli/{chunk-JP4CQJOB.js.map → chunk-Q5QFRFFU.js.map} +0 -0
- /package/dist/cli/{chunk-KIKOPE76.js.map → chunk-WBVBJ4BH.js.map} +0 -0
- /package/dist/cli/{chunk-IN3NUOK5.js.map → chunk-Z63LRWUL.js.map} +0 -0
- /package/dist/cli/{createAsyncComparison-A7XFBPPB.js.map → createAsyncComparison-2IFZGTYT.js.map} +0 -0
- /package/dist/cli/{createAsyncReport-HDUAAI6X.js.map → createAsyncReport-KJOLZDLC.js.map} +0 -0
- /package/dist/cli/{createExtendsReportSnapRequest-O4TCQEKU.js.map → createExtendsReportSnapRequest-IRHFVRCI.js.map} +0 -0
- /package/dist/cli/{findBaselineReport-QJA6XU2W.js.map → findBaselineReport-3U3N2BB6.js.map} +0 -0
- /package/dist/cli/{getFlakes-B5M53JHP.js.map → getFlakes-36553LJ7.js.map} +0 -0
- /package/dist/cli/{package-X535EUT6.js.map → package-BBL2QL2E.js.map} +0 -0
- /package/dist/cli/{startJob-EY5AL55N.js.map → startJob-BPJRINPZ.js.map} +0 -0
- /package/dist/cli/{wrapper-OCC73BIP.js.map → wrapper-WXSMHY3Z.js.map} +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// package.json
|
|
2
2
|
var package_default = {
|
|
3
3
|
name: "happo",
|
|
4
|
-
version: "6.
|
|
4
|
+
version: "6.13.0",
|
|
5
5
|
description: "Catch unexpected visual and accessibility changes and UI bugs",
|
|
6
6
|
license: "MIT",
|
|
7
7
|
repository: {
|
|
@@ -77,6 +77,7 @@ var package_default = {
|
|
|
77
77
|
"test:playwright": "pnpm build:dist && node --env-file-if-exists=.env.local dist/cli/main.js -c ./happoconfigs/happo.playwright.config.ts e2e -- playwright test",
|
|
78
78
|
"test:playwright:nonce": "pnpm build:dist && node --env-file-if-exists=.env.local dist/cli/main.js -c ./happoconfigs/happo.playwright-nonce.config.ts --nonce $HAPPO_NONCE e2e -- playwright test && node --env-file-if-exists=.env.local dist/cli/main.js -c ./happoconfigs/happo.playwright-nonce.config.ts --nonce $HAPPO_NONCE finalize",
|
|
79
79
|
"test:storybook": "pnpm build:dist && node --env-file-if-exists=.env.local dist/cli/main.js -c ./happoconfigs/happo.storybook.config.ts",
|
|
80
|
+
"test:storybook:v8": "pnpm build:dist && node --env-file-if-exists=.env.local dist/cli/main.js -c ./happoconfigs/happo.storybook-v8.config.ts",
|
|
80
81
|
"test:storybook:skipped": 'pnpm build:dist && node --env-file-if-exists=.env.local dist/cli/main.js -c ./happoconfigs/happo.storybook.config.ts --project storybook-skipped --skip "$(node ./scripts/getSkip.ts)"',
|
|
81
82
|
"test:storybook:only": 'pnpm build:dist && node --env-file-if-exists=.env.local dist/cli/main.js -c ./happoconfigs/happo.storybook.config.ts --project storybook-only --only "$(node ./scripts/getOnly.ts)"',
|
|
82
83
|
"test:pages": "pnpm build:dist && node --env-file-if-exists=.env.local dist/cli/main.js -c ./happoconfigs/happo.pages.config.ts",
|
|
@@ -189,4 +190,4 @@ var package_default = {
|
|
|
189
190
|
export {
|
|
190
191
|
package_default
|
|
191
192
|
};
|
|
192
|
-
//# sourceMappingURL=chunk-
|
|
193
|
+
//# sourceMappingURL=chunk-DKTZGFEN.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../package.json"],
|
|
4
|
+
"sourcesContent": ["{\n \"name\": \"happo\",\n \"version\": \"6.13.0\",\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/main.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 \"preset.js\"\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\": \"node ./scripts/build.ts\",\n \"build:types\": \"pnpm tsc --pretty\",\n \"build:watch\": \"tsc --build --watch\",\n \"clean\": \"node ./scripts/clean.ts\",\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/main.js -c ./happoconfigs/happo.custom.config.ts\",\n \"test:custom:skipped\": \"pnpm build:dist && pnpm build:custom && node --env-file-if-exists=.env.local dist/cli/main.js -c ./happoconfigs/happo.custom.config.ts --project custom-skipped --skip \\\"$(node ./scripts/getCustomSkip.ts)\\\"\",\n \"test:cypress\": \"pnpm build:dist && node --env-file-if-exists=.env.local dist/cli/main.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/main.js -c ./happoconfigs/happo.playwright.config.ts e2e -- playwright test\",\n \"test:playwright:nonce\": \"pnpm build:dist && node --env-file-if-exists=.env.local dist/cli/main.js -c ./happoconfigs/happo.playwright-nonce.config.ts --nonce $HAPPO_NONCE e2e -- playwright test && node --env-file-if-exists=.env.local dist/cli/main.js -c ./happoconfigs/happo.playwright-nonce.config.ts --nonce $HAPPO_NONCE finalize\",\n \"test:storybook\": \"pnpm build:dist && node --env-file-if-exists=.env.local dist/cli/main.js -c ./happoconfigs/happo.storybook.config.ts\",\n \"test:storybook:v8\": \"pnpm build:dist && node --env-file-if-exists=.env.local dist/cli/main.js -c ./happoconfigs/happo.storybook-v8.config.ts\",\n \"test:storybook:skipped\": \"pnpm build:dist && node --env-file-if-exists=.env.local dist/cli/main.js -c ./happoconfigs/happo.storybook.config.ts --project storybook-skipped --skip \\\"$(node ./scripts/getSkip.ts)\\\"\",\n \"test:storybook:only\": \"pnpm build:dist && node --env-file-if-exists=.env.local dist/cli/main.js -c ./happoconfigs/happo.storybook.config.ts --project storybook-only --only \\\"$(node ./scripts/getOnly.ts)\\\"\",\n \"test:pages\": \"pnpm build:dist && node --env-file-if-exists=.env.local dist/cli/main.js -c ./happoconfigs/happo.pages.config.ts\",\n \"release\": \"set -a && source .env && set +a && release-with-ease\",\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\": \"^10.0.1\",\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\": \"^28.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 \"cypress\": \"^15.5.0\",\n \"esbuild\": \"^0.28.0\",\n \"eslint\": \"^10.0.2\",\n \"eslint-config-prettier\": \"^10.1.8\",\n \"eslint-plugin-compat\": \"^7.0.1\",\n \"eslint-plugin-depend\": \"^1.4.0\",\n \"eslint-plugin-simple-import-sort\": \"^13.0.0\",\n \"eslint-plugin-unicorn\": \"^64.0.0\",\n \"jiti\": \"^2.6.1\",\n \"jsdom\": \"^29.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 \"release-with-ease\": \"^2.4.0\",\n \"storybook\": \"^10.0.1\",\n \"typescript\": \"^6.0.2\",\n \"typescript-eslint\": \"^8.57.2\"\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.18.0 || ^23.6.0 || >=24.0.0\"\n }\n}\n"],
|
|
5
|
+
"mappings": "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",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
package_default
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-DKTZGFEN.js";
|
|
4
4
|
|
|
5
5
|
// src/network/fetchWithRetry.ts
|
|
6
6
|
import asyncRetry from "async-retry";
|
|
@@ -95,4 +95,4 @@ export {
|
|
|
95
95
|
ErrorWithStatusCode,
|
|
96
96
|
fetchWithRetry
|
|
97
97
|
};
|
|
98
|
-
//# sourceMappingURL=chunk-
|
|
98
|
+
//# sourceMappingURL=chunk-KHHTPRKU.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeHappoAPIRequest
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-Q5QFRFFU.js";
|
|
4
4
|
|
|
5
5
|
// src/network/startJob.ts
|
|
6
6
|
function assertResultIsStartJobResult(result) {
|
|
@@ -36,4 +36,4 @@ async function startJob(config, { beforeSha, afterSha, link, message }, logger)
|
|
|
36
36
|
export {
|
|
37
37
|
startJob
|
|
38
38
|
};
|
|
39
|
-
//# sourceMappingURL=chunk-
|
|
39
|
+
//# sourceMappingURL=chunk-OGKEBLDS.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
fetchWithRetry
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-KHHTPRKU.js";
|
|
4
4
|
|
|
5
5
|
// src/network/getSignedToken.ts
|
|
6
6
|
import { SignJWT } from "jose";
|
|
@@ -81,4 +81,4 @@ async function makeHappoAPIRequest({ url, path, method = "GET", formData, body }
|
|
|
81
81
|
export {
|
|
82
82
|
makeHappoAPIRequest
|
|
83
83
|
};
|
|
84
|
-
//# sourceMappingURL=chunk-
|
|
84
|
+
//# sourceMappingURL=chunk-Q5QFRFFU.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeHappoAPIRequest
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-Q5QFRFFU.js";
|
|
4
4
|
import {
|
|
5
5
|
ErrorWithStatusCode
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-KHHTPRKU.js";
|
|
7
7
|
|
|
8
8
|
// src/network/cancelJob.ts
|
|
9
9
|
async function cancelJob(status, message, config, { beforeSha, afterSha, link }, logger) {
|
|
@@ -43,4 +43,4 @@ async function cancelJob(status, message, config, { beforeSha, afterSha, link },
|
|
|
43
43
|
export {
|
|
44
44
|
cancelJob
|
|
45
45
|
};
|
|
46
|
-
//# sourceMappingURL=chunk-
|
|
46
|
+
//# sourceMappingURL=chunk-WBVBJ4BH.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeHappoAPIRequest
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-Q5QFRFFU.js";
|
|
4
4
|
|
|
5
5
|
// src/network/createAsyncComparison.ts
|
|
6
6
|
function assertResultIsCreateAsyncComparisonResult(result) {
|
|
@@ -60,4 +60,4 @@ async function createAsyncComparison(config, {
|
|
|
60
60
|
export {
|
|
61
61
|
createAsyncComparison
|
|
62
62
|
};
|
|
63
|
-
//# sourceMappingURL=chunk-
|
|
63
|
+
//# sourceMappingURL=chunk-Z63LRWUL.js.map
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import {
|
|
2
|
+
createAsyncComparison
|
|
3
|
+
} from "./chunk-Z63LRWUL.js";
|
|
4
|
+
import "./chunk-Q5QFRFFU.js";
|
|
5
|
+
import "./chunk-KHHTPRKU.js";
|
|
6
|
+
import "./chunk-DKTZGFEN.js";
|
|
7
|
+
export {
|
|
8
|
+
createAsyncComparison as default
|
|
9
|
+
};
|
|
10
|
+
//# sourceMappingURL=createAsyncComparison-2IFZGTYT.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeHappoAPIRequest
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
5
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-Q5QFRFFU.js";
|
|
4
|
+
import "./chunk-KHHTPRKU.js";
|
|
5
|
+
import "./chunk-DKTZGFEN.js";
|
|
6
6
|
|
|
7
7
|
// src/network/createAsyncReport.ts
|
|
8
8
|
function assertResultIsCreateAsyncReportResult(result) {
|
|
@@ -38,4 +38,4 @@ async function createAsyncReport(snapRequestIds, config, { afterSha, link, messa
|
|
|
38
38
|
export {
|
|
39
39
|
createAsyncReport as default
|
|
40
40
|
};
|
|
41
|
-
//# sourceMappingURL=createAsyncReport-
|
|
41
|
+
//# sourceMappingURL=createAsyncReport-KJOLZDLC.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeHappoAPIRequest
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
5
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-Q5QFRFFU.js";
|
|
4
|
+
import "./chunk-KHHTPRKU.js";
|
|
5
|
+
import "./chunk-DKTZGFEN.js";
|
|
6
6
|
|
|
7
7
|
// src/network/createExtendsReportSnapRequest.ts
|
|
8
8
|
async function createExtendsReportSnapRequest(extendsSha, skip, config) {
|
|
@@ -29,4 +29,4 @@ async function createExtendsReportSnapRequest(extendsSha, skip, config) {
|
|
|
29
29
|
export {
|
|
30
30
|
createExtendsReportSnapRequest as default
|
|
31
31
|
};
|
|
32
|
-
//# sourceMappingURL=createExtendsReportSnapRequest-
|
|
32
|
+
//# sourceMappingURL=createExtendsReportSnapRequest-IRHFVRCI.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeHappoAPIRequest
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
5
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-Q5QFRFFU.js";
|
|
4
|
+
import "./chunk-KHHTPRKU.js";
|
|
5
|
+
import "./chunk-DKTZGFEN.js";
|
|
6
6
|
|
|
7
7
|
// src/network/findBaselineReport.ts
|
|
8
8
|
async function findBaselineReport(environment, config, logger) {
|
|
@@ -33,4 +33,4 @@ async function findBaselineReport(environment, config, logger) {
|
|
|
33
33
|
export {
|
|
34
34
|
findBaselineReport as default
|
|
35
35
|
};
|
|
36
|
-
//# sourceMappingURL=findBaselineReport-
|
|
36
|
+
//# sourceMappingURL=findBaselineReport-3U3N2BB6.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeHappoAPIRequest
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
5
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-Q5QFRFFU.js";
|
|
4
|
+
import "./chunk-KHHTPRKU.js";
|
|
5
|
+
import "./chunk-DKTZGFEN.js";
|
|
6
6
|
|
|
7
7
|
// src/network/getFlakes.ts
|
|
8
8
|
function formatFlakeOutput(flakes) {
|
|
@@ -70,4 +70,4 @@ export {
|
|
|
70
70
|
getFlakes as default,
|
|
71
71
|
formatFlakeOutput
|
|
72
72
|
};
|
|
73
|
-
//# sourceMappingURL=getFlakes-
|
|
73
|
+
//# sourceMappingURL=getFlakes-36553LJ7.js.map
|
package/dist/cli/main.js
CHANGED
|
@@ -7,10 +7,10 @@ import {
|
|
|
7
7
|
} from "./chunk-ML3Z5Z22.js";
|
|
8
8
|
import {
|
|
9
9
|
fetchWithRetry
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-KHHTPRKU.js";
|
|
11
11
|
import {
|
|
12
12
|
package_default
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-DKTZGFEN.js";
|
|
14
14
|
|
|
15
15
|
// src/cli/index.ts
|
|
16
16
|
import path3 from "node:path";
|
|
@@ -1248,7 +1248,7 @@ function createReporter(opts = {}) {
|
|
|
1248
1248
|
|
|
1249
1249
|
// src/cli/index.ts
|
|
1250
1250
|
async function getVersion() {
|
|
1251
|
-
const packageJson = await import("./package-
|
|
1251
|
+
const packageJson = await import("./package-BBL2QL2E.js");
|
|
1252
1252
|
return packageJson.default.version;
|
|
1253
1253
|
}
|
|
1254
1254
|
function parseDashdashCommandParts(rawArgs) {
|
|
@@ -1518,10 +1518,10 @@ async function main(rawArgs = process.argv, logger = console) {
|
|
|
1518
1518
|
async function handleDefaultCommand(config, environment, logger) {
|
|
1519
1519
|
logger.log("Running happo tests...");
|
|
1520
1520
|
const [startJob, createAsyncComparison, createAsyncReport, prepareSnapRequests] = await Promise.all([
|
|
1521
|
-
(await import("./startJob-
|
|
1522
|
-
(await import("./createAsyncComparison-
|
|
1523
|
-
(await import("./createAsyncReport-
|
|
1524
|
-
(await import("./prepareSnapRequests-
|
|
1521
|
+
(await import("./startJob-BPJRINPZ.js")).default,
|
|
1522
|
+
(await import("./createAsyncComparison-2IFZGTYT.js")).default,
|
|
1523
|
+
(await import("./createAsyncReport-KJOLZDLC.js")).default,
|
|
1524
|
+
(await import("./prepareSnapRequests-NIN2NCRF.js")).default
|
|
1525
1525
|
]);
|
|
1526
1526
|
await startJob(config, environment, logger);
|
|
1527
1527
|
try {
|
|
@@ -1553,7 +1553,7 @@ async function handleDefaultCommand(config, environment, logger) {
|
|
|
1553
1553
|
process.exitCode = 1;
|
|
1554
1554
|
return;
|
|
1555
1555
|
}
|
|
1556
|
-
const findBaselineReport = (await import("./findBaselineReport-
|
|
1556
|
+
const findBaselineReport = (await import("./findBaselineReport-3U3N2BB6.js")).default;
|
|
1557
1557
|
baselineSha = await findBaselineReport(environment, config, logger);
|
|
1558
1558
|
if (!baselineSha) {
|
|
1559
1559
|
logger.log(
|
|
@@ -1582,7 +1582,7 @@ async function handleDefaultCommand(config, environment, logger) {
|
|
|
1582
1582
|
return;
|
|
1583
1583
|
}
|
|
1584
1584
|
if (!baselineSha) {
|
|
1585
|
-
const findBaselineReport = (await import("./findBaselineReport-
|
|
1585
|
+
const findBaselineReport = (await import("./findBaselineReport-3U3N2BB6.js")).default;
|
|
1586
1586
|
baselineSha = await findBaselineReport(environment, config, logger);
|
|
1587
1587
|
}
|
|
1588
1588
|
if (!baselineSha) {
|
|
@@ -1601,7 +1601,7 @@ async function handleDefaultCommand(config, environment, logger) {
|
|
|
1601
1601
|
const { snapRequestIds, resolvedSkip } = await prepareSnapRequests(config, skip, only);
|
|
1602
1602
|
let allSnapRequestIds = snapRequestIds;
|
|
1603
1603
|
if (skip && baselineSha) {
|
|
1604
|
-
const createExtendsReportSnapRequest = (await import("./createExtendsReportSnapRequest-
|
|
1604
|
+
const createExtendsReportSnapRequest = (await import("./createExtendsReportSnapRequest-IRHFVRCI.js")).default;
|
|
1605
1605
|
const extendsRequestId = await createExtendsReportSnapRequest(
|
|
1606
1606
|
baselineSha,
|
|
1607
1607
|
resolvedSkip ?? skip,
|
|
@@ -1609,7 +1609,7 @@ async function handleDefaultCommand(config, environment, logger) {
|
|
|
1609
1609
|
);
|
|
1610
1610
|
allSnapRequestIds = [...snapRequestIds, extendsRequestId];
|
|
1611
1611
|
} else if (only && baselineSha && resolvedSkip && resolvedSkip.length > 0) {
|
|
1612
|
-
const createExtendsReportSnapRequest = (await import("./createExtendsReportSnapRequest-
|
|
1612
|
+
const createExtendsReportSnapRequest = (await import("./createExtendsReportSnapRequest-IRHFVRCI.js")).default;
|
|
1613
1613
|
const extendsRequestId = await createExtendsReportSnapRequest(
|
|
1614
1614
|
baselineSha,
|
|
1615
1615
|
resolvedSkip,
|
|
@@ -1645,7 +1645,7 @@ async function handleDefaultCommand(config, environment, logger) {
|
|
|
1645
1645
|
} catch (e) {
|
|
1646
1646
|
const message = e instanceof Error ? e.message : String(e);
|
|
1647
1647
|
logger.error(`${config.integration.type} run failed: ${message}`, e);
|
|
1648
|
-
const cancelJob = (await import("./cancelJob-
|
|
1648
|
+
const cancelJob = (await import("./cancelJob-X6WN6AHI.js")).default;
|
|
1649
1649
|
await cancelJob("failure", message, config, environment, logger);
|
|
1650
1650
|
process.exitCode = 1;
|
|
1651
1651
|
return;
|
|
@@ -1656,7 +1656,7 @@ async function handleFinalizeCommand(config, environment, logger) {
|
|
|
1656
1656
|
logger.log("Config:", config);
|
|
1657
1657
|
logger.log("Environment:", environment);
|
|
1658
1658
|
try {
|
|
1659
|
-
const finalizeAll = (await import("./wrapper-
|
|
1659
|
+
const finalizeAll = (await import("./wrapper-WXSMHY3Z.js")).finalizeAll;
|
|
1660
1660
|
await finalizeAll({ happoConfig: config, environment, logger });
|
|
1661
1661
|
} catch (e) {
|
|
1662
1662
|
logger.error(e instanceof Error ? e.message : String(e), e);
|
|
@@ -1684,7 +1684,7 @@ async function handleFlakeCommand(config, {
|
|
|
1684
1684
|
process.exitCode = 1;
|
|
1685
1685
|
return;
|
|
1686
1686
|
}
|
|
1687
|
-
const { default: getFlakes, formatFlakeOutput } = await import("./getFlakes-
|
|
1687
|
+
const { default: getFlakes, formatFlakeOutput } = await import("./getFlakes-36553LJ7.js");
|
|
1688
1688
|
const project = allProjects ? void 0 : projectOverride ?? config.project;
|
|
1689
1689
|
const flakes = await getFlakes(
|
|
1690
1690
|
{
|
|
@@ -1726,7 +1726,7 @@ async function handleE2ECommand(config, environment, dashdashCommandParts, confi
|
|
|
1726
1726
|
logger.log("Config:", config);
|
|
1727
1727
|
logger.log("Environment:", environment);
|
|
1728
1728
|
logger.log("Dashdash command parts:", dashdashCommandParts);
|
|
1729
|
-
const runWithWrapper = (await import("./wrapper-
|
|
1729
|
+
const runWithWrapper = (await import("./wrapper-WXSMHY3Z.js")).default;
|
|
1730
1730
|
const exitCode = await runWithWrapper(
|
|
1731
1731
|
dashdashCommandParts,
|
|
1732
1732
|
config,
|
|
@@ -4,11 +4,11 @@ import {
|
|
|
4
4
|
} from "./chunk-ML3Z5Z22.js";
|
|
5
5
|
import {
|
|
6
6
|
makeHappoAPIRequest
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-Q5QFRFFU.js";
|
|
8
8
|
import {
|
|
9
9
|
ErrorWithStatusCode
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import "./chunk-
|
|
10
|
+
} from "./chunk-KHHTPRKU.js";
|
|
11
|
+
import "./chunk-DKTZGFEN.js";
|
|
12
12
|
|
|
13
13
|
// src/network/prepareSnapRequests.ts
|
|
14
14
|
import fs5 from "node:fs";
|
|
@@ -420,9 +420,9 @@ function normalizeImportPath(p) {
|
|
|
420
420
|
var { HAPPO_DEBUG: HAPPO_DEBUG2 } = process.env;
|
|
421
421
|
function resolveBuildCommandParts() {
|
|
422
422
|
const version = getStorybookVersionFromPackageJson();
|
|
423
|
-
if (version <
|
|
423
|
+
if (version < 8) {
|
|
424
424
|
throw new Error(
|
|
425
|
-
`Storybook v${version} is not supported. Please update storybook to
|
|
425
|
+
`Storybook v${version} is not supported. Please update storybook to v8 or later.`
|
|
426
426
|
);
|
|
427
427
|
}
|
|
428
428
|
return getStorybookBuildCommandParts();
|
|
@@ -1059,4 +1059,4 @@ async function prepareSnapRequests(config, skip, only) {
|
|
|
1059
1059
|
export {
|
|
1060
1060
|
prepareSnapRequests as default
|
|
1061
1061
|
};
|
|
1062
|
-
//# sourceMappingURL=prepareSnapRequests-
|
|
1062
|
+
//# sourceMappingURL=prepareSnapRequests-NIN2NCRF.js.map
|