Skip to content
This repository has been archived by the owner on Jun 4, 2022. It is now read-only.

Commit

Permalink
bumo npm deps and fix flow and eslint linters
Browse files Browse the repository at this point in the history
  • Loading branch information
hlolli committed Feb 21, 2020
1 parent adae0e1 commit 2ebfc96
Show file tree
Hide file tree
Showing 5 changed files with 1,727 additions and 1,372 deletions.
1 change: 0 additions & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
},
"plugins": [
"flowtype",
"import",
"babel"
],
"rules": {
Expand Down
4 changes: 2 additions & 2 deletions .flowconfig
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[ignore]
# <PROJECT_ROOT>/node_modules/.*
<PROJECT_ROOT>/node_modules/module-deps
<PROJECT_ROOT>/target/.*
<PROJECT_ROOT>/LUMO__INTERNAL__CLASSPATH/.*
<PROJECT_ROOT>/tmp/.*
Expand All @@ -15,4 +15,4 @@ suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe
suppress_comment=\\(.\\|\n\\)*\\$FlowExpectedError

[version]
^0.98.0
^0.117.0
22 changes: 11 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,23 +48,23 @@
"async-retry": "^1.2.3",
"babel-core": "^7.0.0-bridge.0",
"babel-eslint": "^10.0.1",
"babel-jest": "^24.8.0",
"babel-jest": "^25.1.0",
"babel-loader": "^8.0.4",
"babel-plugin-transform-flow-strip-types": "^6.22.0",
"chalk": "^2.4.1",
"cross-env": "^5.2.0",
"chalk": "^3.0.0",
"cross-env": "^7.0.0",
"death": "^1.1.0",
"eslint": "^5.8.0",
"eslint-config-airbnb": "17.1.0",
"eslint-config-airbnb-base": "13.1.0",
"eslint": "^6.8.0",
"eslint-config-airbnb": "18.0.1",
"eslint-config-airbnb-base": "14.0.0",
"eslint-plugin-babel": "^5.2.1",
"eslint-plugin-flowtype": "^3.2.0",
"eslint-plugin-flowtype": "^4.6.0",
"eslint-plugin-import": "^2.14.0",
"eslint-plugin-jsx-a11y": "^6.1.2",
"eslint-plugin-react": "^7.11.1",
"flow-bin": "0.98.1",
"google-closure-compiler-js": "20170910.0.1",
"jest-cli": "^24.7.0",
"flow-bin": "0.118.0",
"google-closure-compiler-js": "20200204.0.0",
"jest-cli": "^25.1.0",
"jszip": "github:anmonteiro/jszip#patch-1",
"nexe": "./vendor/nexe",
"node-fetch": "^2.2.1",
Expand All @@ -75,7 +75,7 @@
"read-pkg": "^5.1.1",
"rollup": "^1.9.0",
"rollup-plugin-babel": "^4.3.2",
"rollup-plugin-babel-minify": "^8.0.0",
"rollup-plugin-babel-minify": "^9.1.1",
"rollup-plugin-commonjs": "^10.0.0",
"rollup-plugin-node-resolve": "^5.0.0",
"rollup-plugin-replace": "^2.1.1",
Expand Down
5 changes: 2 additions & 3 deletions src/js/cljs.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ function lumoEval(
if (execPath != null) {
const filename = path.resolve(execPath);
const dirname = path.dirname(filename);
// $FlowFixMe: strangely, module 'module' isn't built-in
const module = new Module(filename);

module.filename = filename;
Expand Down Expand Up @@ -490,9 +491,7 @@ async function initSocketRepl(
// versions and jest does not allow yet to specify the snapshot name at runtime.
// It's been worked on though, see:
// https://github.com/facebook/jest/pull/5838#issuecomment-382476612
const errorMsg = `Port should be > 0 and < 65536. Received ${
parsedOpts.port
}.`;
const errorMsg = `Port should be > 0 and < 65536. Received ${parsedOpts.port}.`;
if (Number.isNaN(replOpts.port)) {
throw new Error(errorMsg);
} else if (replOpts.port < 1 || replOpts.port > 65536) {
Expand Down
Loading

0 comments on commit 2ebfc96

Please sign in to comment.