Commit 18b96d3
authored
Migrate to yarn and update dependencies (#58)
Removed `package-lock.json` and added `yarn.lock` instead.
Even if there are outdated version in package.json, yarn installed up-to-date versions. The only problem is with flow@0.78, it returns me an error which I can not figure out:
<details>
<summary>Flow@0.78 error</summary>
```
$ yarn flow
yarn run v1.6.0
$ flow
Error ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ /private/tmp/flow/flowlib_316436e7/webassembly.js:11:52
Function [1] is not a polymorphic type.
/private/tmp/flow/flowlib_316436e7/webassembly.js
8│ type ResultObject = { module: WebAssembly$Module, instance: WebAssembly$Instance };
9│
10│ // https://github.com/WebAssembly/design/blob/master/JS.md#exported-function-exotic-objects
11│ declare class ExportedFunctionExoticObject extends Function {
│ ---------------------------------------------------^^^^^^^^--------------------------------
12│ (): mixed;
13│ }
14│
scripts/babel-nodes.js
[1] 1910│ type Function = (
│ -----^^^^^^^^------------------------------------------------------------------------------
```
</details>1 parent 4d7e171 commit 18b96d3
7 files changed
Lines changed: 4380 additions & 9484 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
3 | 5 | | |
4 | 6 | | |
5 | 7 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
0 commit comments