Skip to content

Commit 15a6d38

Browse files
committed
make both node and metro happy
1 parent c6f043a commit 15a6d38

File tree

172 files changed

+362
-361
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

172 files changed

+362
-361
lines changed

jscomp/common/bs_version.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
* You should have received a copy of the GNU Lesser General Public License
2323
* along with this program; if not, write to the Free Software
2424
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *)
25-
let version = "9.0.0"
25+
let version = "9.0.1"
2626
let header =
2727
"// Generated by ReScript, PLEASE EDIT WITH CARE"
2828
let package_name = ref "bs-platform"

jscomp/core/js_name_of_module_id.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ let get_runtime_module_path
4444
module_system in
4545
let js_file =
4646
Ext_namespace.js_name_of_modulename dep_module_id.id.name
47-
Little (match module_system with NodeJS -> Js | Es6 | Es6_global -> Mjs) in
47+
Little Js in
4848
match current_info_query with
4949
| Package_not_found -> assert false
5050
| Package_script ->

jscomp/core/js_packages_info.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ type t =
8282
let runtime_package_specs : t = {
8383
name = Pkg_runtime;
8484
module_systems =[
85-
{module_system = Es6; path = "lib/es6"; suffix = Mjs};
85+
{module_system = Es6; path = "lib/es6"; suffix = Js};
8686
{module_system = NodeJS; path = "lib/js"; suffix = Js};
8787
]
8888
}

lib/4.06.1/bsb.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ end = struct
5555
* You should have received a copy of the GNU Lesser General Public License
5656
* along with this program; if not, write to the Free Software
5757
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *)
58-
let version = "9.0.0"
58+
let version = "9.0.1"
5959
let header =
6060
"// Generated by ReScript, PLEASE EDIT WITH CARE"
6161
let package_name = ref "bs-platform"

lib/4.06.1/unstable/js_compiler.ml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18118,7 +18118,7 @@ end = struct
1811818118
* You should have received a copy of the GNU Lesser General Public License
1811918119
* along with this program; if not, write to the Free Software
1812018120
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *)
18121-
let version = "9.0.0"
18121+
let version = "9.0.1"
1812218122
let header =
1812318123
"// Generated by ReScript, PLEASE EDIT WITH CARE"
1812418124
let package_name = ref "bs-platform"
@@ -92280,7 +92280,7 @@ type t =
9228092280
let runtime_package_specs : t = {
9228192281
name = Pkg_runtime;
9228292282
module_systems =[
92283-
{module_system = Es6; path = "lib/es6"; suffix = Mjs};
92283+
{module_system = Es6; path = "lib/es6"; suffix = Js};
9228492284
{module_system = NodeJS; path = "lib/js"; suffix = Js};
9228592285
]
9228692286
}
@@ -98663,7 +98663,7 @@ let get_runtime_module_path
9866398663
module_system in
9866498664
let js_file =
9866598665
Ext_namespace.js_name_of_modulename dep_module_id.id.name
98666-
Little (match module_system with NodeJS -> Js | Es6 | Es6_global -> Mjs) in
98666+
Little Js in
9866798667
match current_info_query with
9866898668
| Package_not_found -> assert false
9866998669
| Package_script ->

lib/4.06.1/unstable/js_refmt_compiler.ml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18118,7 +18118,7 @@ end = struct
1811818118
* You should have received a copy of the GNU Lesser General Public License
1811918119
* along with this program; if not, write to the Free Software
1812018120
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *)
18121-
let version = "9.0.0"
18121+
let version = "9.0.1"
1812218122
let header =
1812318123
"// Generated by ReScript, PLEASE EDIT WITH CARE"
1812418124
let package_name = ref "bs-platform"
@@ -92280,7 +92280,7 @@ type t =
9228092280
let runtime_package_specs : t = {
9228192281
name = Pkg_runtime;
9228292282
module_systems =[
92283-
{module_system = Es6; path = "lib/es6"; suffix = Mjs};
92283+
{module_system = Es6; path = "lib/es6"; suffix = Js};
9228492284
{module_system = NodeJS; path = "lib/js"; suffix = Js};
9228592285
]
9228692286
}
@@ -98663,7 +98663,7 @@ let get_runtime_module_path
9866398663
module_system in
9866498664
let js_file =
9866598665
Ext_namespace.js_name_of_modulename dep_module_id.id.name
98666-
Little (match module_system with NodeJS -> Js | Es6 | Es6_global -> Mjs) in
98666+
Little Js in
9866798667
match current_info_query with
9866898668
| Package_not_found -> assert false
9866998669
| Package_script ->

lib/4.06.1/whole_compiler.ml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -304602,7 +304602,7 @@ end = struct
304602304602
* You should have received a copy of the GNU Lesser General Public License
304603304603
* along with this program; if not, write to the Free Software
304604304604
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *)
304605-
let version = "9.0.0"
304605+
let version = "9.0.1"
304606304606
let header =
304607304607
"// Generated by ReScript, PLEASE EDIT WITH CARE"
304608304608
let package_name = ref "bs-platform"
@@ -370584,7 +370584,7 @@ type t =
370584370584
let runtime_package_specs : t = {
370585370585
name = Pkg_runtime;
370586370586
module_systems =[
370587-
{module_system = Es6; path = "lib/es6"; suffix = Mjs};
370587+
{module_system = Es6; path = "lib/es6"; suffix = Js};
370588370588
{module_system = NodeJS; path = "lib/js"; suffix = Js};
370589370589
]
370590370590
}
@@ -381248,7 +381248,7 @@ let get_runtime_module_path
381248381248
module_system in
381249381249
let js_file =
381250381250
Ext_namespace.js_name_of_modulename dep_module_id.id.name
381251-
Little (match module_system with NodeJS -> Js | Es6 | Es6_global -> Mjs) in
381251+
Little Js in
381252381252
match current_info_query with
381253381253
| Package_not_found -> assert false
381254381254
| Package_script ->

lib/es6/arg.mjs renamed to lib/es6/arg.js

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11

22

3-
import * as Sys from "./sys.mjs";
4-
import * as List from "./list.mjs";
5-
import * as $$Array from "./array.mjs";
6-
import * as Curry from "./curry.mjs";
7-
import * as $$Buffer from "./buffer.mjs";
8-
import * as Printf from "./printf.mjs";
9-
import * as $$String from "./string.mjs";
10-
import * as Caml_io from "./caml_io.mjs";
11-
import * as Caml_obj from "./caml_obj.mjs";
12-
import * as Caml_array from "./caml_array.mjs";
13-
import * as Pervasives from "./pervasives.mjs";
14-
import * as Caml_format from "./caml_format.mjs";
15-
import * as Caml_string from "./caml_string.mjs";
16-
import * as Caml_primitive from "./caml_primitive.mjs";
17-
import * as Caml_exceptions from "./caml_exceptions.mjs";
18-
import * as Caml_js_exceptions from "./caml_js_exceptions.mjs";
19-
import * as Caml_external_polyfill from "./caml_external_polyfill.mjs";
3+
import * as Sys from "./sys.js";
4+
import * as List from "./list.js";
5+
import * as $$Array from "./array.js";
6+
import * as Curry from "./curry.js";
7+
import * as $$Buffer from "./buffer.js";
8+
import * as Printf from "./printf.js";
9+
import * as $$String from "./string.js";
10+
import * as Caml_io from "./caml_io.js";
11+
import * as Caml_obj from "./caml_obj.js";
12+
import * as Caml_array from "./caml_array.js";
13+
import * as Pervasives from "./pervasives.js";
14+
import * as Caml_format from "./caml_format.js";
15+
import * as Caml_string from "./caml_string.js";
16+
import * as Caml_primitive from "./caml_primitive.js";
17+
import * as Caml_exceptions from "./caml_exceptions.js";
18+
import * as Caml_js_exceptions from "./caml_js_exceptions.js";
19+
import * as Caml_external_polyfill from "./caml_external_polyfill.js";
2020

2121
var Bad = /* @__PURE__ */Caml_exceptions.create("Arg.Bad");
2222

lib/es6/array.mjs renamed to lib/es6/array.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11

22

3-
import * as Curry from "./curry.mjs";
4-
import * as Caml_obj from "./caml_obj.mjs";
5-
import * as Caml_array from "./caml_array.mjs";
6-
import * as Caml_exceptions from "./caml_exceptions.mjs";
7-
import * as Caml_js_exceptions from "./caml_js_exceptions.mjs";
3+
import * as Curry from "./curry.js";
4+
import * as Caml_obj from "./caml_obj.js";
5+
import * as Caml_array from "./caml_array.js";
6+
import * as Caml_exceptions from "./caml_exceptions.js";
7+
import * as Caml_js_exceptions from "./caml_js_exceptions.js";
88

99
var make_float = Caml_array.caml_make_float_vect;
1010

lib/es6/arrayLabels.mjs renamed to lib/es6/arrayLabels.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22

3-
import * as $$Array from "./array.mjs";
3+
import * as $$Array from "./array.js";
44

55
var init = $$Array.init;
66

0 commit comments

Comments
 (0)