git ssb

0+

cel-desktop / ssb-pkg



Tree: 1eb144e388da5f1a3466703f56ac4ab591d700fc

Files: 1eb144e388da5f1a3466703f56ac4ab591d700fc / 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