git ssb

0+

cel-desktop / ssb-pkg



Commit efcf9fd06b02fa9bcd28681b4c777224e19702bb

Use ssb-pkg-fetch

cel committed on 5/14/2020, 10:25:52 PM
Parent: 70a6e9b9d271c780de8969df144a02be44526bb8

Files changed

lib/index.jschanged
lib/log.jschanged
lib/walker.jschanged
package.jsonchanged
lib/index.jsView
@@ -1,9 +1,9 @@
11 /* eslint-disable require-atomic-updates */
22
33 import { exists, mkdirp, readFile, remove, stat } from 'fs-extra';
44 import { log, wasReported } from './log.js';
5-import { need, system } from 'pkg-fetch';
5 +import { need, system } from 'ssb-pkg-fetch';
66 import assert from 'assert';
77 import help from './help';
88 import { isPackageJson } from '../prelude/common.js';
99 import minimist from 'minimist';
lib/log.jsView
@@ -1,2 +1,2 @@
1-import { log, wasReported } from 'pkg-fetch/lib-es5/log.js';
1 +import { log, wasReported } from 'ssb-pkg-fetch/lib-es5/log.js';
22 export { log, wasReported };
lib/walker.jsView
@@ -11,9 +11,9 @@
1111 import detector from './detector.js';
1212 import fs from 'fs-extra';
1313 import globby from 'globby';
1414 import path from 'path';
15-import { system } from 'pkg-fetch'
15 +import { system } from 'ssb-pkg-fetch'
1616
1717 const { abiToNodeRange } = system;
1818
1919 const win32 = process.platform === 'win32';
package.jsonView
@@ -42,11 +42,11 @@
4242 "globby": "^11.0.0",
4343 "into-stream": "^5.1.1",
4444 "minimist": "^1.2.5",
4545 "multistream": "^2.1.1",
46- "pkg-fetch": "^2.6.8",
4746 "progress": "^2.0.3",
4847 "resolve": "^1.15.1",
48 + "ssb-pkg-fetch": "^2.6.8",
4949 "stream-meter": "^1.0.4"
5050 },
5151 "devDependencies": {
5252 "@babel/cli": "^7.8.4",

Built with git-ssb-web