Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

fpad-rand-cert

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fpad-rand-cert - npm Package Compare versions

Comparing version 2.0.8 to 2.0.9

9

dist/gg-audit-randomize.js

@@ -25,8 +25,9 @@ 'use strict';

function randomOrganization(data) {
var name = data.name || faker.name.firstName() + ' ' + faker.name.lastName();
var temp = data.contacts ? data.contacts[0].name : undefined;
var name = temp || faker.name.firstName() + ' ' + faker.name.lastName();
// TODO: currently making up a last name.
// if (name.split(' ').length === 1) name = name+' '+faker.name.lastName();
// if (name.split(' ').length === 1) name = name + ' ' + faker.name.lastName();
return {
name: name.split(' ')[name.split(' ').length - 1] + ' ' + randomEntry(farmNames),
contacts: [{ name: name }],
name: data.name || name.split(' ')[name.split(' ').length - 1] + ' ' + randomEntry(farmNames),
contacts: data.contacts || [{ name: name }],
location: randomLocation(data.location || {}),

@@ -33,0 +34,0 @@ //TODO: didn't have time. let this be optional

{
"name": "fpad-rand-cert",
"version": "2.0.8",
"version": "2.0.9",
"description": "",

@@ -5,0 +5,0 @@ "main": "dist/gg-audit-randomize.js",

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