From 44abe5d178953be8791cb4c1e12c4d63478bba8f Mon Sep 17 00:00:00 2001 From: Simon Hofmann Date: Thu, 16 Dec 2021 23:52:21 +0100 Subject: [PATCH 1/5] Updated readme --- README.md | 119 +++--------------------------------------------------- 1 file changed, 5 insertions(+), 114 deletions(-) diff --git a/README.md b/README.md index 9158d7a7..d29bd0f8 100644 --- a/README.md +++ b/README.md @@ -5,10 +5,6 @@ |Master |![Create tagged release](https://github.com/nut-tree/nut.js/workflows/Create%20tagged%20release/badge.svg)| |Develop|![Create snapshot release](https://github.com/nut-tree/nut.js/workflows/Create%20snapshot%20release/badge.svg)| -![Supported node LTS versions](https://img.shields.io/badge/node%40lts-erbium%2C%20fermium-green) -![Supported node versions](https://img.shields.io/badge/node-16.x.x-green) -![Supported Electron versions](https://img.shields.io/badge/electron-8.x.x%20--%2013.x.x-green) - [![SonarCloud badge](https://sonarcloud.io/api/project_badges/measure?project=nut-tree%3Anut.js&metric=alert_status)](https://sonarcloud.io/dashboard?id=nut-tree%3Anut.js) [![SonarCloud Coverage](https://sonarcloud.io/api/project_badges/measure?project=nut-tree%3Anut.js&metric=coverage)](https://sonarcloud.io/component_measures?id=nut-tree%3Anut.js&metric=coverage) @@ -19,20 +15,6 @@ Native UI testing / automation with node.js


-## Attention - -nut.js is currently under heavy development towards a new major release! - -Be prepared for awesome new features like - -- slimmed down base installation -- a plugin system -- Apple Silicon compatibility - -and of course - -- lots of bugs fixed - # About

@@ -89,7 +71,7 @@ It's work in progress and will undergo constant modification. ## Keyboard - [x] Support for standard US keyboard layout -- [x] Support for German special characters +- [x] Support for multimedia keys ## Mouse @@ -107,8 +89,10 @@ It's work in progress and will undergo constant modification. ## Screen -- [x] findOnScreen -- [x] waitFor +- [x] Find an image on screen +- [x] Find all image occurrences on screen +- [x] Wait for an image to appear on screen +- [x] Retrieve RGBA color information on screen - [x] Hooks to trigger actions based on images - [x] Highlighting screen regions @@ -231,96 +215,3 @@ will install the most recent development release of `nut.js`. **Attention**: While snapshot releases are great to work with upcoming features before a new stable release, it is still a snapshot release. Please bear in mind that things might change and / or break on snapshot releases, so it is not recommended using them in production. - -### Usage with Electron - -`nut.js` in combination with Electron requires bindings built for use with Electron. -`nut.js` does provide such bindings and e.g. [electron-rebuild](https://www.npmjs.com/package/electron-rebuild) makes installation a breeze. - -Besides installing `nut.js` via - -```bash -npm i @nut-tree/nut-js -``` - -or - -```bash -yarn add @nut-tree/nut-js -``` - -we also install `electron-rebuild` as a `devDependency`: - -```bash -npm i -D electron-rebuild -``` - -or - -```bash -yarn add -D electron-rebuild -``` - -Next, we add a `rebuild` script to our `package.json`: - -```json -{ - ... - "scripts": { - ... - "start": "electron app.js", - "rebuild": "electron-rebuild" - }, - ..., -} -``` - -Now all we have to do is run `npm run rebuild` and `electron-rebuild` will fetch the appropriate bindings for our Electron version. -Currently `nut.js` provides bindings for all ABI version to work with Electron v4.x up to 8.x - -### Manual build - -As a fallback, `nut.js` is able to build all required dependencies by itself. -To do so, some setup is required on the respective target platform. - -#### Windows - -In order to install `nut.js` on Windows, [Windows Build Tools](https://www.microsoft.com/en-us/download/details.aspx?id=48159) and [Python 2](https://www.python.org/downloads/windows/) are required. -You can either set them up manually, or install them via npm: - -```bash -npm install --global windows-build-tools -``` - -or - -```bash -yarn global add windows-build-tools -``` - -#### macOS - -On macOS, Xcode command line tools are required. -You can install them by running -```bash -xcode-select --install -``` - -#### Linux - -Depending on your distribution, Linux setups may differ. - -In general, `nut.js` requires - -- Python 2 -- g++ -- make -- libXtst -- libPng - -Installation on `*buntu` distributions: -```bash -sudo apt-get install build-essential python libxtst-dev libpng++-dev -``` - -Setups on other distributions might differ. From 2b4b3d262f64aca9ca595d0dd78a2fe695b8665e Mon Sep 17 00:00:00 2001 From: Simon Hofmann Date: Thu, 16 Dec 2021 23:54:40 +0100 Subject: [PATCH 2/5] RC1 --- package-lock.json | 16 ++++++++-------- package.json | 2 +- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/package-lock.json b/package-lock.json index df3bde18..511c36d0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "@nut-tree/nut-js", - "version": "1.7.0", + "version": "2.0.0-RC1", "lockfileVersion": 1, "requires": true, "dependencies": { @@ -4893,9 +4893,9 @@ "dev": true }, "json-schema": { - "version": "0.2.3", - "resolved": "https://registry.npmjs.org/json-schema/-/json-schema-0.2.3.tgz", - "integrity": "sha1-tIDIkuWaLwWVTOcnvT8qTogvnhM=" + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/json-schema/-/json-schema-0.4.0.tgz", + "integrity": "sha512-es94M3nTIfsEPisRafak+HDLfHXnKBhV3vU5eqPcS3flIWqcxJWgXHXiey3YrpaNsanY5ei1VoYEbOzijuq9BA==" }, "json-schema-traverse": { "version": "0.4.1", @@ -4925,13 +4925,13 @@ } }, "jsprim": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/jsprim/-/jsprim-1.4.1.tgz", - "integrity": "sha1-MT5mvB5cwG5Di8G3SZwuXFastqI=", + "version": "1.4.2", + "resolved": "https://registry.npmjs.org/jsprim/-/jsprim-1.4.2.tgz", + "integrity": "sha512-P2bSOMAc/ciLz6DzgjVlGJP9+BrJWu5UDGK70C2iweC5QBIeFf0ZXRvGjEj2uYgrY2MkAAhsSWHDWlFtEroZWw==", "requires": { "assert-plus": "1.0.0", "extsprintf": "1.3.0", - "json-schema": "0.2.3", + "json-schema": "0.4.0", "verror": "1.10.0" } }, diff --git a/package.json b/package.json index 030c1efc..39363d97 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@nut-tree/nut-js", - "version": "1.7.0", + "version": "2.0.0-RC1", "license": "Apache-2.0", "main": "dist/index", "typings": "dist/index", From d2e91b39f287eff9710cef47c953c41d9d8cf63a Mon Sep 17 00:00:00 2001 From: Simon Hofmann Date: Fri, 17 Dec 2021 00:12:35 +0100 Subject: [PATCH 3/5] Update @nut-tree/libnut to 2.1.3 --- package-lock.json | 160 ++++++++++++++++++++++++---------------------- package.json | 4 +- 2 files changed, 87 insertions(+), 77 deletions(-) diff --git a/package-lock.json b/package-lock.json index 511c36d0..e0b4cd30 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1477,19 +1477,19 @@ } }, "@nut-tree/libnut": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/@nut-tree/libnut/-/libnut-2.1.2.tgz", - "integrity": "sha512-HX8T3v69yY/+3NVNHjpAEl0s0Nv6HRSPiG4wqItj00JDQTqn6EGoQ3Rc7tqCZd2P2olUvYqg4iN10VAODvCWyw==", + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/@nut-tree/libnut/-/libnut-2.1.3.tgz", + "integrity": "sha512-cOwusjWt5DbCz0h6yrj7wD+OFHyeY2cUgxFXqm4ZHl+JkET3AVzwfxr5OqEnZVjxcn75otf7yGbt2zX6eLUJWg==", "requires": { - "@nut-tree/libnut-darwin": "2.1.1", - "@nut-tree/libnut-linux": "2.1.1", - "@nut-tree/libnut-win32": "2.1.1" + "@nut-tree/libnut-darwin": "2.1.3", + "@nut-tree/libnut-linux": "2.1.3", + "@nut-tree/libnut-win32": "2.1.3" } }, "@nut-tree/libnut-darwin": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/@nut-tree/libnut-darwin/-/libnut-darwin-2.1.1.tgz", - "integrity": "sha512-4k5xOiMCVZWvYmVaDrzYcEqxc6COsExpRXZoLFX+5d2gqZ5Mjsay+mfSgc76roCm2JLQ1aooRZ5cXcdAeNdS5g==", + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/@nut-tree/libnut-darwin/-/libnut-darwin-2.1.3.tgz", + "integrity": "sha512-w1J/0NZ/gD+qvYUu9iuKHeMY9c7/jdnC/pwS9AOkyKZahoKO/7JKRW5FyQdvoUY5JuJ8majLuyoVXr11jSgspQ==", "requires": { "bindings": "1.5.0", "cmake-js": "6.1.0", @@ -1497,9 +1497,9 @@ } }, "@nut-tree/libnut-linux": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/@nut-tree/libnut-linux/-/libnut-linux-2.1.1.tgz", - "integrity": "sha512-dabDPJdKituMRdkvTpbW+eQMPLJr68CYS4By1czs9xGO6Luv2cLVYxMD+zdfGyshZjI1lJfsbjkDorwwIE2XDg==", + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/@nut-tree/libnut-linux/-/libnut-linux-2.1.3.tgz", + "integrity": "sha512-c2XVg5mQKqJWFan9t482a3WiUB70Qd7pmCzUk5f7FwOvIV/TrVl4QzVjET1ESNCSVGSoT9agyD/o5UaACZS9wg==", "requires": { "bindings": "1.5.0", "cmake-js": "6.1.0", @@ -1507,9 +1507,9 @@ } }, "@nut-tree/libnut-win32": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/@nut-tree/libnut-win32/-/libnut-win32-2.1.1.tgz", - "integrity": "sha512-kZOc1aXXTN0pkQcQNjgROq1LZl9p122MjDLVY+iRYKg7KX3oIS8MlkGy/3eunyLPbnHML+l1kQCwYa3h4cYFpw==", + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/@nut-tree/libnut-win32/-/libnut-win32-2.1.3.tgz", + "integrity": "sha512-+gDyng4YVw5qUqoRpIhQN/1XOPuD5v1Gb5XySXsQo+ledvOLYqDcl19NpP3bFiuyzZwZtWAo5tOiS/TaLtJcpQ==", "requires": { "bindings": "1.5.0", "cmake-js": "6.1.0", @@ -1722,11 +1722,11 @@ } }, "ajv": { - "version": "6.10.0", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.10.0.tgz", - "integrity": "sha1-kNDVRDnaWHzX6EO/twRfUL0ivfE=", + "version": "6.12.6", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", + "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", "requires": { - "fast-deep-equal": "^2.0.1", + "fast-deep-equal": "^3.1.1", "fast-json-stable-stringify": "^2.0.0", "json-schema-traverse": "^0.4.1", "uri-js": "^4.2.2" @@ -1821,6 +1821,11 @@ "readable-stream": "^2.0.0 || ^1.1.13" }, "dependencies": { + "isarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", + "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=" + }, "readable-stream": { "version": "2.3.7", "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz", @@ -1867,9 +1872,9 @@ "dev": true }, "asn1": { - "version": "0.2.4", - "resolved": "https://registry.npmjs.org/asn1/-/asn1-0.2.4.tgz", - "integrity": "sha512-jxwzQpLQjSmWXgwaCZE9Nz+glAG01yF1QnWgbhGwHI5A6FRIEY6IVqtHhIepHqI7/kyEyQEagBC5mBEFlIYvdg==", + "version": "0.2.6", + "resolved": "https://registry.npmjs.org/asn1/-/asn1-0.2.6.tgz", + "integrity": "sha512-ix/FxPn0MDjeyJ7i/yoHGFt/EX6LyNbxSEhPPXODPL+KB0VPk86UYfL0lMdy+KCnv+fmvIzySwaK5COwqVbWTQ==", "requires": { "safer-buffer": "~2.1.0" } @@ -1890,9 +1895,9 @@ "integrity": "sha1-tG6JCTSpWR8tL2+G1+ap8bP+dqg=" }, "aws4": { - "version": "1.8.0", - "resolved": "https://registry.npmjs.org/aws4/-/aws4-1.8.0.tgz", - "integrity": "sha1-8OAD2cqef1nHpQiUXXsu+aBKVC8=" + "version": "1.11.0", + "resolved": "https://registry.npmjs.org/aws4/-/aws4-1.11.0.tgz", + "integrity": "sha512-xh1Rl34h6Fi1DC2WWKfxUTVqRsNnr6LsKz2+hfwDxQJWmrx8+c7ylaqBMcHfl1U1r2dsifOvKX3LQuLNZ+XSvA==" }, "babel-jest": { "version": "27.1.0", @@ -1992,9 +1997,9 @@ } }, "big-integer": { - "version": "1.6.48", - "resolved": "https://registry.npmjs.org/big-integer/-/big-integer-1.6.48.tgz", - "integrity": "sha512-j51egjPa7/i+RdiRuJbPdJ2FIUYYPhvYLjzoYbcMMm62ooO6F94fETG4MTs46zPAF9Brs04OajboA/qTGuz78w==" + "version": "1.6.51", + "resolved": "https://registry.npmjs.org/big-integer/-/big-integer-1.6.51.tgz", + "integrity": "sha512-GPEid2Y9QU1Exl1rpO9B2IPJGHPSupF5GnVIP0blYvNOMer2bTvSWs1jGOUg04hTmu67nmLsQ9TBo1puaotBHg==" }, "binary": { "version": "0.3.0", @@ -2380,9 +2385,9 @@ "dev": true }, "combined-stream": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.7.tgz", - "integrity": "sha512-brWl9y6vOB1xYPZcpZde3N9zDByXTosAeMDo4p1wzo6UMOX4vumB+TP1RZ76sfE6Md68Q0NJSrE/gbezd4Ul+w==", + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz", + "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", "requires": { "delayed-stream": "~1.0.0" } @@ -2420,9 +2425,9 @@ } }, "core-util-is": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz", - "integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=" + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.3.tgz", + "integrity": "sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ==" }, "cross-spawn": { "version": "6.0.5", @@ -2596,6 +2601,11 @@ "readable-stream": "^2.0.2" }, "dependencies": { + "isarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", + "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=" + }, "readable-stream": { "version": "2.3.7", "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz", @@ -2782,9 +2792,9 @@ "integrity": "sha1-lpGEQOMEGnpBT4xS48V06zw+HgU=" }, "fast-deep-equal": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-2.0.1.tgz", - "integrity": "sha1-ewUhjd+WZ79/Nwv3/bLLFf3Qqkk=" + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", + "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==" }, "fast-glob": { "version": "3.2.7", @@ -3153,11 +3163,11 @@ "integrity": "sha1-qUwiJOvKwEeCoNkDVSHyRzW37JI=" }, "har-validator": { - "version": "5.1.3", - "resolved": "https://registry.npmjs.org/har-validator/-/har-validator-5.1.3.tgz", - "integrity": "sha1-HvievT5JllV2de7ZiTEQ3DUPoIA=", + "version": "5.1.5", + "resolved": "https://registry.npmjs.org/har-validator/-/har-validator-5.1.5.tgz", + "integrity": "sha512-nmT2T0lljbxdQZfspsno9hgrG3Uir6Ks5afism62poxqBM6sDnMEuPmzTq8XN0OEwqKLLdh1jQI3qyE66Nzb3w==", "requires": { - "ajv": "^6.5.5", + "ajv": "^6.12.3", "har-schema": "^2.0.0" } }, @@ -3506,9 +3516,9 @@ } }, "isarray": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", - "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=" + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz", + "integrity": "sha1-ihis/Kmo9Bd+Cav8YDiTmwXR7t8=" }, "isexe": { "version": "2.0.0", @@ -5729,9 +5739,9 @@ } }, "psl": { - "version": "1.1.31", - "resolved": "https://registry.npmjs.org/psl/-/psl-1.1.31.tgz", - "integrity": "sha512-/6pt4+C+T+wZUieKR620OpzN/LlnNKuWjy1iFLQ/UG35JqHlR/89MP1d96dUfkf6Dne3TuLQzOYEYshJ+Hx8mw==" + "version": "1.8.0", + "resolved": "https://registry.npmjs.org/psl/-/psl-1.8.0.tgz", + "integrity": "sha512-RIdOzyoavK+hA18OGGWDqUTsCLhtA7IcZ/6NCs4fFJaHBDab+pDDmDIByWFRQJq2Cd7r1OoQxBGKOaztq+hjIQ==" }, "pump": { "version": "3.0.0", @@ -5784,13 +5794,6 @@ "inherits": "~2.0.1", "isarray": "0.0.1", "string_decoder": "~0.10.x" - }, - "dependencies": { - "isarray": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz", - "integrity": "sha1-ihis/Kmo9Bd+Cav8YDiTmwXR7t8=" - } } }, "regenerator-runtime": { @@ -5808,9 +5811,9 @@ } }, "request": { - "version": "2.88.0", - "resolved": "https://registry.npmjs.org/request/-/request-2.88.0.tgz", - "integrity": "sha1-nC/KT301tZLv5Xx/ClXoEFIST+8=", + "version": "2.88.2", + "resolved": "https://registry.npmjs.org/request/-/request-2.88.2.tgz", + "integrity": "sha512-MsvtOrfG9ZcrOwAW+Qi+F6HbD0CWXEh9ou77uOb7FM2WPhwT7smM833PzanhJLsgXjN89Ir6V2PczXNnMpwKhw==", "requires": { "aws-sign2": "~0.7.0", "aws4": "^1.8.0", @@ -5819,7 +5822,7 @@ "extend": "~3.0.2", "forever-agent": "~0.6.1", "form-data": "~2.3.2", - "har-validator": "~5.1.0", + "har-validator": "~5.1.3", "http-signature": "~1.2.0", "is-typedarray": "~1.0.0", "isstream": "~0.1.2", @@ -5829,23 +5832,18 @@ "performance-now": "^2.1.0", "qs": "~6.5.2", "safe-buffer": "^5.1.2", - "tough-cookie": "~2.4.3", + "tough-cookie": "~2.5.0", "tunnel-agent": "^0.6.0", "uuid": "^3.3.2" }, "dependencies": { - "punycode": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/punycode/-/punycode-1.4.1.tgz", - "integrity": "sha1-wNWmOycYgArY4esPpSachN1BhF4=" - }, "tough-cookie": { - "version": "2.4.3", - "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.4.3.tgz", - "integrity": "sha1-U/Nto/R3g7CSWvoG/587FlKA94E=", + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.5.0.tgz", + "integrity": "sha512-nlLsUzgm1kfLXSXfRZMc1KLAugd4hqJHDTvc2hDIwS3mZAfMEuMbc03SujMF+GEcpaX/qboeycw6iO8JwVv2+g==", "requires": { - "psl": "^1.1.24", - "punycode": "^1.4.1" + "psl": "^1.1.28", + "punycode": "^2.1.1" } } } @@ -6545,6 +6543,11 @@ "setimmediate": "~1.0.4" }, "dependencies": { + "isarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", + "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=" + }, "process-nextick-args": { "version": "1.0.7", "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-1.0.7.tgz", @@ -6567,9 +6570,9 @@ } }, "uri-js": { - "version": "4.2.2", - "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.2.2.tgz", - "integrity": "sha1-lMVA4f93KVbiKZUHwBCupsiDjrA=", + "version": "4.4.1", + "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz", + "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==", "requires": { "punycode": "^2.1.0" } @@ -6593,9 +6596,9 @@ "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=" }, "uuid": { - "version": "3.3.2", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.3.2.tgz", - "integrity": "sha1-G0r0lV6zB3xQHCOHL8ZROBFYcTE=" + "version": "3.4.0", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.4.0.tgz", + "integrity": "sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==" }, "v8-to-istanbul": { "version": "8.0.0", @@ -6634,6 +6637,13 @@ "assert-plus": "^1.0.0", "core-util-is": "1.0.2", "extsprintf": "^1.2.0" + }, + "dependencies": { + "core-util-is": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz", + "integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=" + } } }, "version-bump-prompt": { diff --git a/package.json b/package.json index 39363d97..f0e406ca 100644 --- a/package.json +++ b/package.json @@ -59,9 +59,9 @@ "typedoc": "typedoc --options ./typedoc.js --out ./docs lib/" }, "dependencies": { - "@nut-tree/libnut": "2.1.2", + "@nut-tree/libnut": "2.1.3", "clipboardy": "2.3.0", - "jimp": "^0.16.1", + "jimp": "0.16.1", "node-abort-controller": "2.0.0" }, "devDependencies": { From 00d3c66cf2b3e81d95fe79cabd2f45d54e68cadb Mon Sep 17 00:00:00 2001 From: Simon Hofmann Date: Fri, 17 Dec 2021 00:15:54 +0100 Subject: [PATCH 4/5] Center image in readme again --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index d29bd0f8..7b5430b7 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ Native UI testing / automation with node.js # About -

+

logo

From ba8217b3e1056011be82bbdd4d54b929ab5a3fd3 Mon Sep 17 00:00:00 2001 From: Simon Hofmann Date: Fri, 17 Dec 2021 01:25:13 +0100 Subject: [PATCH 5/5] Fixed typedoc config --- package-lock.json | 70 ++++++++++++++++------------------------------- typedoc.js | 3 -- 2 files changed, 23 insertions(+), 50 deletions(-) diff --git a/package-lock.json b/package-lock.json index e0b4cd30..c633385b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -4926,6 +4926,12 @@ "minimist": "^1.2.5" } }, + "jsonc-parser": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/jsonc-parser/-/jsonc-parser-3.0.0.tgz", + "integrity": "sha512-fQzRfAbIBnR0IQvftw9FJveWiHp72Fg20giDrHz6TdfB12UH/uue0D3hm57UB5KgAVuniLMCaS8P1IMj9NR7cA==", + "dev": true + }, "jsonfile": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-4.0.0.tgz", @@ -5141,9 +5147,9 @@ } }, "marked": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/marked/-/marked-3.0.2.tgz", - "integrity": "sha512-TMJQQ79Z0e3rJYazY0tIoMsFzteUGw9fB3FD+gzuIT3zLuG9L9ckIvUfF51apdJkcqc208jJN2KbtPbOvXtbjA==", + "version": "3.0.8", + "resolved": "https://registry.npmjs.org/marked/-/marked-3.0.8.tgz", + "integrity": "sha512-0gVrAjo5m0VZSJb4rpL59K1unJAMb/hm8HRXqasD8VeC8m91ytDPMritgFSlKonfdt+rRYYpP/JfLxgIX8yoSw==", "dev": true }, "memory-stream": { @@ -5436,26 +5442,6 @@ "mimic-fn": "^2.1.0" } }, - "onigasm": { - "version": "2.2.5", - "resolved": "https://registry.npmjs.org/onigasm/-/onigasm-2.2.5.tgz", - "integrity": "sha512-F+th54mPc0l1lp1ZcFMyL/jTs2Tlq4SqIHKIXGZOR/VkHkF9A7Fr5rRr5+ZG/lWeRsyrClLYRq7s/yFQ/XhWCA==", - "dev": true, - "requires": { - "lru-cache": "^5.1.1" - }, - "dependencies": { - "lru-cache": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz", - "integrity": "sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==", - "dev": true, - "requires": { - "yallist": "^3.0.2" - } - } - } - }, "optionator": { "version": "0.8.3", "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.8.3.tgz", @@ -5987,13 +5973,13 @@ "integrity": "sha1-2kL0l0DAtC2yypcoVxyxkMmO/qM=" }, "shiki": { - "version": "0.9.10", - "resolved": "https://registry.npmjs.org/shiki/-/shiki-0.9.10.tgz", - "integrity": "sha512-xeM7Oc6hY+6iW5O/T5hor8ul7mEprzyl5y4r5zthEHToQNw7MIhREMgU3r2gKDB0NaMLNrkcEQagudCdzE13Lg==", + "version": "0.9.15", + "resolved": "https://registry.npmjs.org/shiki/-/shiki-0.9.15.tgz", + "integrity": "sha512-/Y0z9IzhJ8nD9nbceORCqu6NgT9X6I8Fk8c3SICHI5NbZRLdZYFaB233gwct9sU0vvSypyaL/qaKvzyQGJBZSw==", "dev": true, "requires": { - "json5": "^2.2.0", - "onigasm": "^2.2.5", + "jsonc-parser": "^3.0.0", + "vscode-oniguruma": "^1.6.1", "vscode-textmate": "5.2.0" } }, @@ -6479,22 +6465,6 @@ "progress": "^2.0.3", "shiki": "^0.9.8", "typedoc-default-themes": "^0.12.10" - }, - "dependencies": { - "glob": { - "version": "7.1.7", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.7.tgz", - "integrity": "sha512-OvD9ENzPLbegENnYP5UUfJIirTg4+XwMWGaQfQTY0JenxNvvIKP3U3/tAQSPIu/lHxXYSZmpXlUHeqAIdKzBLQ==", - "dev": true, - "requires": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^3.0.4", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" - } - } } }, "typedoc-default-themes": { @@ -6516,9 +6486,9 @@ "dev": true }, "uglify-js": { - "version": "3.14.1", - "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.14.1.tgz", - "integrity": "sha512-JhS3hmcVaXlp/xSo3PKY5R0JqKs5M3IV+exdLHW99qKvKivPO4Z8qbej6mte17SOPqAOVMjt/XGgWacnFSzM3g==", + "version": "3.14.5", + "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.14.5.tgz", + "integrity": "sha512-qZukoSxOG0urUTvjc2ERMTcAy+BiFh3weWAkeurLwjrCba73poHmG3E36XEjd/JGukMzwTL7uCxZiAexj8ppvQ==", "dev": true, "optional": true }, @@ -6682,6 +6652,12 @@ } } }, + "vscode-oniguruma": { + "version": "1.6.1", + "resolved": "https://registry.npmjs.org/vscode-oniguruma/-/vscode-oniguruma-1.6.1.tgz", + "integrity": "sha512-vc4WhSIaVpgJ0jJIejjYxPvURJavX6QG41vu0mGhqywMkQqulezEqEQ3cO3gc8GvcOpX6ycmKGqRoROEMBNXTQ==", + "dev": true + }, "vscode-textmate": { "version": "5.2.0", "resolved": "https://registry.npmjs.org/vscode-textmate/-/vscode-textmate-5.2.0.tgz", diff --git a/typedoc.js b/typedoc.js index e49f743d..3cdeb11c 100644 --- a/typedoc.js +++ b/typedoc.js @@ -1,5 +1,4 @@ module.exports = { - "mode": "file", exclude: [ '**/dist/**', '**/node_modules/**', @@ -10,8 +9,6 @@ module.exports = { excludePrivate: true, excludeExternals: true, excludeProtected: true, - excludeNotExported: true, - includeDeclarations: false, hideGenerator: true, theme: 'default', };