Add node modules and new code for release (#39)

Co-authored-by: tbarnes94 <tbarnes94@users.noreply.github.com>
This commit is contained in:
github-actions[bot]
2022-01-05 11:26:06 -05:00
committed by GitHub
parent a10d84bc2e
commit 7ad2aa66bb
7655 changed files with 1763577 additions and 14 deletions

29
node_modules/prompts/dist/dateparts/year.js generated vendored Normal file
View File

@@ -0,0 +1,29 @@
'use strict';
const DatePart = require('./datepart');
class Year extends DatePart {
constructor(opts = {}) {
super(opts);
}
up() {
this.date.setFullYear(this.date.getFullYear() + 1);
}
down() {
this.date.setFullYear(this.date.getFullYear() - 1);
}
setTo(val) {
this.date.setFullYear(val.substr(-4));
}
toString() {
let year = String(this.date.getFullYear()).padStart(4, '0');
return this.token.length === 2 ? year.substr(-2) : year;
}
}
module.exports = Year;