Skip to content

Commit

Permalink
chore(dev): update devDeps
Browse files Browse the repository at this point in the history
We're on to prettier 2.0 which will cause some changes for a later commit
  • Loading branch information
STRML committed Jul 20, 2020
1 parent bf48aca commit 33ccfa5
Show file tree
Hide file tree
Showing 4 changed files with 2,548 additions and 2,848 deletions.
6 changes: 1 addition & 5 deletions .flowconfig
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[version]
^0.119.0
^0.129.0

[ignore]
<PROJECT_ROOT>/build/.*
Expand All @@ -17,7 +17,3 @@ flow-typed/
[options]
emoji=true
module.use_strict=true
suppress_comment=\\(.\\|\n\\)*\\s*\\$FlowFixMe.*
suppress_comment=\\(.\\|\n\\)*\\s*\\$FlowBug.*
suppress_comment=\\(.\\|\n\\)*\\s*\\$FlowIgnore.*
suppress_comment=\\(.\\|\n\\)*\\s*\\$FlowNative.*
68 changes: 34 additions & 34 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,45 +42,45 @@
"react-resizable": "^1.10.0"
},
"devDependencies": {
"@babel/cli": "^7.8.0",
"@babel/core": "^7.8.0",
"@babel/plugin-proposal-class-properties": "^7.8.0",
"@babel/plugin-transform-flow-comments": "^7.8.0",
"@babel/preset-env": "^7.8.2",
"@babel/preset-flow": "^7.8.0",
"@babel/preset-react": "^7.8.0",
"@babel/register": "^7.8.0",
"babel-eslint": "^10.0.3",
"babel-jest": "^25.1.0",
"babel-loader": "^8.0.6",
"babel-plugin-preval": "^4.0.0",
"css-loader": "^3.4.2",
"ejs": "^3.0.1",
"@babel/cli": "^7.10.5",
"@babel/core": "^7.10.5",
"@babel/plugin-proposal-class-properties": "^7.10.4",
"@babel/plugin-transform-flow-comments": "^7.10.4",
"@babel/preset-env": "^7.10.4",
"@babel/preset-flow": "^7.10.4",
"@babel/preset-react": "^7.10.4",
"@babel/register": "^7.10.5",
"babel-eslint": "^10.1.0",
"babel-jest": "^26.1.0",
"babel-loader": "^8.1.0",
"babel-plugin-preval": "^5.0.0",
"css-loader": "^3.6.0",
"ejs": "^3.1.3",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.2",
"enzyme-to-json": "^3.4.4",
"eslint": "^6.8.0",
"eslint-plugin-flowtype": "^4.6.0",
"eslint-plugin-mocha": "^6.2.2",
"eslint-plugin-react": "^7.17.0",
"exports-loader": "^0.7.0",
"flow-bin": "^0.119.0",
"husky": "^3.0.9",
"imports-loader": "^0.8.0",
"jest": "^24.9.0",
"lint-staged": "^9.5.0",
"lodash": "^4.17.5",
"enzyme-to-json": "^3.5.0",
"eslint": "^7.5.0",
"eslint-plugin-flowtype": "^5.2.0",
"eslint-plugin-mocha": "^7.0.1",
"eslint-plugin-react": "^7.20.3",
"exports-loader": "^1.1.0",
"flow-bin": "^0.129.0",
"husky": "^4.2.5",
"imports-loader": "^1.1.0",
"jest": "^26.1.0",
"lint-staged": "^10.2.11",
"lodash": "^4.17.19",
"opener": "^1.4.3",
"prettier": "^1.19.1",
"react": "^16.12.0",
"react-dom": "^16.12.0",
"react-hot-loader": "^4.12.18",
"prettier": "^2.0.5",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"react-hot-loader": "^4.12.21",
"react-transform-hmr": "^1.0.2",
"style-loader": "^1.1.2",
"style-loader": "^1.2.1",
"timsort": "^0.3.0",
"webpack": "^4.41.5",
"webpack-cli": "^3.3.10",
"webpack-dev-server": "^3.10.1"
"webpack": "^4.43.0",
"webpack-cli": "^3.3.12",
"webpack-dev-server": "^3.11.0"
},
"publishConfig": {
"registry": "https://registry.npmjs.org"
Expand Down
3 changes: 1 addition & 2 deletions test/spec/utils-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ import {
} from "../../lib/calculateUtils";
import isEqual from "lodash.isequal";


describe("bottom", () => {
it("Handles an empty layout as input", () => {
expect(bottom([])).toEqual(0);
Expand Down Expand Up @@ -76,9 +75,9 @@ describe("validateLayout", () => {
});
it("Throws errors on invalid input", () => {
expect(() => {
// $FlowFixMe: dynamic check
validateLayout([
{ i: "1", x: 0, y: 1, w: 1, h: 1 },
// $FlowFixMe: dynamic check
{ i: "2", x: 1, y: 2, w: 1 }
]);
}).toThrowError(/layout\[1\]\.h must be a number!/i);
Expand Down
Loading

0 comments on commit 33ccfa5

Please sign in to comment.