@samitouri / QOSami-HFS / commits / c74ab2db

avoid requiring git when installing with npm/npx #545

Massimo Melina committed Apr 2, 2024 at 21:47 UTC c74ab2db1da3968e1244c904d90aa29b3a6e7740
2 files changed +2 -2
package.json
+1 -1
@@ -87,7 +87,7 @@
87 "limiter": "^2.1.0",
88 "lodash": "^4.17.21",
89 "minimist": "^1.2.6",
90 - "nat-upnp-ts": "github:rejetto/nat-upnp-ts",
90 + "nat-upnp-rejetto": "^2.0.2",
91 "open": "^8.4.0",
92 "qr-creator": "^1.0.0",
93 "picomatch": "^3.0.1",
src/nat.ts
+1 -1
@@ -1,5 +1,5 @@
1 import { proxy } from 'valtio'
2 -import { Client } from 'nat-upnp-ts'
2 +import { Client } from 'nat-upnp-rejetto'
3 import { debounceAsync } from './debounceAsync'
4 import { haveTimeout, HOUR, inCommon, MINUTE, promiseBestEffort, repeat, wantArray } from './cross'
5 import { getProjectInfo } from './github'