cypress 12.2.0 → 12.3.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/dist/index.js +1 -1
- package/package.json +3 -3
- package/react/dist/cypress-react.cjs.js +1 -1
- package/react/dist/cypress-react.esm-bundler.js +1 -1
- package/react18/dist/cypress-react.cjs.js +1 -1
- package/react18/dist/cypress-react.esm-bundler.js +1 -1
- package/svelte/dist/cypress-svelte.cjs.js +2 -2
- package/svelte/dist/cypress-svelte.esm-bundler.js +2 -2
- package/types/cypress.d.ts +5 -0
- package/vue/dist/cypress-vue.cjs.js +1 -1
- package/vue/dist/cypress-vue.esm-bundler.js +1 -1
- package/vue2/dist/cypress-vue2.cjs.js +1 -1
- package/vue2/dist/cypress-vue2.esm-bundler.js +1 -1
package/angular/dist/index.js
CHANGED
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "cypress",
|
3
|
-
"version": "12.
|
3
|
+
"version": "12.3.0",
|
4
4
|
"main": "index.js",
|
5
5
|
"scripts": {
|
6
6
|
"postinstall": "node index.js --exec install",
|
@@ -118,8 +118,8 @@
|
|
118
118
|
},
|
119
119
|
"buildInfo": {
|
120
120
|
"commitBranch": "develop",
|
121
|
-
"commitSha": "
|
122
|
-
"commitDate": "
|
121
|
+
"commitSha": "5f536fef9b0962fef2373d07becba8313d5ef126",
|
122
|
+
"commitDate": "2023-01-03T19:45:51.000Z",
|
123
123
|
"stable": true
|
124
124
|
},
|
125
125
|
"description": "Cypress is a next generation front end testing tool built for the modern web",
|
@@ -1,7 +1,7 @@
|
|
1
1
|
|
2
2
|
/**
|
3
3
|
* @cypress/svelte v0.0.0-development
|
4
|
-
* (c)
|
4
|
+
* (c) 2023 Cypress.io
|
5
5
|
* Released under the MIT License
|
6
6
|
*/
|
7
7
|
|
@@ -64,7 +64,7 @@ const cleanup = () => {
|
|
64
64
|
// Extract the component name from the object passed to mount
|
65
65
|
const getComponentDisplayName = (Component) => {
|
66
66
|
if (Component.name) {
|
67
|
-
const [
|
67
|
+
const [, match] = /Proxy\<(\w+)\>/.exec(Component.name) || [];
|
68
68
|
return match || Component.name;
|
69
69
|
}
|
70
70
|
return DEFAULT_COMP_NAME;
|
@@ -1,7 +1,7 @@
|
|
1
1
|
|
2
2
|
/**
|
3
3
|
* @cypress/svelte v0.0.0-development
|
4
|
-
* (c)
|
4
|
+
* (c) 2023 Cypress.io
|
5
5
|
* Released under the MIT License
|
6
6
|
*/
|
7
7
|
|
@@ -62,7 +62,7 @@ const cleanup = () => {
|
|
62
62
|
// Extract the component name from the object passed to mount
|
63
63
|
const getComponentDisplayName = (Component) => {
|
64
64
|
if (Component.name) {
|
65
|
-
const [
|
65
|
+
const [, match] = /Proxy\<(\w+)\>/.exec(Component.name) || [];
|
66
66
|
return match || Component.name;
|
67
67
|
}
|
68
68
|
return DEFAULT_COMP_NAME;
|
package/types/cypress.d.ts
CHANGED