os-detect 2.0.0 → 2.0.2

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/README.md +28 -5
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -1,4 +1,13 @@
1
- # os-detect
1
+ <div align="center" style="background:#111827;border-radius:20px;padding:28px 20px 20px;margin-bottom:32px">
2
+ <h1 style="color:#f9fafb;margin:0 0 32px;font-size:2.2em;letter-spacing:-0.03em;font-weight:700;font-family:sans-serif">
3
+ os-detect
4
+ </h1>
5
+ <img
6
+ src="https://s3.twcstorage.ru/c9a2cc89-780f97fd-311d-4a1a-b86f-c25665c9dc46/images/npm/os-detect.webp"
7
+ alt="vue-virtual-scroller-kit"
8
+ style="max-width:100%;width:auto;height:300px;border-radius:12px"
9
+ />
10
+ </div>
2
11
 
3
12
  A lightweight utility for detecting the operating system and device type — in browsers, Node.js, and SSR. With React hooks and Vue composables. No dependencies.
4
13
 
@@ -205,14 +214,28 @@ detectIsIOS() // use this instead
205
214
 
206
215
  ---
207
216
 
217
+ ## License
218
+
219
+ MIT
220
+
221
+ ---
222
+
208
223
  ## Author
209
224
 
210
225
  Danil Lisin Vladimirovich aka Macrulez
211
226
 
212
- GitHub: [macrulezru](https://github.com/macrulezru)
227
+ GitHub: [macrulezru](https://github.com/macrulezru) · Website: [macrulez.ru/en](https://macrulez.ru/en)
213
228
 
214
- Website: [macrulez.ru](https://macrulez.ru/)
229
+ Bugs and questions — [issues](https://github.com/macrulezru/os-detect/issues)
215
230
 
216
- ## License
231
+ ---
217
232
 
218
- MIT
233
+ ## 💖 Support the project
234
+
235
+ Open source takes time and effort. If my work saves you time or brings value, consider supporting further development.
236
+
237
+ <a href="https://donate.cryptocloud.plus/M6O34NIN" target="_blank">
238
+ <img src="https://img.shields.io/badge/Donate-CryptoCloud-8A2BE2?style=for-the-badge&logo=cryptocurrency&logoColor=white" alt="Donate via CryptoCloud">
239
+ </a>
240
+
241
+ Thank you for being part of this journey. ❤️
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "os-detect",
3
- "version": "2.0.0",
3
+ "version": "2.0.2",
4
4
  "description": "Simple OS and device type detection for browsers (no dependencies)",
5
5
  "author": "macrulez",
6
6
  "license": "MIT",
@@ -62,10 +62,10 @@
62
62
  "jest-environment-jsdom": "^30.3.0",
63
63
  "prettier": "^3.8.1",
64
64
  "react": "^19.2.4",
65
- "ts-jest": "^29.4.6",
65
+ "ts-jest": "^29.4.11",
66
66
  "tsup": "^8.5.1",
67
67
  "typescript": "^6.0.2",
68
- "typescript-eslint": "^8.57.2",
68
+ "typescript-eslint": "^8.59.4",
69
69
  "vue": "^3.5.31"
70
70
  },
71
71
  "keywords": [