feat(constants): add bot as a platform (#540) (#541)

Co-authored-by: Lucio Martinez <martinezlucio.com@gmail.com>
pull/542/head
Naor Peled 5 months ago committed by GitHub
parent 07462efb6a
commit 94ab87ec0e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -149,7 +149,7 @@ list of aliases can be found in [the file](src/constants.js).
### Code Contributors
This project exists thanks to all the people who contribute. [[Contribute](CONTRIBUTING.md)].
This project exists thanks to all the people who contribute. [[Contribute](.github/CONTRIBUTING.md)].
<a href="https://github.com/lancedikson/bowser/graphs/contributors"><img src="https://opencollective.com/bowser/contributors.svg?width=890&button=false" /></a>
### Financial Contributors

@ -90,6 +90,7 @@ export const PLATFORMS_MAP = {
mobile: 'mobile',
desktop: 'desktop',
tv: 'tv',
bot: 'bot',
};
export const OS_MAP = {

@ -12,7 +12,7 @@ export default [
test: [/googlebot/i],
describe() {
return {
type: 'bot',
type: PLATFORMS_MAP.bot,
vendor: 'Google',
};
},

Loading…
Cancel
Save