arn-browser 0.1.36 → 0.1.37

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.
Files changed (2) hide show
  1. package/bin/install.js +1 -1
  2. package/package.json +4 -5
package/bin/install.js CHANGED
@@ -41,7 +41,7 @@ const CAM_VERSION = { version: "135.0.1", release: "beta.24" };
41
41
 
42
42
  const ARN_BROWSERS_DIR = path.join(os.homedir(), ".arn-browser", "browsers");
43
43
  const CAM_DIR = path.join(os.homedir(), ".cache", "camoufox");
44
- const TEMP_DIR = path.join(os.tmpdir(), "arn-browser-install");
44
+ const TEMP_DIR = path.join(os.tmpdir(), `arn-browser-install-${os.userInfo().username || 'default'}`);
45
45
 
46
46
  // Stale folders from previous versions that downloaded browsers
47
47
  const STALE_BROWSER_DIRS = [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "arn-browser",
3
- "version": "0.1.36",
3
+ "version": "0.1.37",
4
4
  "description": "A lightweight, browser autmation helper.",
5
5
  "main": "src/index.js",
6
6
  "types": "src/index.d.ts",
@@ -14,8 +14,8 @@
14
14
  "dependencies": {
15
15
  "@aws-sdk/client-ec2": "^3.1015.0",
16
16
  "@ghostery/adblocker": "^2.13.0",
17
- "arn-knexjs": "^0.0.3",
18
- "camoufox-js": "^0.9.3",
17
+ "arn-knexjs": "^0.0.6",
18
+ "camoufox-js": "^0.10.2",
19
19
  "devtools-detector": "^2.0.25",
20
20
  "dotenv": "^17.2.3",
21
21
  "fingerprint-generator": "^2.1.78",
@@ -35,8 +35,7 @@
35
35
  "arn-browser": "bin/cli.js"
36
36
  },
37
37
  "scripts": {
38
- "test": "echo \"Error: no test specified\" && exit 1",
39
- "postinstall": "npm install playwright-core@1.42.1 --no-save"
38
+ "test": "echo \"Error: no test specified\" && exit 1"
40
39
  },
41
40
  "keywords": [
42
41
  "browser",