Skip to content

Commit

Permalink
upgrade flow to 0.139
Browse files Browse the repository at this point in the history
  • Loading branch information
lyleunderwood committed Dec 9, 2020
1 parent 671f71e commit 6efa2f2
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 10 deletions.
4 changes: 1 addition & 3 deletions .flowconfig
Expand Up @@ -4,7 +4,5 @@
<PROJECT_ROOT>/dist

[options]
suppress_comment= \\(.\\|\n\\)*\\$FlowExpectError
suppress_comment= \\(.\\|\n\\)*\\$FlowFixMe
suppress_comment= \\(.\\|\n\\)*\\$FlowIgnore
types_first=false

2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -91,7 +91,7 @@
"eslint-plugin-flowtype": "^4.6.0",
"eslint-plugin-import": "^2.20.0",
"eslint-plugin-unused-imports": "^0.1.2",
"flow-bin": "^0.123.0",
"flow-bin": "^0.139.0",
"flow-copy-source": "^2.0.9",
"get-port-cli": "^2.0.0",
"husky": "^4.2.1",
Expand Down
4 changes: 2 additions & 2 deletions tests/flowtype/modifiers.js
@@ -1,15 +1,15 @@
// @flow
import { createPopper, type Modifier, type StrictModifiers } from '../../src/';

// $FlowExpectError: valid elements must be provided
// $FlowExpectedError: valid elements must be provided
createPopper(null, null);

const reference = document.createElement('button');
const popper = document.createElement('div');

createPopper(reference, popper, {});

// $FlowExpectError: '' is not a number
// $FlowExpectedError: '' is not a number
createPopper<StrictModifiers>(reference, popper, {
modifiers: [{ name: 'offset', options: { offset: [0, ''] } }],
});
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Expand Up @@ -3153,10 +3153,10 @@ flatted@^2.0.0:
resolved "https://registry.yarnpkg.com/flatted/-/flatted-2.0.2.tgz#4575b21e2bcee7434aa9be662f4b7b5f9c2b5138"
integrity sha512-r5wGx7YeOwNWNlCA0wQ86zKyDLMQr+/RB8xy74M4hTphfmjlijTSSXGuH8rnvKZnfT9i+75zmd8jcKdMR4O6jA==

flow-bin@^0.123.0:
version "0.123.0"
resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.123.0.tgz#7ba61a0b8775928cf4943ccf78eed2b1b05f7b3a"
integrity sha512-Ylcf8YDIM/KrqtxkPuq+f8O+6sdYA2Nuz5f+sWHlp539DatZz3YMcsO1EiXaf1C11HJgpT/3YGYe7xZ9/UZmvQ==
flow-bin@^0.139.0:
version "0.139.0"
resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.139.0.tgz#3ad6c75460be45b64f00521035c5affb3c440df5"
integrity sha512-eilVetLwztYtKjRj//4OsJ7aw47hsUZ8GTINxaZHWhpqiFikErQL0sV/3hQtpm54w9FuS2PO4yvbU0pWrtckqg==

flow-copy-source@^2.0.9:
version "2.0.9"
Expand Down

0 comments on commit 6efa2f2

Please sign in to comment.