cypress 15.21.0 → 16.0.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/angular/README.md +4 -1
- package/angular/angular/README.md +4 -1
- package/angular/angular/dist/index.d.ts +3 -19
- package/angular/angular/dist/index.js +70 -84
- package/angular/angular/package.json +11 -12
- package/angular/dist/index.d.ts +3 -19
- package/angular/dist/index.js +70 -84
- package/angular/package.json +11 -12
- package/dist/bin/cypress +2 -2
- package/dist/{cli-_xePNEPj.js → cli-Dl3GL9Ov.js} +1897 -1930
- package/dist/cli.js +2 -2
- package/dist/{cypress-DCSAOi2D.js → cypress-BfVf5_hP.js} +1 -1
- package/dist/cypress.js +3 -3
- package/dist/exec/spawn.js +1 -1
- package/dist/index.js +3 -3
- package/dist/{spawn-BkpC5qQ4.js → spawn-DpvsyDKg.js} +12 -12
- package/dist/{tap-BkTD6Abc.js → tap-tSM1ve9x.js} +41 -19
- package/mount-utils/dist/index.js +1 -1
- package/mount-utils/mount-utils/dist/index.js +1 -1
- package/mount-utils/mount-utils/package.json +5 -5
- package/mount-utils/package.json +5 -5
- package/package.json +5 -11
- package/react/dist/cypress-react.cjs.js +1 -1
- package/react/dist/cypress-react.esm-bundler.js +1 -1
- package/react/dist/index.d.ts +2 -1
- package/react/package.json +2 -2
- package/react/react/dist/cypress-react.cjs.js +1 -1
- package/react/react/dist/cypress-react.esm-bundler.js +1 -1
- package/react/react/dist/index.d.ts +2 -1
- package/react/react/package.json +2 -2
- package/svelte/dist/cypress-svelte.cjs.js +1 -1
- package/svelte/dist/cypress-svelte.esm-bundler.js +1 -1
- package/svelte/dist/index.d.ts +2 -1
- package/svelte/package.json +1 -1
- package/svelte/svelte/dist/cypress-svelte.cjs.js +1 -1
- package/svelte/svelte/dist/cypress-svelte.esm-bundler.js +1 -1
- package/svelte/svelte/dist/index.d.ts +2 -1
- package/svelte/svelte/package.json +1 -1
- package/types/cy-blob-util.d.ts +1 -1
- package/types/cypress.d.ts +32 -134
- package/vue/dist/cypress-vue.cjs.js +62 -66
- package/vue/dist/cypress-vue.esm-bundler.js +50 -54
- package/vue/dist/index.d.ts +120 -82
- package/vue/package.json +4 -4
- package/vue/vue/dist/cypress-vue.cjs.js +62 -66
- package/vue/vue/dist/cypress-vue.esm-bundler.js +50 -54
- package/vue/vue/dist/index.d.ts +120 -82
- package/vue/vue/package.json +4 -4
- package/angular-zoneless/README.md +0 -15
- package/angular-zoneless/angular-zoneless/README.md +0 -15
- package/angular-zoneless/angular-zoneless/dist/index.d.ts +0 -119
- package/angular-zoneless/angular-zoneless/dist/index.js +0 -482
- package/angular-zoneless/angular-zoneless/package.json +0 -74
- package/angular-zoneless/dist/index.d.ts +0 -119
- package/angular-zoneless/dist/index.js +0 -482
- package/angular-zoneless/package.json +0 -74
package/dist/cli.js
CHANGED
|
@@ -8,8 +8,8 @@ require('commander');
|
|
|
8
8
|
require('common-tags');
|
|
9
9
|
require('log-symbols');
|
|
10
10
|
require('debug');
|
|
11
|
-
var cli = require('./cli-
|
|
12
|
-
require('./spawn-
|
|
11
|
+
var cli = require('./cli-Dl3GL9Ov.js');
|
|
12
|
+
require('./spawn-DpvsyDKg.js');
|
|
13
13
|
require('os');
|
|
14
14
|
require('bluebird');
|
|
15
15
|
require('@cypress/xvfb');
|
package/dist/cypress.js
CHANGED
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
require('./xvfb-BKRGwxlS.js');
|
|
4
4
|
require('tmp');
|
|
5
5
|
require('fs-extra');
|
|
6
|
-
require('./cli-
|
|
7
|
-
var cypress = require('./cypress-
|
|
6
|
+
require('./cli-Dl3GL9Ov.js');
|
|
7
|
+
var cypress = require('./cypress-BfVf5_hP.js');
|
|
8
8
|
require('os');
|
|
9
9
|
require('bluebird');
|
|
10
10
|
require('@cypress/xvfb');
|
|
@@ -33,7 +33,7 @@ require('commander');
|
|
|
33
33
|
require('cli-table3');
|
|
34
34
|
require('dayjs');
|
|
35
35
|
require('dayjs/plugin/relativeTime');
|
|
36
|
-
require('./spawn-
|
|
36
|
+
require('./spawn-DpvsyDKg.js');
|
|
37
37
|
require('child_process');
|
|
38
38
|
require('listr2');
|
|
39
39
|
require('readline');
|
package/dist/exec/spawn.js
CHANGED
package/dist/index.js
CHANGED
|
@@ -5,9 +5,9 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
var xvfb = require('./xvfb-BKRGwxlS.js');
|
|
6
6
|
var minimist = require('minimist');
|
|
7
7
|
var Debug = require('debug');
|
|
8
|
-
var cli$1 = require('./cli-
|
|
9
|
-
var spawn = require('./spawn-
|
|
10
|
-
var cypress = require('./cypress-
|
|
8
|
+
var cli$1 = require('./cli-Dl3GL9Ov.js');
|
|
9
|
+
var spawn = require('./spawn-DpvsyDKg.js');
|
|
10
|
+
var cypress = require('./cypress-BfVf5_hP.js');
|
|
11
11
|
require('os');
|
|
12
12
|
require('bluebird');
|
|
13
13
|
require('@cypress/xvfb');
|
|
@@ -1027,25 +1027,25 @@ var hasRequiredDist;
|
|
|
1027
1027
|
function requireDist () {
|
|
1028
1028
|
if (hasRequiredDist) return dist;
|
|
1029
1029
|
hasRequiredDist = 1;
|
|
1030
|
-
(function (exports
|
|
1031
|
-
Object.defineProperty(exports
|
|
1032
|
-
exports
|
|
1030
|
+
(function (exports) {
|
|
1031
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1032
|
+
exports.DEBUG_PREFIX = exports.END_TAG = exports.START_TAG = exports.logError = exports.filter = exports.WriteToDebug = exports.TagStream = exports.FilterPrefixedContent = exports.FilterTaggedContent = void 0;
|
|
1033
1033
|
var FilterTaggedContent_1 = requireFilterTaggedContent();
|
|
1034
|
-
Object.defineProperty(exports
|
|
1034
|
+
Object.defineProperty(exports, "FilterTaggedContent", { enumerable: true, get: function () { return FilterTaggedContent_1.FilterTaggedContent; } });
|
|
1035
1035
|
var FilterPrefixedContent_1 = requireFilterPrefixedContent();
|
|
1036
|
-
Object.defineProperty(exports
|
|
1036
|
+
Object.defineProperty(exports, "FilterPrefixedContent", { enumerable: true, get: function () { return FilterPrefixedContent_1.FilterPrefixedContent; } });
|
|
1037
1037
|
var TagStream_1 = requireTagStream();
|
|
1038
|
-
Object.defineProperty(exports
|
|
1038
|
+
Object.defineProperty(exports, "TagStream", { enumerable: true, get: function () { return TagStream_1.TagStream; } });
|
|
1039
1039
|
var WriteToDebug_1 = requireWriteToDebug();
|
|
1040
|
-
Object.defineProperty(exports
|
|
1040
|
+
Object.defineProperty(exports, "WriteToDebug", { enumerable: true, get: function () { return WriteToDebug_1.WriteToDebug; } });
|
|
1041
1041
|
var Filter_1 = requireFilter();
|
|
1042
|
-
Object.defineProperty(exports
|
|
1042
|
+
Object.defineProperty(exports, "filter", { enumerable: true, get: function () { return Filter_1.filter; } });
|
|
1043
1043
|
var logError_1 = requireLogError();
|
|
1044
|
-
Object.defineProperty(exports
|
|
1044
|
+
Object.defineProperty(exports, "logError", { enumerable: true, get: function () { return logError_1.logError; } });
|
|
1045
1045
|
var constants_1 = requireConstants();
|
|
1046
|
-
Object.defineProperty(exports
|
|
1047
|
-
Object.defineProperty(exports
|
|
1048
|
-
Object.defineProperty(exports
|
|
1046
|
+
Object.defineProperty(exports, "START_TAG", { enumerable: true, get: function () { return constants_1.START_TAG; } });
|
|
1047
|
+
Object.defineProperty(exports, "END_TAG", { enumerable: true, get: function () { return constants_1.END_TAG; } });
|
|
1048
|
+
Object.defineProperty(exports, "DEBUG_PREFIX", { enumerable: true, get: function () { return constants_1.DEBUG_PREFIX; } });
|
|
1049
1049
|
|
|
1050
1050
|
} (dist));
|
|
1051
1051
|
return dist;
|
|
@@ -4,7 +4,7 @@ var xvfb = require('./xvfb-BKRGwxlS.js');
|
|
|
4
4
|
var Debug = require('debug');
|
|
5
5
|
var commander = require('commander');
|
|
6
6
|
var path = require('path');
|
|
7
|
-
var cli = require('./cli-
|
|
7
|
+
var cli = require('./cli-Dl3GL9Ov.js');
|
|
8
8
|
var CRI = require('chrome-remote-interface');
|
|
9
9
|
var chalk = require('chalk');
|
|
10
10
|
var crypto = require('crypto');
|
|
@@ -33,7 +33,7 @@ require('untildify');
|
|
|
33
33
|
require('cli-table3');
|
|
34
34
|
require('dayjs');
|
|
35
35
|
require('dayjs/plugin/relativeTime');
|
|
36
|
-
require('./spawn-
|
|
36
|
+
require('./spawn-DpvsyDKg.js');
|
|
37
37
|
require('child_process');
|
|
38
38
|
require('listr2');
|
|
39
39
|
require('readline');
|
|
@@ -1559,9 +1559,9 @@ var hasRequiredDist;
|
|
|
1559
1559
|
function requireDist () {
|
|
1560
1560
|
if (hasRequiredDist) return dist;
|
|
1561
1561
|
hasRequiredDist = 1;
|
|
1562
|
-
(function (exports
|
|
1563
|
-
Object.defineProperty(exports
|
|
1564
|
-
exports
|
|
1562
|
+
(function (exports) {
|
|
1563
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1564
|
+
exports.isAgent = exports.detectAgent = void 0;
|
|
1565
1565
|
const envMatcher = (key, regex, opts = {}) => {
|
|
1566
1566
|
return (env) => {
|
|
1567
1567
|
var _a, _b;
|
|
@@ -1612,11 +1612,11 @@ function requireDist () {
|
|
|
1612
1612
|
}
|
|
1613
1613
|
return env.AI_AGENT ? fromAiAgent(env.AI_AGENT) : undefined;
|
|
1614
1614
|
};
|
|
1615
|
-
exports
|
|
1615
|
+
exports.detectAgent = detectAgent;
|
|
1616
1616
|
const isAgent = (env = process.env) => {
|
|
1617
|
-
return !!(0, exports
|
|
1617
|
+
return !!(0, exports.detectAgent)(env);
|
|
1618
1618
|
};
|
|
1619
|
-
exports
|
|
1619
|
+
exports.isAgent = isAgent;
|
|
1620
1620
|
|
|
1621
1621
|
} (dist));
|
|
1622
1622
|
return dist;
|
|
@@ -1954,7 +1954,6 @@ const statusCommand = defineNativeCommand('status', reportStatus);
|
|
|
1954
1954
|
|
|
1955
1955
|
const debug$2 = Debug('cypress:cli:tap');
|
|
1956
1956
|
const GRAPHQL_HOST = '127.0.0.1';
|
|
1957
|
-
const GRAPHQL_PATH = '/__cypress/graphql';
|
|
1958
1957
|
const DEFAULT_QUERY_TIMEOUT_MS = 4000;
|
|
1959
1958
|
const firstErrorMessage = (envelopeErrors) => {
|
|
1960
1959
|
const first = Array.isArray(envelopeErrors) ? envelopeErrors[0] : undefined;
|
|
@@ -1976,28 +1975,51 @@ const validateEnvelope = (operationName, envelope) => {
|
|
|
1976
1975
|
}
|
|
1977
1976
|
return envelope.data;
|
|
1978
1977
|
};
|
|
1978
|
+
// Whether the session served this path at all. The force-proxy guard redirects an
|
|
1979
|
+
// unrecognized path to the runner page while the MITM proxy is on, and Express 404s
|
|
1980
|
+
// it when CDP owns browser traffic instead; graphql itself answers 400 or 500, so
|
|
1981
|
+
// neither of these comes from the query.
|
|
1982
|
+
const isUnservedPath = (response) => {
|
|
1983
|
+
return response.redirected || response.status === 404;
|
|
1984
|
+
};
|
|
1985
|
+
// A session serving neither path is the reason for the failure, so the fault lies with
|
|
1986
|
+
// it rather than the request. Its liveness probe tells the two apart: the route is
|
|
1987
|
+
// unnamespaced and present in every build that has tap, so an answer means a live
|
|
1988
|
+
// session that simply predates the tap route, and silence means it is gone.
|
|
1989
|
+
const throwForUnservedPaths = (session, operationName) => xvfb.__awaiter(void 0, void 0, void 0, function* () {
|
|
1990
|
+
const live = yield cli.verifySessionRecord(session);
|
|
1991
|
+
if (live === null) {
|
|
1992
|
+
return throwTapError('STALE_SESSION', `The session stopped answering while running ${operationName}.`);
|
|
1993
|
+
}
|
|
1994
|
+
return throwTapError('SESSION_OUTDATED', `The session does not serve ${operationName} over tap GraphQL.`);
|
|
1995
|
+
});
|
|
1979
1996
|
const querySessionGraphql = (session_1, operation_1, ...args_1) => xvfb.__awaiter(void 0, [session_1, operation_1, ...args_1], void 0, function* (session, operation, timeoutMs = DEFAULT_QUERY_TIMEOUT_MS) {
|
|
1980
1997
|
const { operationName, query, variables } = operation;
|
|
1981
|
-
const
|
|
1982
|
-
|
|
1983
|
-
try {
|
|
1984
|
-
response = yield fetch(url, {
|
|
1998
|
+
const post = (path) => {
|
|
1999
|
+
return fetch(`http://${GRAPHQL_HOST}:${session.serverPort}${path}`, {
|
|
1985
2000
|
method: 'POST',
|
|
1986
2001
|
headers: { 'content-type': 'application/json', [cli.distExports.SESSION_ID_HEADER]: session.sessionId },
|
|
1987
2002
|
body: JSON.stringify({ operationName, query, variables: variables !== null && variables !== void 0 ? variables : {} }),
|
|
1988
2003
|
signal: AbortSignal.timeout(timeoutMs),
|
|
1989
2004
|
});
|
|
2005
|
+
};
|
|
2006
|
+
let response;
|
|
2007
|
+
try {
|
|
2008
|
+
response = yield post(cli.distExports.tapGraphqlPath(operationName));
|
|
2009
|
+
// Sessions that predate the fixed tap route only serve GraphQL under the project's
|
|
2010
|
+
// `namespace`, so retry the default one — every such session that did not override
|
|
2011
|
+
// it answers there.
|
|
2012
|
+
if (isUnservedPath(response)) {
|
|
2013
|
+
debug$2('graphql request %s to pid %d went unserved; retrying the legacy path', operationName, session.pid);
|
|
2014
|
+
response = yield post(`${cli.distExports.LEGACY_TAP_GRAPHQL_PATH}/${operationName}`);
|
|
2015
|
+
}
|
|
1990
2016
|
}
|
|
1991
2017
|
catch (err) {
|
|
1992
2018
|
debug$2('graphql request %s to pid %d failed: %o', operationName, session.pid, err);
|
|
1993
2019
|
return throwTapError('GRAPHQL_UNREACHABLE', `Could not reach the session to run ${operationName}: ${err.message}`, err);
|
|
1994
2020
|
}
|
|
1995
|
-
|
|
1996
|
-
|
|
1997
|
-
// direct tap GraphQL — an older Cypress that predates it (or one that rejected
|
|
1998
|
-
// our session-id). Report that instead of the runner HTML as a data error.
|
|
1999
|
-
if (response.redirected) {
|
|
2000
|
-
return throwTapError('SESSION_OUTDATED', `The session redirected the ${operationName} request instead of answering it, so it does not support direct tap GraphQL.`);
|
|
2021
|
+
if (isUnservedPath(response)) {
|
|
2022
|
+
return yield throwForUnservedPaths(session, operationName);
|
|
2001
2023
|
}
|
|
2002
2024
|
if (response.status !== 200) {
|
|
2003
2025
|
// express-graphql answers parse/validation failures with 400 + { errors: [...] };
|
|
@@ -13,13 +13,13 @@
|
|
|
13
13
|
"dependencies": {},
|
|
14
14
|
"devDependencies": {
|
|
15
15
|
"@packages/eslint-config": "0.0.0-development",
|
|
16
|
-
"@rollup/plugin-commonjs": "^
|
|
17
|
-
"@rollup/plugin-node-resolve": "^
|
|
16
|
+
"@rollup/plugin-commonjs": "^29.0.2",
|
|
17
|
+
"@rollup/plugin-node-resolve": "^16.0.3",
|
|
18
18
|
"eslint": "^9.31.0",
|
|
19
19
|
"lodash": "^4.17.21",
|
|
20
|
-
"rollup": "
|
|
21
|
-
"rollup-plugin-dts": "
|
|
22
|
-
"rollup-plugin-typescript2": "^0.
|
|
20
|
+
"rollup": "4.60.2",
|
|
21
|
+
"rollup-plugin-dts": "6.4.1",
|
|
22
|
+
"rollup-plugin-typescript2": "^0.37.0",
|
|
23
23
|
"typescript": "~5.4.5"
|
|
24
24
|
},
|
|
25
25
|
"files": [
|
package/mount-utils/package.json
CHANGED
|
@@ -13,13 +13,13 @@
|
|
|
13
13
|
"dependencies": {},
|
|
14
14
|
"devDependencies": {
|
|
15
15
|
"@packages/eslint-config": "0.0.0-development",
|
|
16
|
-
"@rollup/plugin-commonjs": "^
|
|
17
|
-
"@rollup/plugin-node-resolve": "^
|
|
16
|
+
"@rollup/plugin-commonjs": "^29.0.2",
|
|
17
|
+
"@rollup/plugin-node-resolve": "^16.0.3",
|
|
18
18
|
"eslint": "^9.31.0",
|
|
19
19
|
"lodash": "^4.17.21",
|
|
20
|
-
"rollup": "
|
|
21
|
-
"rollup-plugin-dts": "
|
|
22
|
-
"rollup-plugin-typescript2": "^0.
|
|
20
|
+
"rollup": "4.60.2",
|
|
21
|
+
"rollup-plugin-dts": "6.4.1",
|
|
22
|
+
"rollup-plugin-typescript2": "^0.37.0",
|
|
23
23
|
"typescript": "~5.4.5"
|
|
24
24
|
},
|
|
25
25
|
"files": [
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cypress",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "16.0.0",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"postinstall": "node dist/index.js --exec install",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"cli-table3": "0.6.1",
|
|
24
24
|
"commander": "^6.2.1",
|
|
25
25
|
"common-tags": "^1.8.0",
|
|
26
|
-
"dayjs": "^1.
|
|
26
|
+
"dayjs": "^1.11.23",
|
|
27
27
|
"debug": "^4.3.4",
|
|
28
28
|
"eventemitter2": "6.4.7",
|
|
29
29
|
"execa": "4.1.0",
|
|
@@ -55,14 +55,13 @@
|
|
|
55
55
|
"vue",
|
|
56
56
|
"react",
|
|
57
57
|
"angular",
|
|
58
|
-
"angular-zoneless",
|
|
59
58
|
"svelte"
|
|
60
59
|
],
|
|
61
60
|
"bin": {
|
|
62
61
|
"cypress": "bin/cypress"
|
|
63
62
|
},
|
|
64
63
|
"engines": {
|
|
65
|
-
"node": "^
|
|
64
|
+
"node": "^22.0.0 || ^24.0.0 || >=26.0.0"
|
|
66
65
|
},
|
|
67
66
|
"types": "types",
|
|
68
67
|
"exports": {
|
|
@@ -97,11 +96,6 @@
|
|
|
97
96
|
"import": "./angular/dist/index.js",
|
|
98
97
|
"require": "./angular/dist/index.js"
|
|
99
98
|
},
|
|
100
|
-
"./angular-zoneless": {
|
|
101
|
-
"types": "./angular-zoneless/dist/index.d.ts",
|
|
102
|
-
"import": "./angular-zoneless/dist/index.js",
|
|
103
|
-
"require": "./angular-zoneless/dist/index.js"
|
|
104
|
-
},
|
|
105
99
|
"./svelte": {
|
|
106
100
|
"types": "./svelte/dist/index.d.ts",
|
|
107
101
|
"import": "./svelte/dist/cypress-svelte.esm-bundler.js",
|
|
@@ -138,8 +132,8 @@
|
|
|
138
132
|
},
|
|
139
133
|
"buildInfo": {
|
|
140
134
|
"commitBranch": "develop",
|
|
141
|
-
"commitSha": "
|
|
142
|
-
"commitDate": "2026-08-
|
|
135
|
+
"commitSha": "9467a6e7f4645fe7a99a35fbc642d5e10d849cce",
|
|
136
|
+
"commitDate": "2026-08-31T19:15:10.000Z",
|
|
143
137
|
"stable": true
|
|
144
138
|
},
|
|
145
139
|
"description": "Cypress is a next generation front end testing tool built for the modern web",
|
|
@@ -104,7 +104,7 @@ function setupHooks(optionalCallback) {
|
|
|
104
104
|
});
|
|
105
105
|
// @ts-ignore
|
|
106
106
|
Cypress.on('test:before:after:run:async', () => {
|
|
107
|
-
optionalCallback
|
|
107
|
+
optionalCallback?.();
|
|
108
108
|
});
|
|
109
109
|
}
|
|
110
110
|
|
package/react/dist/index.d.ts
CHANGED
|
@@ -91,4 +91,5 @@ declare const getContainerEl: () => HTMLElement;
|
|
|
91
91
|
*/
|
|
92
92
|
declare function mount(jsx: React__default.ReactNode, options?: MountOptions, rerenderKey?: string): Cypress.Chainable<MountReturn>;
|
|
93
93
|
|
|
94
|
-
export {
|
|
94
|
+
export { createMount, getContainerEl, makeMountFn, makeUnmountFn, mount };
|
|
95
|
+
export type { InternalMountOptions, MountOptions, MountReactComponentOptions, MountReturn, UnmountArgs };
|
package/react/package.json
CHANGED
|
@@ -29,9 +29,9 @@
|
|
|
29
29
|
"react-dom": "18.3.1",
|
|
30
30
|
"react-router": "6.28.0",
|
|
31
31
|
"react-router-dom": "6.28.0",
|
|
32
|
-
"rollup": "
|
|
32
|
+
"rollup": "^4.60.2",
|
|
33
33
|
"typescript": "~5.4.5",
|
|
34
|
-
"vite": "
|
|
34
|
+
"vite": "^8.0.9"
|
|
35
35
|
},
|
|
36
36
|
"peerDependencies": {
|
|
37
37
|
"@types/react": "^18 || ^19",
|
|
@@ -104,7 +104,7 @@ function setupHooks(optionalCallback) {
|
|
|
104
104
|
});
|
|
105
105
|
// @ts-ignore
|
|
106
106
|
Cypress.on('test:before:after:run:async', () => {
|
|
107
|
-
optionalCallback
|
|
107
|
+
optionalCallback?.();
|
|
108
108
|
});
|
|
109
109
|
}
|
|
110
110
|
|
|
@@ -91,4 +91,5 @@ declare const getContainerEl: () => HTMLElement;
|
|
|
91
91
|
*/
|
|
92
92
|
declare function mount(jsx: React__default.ReactNode, options?: MountOptions, rerenderKey?: string): Cypress.Chainable<MountReturn>;
|
|
93
93
|
|
|
94
|
-
export {
|
|
94
|
+
export { createMount, getContainerEl, makeMountFn, makeUnmountFn, mount };
|
|
95
|
+
export type { InternalMountOptions, MountOptions, MountReactComponentOptions, MountReturn, UnmountArgs };
|
package/react/react/package.json
CHANGED
|
@@ -29,9 +29,9 @@
|
|
|
29
29
|
"react-dom": "18.3.1",
|
|
30
30
|
"react-router": "6.28.0",
|
|
31
31
|
"react-router-dom": "6.28.0",
|
|
32
|
-
"rollup": "
|
|
32
|
+
"rollup": "^4.60.2",
|
|
33
33
|
"typescript": "~5.4.5",
|
|
34
|
-
"vite": "
|
|
34
|
+
"vite": "^8.0.9"
|
|
35
35
|
},
|
|
36
36
|
"peerDependencies": {
|
|
37
37
|
"@types/react": "^18 || ^19",
|
package/svelte/dist/index.d.ts
CHANGED
package/svelte/package.json
CHANGED
package/types/cy-blob-util.d.ts
CHANGED