Skip to content

Commit 94fe571

Browse files
committed
Version pinning, cleanup
1 parent b4ef2bc commit 94fe571

File tree

6 files changed

+58
-50
lines changed

6 files changed

+58
-50
lines changed

package-lock.json

Lines changed: 46 additions & 41 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "libnut",
3-
"version": "2.5.2",
3+
"version": "2.6.0",
44
"description": "libnut is an N-API module for desktop automation with node",
55
"main": "index.js",
66
"typings": "index.d.ts",
@@ -14,9 +14,9 @@
1414
},
1515
"homepage": "https://nutjs.dev",
1616
"author": {
17-
"name": "Simon Hofmann",
18-
"email": "[email protected]",
19-
"url": "https://s1h.org"
17+
"name": "dry Software UG (haftungsbeschränkt)",
18+
"email": "[email protected]",
19+
"url": "https://dry.software"
2020
},
2121
"bugs": {
2222
"url": "https://github.com/nut-tree/nut.js/issues"

src/main.cc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -697,7 +697,6 @@ Napi::Boolean _moveWindow(const Napi::CallbackInfo& info) {
697697

698698
auto x = rectObj.Get("x").As<Napi::Number>().Int64Value();
699699
auto y = rectObj.Get("y").As<Napi::Number>().Int64Value();
700-
std::cout << "moving to " << x << ", " << y << std::endl;
701700

702701
auto newOrigin = MMPointMake(x, y);
703702

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
module.exports = {
2+
preset: "jest-playwright-preset"
3+
}

test/window-integration-tests/package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

test/window-integration-tests/package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,14 @@
99
"url": "https://simon-hofmann.org"
1010
},
1111
"scripts": {
12+
"pretest": "npx playwright install --with-deps",
1213
"test": "jest"
1314
},
1415
"license": "MIT",
1516
"devDependencies": {
1617
"@playwright/test": "1.38.1",
17-
"electron": "^26.3.0",
18-
"jest": "^29.7.0",
18+
"electron": "26.3.0",
19+
"jest": "29.7.0",
1920
"jest-playwright-preset": "^3.0.1"
2021
}
2122
}

0 commit comments

Comments
 (0)