From 94272294cd75e82d6a5fa4fe79e799744f0cf974 Mon Sep 17 00:00:00 2001 From: Geoffrey Booth Date: Sun, 17 Jun 2018 23:12:17 -0700 Subject: [PATCH 1/3] Add features list to README --- README.md | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/README.md b/README.md index 84bb389..ae324be 100644 --- a/README.md +++ b/README.md @@ -13,6 +13,43 @@ Work includes: * Node.js and Browser interoperability * VM Modules implementation +## Features + +Based on [these use cases](https://docs.google.com/document/d/10BBsIqdAXB9JR2KUzQGYbCiVugYBnxE4REBakX29yyo/edit) ([#55](https://github.com/nodejs/modules/issues/55)), our implementation aims to support the following features: + +- Spec compliance ([#132](https://github.com/nodejs/modules/issues/132)) +- Browser equivalence ([#133](https://github.com/nodejs/modules/issues/133)) +- No refactoring ([#87](https://github.com/nodejs/modules/issues/87)) +- Pluggable Loaders to support multiple use cases ([#82](https://github.com/nodejs/modules/issues/82)) +- Named exports when importing CJS ([#81](https://github.com/nodejs/modules/issues/81)) +- Dual-goal packages ([#93](https://github.com/nodejs/modules/issues/93)) +- Multi-mode packages ([#94](https://github.com/nodejs/modules/issues/94)) +- Code coverage/instrumentation ([#95](https://github.com/nodejs/modules/issues/95)) +- Runtime loaders, transpilation at import time ([#96](https://github.com/nodejs/modules/issues/96)) +- Arbitrary sources for module source text ([#97](https://github.com/nodejs/modules/issues/97)) +- Mock modules (injection) ([#98](https://github.com/nodejs/modules/issues/98)) +- Mixed module types within app/module; gradual migration from CommonJS to ESM ([#99](https://github.com/nodejs/modules/issues/99)) +- Transparent interoperability for ESM importing CommonJS ([#100](https://github.com/nodejs/modules/issues/100)) +- Polyfillability ([#101](https://github.com/nodejs/modules/issues/101)) +- Tree shaking ([#102](https://github.com/nodejs/modules/issues/102)) +- File / path / URL resolving ([#103](https://github.com/nodejs/modules/issues/103)) +- Retrievable module metadata ([#104](https://github.com/nodejs/modules/issues/104)) +- Transparent migration ([#105](https://github.com/nodejs/modules/issues/105)) +- WASM modules ([#106](https://github.com/nodejs/modules/issues/106)) +- Browser and Node compatibility without building ([#107](https://github.com/nodejs/modules/issues/107)) +- Browser-compatible build that includes CommonJS ([#108](https://github.com/nodejs/modules/issues/108)) +- Browser-compatible specifier resolution ([#109](https://github.com/nodejs/modules/issues/109)) +- Specifier resolution customization ([#110](https://github.com/nodejs/modules/issues/110)) +- Package encapsulation ([#111](https://github.com/nodejs/modules/issues/111)) +- Don’t break CommonJS ([#112](https://github.com/nodejs/modules/issues/112)) +- Conditional imports ([#113](https://github.com/nodejs/modules/issues/113)) +- Import JSON without needing asynchronous syntax ([#114](https://github.com/nodejs/modules/issues/114)) +- Importing non-JavaScript files ([#115](https://github.com/nodejs/modules/issues/115)) +- Import CommonJS without needing asynchronous syntax ([#116](https://github.com/nodejs/modules/issues/116)) +- NodeJS contextual pathing use cases ([#121](https://github.com/nodejs/modules/issues/121)) +- Load ESM over https ([#127](https://github.com/nodejs/modules/issues/127)) + + ## Members From ee25f1b5ac70e9ee0f83852054e704bd8bb77d8f Mon Sep 17 00:00:00 2001 From: Geoffrey Booth Date: Wed, 20 Jun 2018 09:32:43 -0700 Subject: [PATCH 2/3] Add subject-to-change language --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index ae324be..03640df 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ Work includes: ## Features -Based on [these use cases](https://docs.google.com/document/d/10BBsIqdAXB9JR2KUzQGYbCiVugYBnxE4REBakX29yyo/edit) ([#55](https://github.com/nodejs/modules/issues/55)), our implementation aims to support the following features: +Based on [these use cases](https://docs.google.com/document/d/10BBsIqdAXB9JR2KUzQGYbCiVugYBnxE4REBakX29yyo/edit) ([#55](https://github.com/nodejs/modules/issues/55)), our implementation aims to support the following features (subject to change): - Spec compliance ([#132](https://github.com/nodejs/modules/issues/132)) - Browser equivalence ([#133](https://github.com/nodejs/modules/issues/133)) From 964a55b071f7758fd4b3c8111fca77e5623e6bb9 Mon Sep 17 00:00:00 2001 From: Geoffrey Booth Date: Wed, 20 Jun 2018 12:12:33 -0700 Subject: [PATCH 3/3] Remove import-over-https feature --- README.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/README.md b/README.md index 03640df..a974a05 100644 --- a/README.md +++ b/README.md @@ -47,8 +47,6 @@ Based on [these use cases](https://docs.google.com/document/d/10BBsIqdAXB9JR2KUz - Importing non-JavaScript files ([#115](https://github.com/nodejs/modules/issues/115)) - Import CommonJS without needing asynchronous syntax ([#116](https://github.com/nodejs/modules/issues/116)) - NodeJS contextual pathing use cases ([#121](https://github.com/nodejs/modules/issues/121)) -- Load ESM over https ([#127](https://github.com/nodejs/modules/issues/127)) - ## Members