From ee1bcdbe0d8c59762b69a9af6c714118ae480ed6 Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Mon, 14 Sep 2020 17:40:34 -0700 Subject: [PATCH] doc: remove "end user" MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit We use "end user" in ambiguous ways. Sometimes we mean the developer, and sometimes we mean the application user. Use "developer" where developer is meant. Refs: https://docs.microsoft.com/en-us/style-guide/a-z-word-list-term-collections/u/user-end-user PR-URL: https://github.com/nodejs/node/pull/35200 Reviewed-By: Michaƫl Zasso Reviewed-By: Daijiro Wachi --- doc/api/deprecations.md | 2 +- doc/api/documentation.md | 4 ++-- doc/api/domain.md | 2 +- doc/api/errors.md | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/doc/api/deprecations.md b/doc/api/deprecations.md index 997fb6024524e9..12a79452c55646 100644 --- a/doc/api/deprecations.md +++ b/doc/api/deprecations.md @@ -1795,7 +1795,7 @@ Type: Deprecation revoked Importing assert directly was not recommended as the exposed functions use loose equality checks. The deprecation was revoked because use of the `assert` -module is not discouraged, and the deprecation caused end user confusion. +module is not discouraged, and the deprecation caused developer confusion. ### DEP0090: Invalid GCM authentication tag lengths diff --git a/doc/api/documentation.md b/doc/api/documentation.md index f15936b3f43279..779b02d14c7bfe 100644 --- a/doc/api/documentation.md +++ b/doc/api/documentation.md @@ -38,8 +38,8 @@ The stability indices are as follows: > priority. Use caution when making use of Experimental features, particularly within -modules. End users may not be aware that experimental features are being used. -Bugs or behavior changes may surprise end users when Experimental API +modules. Users may not be aware that experimental features are being used. +Bugs or behavior changes may surprise users when Experimental API modifications occur. To avoid surprises, use of an Experimental feature may need a command-line flag. Experimental features may also emit a [warning][]. diff --git a/doc/api/domain.md b/doc/api/domain.md index c878ce892ccc64..0b79ec5b37e861 100644 --- a/doc/api/domain.md +++ b/doc/api/domain.md @@ -20,7 +20,7 @@ changes: **This module is pending deprecation**. Once a replacement API has been -finalized, this module will be fully deprecated. Most end users should +finalized, this module will be fully deprecated. Most developers should **not** have cause to use this module. Users who absolutely must have the functionality that domains provide may rely on it for the time being but should expect to have to migrate to a different solution diff --git a/doc/api/errors.md b/doc/api/errors.md index aa62ba0b0d303b..64bd22f337f2c6 100644 --- a/doc/api/errors.md +++ b/doc/api/errors.md @@ -224,7 +224,7 @@ above `constructorOpt`, including `constructorOpt`, will be omitted from the generated stack trace. The `constructorOpt` argument is useful for hiding implementation -details of error generation from an end user. For instance: +details of error generation from the user. For instance: ```js function MyError() {