cypress 7.3.0 → 7.4.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/lib/tasks/unzip.js +9 -12
- package/package.json +2 -3
- package/types/minimatch/index.d.ts +5 -15
package/lib/tasks/unzip.js
CHANGED
@@ -78,23 +78,20 @@ const unzip = ({
|
|
78
78
|
|
79
79
|
const unzipWithNode = () => {
|
80
80
|
debug('unzipping with node.js (slow)');
|
81
|
-
|
82
|
-
const endFn = err => {
|
83
|
-
if (err) {
|
84
|
-
debug('error %s', err.message);
|
85
|
-
return reject(err);
|
86
|
-
}
|
87
|
-
|
88
|
-
debug('node unzip finished');
|
89
|
-
return resolve();
|
90
|
-
};
|
91
|
-
|
92
81
|
const opts = {
|
93
82
|
dir: installDir,
|
94
83
|
onEntry: tick
|
95
84
|
};
|
96
85
|
debug('calling Node extract tool %s %o', zipFilePath, opts);
|
97
|
-
return unzipTools.extract(zipFilePath, opts
|
86
|
+
return unzipTools.extract(zipFilePath, opts).then(() => {
|
87
|
+
debug('node unzip finished');
|
88
|
+
return resolve();
|
89
|
+
}).catch(err => {
|
90
|
+
if (err) {
|
91
|
+
debug('error %s', err.message);
|
92
|
+
return reject(err);
|
93
|
+
}
|
94
|
+
});
|
98
95
|
};
|
99
96
|
|
100
97
|
const unzipFallback = _.once(unzipWithNode);
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "cypress",
|
3
|
-
"version": "7.
|
3
|
+
"version": "7.4.0",
|
4
4
|
"main": "index.js",
|
5
5
|
"scripts": {
|
6
6
|
"postinstall": "node index.js --exec install",
|
@@ -27,7 +27,7 @@
|
|
27
27
|
"eventemitter2": "^6.4.3",
|
28
28
|
"execa": "4.1.0",
|
29
29
|
"executable": "^4.1.1",
|
30
|
-
"extract-zip": "
|
30
|
+
"extract-zip": "2.0.1",
|
31
31
|
"fs-extra": "^9.1.0",
|
32
32
|
"getos": "^3.2.1",
|
33
33
|
"is-ci": "^3.0.0",
|
@@ -62,7 +62,6 @@
|
|
62
62
|
},
|
63
63
|
"types": "types",
|
64
64
|
"description": "Cypress.io end to end testing tool",
|
65
|
-
"author": "Brian Mann",
|
66
65
|
"homepage": "https://github.com/cypress-io/cypress",
|
67
66
|
"license": "MIT",
|
68
67
|
"bugs": {
|
@@ -175,37 +175,27 @@ declare namespace M {
|
|
175
175
|
matchOne(files: string[], pattern: string[], partial: boolean): boolean;
|
176
176
|
|
177
177
|
/**
|
178
|
-
*
|
179
|
-
*
|
180
|
-
* @private
|
178
|
+
* @deprecated. For internal use.
|
181
179
|
*/
|
182
180
|
debug(): void;
|
183
181
|
|
184
182
|
/**
|
185
|
-
*
|
186
|
-
*
|
187
|
-
* @private
|
183
|
+
* @deprecated. For internal use.
|
188
184
|
*/
|
189
185
|
make(): void;
|
190
186
|
|
191
187
|
/**
|
192
|
-
*
|
193
|
-
*
|
194
|
-
* @private
|
188
|
+
* @deprecated. For internal use.
|
195
189
|
*/
|
196
190
|
parseNegate(): void;
|
197
191
|
|
198
192
|
/**
|
199
|
-
*
|
200
|
-
*
|
201
|
-
* @private
|
193
|
+
* @deprecated. For internal use.
|
202
194
|
*/
|
203
195
|
braceExpand(pattern: string, options: IOptions): void;
|
204
196
|
|
205
197
|
/**
|
206
|
-
*
|
207
|
-
*
|
208
|
-
* @private
|
198
|
+
* @deprecated. For internal use.
|
209
199
|
*/
|
210
200
|
parse(pattern: string, isSub?: boolean): void;
|
211
201
|
}
|