cypress 12.11.0 → 12.13.0
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/tasks/download.js +1 -1
- package/package.json +19 -19
- package/react/package.json +3 -3
- package/vue/dist/cypress-vue.cjs.js +2788 -8027
- package/vue/dist/cypress-vue.esm-bundler.js +2782 -8021
- package/vue/dist/index.d.ts +1234 -1196
- package/vue/package.json +5 -5
- package/angular/CHANGELOG.md +0 -185
- package/mount-utils/CHANGELOG.md +0 -78
- package/react/CHANGELOG.md +0 -466
- package/react18/CHANGELOG.md +0 -40
- package/svelte/CHANGELOG.md +0 -34
- package/vue/CHANGELOG.md +0 -493
- package/vue2/CHANGELOG.md +0 -93
package/lib/tasks/download.js
CHANGED
@@ -53,7 +53,7 @@ const prepend = (arch, urlPath, version) => {
|
|
53
53
|
const endpoint = url.resolve(getBaseUrl(), urlPath);
|
54
54
|
const platform = os.platform();
|
55
55
|
const pathTemplate = util.getEnv('CYPRESS_DOWNLOAD_PATH_TEMPLATE', true);
|
56
|
-
return pathTemplate ? pathTemplate.replace(/\\?\$\{endpoint\}
|
56
|
+
return pathTemplate ? pathTemplate.replace(/\\?\$\{endpoint\}/g, endpoint).replace(/\\?\$\{platform\}/g, platform).replace(/\\?\$\{arch\}/g, arch).replace(/\\?\$\{version\}/g, version) : `${endpoint}?platform=${platform}&arch=${arch}`;
|
57
57
|
};
|
58
58
|
const getUrl = (arch, version) => {
|
59
59
|
if (is.url(version)) {
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "cypress",
|
3
|
-
"version": "12.
|
3
|
+
"version": "12.13.0",
|
4
4
|
"main": "index.js",
|
5
5
|
"scripts": {
|
6
6
|
"postinstall": "node index.js --exec install",
|
@@ -73,53 +73,53 @@
|
|
73
73
|
"types": "types",
|
74
74
|
"exports": {
|
75
75
|
".": {
|
76
|
+
"types": "./types/index.d.ts",
|
76
77
|
"import": "./index.mjs",
|
77
|
-
"require": "./index.js"
|
78
|
-
"types": "./types/index.d.ts"
|
78
|
+
"require": "./index.js"
|
79
79
|
},
|
80
80
|
"./vue": {
|
81
|
+
"types": "./vue/dist/index.d.ts",
|
81
82
|
"import": "./vue/dist/cypress-vue.esm-bundler.js",
|
82
|
-
"require": "./vue/dist/cypress-vue.cjs.js"
|
83
|
-
"types": "./vue/dist/index.d.ts"
|
83
|
+
"require": "./vue/dist/cypress-vue.cjs.js"
|
84
84
|
},
|
85
85
|
"./vue2": {
|
86
|
+
"types": "./vue2/dist/index.d.ts",
|
86
87
|
"import": "./vue2/dist/cypress-vue2.esm-bundler.js",
|
87
|
-
"require": "./vue2/dist/cypress-vue2.cjs.js"
|
88
|
-
"types": "./vue2/dist/index.d.ts"
|
88
|
+
"require": "./vue2/dist/cypress-vue2.cjs.js"
|
89
89
|
},
|
90
90
|
"./package.json": {
|
91
91
|
"import": "./package.json",
|
92
92
|
"require": "./package.json"
|
93
93
|
},
|
94
94
|
"./react": {
|
95
|
+
"types": "./react/dist/index.d.ts",
|
95
96
|
"import": "./react/dist/cypress-react.esm-bundler.js",
|
96
|
-
"require": "./react/dist/cypress-react.cjs.js"
|
97
|
-
"types": "./react/dist/index.d.ts"
|
97
|
+
"require": "./react/dist/cypress-react.cjs.js"
|
98
98
|
},
|
99
99
|
"./react18": {
|
100
|
+
"types": "./react18/dist/index.d.ts",
|
100
101
|
"import": "./react18/dist/cypress-react.esm-bundler.js",
|
101
|
-
"require": "./react18/dist/cypress-react.cjs.js"
|
102
|
-
"types": "./react18/dist/index.d.ts"
|
102
|
+
"require": "./react18/dist/cypress-react.cjs.js"
|
103
103
|
},
|
104
104
|
"./mount-utils": {
|
105
|
-
"
|
106
|
-
"
|
105
|
+
"types": "./mount-utils/dist/index.d.ts",
|
106
|
+
"require": "./mount-utils/dist/index.js"
|
107
107
|
},
|
108
108
|
"./angular": {
|
109
|
+
"types": "./angular/dist/index.d.ts",
|
109
110
|
"import": "./angular/dist/index.js",
|
110
|
-
"require": "./angular/dist/index.js"
|
111
|
-
"types": "./angular/dist/index.d.ts"
|
111
|
+
"require": "./angular/dist/index.js"
|
112
112
|
},
|
113
113
|
"./svelte": {
|
114
|
+
"types": "./svelte/dist/index.d.ts",
|
114
115
|
"import": "./svelte/dist/cypress-svelte.esm-bundler.js",
|
115
|
-
"require": "./svelte/dist/cypress-svelte.cjs.js"
|
116
|
-
"types": "./svelte/dist/index.d.ts"
|
116
|
+
"require": "./svelte/dist/cypress-svelte.cjs.js"
|
117
117
|
}
|
118
118
|
},
|
119
119
|
"buildInfo": {
|
120
120
|
"commitBranch": "develop",
|
121
|
-
"commitSha": "
|
122
|
-
"commitDate": "2023-
|
121
|
+
"commitSha": "b71788d87df83eeb844c7e9de2ee106d2724fa9c",
|
122
|
+
"commitDate": "2023-05-23T19:18:49.000Z",
|
123
123
|
"stable": true
|
124
124
|
},
|
125
125
|
"description": "Cypress is a next generation front end testing tool built for the modern web",
|
package/react/package.json
CHANGED
@@ -18,7 +18,7 @@
|
|
18
18
|
"devDependencies": {
|
19
19
|
"@cypress/mount-utils": "0.0.0-development",
|
20
20
|
"@types/semver": "7.3.9",
|
21
|
-
"@vitejs/plugin-react": "
|
21
|
+
"@vitejs/plugin-react": "4.0.0",
|
22
22
|
"axios": "0.21.2",
|
23
23
|
"cypress": "0.0.0-development",
|
24
24
|
"prop-types": "15.7.2",
|
@@ -28,8 +28,8 @@
|
|
28
28
|
"react-router-dom": "6.0.0-alpha.1",
|
29
29
|
"semver": "^7.3.2",
|
30
30
|
"typescript": "^4.7.4",
|
31
|
-
"vite": "4.
|
32
|
-
"vite-plugin-require-transform": "1.0.
|
31
|
+
"vite": "4.3.2",
|
32
|
+
"vite-plugin-require-transform": "1.0.12"
|
33
33
|
},
|
34
34
|
"peerDependencies": {
|
35
35
|
"@types/react": "^16.9.16 || ^17.0.0",
|