$ yarn flow
yarn flow v0.20.0
$ flow; test $? -eq 0 -o $? -eq 2
b.js:4
4: dict: {[key: string]: string},
^^^^^^^^^^^^^^^^^^^^^^^ some property. Property not found in
11: dict: {'key': 'value'}
^^^^^^^^^^^^^^^^ object literal
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| module.exports = () => Promise.reject(new Error('invalid config')); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const lines = str.trim().split('\n'); | |
| const groups = []; | |
| let input; | |
| lines.forEach((line) => { | |
| if (input) { | |
| input.push(line); | |
| if (line[line.length - 1] !== '\\') { | |
| input = null; | |
| } | |
| } else if (line.startsWith('$ ')) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var print = print || console.log; | |
| var x = []; | |
| for (var i = 0; i < 1000; i++) { | |
| print(i); | |
| x.push({"524288": 1}); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
| {"plugins": ["syntax-flow", "transform-es2015-classes"]} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var reassign = loadWithNewGlobal({ | |
| script: '(function (o, i) { o[i] = o[i]; })', | |
| name: 'test.js' | |
| }); | |
| function test(i) { | |
| var o = {}; | |
| o[i] = true; | |
| reassign(o, i); | |
| print(JSON.stringify(o)); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "plugins": [ | |
| "transform-object-rest-spread" | |
| ] | |
| } |
Webpack introduced a semaphore in webpack/webpack#5502 to limit the number of modules that are processed in parallel. This semaphore does not support recursively building modules with .loadModule() in a loader and exits without finishing or displaying an error.
$ ./run
done
test-gtar.tar
bad
output/xxxxxxxxxxxxxxxxxxxxx/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/f
good
output/xxxxxxxxxxxxxxxxxxxxx/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxf
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "devDependencies": { | |
| "@hs/webpack-graphql": "9.0.3", | |
| "webpack": "3", | |
| "webpack-dev-server": "2" | |
| } | |
| } |