cypress 10.4.0 → 10.5.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cypress",
3
- "version": "10.4.0",
3
+ "version": "10.5.0",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "postinstall": "node index.js --exec install",
@@ -60,7 +60,8 @@
60
60
  "vue",
61
61
  "react",
62
62
  "vue2",
63
- "react18"
63
+ "react18",
64
+ "angular"
64
65
  ],
65
66
  "bin": {
66
67
  "cypress": "bin/cypress"
@@ -102,12 +103,17 @@
102
103
  "./mount-utils": {
103
104
  "require": "./mount-utils/dist/index.js",
104
105
  "types": "./mount-utils/dist/index.d.ts"
106
+ },
107
+ "./angular": {
108
+ "import": "./angular/dist/index.js",
109
+ "require": "./angular/dist/index.js",
110
+ "types": "./angular/dist/index.d.ts"
105
111
  }
106
112
  },
107
113
  "buildInfo": {
108
114
  "commitBranch": "develop",
109
- "commitSha": "ee177195ebc9279bf41bcdbacebbf1218aa660eb",
110
- "commitDate": "2022-08-02T15:18:13.000Z",
115
+ "commitSha": "17f430768ba3f3de2f167359d7fec2dde77ca562",
116
+ "commitDate": "2022-08-15T16:29:07.000Z",
111
117
  "stable": true
112
118
  },
113
119
  "description": "Cypress.io end to end testing tool",
@@ -1,3 +1,16 @@
1
+ # [@cypress/react-v6.1.0](https://github.com/cypress-io/cypress/compare/@cypress/react-v6.0.0...@cypress/react-v6.1.0) (2022-08-11)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * remove CT side effects from mount when e2e testing ([#22633](https://github.com/cypress-io/cypress/issues/22633)) ([a9476ec](https://github.com/cypress-io/cypress/commit/a9476ecb3d43f628b689e060294a1952937cb1a7))
7
+
8
+
9
+ ### Features
10
+
11
+ * React 18 support ([#22876](https://github.com/cypress-io/cypress/issues/22876)) ([f0d3a48](https://github.com/cypress-io/cypress/commit/f0d3a4867907bf6e60468510daa883ccc8dcfb63))
12
+ * update to Vite 3 ([#22915](https://github.com/cypress-io/cypress/issues/22915)) ([6adba46](https://github.com/cypress-io/cypress/commit/6adba462ea6b76dbb96f99aa3837492ca1f17ed3))
13
+
1
14
  # [@cypress/react-v6.0.0](https://github.com/cypress-io/cypress/compare/@cypress/react-v5.12.5...@cypress/react-v6.0.0) (2022-06-13)
2
15
 
3
16
 
@@ -1,8 +1,6 @@
1
1
  /// <reference types="cypress" />
2
2
  import * as React from 'react';
3
- import ReactDOM from 'react-dom';
4
- import type { InternalMountOptions, InternalUnmountOptions, MountOptions, MountReturn, UnmountArgs } from './types';
5
- export declare let lastMountedReactDom: (typeof ReactDOM) | undefined;
3
+ import type { InternalMountOptions, MountOptions, MountReturn, UnmountArgs } from './types';
6
4
  /**
7
5
  * Create an `mount` function. Performs all the non-React-version specific
8
6
  * behavior related to mounting. The React-version-specific code
@@ -20,7 +18,7 @@ export declare const makeMountFn: (type: 'mount' | 'rerender', jsx: React.ReactN
20
18
  * This is designed to be consumed by `npm/react{16,17,18}`, and other React adapters,
21
19
  * or people writing adapters for third-party, custom adapters.
22
20
  */
23
- export declare const makeUnmountFn: (options: UnmountArgs, internalUnmountOptions: InternalUnmountOptions) => Cypress.Chainable<JQuery<HTMLElement>>;
21
+ export declare const makeUnmountFn: (options: UnmountArgs) => Cypress.Chainable<undefined>;
24
22
  declare const _mount: (jsx: React.ReactNode, options?: MountOptions) => Cypress.Chainable<MountReturn>;
25
23
  export declare const createMount: (defaultOptions: MountOptions) => (element: React.ReactElement, options?: Partial<import("@cypress/mount-utils").StyleOptions & import("./types").MountReactComponentOptions> | undefined) => Cypress.Chainable<MountReturn>;
26
24
  /** @deprecated Should be removed in the next major version */