node/deps/npm/lib/commands/birthday.js
npm-cli+bot@github.com 6375b13de8
deps: upgrade npm to 8.11.0
PR-URL: https://github.com/nodejs/node/pull/43210
Reviewed-By: Ruy Adorno <ruyadorno@github.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
Reviewed-By: Beth Griggs <bgriggs@redhat.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
2022-05-27 11:13:35 -04:00

18 lines
508 B
JavaScript

const BaseCommand = require('../base-command.js')
const log = require('../utils/log-shim')
class Birthday extends BaseCommand {
static name = 'birthday'
static description = 'Birthday, deprecated'
static ignoreImplicitWorkspace = true
static isShellout = true
async exec () {
this.npm.config.set('yes', true)
log.warn('birthday', 'birthday is deprecated and will be removed in a future release')
return this.npm.exec('exec', ['@npmcli/npm-birthday'])
}
}
module.exports = Birthday