Skip to content

Commit

Permalink
fixup! chagne status to legacy
Browse files Browse the repository at this point in the history
Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
  • Loading branch information
deokjinkim and aduh95 committed Jan 7, 2023
1 parent 4f8963d commit 17494ff
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 17 deletions.
15 changes: 0 additions & 15 deletions doc/api/deprecations.md
Expand Up @@ -3334,19 +3334,6 @@ In a future version of Node.js, [`message.headers`][],
[`message.headersDistinct`][], [`message.trailers`][], and
[`message.trailersDistinct`][] will be read-only.

### DEPXXXX: `event.srcElement`

<!-- YAML
changes:
- version: REPLACEME
pr-url: https://github.com/nodejs/node/pull/46085
description: Documentation-only deprecation.
-->

Type: Documentation-only

The [`event.srcElement`][] is deprecated. Use [`event.target`][] instead.

[NIST SP 800-38D]: https://nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication800-38d.pdf
[RFC 6066]: https://tools.ietf.org/html/rfc6066#section-3
[RFC 8247 Section 2.4]: https://www.rfc-editor.org/rfc/rfc8247#section-2.4
Expand Down Expand Up @@ -3397,8 +3384,6 @@ The [`event.srcElement`][] is deprecated. Use [`event.target`][] instead.
[`domain`]: domain.md
[`ecdh.setPublicKey()`]: crypto.md#ecdhsetpublickeypublickey-encoding
[`emitter.listenerCount(eventName)`]: events.md#emitterlistenercounteventname
[`event.srcElement`]: events.md#eventsrcelement
[`event.target`]: events.md#eventtarget
[`events.listenerCount(emitter, eventName)`]: events.md#eventslistenercountemitter-eventname
[`fs.FileHandle`]: fs.md#class-filehandle
[`fs.access()`]: fs.md#fsaccesspath-mode-callback
Expand Down
3 changes: 1 addition & 2 deletions doc/api/events.md
Expand Up @@ -1850,10 +1850,9 @@ This is not used in Node.js and is provided purely for completeness.

<!-- YAML
added: v14.5.0
deprecated: REPLACEME
-->

> Stability: 0 - Deprecated
> Stability: 3 - Legacy: Use [`event.target`][] instead.
* Type: {EventTarget} The `EventTarget` dispatching the event.

Expand Down

0 comments on commit 17494ff

Please sign in to comment.