Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove deprecated output property in Node.js API result object #7397

Open
Tracked by #7396
ybiquitous opened this issue Dec 11, 2023 · 0 comments
Open
Tracked by #7396

Remove deprecated output property in Node.js API result object #7397

ybiquitous opened this issue Dec 11, 2023 · 0 comments
Labels
status: agreed but held is agreed on but implementation is held type: enhancement a new feature that isn't related to rules
Milestone

Comments

@ybiquitous
Copy link
Member

When releasing 16.0.0, we announced we would remove the output property in the Node.js API result object in the next major version. See the migration guide and code:

We've deprecated the [`output`](../user-guide/node-api.md#output) property in favor of the new `report` and `code` ones, and we'll remove it in the next major version.

// TODO: Deprecated. Remove in the next major version.
get output() {
if (!this._outputWarned) {
console.warn('`output` is deprecated. Use `report` or `code` instead.');
this._outputWarned = true;
}
return this._output ?? '';
},

@ybiquitous ybiquitous added type: enhancement a new feature that isn't related to rules status: agreed but held is agreed on but implementation is held labels Dec 11, 2023
@ybiquitous ybiquitous added this to the future-major milestone Dec 11, 2023
@jeddy3 jeddy3 mentioned this issue Dec 11, 2023
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: agreed but held is agreed on but implementation is held type: enhancement a new feature that isn't related to rules
Development

No branches or pull requests

1 participant