Security News
Opengrep Emerges as Open Source Alternative Amid Semgrep Licensing Controversy
Opengrep forks Semgrep to preserve open source SAST in response to controversial licensing changes.
useragent_parser
Advanced tools
A port, with some minor modifications, of Google's UA parser.
var useragent_parser = require('./useragent_parser')
var useragent = 'Mozilla/5.0 (BlackBerry; U; BlackBerry 9800; en-GB) AppleWebKit/534.1+ (KHTML, like Gecko) Version/6.0.0.141 Mobile Safari/534.1+,gzip(gfe),gzip(gfe)'
useragent_parser.parse(useragent) // => { family: 'Blackberry', v1: '6', v2: '0', v3: '0' }
useragent_parser.prettyParse(useragent) // => ""Blackberry 6.0.0"
The tests roughly copy the tests from the original.
node test/test_user_agent_parser.js
The benchmarks parse all of the user agents in benchmark/sample_user_agents.csv.
node benchmark/benchmark.js
FAQs
Browser useragent parser.
We found that useragent_parser demonstrated a not healthy version release cadence and project activity because the last version was released 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
Opengrep forks Semgrep to preserve open source SAST in response to controversial licensing changes.
Security News
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.