Skip to content

Commit

Permalink
more clearly note Stage 2.7 conditional approval
Browse files Browse the repository at this point in the history
  • Loading branch information
guybedford committed Dec 5, 2024
1 parent 2873705 commit ef9634f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

Champion(s): Luca Casonato, Guy Bedford

Stage: 2.7
Stage: 2, with Stage 2.7 conditional on https://github.com/tc39/proposal-esm-phase-imports/issues/46 being resolved.

The proposal spec text is currently based to the ECMA-262 PR for Source Phase Imports at https://github.com/tc39/ecma262/pull/3492.

Expand Down
2 changes: 1 addition & 1 deletion build/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2696,7 +2696,7 @@
</ul></div><div id="menu-toggle"><svg xmlns="http://www.w3.org/2000/svg" style="width:100%; height:100%; stroke:currentColor" viewBox="0 0 120 120">
<title>Menu</title>
<path stroke-width="10" stroke-linecap="round" d="M30,60 h60 M30,30 m0,5 h60 M30,90 m0,-5 h60"></path>
</svg></div><div id="menu-spacer" class="menu-spacer"></div><div id="menu"><div id="menu-search"><input type="text" id="menu-search-box" placeholder="Search..."><div id="menu-search-results" class="inactive"></div></div><div id="menu-pins"><div class="menu-pane-header">Pins</div><ul id="menu-pins-list"></ul></div><div class="menu-pane-header">Table of Contents</div><div id="menu-toc"><ol class="toc"><li><span class="item-toggle">◢</span><a href="#sec-ecmascript-data-types-and-values" title="ECMAScript Data Types and Values"><span class="secnum">1</span> ECMAScript Data Types and Values</a><ol class="toc"><li><span class="item-toggle">◢</span><a href="#sec-ecmascript-language-types" title="ECMAScript Language Types"><span class="secnum">1.1</span> ECMAScript Language Types</a><ol class="toc"><li><span class="item-toggle">◢</span><a href="#sec-object-type" title="Object Type"><span class="secnum">1.1.1</span> Object Type</a><ol class="toc"><li><span class="item-toggle-none"></span><a href="#sec-well-known-intrinsic-objects" title="Well-Known Intrinsic Objects"><span class="secnum">1.1.1.1</span> Well-Known Intrinsic Objects</a></li></ol></li></ol></li></ol></li><li><span class="item-toggle">◢</span><a href="#sec-ecmascript-language-expressions" title="ECMAScript Language: Expressions"><span class="secnum">13</span> ECMAScript Language: Expressions</a><ol class="toc"><li><span class="item-toggle">◢</span><a href="#sec-left-hand-side-expressions" title="Left-Hand-Side Expressions"><span class="secnum">13.3</span> Left-Hand-Side Expressions</a><ol class="toc"><li><span class="item-toggle">◢</span><a href="#sec-import-calls" title="Import Calls"><span class="secnum">13.3.10</span> Import Calls</a><ol class="toc"><li><span class="item-toggle-none"></span><a href="#sec-evaluate-import-call" title="EvaluateImportCall ( specifierExpression, phase [ , optionsExpression ] )"><span class="secnum">13.3.10.1</span> EvaluateImportCall ( <var>specifierExpression</var>, <var>phase</var> [ , <var>optionsExpression</var> ] )</a></li></ol></li></ol></li></ol></li><li><span class="item-toggle">◢</span><a href="#sec-ecmascript-language-scripts-and-modules" title="ECMAScript Language: Scripts and Modules"><span class="secnum">16</span> ECMAScript Language: Scripts and Modules</a><ol class="toc"><li><span class="item-toggle">◢</span><a href="#sec-modules" title="Modules"><span class="secnum">16.1</span> Modules</a><ol class="toc"><li><span class="item-toggle">◢</span><a href="#sec-module-semantics" title="Module Semantics"><span class="secnum">16.1.1</span> Module Semantics</a><ol class="toc"><li><span class="item-toggle-none"></span><a href="#sec-abstract-module-records" title="Abstract Module Records"><span class="secnum">16.1.1.1</span> Abstract Module Records</a></li><li><span class="item-toggle">◢</span><a href="#sec-source-text-module-records" title="Source Text Module Records"><span class="secnum">16.1.1.2</span> Source Text Module Records</a><ol class="toc"><li><span class="item-toggle-none"></span><a href="#sec-parsemodule" title="ParseModule ( sourceText, realm, hostDefined )"><span class="secnum">16.1.1.2.1</span> ParseModule ( <var>sourceText</var>, <var>realm</var>, <var>hostDefined</var> )</a></li><li><span class="item-toggle-none"></span><a href="#sec-source-text-module-record-getmodulesource" title="GetModuleSource ( )"><span class="secnum">16.1.1.2.2</span> GetModuleSource ( )</a></li><li><span class="item-toggle-none"></span><a href="#sec-source-text-module-record-sourceequals" title="ModuleSourcesEqual ( otherModule )"><span class="secnum">16.1.1.2.3</span> <ins>ModuleSourcesEqual ( <var>otherModule</var> )</ins></a></li><li><span class="item-toggle-none"></span><a href="#sec-source-text-module-record-getmodulesourcename" title="GetModuleSourceKind ( )"><span class="secnum">16.1.1.2.4</span> <ins>GetModuleSourceKind ( )</ins></a></li><li><span class="item-toggle-none"></span><a href="#sec-HostLoadImportedModule" title="HostLoadImportedModule ( referrer, moduleRequest, hostDefined, payload )"><span class="secnum">16.1.1.2.5</span> HostLoadImportedModule ( <var>referrer</var>, <var>moduleRequest</var>, <var>hostDefined</var>, <var>payload</var> )</a></li><li><span class="item-toggle-none"></span><a href="#sec-FinishLoadingImportedModule" title="FinishLoadingImportedModule ( referrer, moduleRequest, payload, result )"><span class="secnum">16.1.1.2.6</span> FinishLoadingImportedModule ( <var>referrer</var>, <var>moduleRequest</var>, <var>payload</var>, <var>result</var> )</a></li></ol></li><li><span class="item-toggle-none"></span><a href="#sec-getmodulesourcemodulerecord" title="GetModuleSourceModuleRecord ( specifier )"><span class="secnum">16.1.1.3</span> <ins>GetModuleSourceModuleRecord ( <var>specifier</var> )</ins></a></li><li><span class="item-toggle-none"></span><a href="#sec-HostGetModuleSourceName" title="HostGetModuleSourceName ( moduleSource )"><span class="secnum">16.1.1.4</span> <del>HostGetModuleSourceName ( <var>moduleSource</var> )</del></a></li><li><span class="item-toggle-none"></span><a href="#sec-HostGetModuleSourceModuleRecord" title="HostGetModuleSourceModuleRecord ( specifier )"><span class="secnum">16.1.1.5</span> <ins>HostGetModuleSourceModuleRecord ( <var>specifier</var> )</ins></a></li></ol></li></ol></li></ol></li><li><span class="item-toggle">◢</span><a href="#sec-reflection" title="Reflection"><span class="secnum">28</span> Reflection</a><ol class="toc"><li><span class="item-toggle">◢</span><a href="#sec-module-source-objects" title="Module Source Objects"><span class="secnum">28.1</span> Module Source Objects</a><ol class="toc"><li><span class="item-toggle">◢</span><a href="#sec-properties-of-the-%abstractmodulesource%-prototype-object" title="Properties of the %AbstractModuleSource% Prototype Object"><span class="secnum">28.1.1</span> Properties of the %AbstractModuleSource% Prototype Object</a><ol class="toc"><li><span class="item-toggle-none"></span><a href="#sec-get-%abstractmodulesource%.prototype-%symbol.tostringtag%" title="get %AbstractModuleSource%.prototype [ %Symbol.toStringTag% ]"><span class="secnum">28.1.1.1</span> get %AbstractModuleSource%.prototype [ %Symbol.toStringTag% ]</a></li></ol></li><li><span class="item-toggle">◢</span><a href="#sec-module-source-object" title="The ModuleSource Constructor"><span class="secnum">28.1.2</span> <ins>The ModuleSource Constructor</ins></a><ol class="toc"><li><span class="item-toggle-none"></span><a href="#sec-modulesource" title="ModuleSource ( )"><span class="secnum">28.1.2.1</span> ModuleSource ( )</a></li></ol></li><li><span class="item-toggle">◢</span><a href="#sec-properties-of-the-%modulesource%-prototype-object" title="Properties of the %ModuleSource% Prototype Object"><span class="secnum">28.1.3</span> <ins>Properties of the %ModuleSource% Prototype Object</ins></a><ol class="toc"><li><span class="item-toggle-none"></span><a href="#sec-%modulesource%.prototype.constructor" title="%ModuleSource%.prototype.constructor"><span class="secnum">28.1.3.1</span> <ins>%ModuleSource%.prototype.constructor</ins></a></li></ol></li><li><span class="item-toggle-none"></span><a href="#sec-properties-of-modulesource-instances" title="Properties of ModuleSource Instances"><span class="secnum">28.1.4</span> <ins>Properties of ModuleSource Instances</ins></a></li></ol></li></ol></li><li><span class="item-toggle">◢</span><a href="#sec-host-layering-points" title="Host Layering Points"><span class="secnum">A</span> Host Layering Points</a><ol class="toc"><li><span class="item-toggle-none"></span><a href="#sec-host-hooks-summary" title="Host Hooks"><span class="secnum">A.1</span> Host Hooks</a></li></ol></li><li><span class="item-toggle-none"></span><a href="#sec-copyright-and-software-license" title="Copyright &amp; Software License"><span class="secnum">B</span> Copyright &amp; Software License</a></li></ol></div></div><div id="spec-container"><h1 class="version">Stage 2.7 Draft / December 5, 2024</h1><h1 class="title">ECMAScript Module Phase Imports</h1>
</svg></div><div id="menu-spacer" class="menu-spacer"></div><div id="menu"><div id="menu-search"><input type="text" id="menu-search-box" placeholder="Search..."><div id="menu-search-results" class="inactive"></div></div><div id="menu-pins"><div class="menu-pane-header">Pins</div><ul id="menu-pins-list"></ul></div><div class="menu-pane-header">Table of Contents</div><div id="menu-toc"><ol class="toc"><li><span class="item-toggle">◢</span><a href="#sec-ecmascript-data-types-and-values" title="ECMAScript Data Types and Values"><span class="secnum">1</span> ECMAScript Data Types and Values</a><ol class="toc"><li><span class="item-toggle">◢</span><a href="#sec-ecmascript-language-types" title="ECMAScript Language Types"><span class="secnum">1.1</span> ECMAScript Language Types</a><ol class="toc"><li><span class="item-toggle">◢</span><a href="#sec-object-type" title="Object Type"><span class="secnum">1.1.1</span> Object Type</a><ol class="toc"><li><span class="item-toggle-none"></span><a href="#sec-well-known-intrinsic-objects" title="Well-Known Intrinsic Objects"><span class="secnum">1.1.1.1</span> Well-Known Intrinsic Objects</a></li></ol></li></ol></li></ol></li><li><span class="item-toggle">◢</span><a href="#sec-ecmascript-language-expressions" title="ECMAScript Language: Expressions"><span class="secnum">13</span> ECMAScript Language: Expressions</a><ol class="toc"><li><span class="item-toggle">◢</span><a href="#sec-left-hand-side-expressions" title="Left-Hand-Side Expressions"><span class="secnum">13.3</span> Left-Hand-Side Expressions</a><ol class="toc"><li><span class="item-toggle">◢</span><a href="#sec-import-calls" title="Import Calls"><span class="secnum">13.3.10</span> Import Calls</a><ol class="toc"><li><span class="item-toggle-none"></span><a href="#sec-evaluate-import-call" title="EvaluateImportCall ( specifierExpression, phase [ , optionsExpression ] )"><span class="secnum">13.3.10.1</span> EvaluateImportCall ( <var>specifierExpression</var>, <var>phase</var> [ , <var>optionsExpression</var> ] )</a></li></ol></li></ol></li></ol></li><li><span class="item-toggle">◢</span><a href="#sec-ecmascript-language-scripts-and-modules" title="ECMAScript Language: Scripts and Modules"><span class="secnum">16</span> ECMAScript Language: Scripts and Modules</a><ol class="toc"><li><span class="item-toggle">◢</span><a href="#sec-modules" title="Modules"><span class="secnum">16.1</span> Modules</a><ol class="toc"><li><span class="item-toggle">◢</span><a href="#sec-module-semantics" title="Module Semantics"><span class="secnum">16.1.1</span> Module Semantics</a><ol class="toc"><li><span class="item-toggle-none"></span><a href="#sec-abstract-module-records" title="Abstract Module Records"><span class="secnum">16.1.1.1</span> Abstract Module Records</a></li><li><span class="item-toggle">◢</span><a href="#sec-source-text-module-records" title="Source Text Module Records"><span class="secnum">16.1.1.2</span> Source Text Module Records</a><ol class="toc"><li><span class="item-toggle-none"></span><a href="#sec-parsemodule" title="ParseModule ( sourceText, realm, hostDefined )"><span class="secnum">16.1.1.2.1</span> ParseModule ( <var>sourceText</var>, <var>realm</var>, <var>hostDefined</var> )</a></li><li><span class="item-toggle-none"></span><a href="#sec-source-text-module-record-getmodulesource" title="GetModuleSource ( )"><span class="secnum">16.1.1.2.2</span> GetModuleSource ( )</a></li><li><span class="item-toggle-none"></span><a href="#sec-source-text-module-record-sourceequals" title="ModuleSourcesEqual ( otherModule )"><span class="secnum">16.1.1.2.3</span> <ins>ModuleSourcesEqual ( <var>otherModule</var> )</ins></a></li><li><span class="item-toggle-none"></span><a href="#sec-source-text-module-record-getmodulesourcename" title="GetModuleSourceKind ( )"><span class="secnum">16.1.1.2.4</span> <ins>GetModuleSourceKind ( )</ins></a></li><li><span class="item-toggle-none"></span><a href="#sec-HostLoadImportedModule" title="HostLoadImportedModule ( referrer, moduleRequest, hostDefined, payload )"><span class="secnum">16.1.1.2.5</span> HostLoadImportedModule ( <var>referrer</var>, <var>moduleRequest</var>, <var>hostDefined</var>, <var>payload</var> )</a></li><li><span class="item-toggle-none"></span><a href="#sec-FinishLoadingImportedModule" title="FinishLoadingImportedModule ( referrer, moduleRequest, payload, result )"><span class="secnum">16.1.1.2.6</span> FinishLoadingImportedModule ( <var>referrer</var>, <var>moduleRequest</var>, <var>payload</var>, <var>result</var> )</a></li></ol></li><li><span class="item-toggle-none"></span><a href="#sec-getmodulesourcemodulerecord" title="GetModuleSourceModuleRecord ( specifier )"><span class="secnum">16.1.1.3</span> <ins>GetModuleSourceModuleRecord ( <var>specifier</var> )</ins></a></li><li><span class="item-toggle-none"></span><a href="#sec-HostGetModuleSourceName" title="HostGetModuleSourceName ( moduleSource )"><span class="secnum">16.1.1.4</span> <del>HostGetModuleSourceName ( <var>moduleSource</var> )</del></a></li><li><span class="item-toggle-none"></span><a href="#sec-HostGetModuleSourceModuleRecord" title="HostGetModuleSourceModuleRecord ( specifier )"><span class="secnum">16.1.1.5</span> <ins>HostGetModuleSourceModuleRecord ( <var>specifier</var> )</ins></a></li></ol></li></ol></li></ol></li><li><span class="item-toggle">◢</span><a href="#sec-reflection" title="Reflection"><span class="secnum">28</span> Reflection</a><ol class="toc"><li><span class="item-toggle">◢</span><a href="#sec-module-source-objects" title="Module Source Objects"><span class="secnum">28.1</span> Module Source Objects</a><ol class="toc"><li><span class="item-toggle">◢</span><a href="#sec-properties-of-the-%abstractmodulesource%-prototype-object" title="Properties of the %AbstractModuleSource% Prototype Object"><span class="secnum">28.1.1</span> Properties of the %AbstractModuleSource% Prototype Object</a><ol class="toc"><li><span class="item-toggle-none"></span><a href="#sec-get-%abstractmodulesource%.prototype-%symbol.tostringtag%" title="get %AbstractModuleSource%.prototype [ %Symbol.toStringTag% ]"><span class="secnum">28.1.1.1</span> get %AbstractModuleSource%.prototype [ %Symbol.toStringTag% ]</a></li></ol></li><li><span class="item-toggle">◢</span><a href="#sec-module-source-object" title="The ModuleSource Constructor"><span class="secnum">28.1.2</span> <ins>The ModuleSource Constructor</ins></a><ol class="toc"><li><span class="item-toggle-none"></span><a href="#sec-modulesource" title="ModuleSource ( )"><span class="secnum">28.1.2.1</span> ModuleSource ( )</a></li></ol></li><li><span class="item-toggle">◢</span><a href="#sec-properties-of-the-%modulesource%-prototype-object" title="Properties of the %ModuleSource% Prototype Object"><span class="secnum">28.1.3</span> <ins>Properties of the %ModuleSource% Prototype Object</ins></a><ol class="toc"><li><span class="item-toggle-none"></span><a href="#sec-%modulesource%.prototype.constructor" title="%ModuleSource%.prototype.constructor"><span class="secnum">28.1.3.1</span> <ins>%ModuleSource%.prototype.constructor</ins></a></li></ol></li><li><span class="item-toggle-none"></span><a href="#sec-properties-of-modulesource-instances" title="Properties of ModuleSource Instances"><span class="secnum">28.1.4</span> <ins>Properties of ModuleSource Instances</ins></a></li></ol></li></ol></li><li><span class="item-toggle">◢</span><a href="#sec-host-layering-points" title="Host Layering Points"><span class="secnum">A</span> Host Layering Points</a><ol class="toc"><li><span class="item-toggle-none"></span><a href="#sec-host-hooks-summary" title="Host Hooks"><span class="secnum">A.1</span> Host Hooks</a></li></ol></li><li><span class="item-toggle-none"></span><a href="#sec-copyright-and-software-license" title="Copyright &amp; Software License"><span class="secnum">B</span> Copyright &amp; Software License</a></li></ol></div></div><div id="spec-container"><h1 class="version">Stage 2 Draft / December 5, 2024</h1><h1 class="title">ECMAScript Module Phase Imports</h1>
<emu-clause id="sec-ecmascript-data-types-and-values" aoid="Type">
<h1><span class="secnum">1</span> ECMAScript Data Types and Values</h1>
Expand Down
2 changes: 1 addition & 1 deletion spec.emu
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<script src="./spec.js"></script>
<pre class="metadata">
title: ECMAScript Module Phase Imports
stage: 2.7
stage: 2
contributors: Luca Casonato, Guy Bedford
</pre>

Expand Down

0 comments on commit ef9634f

Please sign in to comment.