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

dlgen

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dlgen - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

17

built/dlgen.d.ts

@@ -1,2 +0,2 @@

export declare class DLPerson {
export interface IDLPerson {
firstName: string;

@@ -7,10 +7,11 @@ lastName: string;

gender: string;
constructor(person: Object<{
firstName: string;
lastName: string;
middleName: string;
dob: Date;
gender: string;
}>);
}
export declare class DLPerson implements IDLPerson {
firstName: string;
lastName: string;
middleName: string;
dob: Date;
gender: string;
constructor(person: IDLPerson);
}
export declare class DLGenerator {

@@ -17,0 +18,0 @@ dlPerson: DLPerson;

{
"name": "dlgen",
"version": "1.0.0",
"version": "1.0.1",
"description": "State ID/Driver license generator",

@@ -5,0 +5,0 @@ "main": "built/dlgen.js",

let Soundex: any = require('soundex');
export class DLPerson {
export interface IDLPerson {
firstName: string;
lastName: string;
middleName: string;
dob: Date;
gender: string;
}
export class DLPerson implements IDLPerson {
firstName: string;
lastName: string;
middleName: string = "";

@@ -10,9 +18,3 @@ dob: Date;

constructor(person: Object<{
firstName: string,
lastName: string,
middleName: string,
dob: Date,
gender: string
}>) {
constructor(person: IDLPerson) {
this.firstName = person.firstName.toUpperCase();

@@ -24,3 +26,2 @@ this.lastName = person.lastName.toUpperCase();

}
}

@@ -27,0 +28,0 @@

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