cypress 13.11.0 → 13.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.
Files changed (62) hide show
  1. package/angular/angular/dist/index.d.ts +1 -2
  2. package/angular/angular/dist/index.js +239 -239
  3. package/angular/angular/package.json +1 -1
  4. package/angular/dist/index.d.ts +1 -2
  5. package/angular/dist/index.js +239 -239
  6. package/angular/package.json +1 -1
  7. package/angular-signals/README.md +11 -0
  8. package/angular-signals/angular-signals/README.md +11 -0
  9. package/angular-signals/angular-signals/dist/index.d.ts +136 -0
  10. package/angular-signals/angular-signals/dist/index.js +1861 -0
  11. package/angular-signals/angular-signals/package.json +74 -0
  12. package/angular-signals/dist/index.d.ts +136 -0
  13. package/angular-signals/dist/index.js +1861 -0
  14. package/angular-signals/package.json +74 -0
  15. package/lib/cli.js +0 -1
  16. package/lib/exec/xvfb.js +0 -1
  17. package/lib/logger.js +0 -3
  18. package/mount-utils/dist/index.d.ts +1 -1
  19. package/mount-utils/mount-utils/dist/index.d.ts +1 -1
  20. package/mount-utils/mount-utils/package.json +1 -1
  21. package/mount-utils/package.json +1 -1
  22. package/package.json +11 -5
  23. package/react/dist/cypress-react.cjs.js +237 -237
  24. package/react/dist/cypress-react.esm-bundler.js +237 -237
  25. package/react/dist/index.d.ts +1 -1
  26. package/react/package.json +3 -3
  27. package/react/react/dist/cypress-react.cjs.js +237 -237
  28. package/react/react/dist/cypress-react.esm-bundler.js +237 -237
  29. package/react/react/dist/index.d.ts +1 -1
  30. package/react/react/package.json +3 -3
  31. package/react18/dist/cypress-react.cjs.js +222 -222
  32. package/react18/dist/cypress-react.esm-bundler.js +222 -222
  33. package/react18/dist/index.d.ts +1 -1
  34. package/react18/package.json +1 -1
  35. package/react18/react18/dist/cypress-react.cjs.js +222 -222
  36. package/react18/react18/dist/cypress-react.esm-bundler.js +222 -222
  37. package/react18/react18/dist/index.d.ts +1 -1
  38. package/react18/react18/package.json +1 -1
  39. package/svelte/dist/cypress-svelte.cjs.js +61 -61
  40. package/svelte/dist/cypress-svelte.esm-bundler.js +61 -61
  41. package/svelte/dist/index.d.ts +2 -2
  42. package/svelte/package.json +1 -1
  43. package/svelte/svelte/dist/cypress-svelte.cjs.js +61 -61
  44. package/svelte/svelte/dist/cypress-svelte.esm-bundler.js +61 -61
  45. package/svelte/svelte/dist/index.d.ts +2 -2
  46. package/svelte/svelte/package.json +1 -1
  47. package/vue/dist/cypress-vue.cjs.js +128 -128
  48. package/vue/dist/cypress-vue.esm-bundler.js +128 -128
  49. package/vue/dist/index.d.ts +5 -5
  50. package/vue/package.json +5 -5
  51. package/vue/vue/dist/cypress-vue.cjs.js +128 -128
  52. package/vue/vue/dist/cypress-vue.esm-bundler.js +128 -128
  53. package/vue/vue/dist/index.d.ts +5 -5
  54. package/vue/vue/package.json +5 -5
  55. package/vue2/dist/cypress-vue2.cjs.js +211 -211
  56. package/vue2/dist/cypress-vue2.esm-bundler.js +211 -211
  57. package/vue2/dist/index.d.ts +11 -11
  58. package/vue2/package.json +1 -1
  59. package/vue2/vue2/dist/cypress-vue2.cjs.js +211 -211
  60. package/vue2/vue2/dist/cypress-vue2.esm-bundler.js +211 -211
  61. package/vue2/vue2/dist/index.d.ts +11 -11
  62. package/vue2/vue2/package.json +1 -1
@@ -0,0 +1,74 @@
1
+ {
2
+ "name": "@cypress/angular-signals",
3
+ "version": "0.0.0-development",
4
+ "description": "Test Angular Components using Signals with Cypress",
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": "^17.2.0",
17
+ "@angular/core": "^17.2.0",
18
+ "@angular/platform-browser-dynamic": "^17.2.0",
19
+ "@cypress/mount-utils": "0.0.0-development",
20
+ "typescript": "~5.4.5",
21
+ "zone.js": "~0.14.6"
22
+ },
23
+ "peerDependencies": {
24
+ "@angular/common": ">=17.2",
25
+ "@angular/core": ">=17.2",
26
+ "@angular/platform-browser-dynamic": ">=17.2",
27
+ "rxjs": ">=7.5.0",
28
+ "zone.js": ">=0.13.0"
29
+ },
30
+ "files": [
31
+ "dist"
32
+ ],
33
+ "types": "dist/index.d.ts",
34
+ "license": "MIT",
35
+ "repository": {
36
+ "type": "git",
37
+ "url": "https://github.com/cypress-io/cypress.git"
38
+ },
39
+ "homepage": "https://github.com/cypress-io/cypress/blob/develop/npm/angular-signals/#readme",
40
+ "bugs": "https://github.com/cypress-io/cypress/issues/new?assignees=&labels=npm%3A%20%40cypress%2Fangular&template=1-bug-report.md&title=",
41
+ "keywords": [
42
+ "angular",
43
+ "cypress",
44
+ "cypress-io",
45
+ "test",
46
+ "testing"
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-signals"
63
+ ]
64
+ }
65
+ }
66
+ },
67
+ "standard": {
68
+ "globals": [
69
+ "Cypress",
70
+ "cy",
71
+ "expect"
72
+ ]
73
+ }
74
+ }
package/lib/cli.js CHANGED
@@ -413,7 +413,6 @@ module.exports = {
413
413
  program.help();
414
414
  // exits
415
415
  }
416
-
417
416
  const firstCommand = args[2];
418
417
  if (!_.includes(knownCommands, firstCommand)) {
419
418
  debug('unknown command %s', firstCommand);
package/lib/exec/xvfb.js CHANGED
@@ -61,7 +61,6 @@ module.exports = {
61
61
  debug('Environment variable ELECTRON_RUN_AS_NODE detected, xvfb is not needed');
62
62
  return false; // xvfb required for electron processes only.
63
63
  }
64
-
65
64
  if (os.platform() !== 'linux') {
66
65
  return false;
67
66
  }
package/lib/logger.js CHANGED
@@ -9,19 +9,16 @@ const error = (...messages) => {
9
9
  logs.push(messages.join(' '));
10
10
  console.log(chalk.red(...messages)); // eslint-disable-line no-console
11
11
  };
12
-
13
12
  const warn = (...messages) => {
14
13
  if (logLevel() === 'silent') return;
15
14
  logs.push(messages.join(' '));
16
15
  console.log(chalk.yellow(...messages)); // eslint-disable-line no-console
17
16
  };
18
-
19
17
  const log = (...messages) => {
20
18
  if (logLevel() === 'silent' || logLevel() === 'warn') return;
21
19
  logs.push(messages.join(' '));
22
20
  console.log(...messages); // eslint-disable-line no-console
23
21
  };
24
-
25
22
  const always = (...messages) => {
26
23
  logs.push(messages.join(' '));
27
24
  console.log(...messages); // eslint-disable-line no-console
@@ -27,7 +27,7 @@ export declare function cleanupStyles(): void;
27
27
  * Removed as of Cypress 11.0.0.
28
28
  * @see https://on.cypress.io/migration-11-0-0-component-testing-updates
29
29
  */
30
- export declare type StyleOptions = unknown;
30
+ export type StyleOptions = unknown;
31
31
  /**
32
32
  * Injects custom style text or CSS file or 3rd party style resources
33
33
  * into the given document.
@@ -27,7 +27,7 @@ export declare function cleanupStyles(): void;
27
27
  * Removed as of Cypress 11.0.0.
28
28
  * @see https://on.cypress.io/migration-11-0-0-component-testing-updates
29
29
  */
30
- export declare type StyleOptions = unknown;
30
+ export type StyleOptions = unknown;
31
31
  /**
32
32
  * Injects custom style text or CSS file or 3rd party style resources
33
33
  * into the given document.
@@ -17,7 +17,7 @@
17
17
  "rollup": "3.7.3",
18
18
  "rollup-plugin-dts": "5.0.0",
19
19
  "rollup-plugin-typescript2": "^0.29.0",
20
- "typescript": "^4.7.4"
20
+ "typescript": "^5.4.5"
21
21
  },
22
22
  "files": [
23
23
  "dist"
@@ -17,7 +17,7 @@
17
17
  "rollup": "3.7.3",
18
18
  "rollup-plugin-dts": "5.0.0",
19
19
  "rollup-plugin-typescript2": "^0.29.0",
20
- "typescript": "^4.7.4"
20
+ "typescript": "^5.4.5"
21
21
  },
22
22
  "files": [
23
23
  "dist"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cypress",
3
- "version": "13.11.0",
3
+ "version": "13.13.0",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "postinstall": "node index.js --exec install",
@@ -46,7 +46,7 @@
46
46
  "request-progress": "^3.0.0",
47
47
  "semver": "^7.5.3",
48
48
  "supports-color": "^8.1.1",
49
- "tmp": "~0.2.1",
49
+ "tmp": "~0.2.3",
50
50
  "untildify": "^4.0.0",
51
51
  "yauzl": "^2.10.0"
52
52
  },
@@ -62,7 +62,8 @@
62
62
  "vue2",
63
63
  "react18",
64
64
  "angular",
65
- "svelte"
65
+ "svelte",
66
+ "angular-signals"
66
67
  ],
67
68
  "bin": {
68
69
  "cypress": "bin/cypress"
@@ -114,6 +115,11 @@
114
115
  "types": "./svelte/dist/index.d.ts",
115
116
  "import": "./svelte/dist/cypress-svelte.esm-bundler.js",
116
117
  "require": "./svelte/dist/cypress-svelte.cjs.js"
118
+ },
119
+ "./angular-signals": {
120
+ "types": "./angular-signals/dist/index.d.ts",
121
+ "import": "./angular-signals/dist/index.js",
122
+ "require": "./angular-signals/dist/index.js"
117
123
  }
118
124
  },
119
125
  "nx": {
@@ -134,8 +140,8 @@
134
140
  },
135
141
  "buildInfo": {
136
142
  "commitBranch": "develop",
137
- "commitSha": "09c6876637d13686178ef934f988b757d04cf813",
138
- "commitDate": "2024-06-04T18:16:38.000Z",
143
+ "commitSha": "a16edd56903e32da598d07c0c8d0e835d060396a",
144
+ "commitDate": "2024-07-01T16:39:03.000Z",
139
145
  "stable": true
140
146
  },
141
147
  "description": "Cypress is a next generation front end testing tool built for the modern web",