( importedBindings: Set<string>, acceptedExports: Set<string>, )
| 785 | } |
| 786 | |
| 787 | function areAllImportsAccepted( |
| 788 | importedBindings: Set<string>, |
| 789 | acceptedExports: Set<string>, |
| 790 | ) { |
| 791 | for (const binding of importedBindings) { |
| 792 | if (!acceptedExports.has(binding)) { |
| 793 | return false |
| 794 | } |
| 795 | } |
| 796 | return true |
| 797 | } |
| 798 | |
| 799 | function propagateUpdate( |
| 800 | node: EnvironmentModuleNode, |