@miniben90/x-win 0.2.5 → 0.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.
Files changed (2) hide show
  1. package/index.js +7 -1
  2. package/package.json +26 -14
package/index.js CHANGED
@@ -1,3 +1,9 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /* prettier-ignore */
4
+
5
+ /* auto-generated by NAPI-RS */
6
+
1
7
  const { existsSync, readFileSync } = require('fs')
2
8
  const { join } = require('path')
3
9
 
@@ -249,4 +255,4 @@ if (!nativeBinding) {
249
255
  const { activeWindow, openWindows } = nativeBinding
250
256
 
251
257
  module.exports.activeWindow = activeWindow
252
- module.exports.openWindows = openWindows
258
+ module.exports.openWindows = openWindows
package/package.json CHANGED
@@ -1,6 +1,7 @@
1
1
  {
2
2
  "name": "@miniben90/x-win",
3
- "version": "0.2.5",
3
+ "description": "Get position, size, title and a few other properties of the active or open window(s) on Windows, MacOS and Linux.",
4
+ "version": "0.4.0",
4
5
  "main": "index.js",
5
6
  "types": "index.d.ts",
6
7
  "files": [
@@ -13,9 +14,9 @@
13
14
  "name": "x-win",
14
15
  "triples": {
15
16
  "additional": [
17
+ "aarch64-apple-darwin",
16
18
  "aarch64-pc-windows-msvc",
17
19
  "i686-pc-windows-msvc",
18
- "aarch64-apple-darwin",
19
20
  "universal-apple-darwin"
20
21
  ]
21
22
  }
@@ -27,15 +28,27 @@
27
28
  },
28
29
  "repository": "https://github.com/miniben-90/x-win.git",
29
30
  "license": "MIT",
31
+ "keywords": [
32
+ "active",
33
+ "window",
34
+ "windows",
35
+ "active-window",
36
+ "active",
37
+ "current",
38
+ "position",
39
+ "title",
40
+ "list",
41
+ "open"
42
+ ],
30
43
  "devDependencies": {
31
- "@napi-rs/cli": "^2.14.2",
32
- "ava": "^5.1.0"
44
+ "@napi-rs/cli": "^2.15.2",
45
+ "ava": "^5.1.1"
33
46
  },
34
47
  "ava": {
35
48
  "timeout": "3m"
36
49
  },
37
50
  "engines": {
38
- "node": ">= 10"
51
+ "node": ">= 14"
39
52
  },
40
53
  "scripts": {
41
54
  "artifacts": "napi artifacts",
@@ -46,15 +59,14 @@
46
59
  "universal": "napi universal",
47
60
  "version": "napi version"
48
61
  },
49
- "packageManager": "yarn@3.3.1",
50
- "description": "Get position, size, title and a few other properties of the active or open window(s) on Windows, MacOS and Linux.",
62
+ "packageManager": "yarn@3.5.0",
51
63
  "optionalDependencies": {
52
- "@miniben90/x-win-win32-x64-msvc": "0.2.5",
53
- "@miniben90/x-win-darwin-x64": "0.2.5",
54
- "@miniben90/x-win-linux-x64-gnu": "0.2.5",
55
- "@miniben90/x-win-win32-arm64-msvc": "0.2.5",
56
- "@miniben90/x-win-win32-ia32-msvc": "0.2.5",
57
- "@miniben90/x-win-darwin-arm64": "0.2.5",
58
- "@miniben90/x-win-darwin-universal": "0.2.5"
64
+ "@miniben90/x-win-win32-x64-msvc": "0.4.0",
65
+ "@miniben90/x-win-darwin-x64": "0.4.0",
66
+ "@miniben90/x-win-linux-x64-gnu": "0.4.0",
67
+ "@miniben90/x-win-darwin-arm64": "0.4.0",
68
+ "@miniben90/x-win-win32-arm64-msvc": "0.4.0",
69
+ "@miniben90/x-win-win32-ia32-msvc": "0.4.0",
70
+ "@miniben90/x-win-darwin-universal": "0.4.0"
59
71
  }
60
72
  }