Skip to content

Commit deb6e11

Browse files
committed
feat: widen win32 and package_info_plus dependency constraints
- Update win32 from `>=5.6.1 <6.0.0` to `>=5.6.1 <7.0.0` - Update package_info_plus from `^9.0.0` to `>=9.0.0 <11.0.0` No code changes required — the Windows plugin uses only `SetThreadExecutionState` with `ES_CONTINUOUS` and `ES_DISPLAY_REQUIRED`, which are fully compatible with win32 6.x (`EXECUTION_STATE` extension type implements `int`). Closes #120
1 parent 4f4be85 commit deb6e11

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

wakelock_plus/pubspec.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,11 @@ dependencies:
1818
wakelock_plus_platform_interface: ^1.4.0
1919

2020
# Windows dependencies
21-
# win32 is compatible across v5 for Win32 only (not COM)
22-
win32: ">=5.6.1 <6.0.0"
21+
win32: ">=5.6.1 <7.0.0"
2322

2423
# Linux dependencies
2524
dbus: ^0.7.12
26-
package_info_plus: ^9.0.0
25+
package_info_plus: ">=9.0.0 <11.0.0"
2726

2827
# Web dependencies
2928
web: ">=0.5.1 <2.0.0"

0 commit comments

Comments
 (0)