Comparing version 0.22.0-rc1 to 0.22.0
{ | ||
"name": "go-ipfs", | ||
"version": "0.22.0-rc1", | ||
"version": "0.22.0", | ||
"description": "Install the latest go-ipfs binary", | ||
@@ -41,3 +41,3 @@ "main": "src/index.js", | ||
"homepage": "https://github.com/ipfs/npm-go-ipfs", | ||
"types": "./dist/src/types.d.ts", | ||
"types": "./src/types.d.ts", | ||
"devDependencies": { | ||
@@ -44,0 +44,0 @@ "@types/got": "^9.6.12", |
@@ -53,2 +53,8 @@ # npm-go-ipfs | ||
### Overriding with `KUBO_BINARY` env | ||
If the `KUBO_BINARY` env variable is set at runtime this will override the path of the binary used. | ||
This must point to the file, not the directory containing the file. | ||
## Development | ||
@@ -55,0 +61,0 @@ |
@@ -7,2 +7,6 @@ 'use strict' | ||
module.exports.path = function () { | ||
if (process.env.KUBO_BINARY) { | ||
return process.env.KUBO_BINARY | ||
} | ||
const paths = [ | ||
@@ -9,0 +13,0 @@ path.resolve(path.join(__dirname, '..', 'go-ipfs', 'ipfs')), |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
20086
15
395
118
17