Security News
RubyGems.org Adds New Maintainer Role
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
@smartbear/browser-info
Advanced tools
Tiny developer-friendly JS library that provides information about host browser
Tiny (~2KB) vanilla JS developers-friendly library that provides information about host browser and OS. A goal of this library isn't creation of the all-knowing and heavy database. Rather focus is to keep is small and light. Eg if you want to focus on major browsers and platforms.
Demo: https://smartbear.github.io/browser-info/
import BrowserInfo from '@smartbear/browser-info'
BrowserInfo.detect(); // if param not given, then it will use navigator.userAgent
console.log(BrowserInfo.name); // print detected browser's name
console.log(BrowserInfo.release); // print detected browser's major release number
console.log(BrowserInfo.version); // print detected browser's version string
console.log(BrowserInfo.os); // print detected OS name
In dist
directory there is a file with .embed
sufix. Importing this library into your UI will cause calling
detect()
method and assigning BrowserInfo
to window.navigator.browserInfo
- this way it is accessible globally.
import '@smartbear/browser-info/dist/smartbear-browser-info.embed.min'
console.log(window.navigator.browserInfo);
This project is licensed under the ISC License - see the LICENSE file for details.
FAQs
Tiny developer-friendly JS library that provides information about host browser
We found that @smartbear/browser-info demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.
Security News
Research
Socket's threat research team has detected five malicious npm packages targeting Roblox developers, deploying malware to steal credentials and personal data.