cypress 15.7.1 → 15.8.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/angular/dist/index.js +4 -779
- package/angular/dist/index.js +4 -779
- package/angular-zoneless/README.md +15 -0
- package/angular-zoneless/angular-zoneless/README.md +15 -0
- package/angular-zoneless/angular-zoneless/dist/index.d.ts +119 -0
- package/angular-zoneless/angular-zoneless/dist/index.js +482 -0
- package/angular-zoneless/angular-zoneless/package.json +74 -0
- package/angular-zoneless/dist/index.d.ts +119 -0
- package/angular-zoneless/dist/index.js +482 -0
- package/angular-zoneless/package.json +74 -0
- package/dist/exec/spawn.js +1 -2
- package/dist/tasks/download.js +1 -1
- package/dist/util.js +1 -1
- package/package.json +9 -3
- package/types/cypress.d.ts +7 -2
- package/vue/package.json +2 -2
- package/vue/vue/package.json +2 -2
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@cypress/angular-zoneless",
|
|
3
|
+
"version": "0.0.0-development",
|
|
4
|
+
"description": "Test Angular Components with Cypress without zone.js",
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"scripts": {
|
|
7
|
+
"prebuild": "rimraf dist",
|
|
8
|
+
"build": "rollup -c rollup.config.mjs",
|
|
9
|
+
"postbuild": "node ../../scripts/sync-exported-npm-with-cli.js",
|
|
10
|
+
"check-ts": "tsc --noEmit",
|
|
11
|
+
"dev": "rollup -c rollup.config.mjs -w",
|
|
12
|
+
"lint": "eslint --ext .js,.ts,.json, ."
|
|
13
|
+
},
|
|
14
|
+
"dependencies": {},
|
|
15
|
+
"devDependencies": {
|
|
16
|
+
"@angular/common": "^21.0.0",
|
|
17
|
+
"@angular/core": "^21.0.0",
|
|
18
|
+
"@angular/platform-browser-dynamic": "^21.0.0",
|
|
19
|
+
"@cypress/mount-utils": "0.0.0-development",
|
|
20
|
+
"rollup": "^4.24.4",
|
|
21
|
+
"typescript": "~5.9.2"
|
|
22
|
+
},
|
|
23
|
+
"peerDependencies": {
|
|
24
|
+
"@angular/common": ">=20.0.0",
|
|
25
|
+
"@angular/core": ">=20.0.0",
|
|
26
|
+
"@angular/platform-browser-dynamic": ">=20.0.0",
|
|
27
|
+
"rxjs": ">=7.8.0"
|
|
28
|
+
},
|
|
29
|
+
"files": [
|
|
30
|
+
"dist"
|
|
31
|
+
],
|
|
32
|
+
"types": "dist/index.d.ts",
|
|
33
|
+
"license": "MIT",
|
|
34
|
+
"repository": {
|
|
35
|
+
"type": "git",
|
|
36
|
+
"url": "https://github.com/cypress-io/cypress.git"
|
|
37
|
+
},
|
|
38
|
+
"homepage": "https://github.com/cypress-io/cypress/blob/develop/npm/angular-zoneless/#readme",
|
|
39
|
+
"bugs": "https://github.com/cypress-io/cypress/issues/new?assignees=&labels=npm%3A%20%40cypress%2Fangular-zoneless&template=1-bug-report.md&title=",
|
|
40
|
+
"keywords": [
|
|
41
|
+
"angular",
|
|
42
|
+
"cypress",
|
|
43
|
+
"cypress-io",
|
|
44
|
+
"test",
|
|
45
|
+
"testing",
|
|
46
|
+
"zoneless"
|
|
47
|
+
],
|
|
48
|
+
"contributors": [
|
|
49
|
+
{
|
|
50
|
+
"name": "Bill Glesias",
|
|
51
|
+
"social": "@atofstryker"
|
|
52
|
+
}
|
|
53
|
+
],
|
|
54
|
+
"module": "dist/index.js",
|
|
55
|
+
"publishConfig": {
|
|
56
|
+
"access": "public"
|
|
57
|
+
},
|
|
58
|
+
"nx": {
|
|
59
|
+
"targets": {
|
|
60
|
+
"build": {
|
|
61
|
+
"outputs": [
|
|
62
|
+
"{workspaceRoot}/cli/angular-zoneless"
|
|
63
|
+
]
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
"standard": {
|
|
68
|
+
"globals": [
|
|
69
|
+
"Cypress",
|
|
70
|
+
"cy",
|
|
71
|
+
"expect"
|
|
72
|
+
]
|
|
73
|
+
}
|
|
74
|
+
}
|
package/dist/exec/spawn.js
CHANGED
|
@@ -50,7 +50,6 @@ const lodash_1 = __importDefault(require("lodash"));
|
|
|
50
50
|
const os_1 = __importDefault(require("os"));
|
|
51
51
|
const child_process_1 = __importDefault(require("child_process"));
|
|
52
52
|
const path_1 = __importDefault(require("path"));
|
|
53
|
-
const bluebird_1 = __importDefault(require("bluebird"));
|
|
54
53
|
const debug_1 = __importDefault(require("debug"));
|
|
55
54
|
const util_1 = __importDefault(require("../util"));
|
|
56
55
|
const state_1 = __importDefault(require("../tasks/state"));
|
|
@@ -91,7 +90,7 @@ function getStdioStrategy(needsXvfb) {
|
|
|
91
90
|
}
|
|
92
91
|
function createSpawnFunction(executable, args, options) {
|
|
93
92
|
return (overrides = {}) => {
|
|
94
|
-
return new
|
|
93
|
+
return new Promise((resolve, reject) => {
|
|
95
94
|
lodash_1.default.defaults(overrides, {
|
|
96
95
|
onStderrData: false,
|
|
97
96
|
});
|
package/dist/tasks/download.js
CHANGED
|
@@ -167,7 +167,7 @@ const verifyDownloadedFile = (filename, expectedSize, expectedChecksum) => __awa
|
|
|
167
167
|
// {filename: ..., downloaded: true}
|
|
168
168
|
const downloadFromUrl = ({ url, downloadDestination, progress, ca, version, redirectTTL = defaultMaxRedirects }) => {
|
|
169
169
|
if (redirectTTL <= 0) {
|
|
170
|
-
return
|
|
170
|
+
return Promise.reject(new Error((0, common_tags_1.stripIndent) `
|
|
171
171
|
Failed downloading the Cypress binary.
|
|
172
172
|
There were too many redirects. The default allowance is ${defaultMaxRedirects}.
|
|
173
173
|
Maybe you got stuck in a redirect loop?
|
package/dist/util.js
CHANGED
|
@@ -314,7 +314,7 @@ const util = {
|
|
|
314
314
|
return /^(\d+\.)?(\d+\.)?(\*|\d+)$/.test(str);
|
|
315
315
|
},
|
|
316
316
|
isExecutableAsync(filePath) {
|
|
317
|
-
return
|
|
317
|
+
return Promise.resolve((0, executable_1.default)(filePath));
|
|
318
318
|
},
|
|
319
319
|
isLinux,
|
|
320
320
|
getOsVersionAsync() {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cypress",
|
|
3
|
-
"version": "15.
|
|
3
|
+
"version": "15.8.0",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"postinstall": "node dist/index.js --exec install",
|
|
@@ -58,6 +58,7 @@
|
|
|
58
58
|
"vue",
|
|
59
59
|
"react",
|
|
60
60
|
"angular",
|
|
61
|
+
"angular-zoneless",
|
|
61
62
|
"svelte"
|
|
62
63
|
],
|
|
63
64
|
"bin": {
|
|
@@ -99,6 +100,11 @@
|
|
|
99
100
|
"import": "./angular/dist/index.js",
|
|
100
101
|
"require": "./angular/dist/index.js"
|
|
101
102
|
},
|
|
103
|
+
"./angular-zoneless": {
|
|
104
|
+
"types": "./angular-zoneless/dist/index.d.ts",
|
|
105
|
+
"import": "./angular-zoneless/dist/index.js",
|
|
106
|
+
"require": "./angular-zoneless/dist/index.js"
|
|
107
|
+
},
|
|
102
108
|
"./svelte": {
|
|
103
109
|
"types": "./svelte/dist/index.d.ts",
|
|
104
110
|
"import": "./svelte/dist/cypress-svelte.esm-bundler.js",
|
|
@@ -126,8 +132,8 @@
|
|
|
126
132
|
},
|
|
127
133
|
"buildInfo": {
|
|
128
134
|
"commitBranch": "develop",
|
|
129
|
-
"commitSha": "
|
|
130
|
-
"commitDate": "2025-12-
|
|
135
|
+
"commitSha": "6bf587c51a874f611f662f5c67d9c93522edf24d",
|
|
136
|
+
"commitDate": "2025-12-16T18:38:38.000Z",
|
|
131
137
|
"stable": true
|
|
132
138
|
},
|
|
133
139
|
"description": "Cypress is a next generation front end testing tool built for the modern web",
|
package/types/cypress.d.ts
CHANGED
|
@@ -3193,6 +3193,11 @@ declare namespace Cypress {
|
|
|
3193
3193
|
* @default false
|
|
3194
3194
|
*/
|
|
3195
3195
|
experimentalMemoryManagement: boolean
|
|
3196
|
+
/**
|
|
3197
|
+
* Enables an alternative, performance-optimized visibility algorithm.
|
|
3198
|
+
* @default false
|
|
3199
|
+
*/
|
|
3200
|
+
experimentalFastVisibility: boolean
|
|
3196
3201
|
/**
|
|
3197
3202
|
* Allows for just-in-time compiling of a component test, which will only compile assets related to the component.
|
|
3198
3203
|
* This results in a smaller bundle under test, reducing resource constraints on a given machine. This option is recommended
|
|
@@ -3365,14 +3370,14 @@ declare namespace Cypress {
|
|
|
3365
3370
|
}
|
|
3366
3371
|
|
|
3367
3372
|
interface SuiteConfigOverrides extends Partial<
|
|
3368
|
-
Pick<ConfigOptions, 'animationDistanceThreshold' | 'blockHosts' | 'defaultCommandTimeout' | 'env' | 'execTimeout' | 'includeShadowDom' | 'numTestsKeptInMemory' | 'pageLoadTimeout' | 'redirectionLimit' | 'requestTimeout' | 'responseTimeout' | 'retries' | 'screenshotOnRunFailure' | 'slowTestThreshold' | 'scrollBehavior' | 'taskTimeout' | 'viewportHeight' | 'viewportWidth' | 'waitForAnimations'>
|
|
3373
|
+
Pick<ConfigOptions, 'animationDistanceThreshold' | 'blockHosts' | 'defaultCommandTimeout' | 'env' | 'execTimeout' | 'experimentalFastVisibility' | 'includeShadowDom' | 'numTestsKeptInMemory' | 'pageLoadTimeout' | 'redirectionLimit' | 'requestTimeout' | 'responseTimeout' | 'retries' | 'screenshotOnRunFailure' | 'slowTestThreshold' | 'scrollBehavior' | 'taskTimeout' | 'viewportHeight' | 'viewportWidth' | 'waitForAnimations'>
|
|
3369
3374
|
>, Partial<Pick<ResolvedConfigOptions, 'baseUrl' | 'testIsolation'>> {
|
|
3370
3375
|
browser?: IsBrowserMatcher | IsBrowserMatcher[]
|
|
3371
3376
|
keystrokeDelay?: number
|
|
3372
3377
|
}
|
|
3373
3378
|
|
|
3374
3379
|
interface TestConfigOverrides extends Partial<
|
|
3375
|
-
Pick<ConfigOptions, 'animationDistanceThreshold' | 'blockHosts' | 'defaultCommandTimeout' | 'env' | 'execTimeout' | 'includeShadowDom' | 'numTestsKeptInMemory' | 'pageLoadTimeout' | 'redirectionLimit' | 'requestTimeout' | 'responseTimeout' | 'retries' | 'screenshotOnRunFailure' | 'slowTestThreshold' | 'scrollBehavior' | 'taskTimeout' | 'viewportHeight' | 'viewportWidth' | 'waitForAnimations'>
|
|
3380
|
+
Pick<ConfigOptions, 'animationDistanceThreshold' | 'blockHosts' | 'defaultCommandTimeout' | 'env' | 'execTimeout' | 'experimentalFastVisibility' | 'includeShadowDom' | 'numTestsKeptInMemory' | 'pageLoadTimeout' | 'redirectionLimit' | 'requestTimeout' | 'responseTimeout' | 'retries' | 'screenshotOnRunFailure' | 'slowTestThreshold' | 'scrollBehavior' | 'taskTimeout' | 'viewportHeight' | 'viewportWidth' | 'waitForAnimations'>
|
|
3376
3381
|
>, Partial<Pick<ResolvedConfigOptions, 'baseUrl'>> {
|
|
3377
3382
|
browser?: IsBrowserMatcher | IsBrowserMatcher[]
|
|
3378
3383
|
keystrokeDelay?: number
|
package/vue/package.json
CHANGED
|
@@ -16,10 +16,10 @@
|
|
|
16
16
|
},
|
|
17
17
|
"devDependencies": {
|
|
18
18
|
"@cypress/mount-utils": "0.0.0-development",
|
|
19
|
-
"@vitejs/plugin-vue": "6.0.
|
|
19
|
+
"@vitejs/plugin-vue": "6.0.3",
|
|
20
20
|
"@vue/compiler-sfc": "3.2.47",
|
|
21
21
|
"@vue/test-utils": "2.4.6",
|
|
22
|
-
"axios": "0.30.
|
|
22
|
+
"axios": "0.30.2",
|
|
23
23
|
"cypress": "0.0.0-development",
|
|
24
24
|
"debug": "^4.3.4",
|
|
25
25
|
"globby": "^11.0.1",
|
package/vue/vue/package.json
CHANGED
|
@@ -16,10 +16,10 @@
|
|
|
16
16
|
},
|
|
17
17
|
"devDependencies": {
|
|
18
18
|
"@cypress/mount-utils": "0.0.0-development",
|
|
19
|
-
"@vitejs/plugin-vue": "6.0.
|
|
19
|
+
"@vitejs/plugin-vue": "6.0.3",
|
|
20
20
|
"@vue/compiler-sfc": "3.2.47",
|
|
21
21
|
"@vue/test-utils": "2.4.6",
|
|
22
|
-
"axios": "0.30.
|
|
22
|
+
"axios": "0.30.2",
|
|
23
23
|
"cypress": "0.0.0-development",
|
|
24
24
|
"debug": "^4.3.4",
|
|
25
25
|
"globby": "^11.0.1",
|