chromedriver 90.0.0 → 90.0.1
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/install.js +1 -2
- package/package.json +1 -2
package/install.js
CHANGED
|
@@ -4,7 +4,6 @@
|
|
|
4
4
|
const fs = require('fs');
|
|
5
5
|
const helper = require('./lib/chromedriver');
|
|
6
6
|
const axios = require('axios').default;
|
|
7
|
-
const mkdirp = require('mkdirp');
|
|
8
7
|
const path = require('path');
|
|
9
8
|
const del = require('del');
|
|
10
9
|
const child_process = require('child_process');
|
|
@@ -160,7 +159,7 @@ function findSuitableTempDirectory() {
|
|
|
160
159
|
const namespace = chromedriver_version;
|
|
161
160
|
const candidatePath = path.join(candidateTmpDirs[i], namespace, 'chromedriver');
|
|
162
161
|
try {
|
|
163
|
-
|
|
162
|
+
fs.mkdirSync(candidatePath, { recursive: true });
|
|
164
163
|
const testFile = path.join(candidatePath, now + '.tmp');
|
|
165
164
|
fs.writeFileSync(testFile, 'test');
|
|
166
165
|
fs.unlinkSync(testFile);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "chromedriver",
|
|
3
|
-
"version": "90.0.
|
|
3
|
+
"version": "90.0.1",
|
|
4
4
|
"keywords": [
|
|
5
5
|
"chromedriver",
|
|
6
6
|
"selenium"
|
|
@@ -31,7 +31,6 @@
|
|
|
31
31
|
"del": "^6.0.0",
|
|
32
32
|
"extract-zip": "^2.0.1",
|
|
33
33
|
"https-proxy-agent": "^5.0.0",
|
|
34
|
-
"mkdirp": "^1.0.4",
|
|
35
34
|
"proxy-from-env": "^1.1.0",
|
|
36
35
|
"tcp-port-used": "^1.0.1"
|
|
37
36
|
},
|