safaridriver 0.1.2 → 1.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/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2023 WebdriverIO Community
3
+ Copyright (c) 2024 OpenJS Foundation
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
@@ -1,4 +1,3 @@
1
- /// <reference types="node" />
2
- declare const start: (options: never) => Promise<import("child_process").ChildProcess>;
1
+ declare const start: (options: never) => Promise<import("node:child_process").ChildProcess>;
3
2
  declare const stop: () => Promise<void>;
4
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/cjs/index.ts"],"names":[],"mappings":";AAAA,QAAA,MAAM,KAAK,YAA4C,KAAK,kDAG3D,CAAA;AAED,QAAA,MAAM,IAAI,qBAGT,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/cjs/index.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,KAAK,YAA4C,KAAK,uDAG3D,CAAA;AAED,QAAA,MAAM,IAAI,qBAGT,CAAA"}
package/dist/index.d.ts CHANGED
@@ -1,4 +1,3 @@
1
- /// <reference types="node" />
2
1
  import cp from 'node:child_process';
3
2
  export declare const DEFAULT_PATH = "/usr/bin/safaridriver";
4
3
  export declare const DEFAULT_STP_PATH = "/Applications/Safari Technology Preview.app/Contents/MacOS/safaridriver";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AACA,OAAO,EAAyB,MAAM,oBAAoB,CAAA;AAE1D,eAAO,MAAM,YAAY,0BAA0B,CAAA;AACnD,eAAO,MAAM,gBAAgB,4EAA4E,CAAA;AACzG,eAAO,MAAM,YAAY,OAAO,CAAA;AAEhC,MAAM,WAAW,mBAAmB;IAChC;;;;;OAKG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IACb;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IACb;;;;;;;;;OASG;IACH,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB;;OAEG;IACH,oBAAoB,CAAC,EAAE,OAAO,CAAA;CACjC;AAID,eAAO,MAAM,KAAK,aAAa,mBAAmB,oBAgCjD,CAAA;AAED,eAAO,MAAM,IAAI,YAKhB,CAAA;;;;;AAED,wBAA8B"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAyB,MAAM,oBAAoB,CAAA;AAE1D,eAAO,MAAM,YAAY,0BAA0B,CAAA;AACnD,eAAO,MAAM,gBAAgB,4EAA4E,CAAA;AACzG,eAAO,MAAM,YAAY,OAAO,CAAA;AAEhC,MAAM,WAAW,mBAAmB;IAChC;;;;;OAKG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IACb;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IACb;;;;;;;;;OASG;IACH,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB;;OAEG;IACH,oBAAoB,CAAC,EAAE,OAAO,CAAA;CACjC;AAID,eAAO,MAAM,KAAK,GAAI,UAAS,mBAAwB,oBAgCtD,CAAA;AAED,eAAO,MAAM,IAAI,YAKhB,CAAA;;sBAvC8B,mBAAmB;;;AAyClD,wBAA8B"}
@@ -0,0 +1 @@
1
+ {"root":["../src/index.ts","../src/cjs/index.ts","../src/cjs/package.json"],"version":"5.9.3"}
package/package.json CHANGED
@@ -1,62 +1,62 @@
1
1
  {
2
- "name": "safaridriver",
3
- "version": "0.1.2",
4
- "author": "Christian Bromann <mail@bromann.dev>",
5
- "license": "MIT",
6
- "description": "An NPM wrapper for handling the Safaridriver binary.",
7
- "homepage": "https://github.com/webdriverio-community/node-safaridriver#readme",
8
- "scripts": {
9
- "build": "tsc -b .",
10
- "ci": "run-s lint build test",
11
- "clean": "rimraf ./node_modules package-lock.yaml ./dist",
12
- "prepare": "husky install",
13
- "test": "run-s test:*",
14
- "test:lint": "eslint src tests",
15
- "test:unit": "vitest",
16
- "test:interop": "node ./tests/interop/cjs.test.js",
17
- "watch": "npm run build -- --watch"
18
- },
19
- "repository": {
20
- "type": "git",
21
- "url": "git+https://github.com/webdriverio-community/node-safaridriver.git"
22
- },
23
- "keywords": [
24
- "safari",
25
- "safaridriver",
26
- "webdriver",
27
- "webdriverio",
28
- "selenium"
29
- ],
30
- "bugs": {
31
- "url": "https://github.com/webdriverio-community/node-safaridriver/issues"
32
- },
33
- "main": "./dist/cjs/index.js",
34
- "type": "module",
35
- "module": "./dist/index.js",
36
- "exports": {
37
- ".": [
38
- {
39
- "types": "./dist/index.d.ts",
40
- "import": "./dist/index.js",
41
- "require": "./dist/cjs/index.js"
42
- },
43
- "./dist/cjs/index.js"
44
- ]
45
- },
46
- "types": "./dist/index.d.ts",
47
- "typeScriptVersion": "3.8.3",
48
- "devDependencies": {
49
- "@types/node": "^20.10.6",
50
- "@typescript-eslint/eslint-plugin": "^6.16.0",
51
- "@typescript-eslint/parser": "^6.16.0",
52
- "@vitest/coverage-v8": "^1.1.0",
53
- "eslint": "^8.56.0",
54
- "eslint-plugin-import": "^2.29.1",
55
- "eslint-plugin-unicorn": "^50.0.1",
56
- "husky": "^8.0.3",
57
- "npm-run-all": "^4.1.5",
58
- "release-it": "^17.0.1",
59
- "typescript": "^5.3.3",
60
- "vitest": "^1.1.0"
61
- }
2
+ "name": "safaridriver",
3
+ "version": "1.0.1",
4
+ "author": "Christian Bromann <mail@bromann.dev>",
5
+ "license": "MIT",
6
+ "description": "An NPM wrapper for handling the Safaridriver binary.",
7
+ "homepage": "https://github.com/webdriverio-community/node-safaridriver#readme",
8
+ "repository": {
9
+ "type": "git",
10
+ "url": "git+https://github.com/webdriverio-community/node-safaridriver.git"
11
+ },
12
+ "keywords": [
13
+ "safari",
14
+ "safaridriver",
15
+ "webdriver",
16
+ "webdriverio",
17
+ "selenium"
18
+ ],
19
+ "bugs": {
20
+ "url": "https://github.com/webdriverio-community/node-safaridriver/issues"
21
+ },
22
+ "engines": {
23
+ "node": ">=18.0.0"
24
+ },
25
+ "main": "./dist/cjs/index.js",
26
+ "type": "module",
27
+ "module": "./dist/index.js",
28
+ "exports": {
29
+ ".": [
30
+ {
31
+ "types": "./dist/index.d.ts",
32
+ "import": "./dist/index.js",
33
+ "require": "./dist/cjs/index.js"
34
+ },
35
+ "./dist/cjs/index.js"
36
+ ]
37
+ },
38
+ "types": "./dist/index.d.ts",
39
+ "typeScriptVersion": "3.8.3",
40
+ "scripts": {
41
+ "build": "tsc -b .",
42
+ "ci": "run-s lint build test",
43
+ "clean": "rimraf ./node_modules package-lock.yaml ./dist",
44
+ "prepare": "husky install",
45
+ "test": "run-s test:*",
46
+ "test:lint": "eslint src tests",
47
+ "test:unit": "vitest run",
48
+ "test:interop": "node ./tests/interop/cjs.test.js",
49
+ "watch": "npm run build -- --watch"
50
+ },
51
+ "devDependencies": {
52
+ "@types/node": "^25.0.3",
53
+ "@vitest/coverage-v8": "^4.0.16",
54
+ "@wdio/eslint": "^0.1.3",
55
+ "eslint": "^9.39.2",
56
+ "husky": "^9.1.7",
57
+ "npm-run-all2": "^8.0.4",
58
+ "release-it": "^19.2.2",
59
+ "typescript": "^5.9.3",
60
+ "vitest": "^4.0.16"
61
+ }
62
62
  }