From c934c480c9071728095bd9bddfc90978c1a2a5ca Mon Sep 17 00:00:00 2001
From: Yoav Weiss
Let newImportMapScopes be a deep copy of newImportMap's scopes.
Let newImportMapImports be a deep copy of newImportMap's imports.
For each pair of resolvedSetCopy:
@@ -108885,8 +108892,6 @@ dictionary PromiseRejectionEventInit : EventInitconcatenating tokens on on U+002F ("/
").Let newImportMapScopes be newImportMap's scopes.
If current path exists in newImportMapScopes, then:
@@ -108910,8 +108915,7 @@ dictionary PromiseRejectionEventInit : EventInitFor each scopePrefix → - scopeImports of newImportMap's scopes:
+ scopeImports of newImportMapScopes:If scopePrefix exists in
oldImportMap's scopes, then
@@ -108943,13 +108947,12 @@ dictionary PromiseRejectionEventInit : EventInit
For each pair of
- resolvedSetCopy, remove newImportMap's imports[specifier].
Set oldImportMap's imports to the result of merge module specifier maps, - given newImportMap's imports and - oldImportMap's imports.
The above algorithm merges a new import map into the given environment