Skip to content

Commit

Permalink
chore: update deps
Browse files Browse the repository at this point in the history
  • Loading branch information
jorisre committed Oct 2, 2022
1 parent 80b2c87 commit 48c1540
Show file tree
Hide file tree
Showing 5 changed files with 95 additions and 669 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Tiniest React implementation of the Screen Wake Lock API. <br/>It provides a way

- 🌐 Follows the **[W3C Screen Wake Lock API specifications](https://w3c.github.io/screen-wake-lock/)**
- 🪝 **Easy to use** - Just one react hook `useWakeLock`
- 🪶 **Lightweight & 0 Dependency** - _Less than **[370b](https://bundlephobia.com/result?p=react-screen-wake-lock)**_
- 🪶 **Lightweight & 0 Dependency** - _Less than **[650b](https://bundlephobia.com/result?p=react-screen-wake-lock)**_
- 🔌 **Easily integration** - _It works without additional configuration (React, remix, Next.js...)_
- 🧪 **Ready to test** - Mocks the Screen Wake Lock with [Jest](https://github.com/jorisre/jest-wake-lock-mock#readme)
- ⚠️ **Browser Support** - [Screen Wake Lock API](https://caniuse.com/wake-lock)
Expand Down
4 changes: 2 additions & 2 deletions example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@
"serve": "vite preview"
},
"dependencies": {
"react-screen-wake-lock": "1.1.5"
"react-screen-wake-lock": "^3.0.0"
},
"devDependencies": {
"@types/react": "^18.0.13",
"@types/react-dom": "^18.0.5",
"@vitejs/plugin-react-refresh": "^1.3.1",
"typescript": "^4.1.2",
"vite": "^2.1.3"
"vite": "^3.1.4"
},
"alias": {
"react": "../node_modules/react",
Expand Down
Loading

0 comments on commit 48c1540

Please sign in to comment.