File tree Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -16,12 +16,7 @@ const getSemverRange = require("../util/get-semver-range")
1616const extendTrackmapWithNodePrefix = require ( "../util/extend-trackmap-with-node-prefix" )
1717const unprefixNodeColon = require ( "../util/unprefix-node-colon" )
1818
19- /**
20- * @typedef DeprecatedInfo
21- * @property {string } since the version when the API was deprecated.
22- * @property {string|{ name: string, supported: string }[]|null } replacedBy the text of substitute way.
23- * @property {string } [removed] the version when the API was removed.
24- */
19+ /** @typedef {import('../unsupported-features/types.js').DeprecatedInfo } DeprecatedInfo */
2520/**
2621 * @typedef ParsedOptions
2722 * @property {import('semver').Range } version
@@ -767,7 +762,7 @@ module.exports = {
767762 const data = {
768763 name,
769764 version : info . since ,
770- removed : info . removed ,
765+ removed : info . removed || "" ,
771766 replace : toReplaceMessage ( info . replacedBy , version ) ,
772767 }
773768
You can’t perform that action at this time.
0 commit comments