Commit efcf9fd06b02fa9bcd28681b4c777224e19702bb
Use ssb-pkg-fetch
cel committed on 5/14/2020, 10:25:52 PMParent: 70a6e9b9d271c780de8969df144a02be44526bb8
Files changed
lib/index.js | changed |
lib/log.js | changed |
lib/walker.js | changed |
package.json | changed |
lib/index.js | |||
---|---|---|---|
@@ -1,9 +1,9 @@ | |||
1 | 1 … | /* eslint-disable require-atomic-updates */ | |
2 | 2 … | ||
3 | 3 … | import { exists, mkdirp, readFile, remove, stat } from 'fs-extra'; | |
4 | 4 … | import { log, wasReported } from './log.js'; | |
5 | -import { need, system } from 'pkg-fetch'; | ||
5 … | +import { need, system } from 'ssb-pkg-fetch'; | ||
6 | 6 … | import assert from 'assert'; | |
7 | 7 … | import help from './help'; | |
8 | 8 … | import { isPackageJson } from '../prelude/common.js'; | |
9 | 9 … | import minimist from 'minimist'; |
lib/log.js | ||
---|---|---|
@@ -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'; | |
2 | 2 … | export { log, wasReported }; |
lib/walker.js | ||
---|---|---|
@@ -11,9 +11,9 @@ | ||
11 | 11 … | import detector from './detector.js'; |
12 | 12 … | import fs from 'fs-extra'; |
13 | 13 … | import globby from 'globby'; |
14 | 14 … | import path from 'path'; |
15 | -import { system } from 'pkg-fetch' | |
15 … | +import { system } from 'ssb-pkg-fetch' | |
16 | 16 … | |
17 | 17 … | const { abiToNodeRange } = system; |
18 | 18 … | |
19 | 19 … | const win32 = process.platform === 'win32'; |
package.json | ||
---|---|---|
@@ -42,11 +42,11 @@ | ||
42 | 42 … | "globby": "^11.0.0", |
43 | 43 … | "into-stream": "^5.1.1", |
44 | 44 … | "minimist": "^1.2.5", |
45 | 45 … | "multistream": "^2.1.1", |
46 | - "pkg-fetch": "^2.6.8", | |
47 | 46 … | "progress": "^2.0.3", |
48 | 47 … | "resolve": "^1.15.1", |
48 … | + "ssb-pkg-fetch": "^2.6.8", | |
49 | 49 … | "stream-meter": "^1.0.4" |
50 | 50 … | }, |
51 | 51 … | "devDependencies": { |
52 | 52 … | "@babel/cli": "^7.8.4", |
Built with git-ssb-web