We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2c64bde commit e8635eaCopy full SHA for e8635ea
2 files changed
docs/Migration Guide.md
@@ -3,6 +3,14 @@
3
This document describes how to port your code from using one ESR version
4
of SpiderMonkey to the next ESR version.
5
6
+## ESR 102 to ESR 115 ##
7
+
8
+### Various API changes ###
9
10
+This is a non-exhaustive list of minor API changes and renames.
11
12
+- `JS::ModuleInstantiate` → `JS::ModuleLink`
13
14
## ESR 91 to ESR 102 ##
15
16
### Object private pointers ###
examples/modules.cpp
@@ -106,7 +106,7 @@ static bool ModuleExample(JSContext* cx) {
106
}
107
108
// Resolve imports by loading and compiling additional scripts.
109
- if (!JS::ModuleInstantiate(cx, mod)) {
+ if (!JS::ModuleLink(cx, mod)) {
110
boilerplate::ReportAndClearException(cx);
111
return false;
112
0 commit comments