Skip to content

Commit 9cac64c

Browse files
committed
pin to lowest supported bs version for dev
1 parent e08064b commit 9cac64c

File tree

5 files changed

+14
-14
lines changed

5 files changed

+14
-14
lines changed

lib/js/src/ReasonReact.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -343,9 +343,9 @@ var reducerComponent = basicComponent;
343343

344344
var reducerComponentWithRetainedProps = basicComponent;
345345

346-
function element(keyOpt, refOpt, component) {
347-
var key = keyOpt !== undefined ? keyOpt : undefined;
348-
var ref = refOpt !== undefined ? refOpt : undefined;
346+
function element($staropt$star, $staropt$star$1, component) {
347+
var key = $staropt$star !== undefined ? $staropt$star : undefined;
348+
var ref = $staropt$star$1 !== undefined ? $staropt$star$1 : undefined;
349349
var element$1 = /* Element */[component];
350350
var match = component.jsElementWrapped;
351351
if (match !== undefined) {

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "reason-react",
3-
"version": "0.8.0-dev.2",
3+
"version": "0.8.0-dev.3",
44
"description": "React bindings for Reason",
55
"main": "lib/js/src/ReasonReact.js",
66
"scripts": {
@@ -23,10 +23,10 @@
2323
},
2424
"homepage": "https://reasonml.github.io/reason-react/",
2525
"devDependencies": {
26-
"bs-platform": "^7.0.1"
26+
"bs-platform": "7.1.1"
2727
},
2828
"peerDependencies": {
29-
"bs-platform": "^7.0.1",
29+
"bs-platform": "^7.1.1",
3030
"react": "^16.8.1",
3131
"react-dom": "^16.8.1"
3232
}

src/React.re

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ external memoCustomCompareProps:
9696
module Fragment = {
9797
[@bs.obj]
9898
external makeProps:
99-
(~children: element, ~key: 'key=?, unit) => {. "children": element} = "";
99+
(~children: element, ~key: 'key=?, unit) => {. "children": element};
100100
[@bs.module "react"]
101101
external make: component({. "children": element}) = "Fragment";
102102
};
@@ -109,7 +109,7 @@ module Suspense = {
109109
.
110110
"children": option(element),
111111
"fallback": option(element),
112-
} = "";
112+
};
113113
[@bs.module "react"]
114114
external make:
115115
component({
@@ -137,7 +137,7 @@ module SuspenseList = {
137137
"children": option(element),
138138
"revealOrder": option(revealOrder),
139139
"tail": option(tail),
140-
} = "";
140+
};
141141

142142
[@bs.module "react"]
143143
external make:

src/ReactDOMRe.re

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2588,7 +2588,7 @@ module Style = {
25882588
*/
25892589
unit
25902590
) =>
2591-
style = "";
2591+
style;
25922592
/* CSS2Properties: https://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSS2Properties */
25932593
[@bs.val]
25942594
external combine: ([@bs.as {json|{}|json}] _, style, style) => t =

yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# yarn lockfile v1
33

44

5-
bs-platform@^7.0.1:
6-
version "7.2.2"
7-
resolved "https://registry.yarnpkg.com/bs-platform/-/bs-platform-7.2.2.tgz#76fdc63e4889458ae3d257a0132107a792f2309c"
8-
integrity sha512-PWcFfN+jCTtT/rMaHDhKh+W9RUTpaRunmSF9vbLYcrJbpgCNW6aFKAY33u0P3mLxwuhshN3b4FxqGUBPj6exZQ==
5+
bs-platform@7.1.1:
6+
version "7.1.1"
7+
resolved "https://registry.yarnpkg.com/bs-platform/-/bs-platform-7.1.1.tgz#ed4032de7ab15158c61d8994680a05393e3ddd74"
8+
integrity sha512-ckZHR3J+yxyEKXOBHX8+hfzWG2XX5BxhQ4Iw9lulHFGYdAm9Ep9LgKkIah7G6RYADLmVfTxFE48igvY3kkkl+g==

0 commit comments

Comments
 (0)