git ssb

0+

cel-desktop / ssb-pkg



Tree: 4efee7a47afd6f4413cbd04ea28cc28bae04b389

Files: 4efee7a47afd6f4413cbd04ea28cc28bae04b389 / dictionary / graceful-fs.js

454 bytesRaw
1'use strict';
2
3module.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