{"full_name":"bowser-js/bowser","owner":"bowser-js","name":"bowser","shard":"1","url":"https://github.com/bowser-js/bowser","description":"a browser detector","homepage":"http://bowser-js.github.io/bowser/","topics":["javascript","detect-browsers","browser-detector","browser","user-agent-parser","browser-detection","os-detection","device-detection","useragent","useragentparser"],"tag_pages":["browser","javascript"],"language":"JavaScript","license":"NOASSERTION","avatar":"https://avatars.githubusercontent.com/u/40718235?v=4","created_at":"2011-04-27T22:08:55Z","pushed_at":"2026-10-27T14:30:57Z","metrics":{"stars":5766,"forks":485,"watchers":99,"issues":312,"prs":327,"releases":41,"issues_open":65,"issues_closed":247,"prs_open":4,"prs_closed":122,"prs_merged":201,"discussions":3},"growth":{"day":{"stars":0,"forks":0,"base_day":"2026-11-15"}},"history":{"dates":["2026-11-10","2026-11-11","2026-11-12","2026-11-13","2026-11-14","2026-11-15","2026-11-16"],"stars":[5767,5767,5767,5767,5766,5766,5766],"forks":[485,485,485,485,485,485,485],"watchers":[null,99,99,99,99,99,99],"issues_open":[null,65,65,65,65,65,65],"prs_open":[null,4,4,4,4,4,4]},"boards":{},"same_owner":[],"issues":[{"number":242,"title":"Version 2 lacks some useful information","comments":17,"created_at":"2018-08-19T22:24:51Z"},{"number":140,"title":"Add WebView detection","comments":16,"created_at":"2016-05-09T06:54:01Z"},{"number":339,"title":"\"Bowser.getParser is not a function\" on v2.5.1","comments":13,"created_at":"2019-07-17T14:31:41Z"},{"number":329,"title":"iPadOS Safari 13 is detected as Safari 13 on MacOS 10.15","comments":12,"created_at":"2019-06-11T13:32:41Z"},{"number":259,"title":"v2.0 big bundle size","comments":10,"created_at":"2018-10-12T03:30:40Z"},{"number":554,"title":"iPad identifies (when using Safari) as running macOS 10.15.7 Catalina on Apple desktop Platform ","comments":9,"created_at":"2024-07-01T10:17:16Z"},{"number":302,"title":"Improve documentation for 2.0","comments":8,"created_at":"2019-03-07T06:55:25Z"},{"number":572,"title":"External Microphone Permissions Not Handled Properly","comments":7,"created_at":"2025-11-18T19:13:30Z"}],"discussions":[{"number":502,"title":"Looking for active maintainers 👀","comments":0,"category":"General","created_at":"2021-12-14T10:00:35Z"},{"number":482,"title":"Поддержка браузерами","comments":0,"category":"Q&A","created_at":"2021-06-17T08:57:06Z"},{"number":460,"title":"Welcome to bowser Discussions!","comments":2,"category":"General","created_at":"2020-12-09T16:23:12Z"}],"latest_release":{"name":"v2.15.0","tag":"v2.15.0","published_at":"2026-10-26T19:55:26Z","body":"## Security\r\n\r\n- fix: polynomial ReDoS in the Firefox-on-iPad user-agent rule ([GHSA-f9xq-72p3-q9fv](https://github.com/bowser-js/bowser/security/advisories/GHSA-f9xq-72p3-q9fv)). A crafted User-Agent could block the Node.js event loop for seconds per `Bowser.parse()` call. Thanks to @0xma1ware for the report.\r\n- fix: four more polynomial ReDoS patterns (Linespider, SlackBot and the generic fallback rule), found by CodeQL (#630).\r\n\r\n## Worth knowing before upgrading\r\n\r\n- **New detections change reported browser names.** HeyTap, Vivo and Ladybird users are now reported under their own names instead of Chrome, and Motorola Edge phones are no longer reported as Microsoft Edge. Dashboards that group by browser name will shift.\r\n- **Bowser is now a dual package.** `require('bowser')` still returns the same UMD build. `import` now resolves to a real ES module that also offers `parse`, `getParser`, `BROWSER_MAP`, `ENGINE_MAP`, `OS_MAP` and `PLATFORMS_MAP` as named exports. All published file paths still resolve.\r\n- **`bundled.js` is ~11 KB larger gzipped (37 → 48 KB).** It now uses current core-js 3 polyfills, whose fuller spec compliance makes them larger; it covers the same features as before. If you already ship polyfills, use `es5.js` (unchanged at ~7.5 KB gzipped) or the ES module build instead.\r\n\r\n## Changes\r\n\r\n- perf: trim bundled.js to the 2.14.1 polyfill set, fix stale docs @naorpeled (#635)\r\n- fix: expose the constant maps on the ESM namespace @lancedikson (#642)\r\n- fix: keep ESM consumers on ES5, enable tree-shaking, trim bundled.js @naorpeled (#634)\r\n- fix: bundled.js is not ES5 — restore ES5 output and guard it @naorpeled (#632)\r\n- fix: restore ES5 output for bundled.js, close exports-map gaps, and cover all build artifacts @naorpeled (#631)\r\n- fix: resolve open GitHub security findings @naorpeled (#630)\r\n- Dual packaging, without breaking existing consumers @naorpeled (#628)\r\n- feat: add Ladybird browser support @gmta (#627)\r\n- feat: add support for HeyTap Browser and Vivo Browser identification @mrswapnilsahu (#621)\r\n- fix: prevent Motorola Edge devices from being misidentified as Microsoft Edge @naorpeled (#612)\r\n- feat: add copyright comment to bundle @naorpeled (#605)\r\n- Add the ability to use an array of versions in Parser.satisfies() @Stas-tolpekin (#466)\r\n","is_prerelease":false},"readme":true,"readme_zh":false,"news":[],"stale":false,"snapshot_at":"2026-11-16T09:23:14Z","history_start":"2026-09-06"}