
Research
Security News
Malicious npm Packages Target BSC and Ethereum to Drain Crypto Wallets
Socket uncovered four malicious npm packages that exfiltrate up to 85% of a victim’s Ethereum or BSC wallet using obfuscated JavaScript.
angular-bowser
Advanced tools
Supply Chain Security
Vulnerability
Quality
Maintenance
License
Unpopular package
QualityThis package is not very popular.
Found 1 instance in 1 package
High CVE
This is a simple AngularJS service to provide browser information. It's heavily based on bowser code.
None except for AngularJS.
bower install --save angular-bowser
OR
npm install --save angular-bowser
Include src/angular-bowser.js in your html.
<script src="node_modules/angular-bowser/src/angular-bowser.js"></script>
Add the angular-bowser module as a dependency to your application module:
angular.module('MyApp', ['jlareau.bowser']);
Inject the service where you need it. A good place is in the run section of your application.
angular.module('MyApp')
.run(['bowser', function(bowser) {
if ( bowser.msie && bowser.version <= 6 ) {
alert(`${bowser.name}, Seriously?!`);
}
}]);
Example of properties are: firefox, chrome, msie, opera, android, ios, safari
The browser version is always in the version property.
For more information, please check bowser.
FAQs
AngularJS browser detection kit
The npm package angular-bowser receives a total of 344 weekly downloads. As such, angular-bowser popularity was classified as not popular.
We found that angular-bowser demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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.
Research
Security News
Socket uncovered four malicious npm packages that exfiltrate up to 85% of a victim’s Ethereum or BSC wallet using obfuscated JavaScript.
Security News
TC39 advances 9 JavaScript proposals, including Array.fromAsync, Error.isError, and Explicit Resource Management, which are now headed into the ECMAScript spec.
Security News
Vite releases Rolldown-Vite, a Rust-based bundler preview offering faster builds and lower memory usage as a drop-in replacement for Vite.