cypress 10.4.0 → 10.5.0
Sign up to get free protection for your applications and to get access to all the features.
- package/angular/CHANGELOG.md +55 -0
- package/angular/README.md +154 -0
- package/angular/dist/index.d.ts +1 -0
- package/angular/dist/index.js +263 -0
- package/angular/dist/mount.d.ts +111 -0
- package/angular/package.json +70 -0
- package/mount-utils/CHANGELOG.md +7 -0
- package/package.json +10 -4
- package/react/CHANGELOG.md +13 -0
- package/react/dist/createMount.d.ts +2 -4
- package/react/dist/cypress-react.cjs.js +583 -35
- package/react/dist/cypress-react.esm-bundler.js +584 -36
- package/react/dist/mount.d.ts +1 -1
- package/react/dist/types.d.ts +1 -7
- package/react/package.json +2 -0
- package/react18/CHANGELOG.md +6 -0
- package/react18/dist/cypress-react.cjs.js +247 -36
- package/react18/dist/cypress-react.esm-bundler.js +247 -36
- package/react18/dist/index.d.ts +1 -1
- package/types/cypress.d.ts +14 -2
- package/vue/CHANGELOG.md +14 -0
- package/vue/package.json +0 -1
- package/vue2/CHANGELOG.md +7 -0
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "cypress",
|
3
|
-
"version": "10.
|
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": "
|
110
|
-
"commitDate": "2022-08-
|
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",
|
package/react/CHANGELOG.md
CHANGED
@@ -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
|
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
|
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 */
|