Skip to content

Commit ff709c5

Browse files
committed
Compatibility with bs-platform 8.0.0.
1 parent fe07d65 commit ff709c5

File tree

4 files changed

+6
-11
lines changed

4 files changed

+6
-11
lines changed

bsconfig.json

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,6 @@
11
{
22
"name": "@cca-io/re-logger",
33
"sources": ["src"],
4-
"reason": {
5-
"react-jsx": 2
6-
},
7-
"refmt": 3,
8-
"bsc-flags": ["-bs-super-errors"],
94
"package-specs": {
105
"module": "commonjs",
116
"in-source": true

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"bs-platform": ">=5.0.4"
1717
},
1818
"devDependencies": {
19-
"bs-platform": "^5.0.4"
19+
"bs-platform": "^8.0.0"
2020
},
2121
"files": [
2222
"src",

src/ReLogger.re

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ module type LoggerImpl = {
1111

1212
module DefaultImpl: LoggerImpl = {
1313
[@bs.val] [@bs.scope "process.env"] external nodeEnv: string = "NODE_ENV";
14-
[@bs.send] external padStart: (string, int, string) => string = "";
14+
[@bs.send] external padStart: (string, int, string) => string = "padStart";
1515

1616
let prependDate = message => {
1717
let now = Js.Date.make();

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@^5.0.4:
6-
version "5.0.4"
7-
resolved "https://registry.yarnpkg.com/bs-platform/-/bs-platform-5.0.4.tgz#d406ef43c12d1b19d8546884d8b5b4e0fb709372"
8-
integrity sha512-rXM+ztN8wYXQ4ojfFGylvPOf8GRLOvM94QJsMMV9VpsLChKCjesWMNybTZvpoyNsESu2nC5q+C9soG+BPhuUFQ==
5+
bs-platform@^8.0.0:
6+
version "8.0.0"
7+
resolved "https://registry.yarnpkg.com/bs-platform/-/bs-platform-8.0.0.tgz#022c56e0a5fc87bdf028bb4c6033c9d2ae1803f6"
8+
integrity sha512-lwysi+2SVFf84gzoG5GPGKNXZIjvygOY9NHXFeTMHVB+Zbk3wn5iLEN0XHMMnHV6QQtPtv2+Zq7SV7sKswNEwA==

0 commit comments

Comments
 (0)