dougwilson / nodejs-depd

Deprecate all the things
MIT License
327 stars 87 forks source link

Add "removed" mode #8

Closed dougwilson closed 10 years ago

dougwilson commented 10 years ago

Sometimes a project may be so big, that even a deprecation cycle still might not be enough; after the next major that removes the feature it may be useful to have a "removed" message for some things that used to be deprecated.

I'm thinking perhaps add a remove property to deprecate:

var deprecate = require('depd')('my-module')
exports.missingfn = deprecate.remove.function('missingfn')

The function, property and other helpers would not wrap things, since they are meant for removed things (thus, what would you be wrapping?).

dougwilson commented 10 years ago

Unnecessary for now.