From ce175eb31b6b50b245cf4ba3a06b7c477fa2b4b0 Mon Sep 17 00:00:00 2001 From: Rob Palmer Date: Wed, 8 Aug 2018 08:55:16 +0100 Subject: [PATCH] Module & Package sub-terms for Agnostic Consumers Add sub-terms of Agnostic Consumers: - Agnostic Module Consumers - Agnostic Package Consumers --- doc/Terminology.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/doc/Terminology.md b/doc/Terminology.md index 5e621b1..f5eb10d 100644 --- a/doc/Terminology.md +++ b/doc/Terminology.md @@ -17,6 +17,28 @@ Normative Terms This term alone does not specify in which direction(s) the agnosticism applies. +
+ Agnostic Package Consumers +
+
+ A restricted form of [Agnostic Consumers](#agnostic-consumers) that applies only to imported modules referenced via a `package.json` file, as opposed to directly. + + This implies the imported resource is the main entrypoint into another package. +
+ +
+ Agnostic Module Consumers +
+
+ A restricted form of [Agnostic Consumers](#agnostic-consumers) that applies only to imported modules referenced directly, as opposed to via a `package.json` file. + + This implies the imported resource either: + + - does not reside within any package, or + - resides within the current package, or + - is a deep import into another package, i.e. it bypasses the default entrypoint resolution process +
+
Require Interoperability require()