Files: b5f837feead2289e0e40ebb9331c756fc171e063 / dictionary / graceful-fs.js
454 bytesRaw
1 | ; |
2 | |
3 | module.exports = { |
4 | pkg: { |
5 | patches: { |
6 | 'graceful-fs.js': [ |
7 | { do: 'prepend' }, |
8 | 'if ((function() {\n' + |
9 | ' var version = require(\'./package.json\').version;\n' + |
10 | ' var major = parseInt(version.split(\'.\')[0]);\n' + |
11 | ' if (major < 4) {\n' + |
12 | ' module.exports = require(\'fs\');\n' + |
13 | ' return true;\n' + |
14 | ' }\n' + |
15 | '})()) return;\n' |
16 | ] |
17 | } |
18 | } |
19 | }; |
20 |
Built with git-ssb-web