Comparing version 2.2.2 to 2.2.3
@@ -43,3 +43,3 @@ "use strict"; | ||
throw new error_1.GitlyDownloadError(message, code); | ||
else if (code >= 300 && code < 400) { | ||
else if (code >= 300 && code < 400 && response.headers.location) { | ||
return fetch(response.headers.location, file); | ||
@@ -46,0 +46,0 @@ } |
{ | ||
"name": "gitly", | ||
"version": "2.2.2", | ||
"version": "2.2.3", | ||
"description": "An API to download and/or extract git repositories", | ||
@@ -13,21 +13,21 @@ "main": "lib/main.js", | ||
"dependencies": { | ||
"axios": "^0.27.2", | ||
"tar": "^6.1.11" | ||
"axios": "^1.2.2", | ||
"tar": "^6.1.13" | ||
}, | ||
"devDependencies": { | ||
"@types/jest": "^29.0.0", | ||
"@types/node": "^18.7.14", | ||
"@types/jest": "^29.2.5", | ||
"@types/node": "^18.11.18", | ||
"@types/shelljs": "^0.8.11", | ||
"@types/tar": "^6.1.2", | ||
"@typescript-eslint/eslint-plugin": "^5.36.1", | ||
"@typescript-eslint/eslint-plugin-tslint": "^5.36.1", | ||
"@typescript-eslint/parser": "^5.36.1", | ||
"eslint": "^8.23.0", | ||
"@types/tar": "^6.1.3", | ||
"@typescript-eslint/eslint-plugin": "^5.47.1", | ||
"@typescript-eslint/eslint-plugin-tslint": "^5.47.1", | ||
"@typescript-eslint/parser": "^5.47.1", | ||
"eslint": "^8.31.0", | ||
"eslint-plugin-import": "^2.26.0", | ||
"eslint-plugin-prefer-arrow": "^1.2.3", | ||
"jest": "^29.0.1", | ||
"jest": "^29.3.1", | ||
"shelljs": "^0.8.5", | ||
"ts-jest": "^28.0.8", | ||
"tslib": "^2.4.0", | ||
"typescript": "^4.8.2" | ||
"ts-jest": "^29.0.3", | ||
"tslib": "^2.4.1", | ||
"typescript": "^4.9.4" | ||
}, | ||
@@ -34,0 +34,0 @@ "scripts": { |
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
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
37844
23
819
+ Addedaxios@1.7.7(transitive)
+ Addedproxy-from-env@1.1.0(transitive)
- Removedaxios@0.27.2(transitive)
Updatedaxios@^1.2.2
Updatedtar@^6.1.13