New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@ahmedrangel/rand-user-agent

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ahmedrangel/rand-user-agent - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

dist/data/user-agents.d.ts

4

dist/index.js
import { JSONfrequencyNormalize, JSONIsFrequency, JSONinterval, randomElement } from "./helpers.js";
import { createRequire } from "module";
const require = createRequire(import.meta.url);
const data = require("./data/user-agents.json");
import data from "./data/user-agents.js";
export const randUA = (device, browser = null, os = null) => {

@@ -6,0 +4,0 @@ let content = data;

{
"name": "@ahmedrangel/rand-user-agent",
"version": "2.0.0",
"version": "2.0.1",
"description": "This is an adapted version of rand-user-agent specifically designed for environments lacking access to server file systems (fs), such as Cloudflare Workers.",

@@ -5,0 +5,0 @@ "exports": "./dist/index.js",

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc