semantic-version/lib/providers/UserInfo.js
Paul Hatcherian 31f4e3fdf0 Rewrite/refactor for v5, migrate to TypeScript (MAJOR)
Set Jest config file in package script

Include module path

Include tests in project folders

Remove index module exports

Hardcode configuration parameters

Move parameter binding into main run function

Use alias imports

Run test sequentially

Remove cleanup (async conflict)

Revert Jest option

Increase test timeout to 15 seconds
2022-04-03 20:28:28 -04:00

18 lines
539 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.UserInfo = void 0;
/** Represents information about a user (e.g. committer, author, tagger) */
class UserInfo {
/**
* Creates a new instance
* @param name - User's name
* @param email - User's email
* @param commits - Number of commits in the scope evaluated
*/
constructor(name, email, commits) {
this.name = name;
this.email = email;
this.commits = commits;
}
}
exports.UserInfo = UserInfo;