avoid requiring git when installing with npm/npx #545
Massimo Melina committed
Apr 2, 2024 at 21:47 UTC
fba9a8f1d7d74e8757f713fe2a8855e2b32e32bc
2 files changed
+2
-2
package.json
+1
-1
@@ -81,7 +81,7 @@
81
"limiter": "^2.1.0",
82
"lodash": "^4.17.21",
83
"minimist": "^1.2.6",
84
- "nat-upnp-ts": "github:rejetto/nat-upnp-ts",
84
+ "nat-upnp-rejetto": "^2.0.2",
85
"open": "^8.4.0",
86
"qr-creator": "^1.0.0",
87
"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, MINUTE, promiseBestEffort, repeat, wantArray } from './cross'
5
import { getProjectInfo } from './github'