@nestjs/axios
Advanced tools
Comparing version 0.1.0 to 0.1.1
@@ -39,3 +39,3 @@ "use strict"; | ||
provide: http_constants_1.HTTP_MODULE_ID, | ||
useValue: random_string_generator_util_1.randomStringGenerator(), | ||
useValue: (0, random_string_generator_util_1.randomStringGenerator)(), | ||
}, | ||
@@ -58,3 +58,3 @@ ], | ||
provide: http_constants_1.HTTP_MODULE_ID, | ||
useValue: random_string_generator_util_1.randomStringGenerator(), | ||
useValue: (0, random_string_generator_util_1.randomStringGenerator)(), | ||
}, | ||
@@ -93,3 +93,3 @@ ...(options.extraProviders || []), | ||
HttpModule = HttpModule_1 = __decorate([ | ||
common_1.Module({ | ||
(0, common_1.Module)({ | ||
providers: [ | ||
@@ -96,0 +96,0 @@ http_service_1.HttpService, |
@@ -14,3 +14,3 @@ import { AxiosInstance, AxiosPromise, AxiosRequestConfig, AxiosResponse } from 'axios'; | ||
get axiosRef(): AxiosInstance; | ||
protected makeObservable<T>(axios: (...args: any[]) => AxiosPromise<T>, ...args: any[]): Observable<AxiosResponse<T>>; | ||
protected makeObservable<T>(axios: (...args: any[]) => AxiosPromise<T>, ...args: any[]): Observable<AxiosResponse<T, any>>; | ||
} |
@@ -79,5 +79,5 @@ "use strict"; | ||
HttpService = __decorate([ | ||
__param(0, common_1.Inject(http_constants_1.AXIOS_INSTANCE_TOKEN)), | ||
__param(0, (0, common_1.Inject)(http_constants_1.AXIOS_INSTANCE_TOKEN)), | ||
__metadata("design:paramtypes", [Function]) | ||
], HttpService); | ||
exports.HttpService = HttpService; |
"use strict"; | ||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); | ||
var desc = Object.getOwnPropertyDescriptor(m, k); | ||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { | ||
desc = { enumerable: true, get: function() { return m[k]; } }; | ||
} | ||
Object.defineProperty(o, k2, desc); | ||
}) : (function(o, m, k, k2) { | ||
@@ -6,0 +10,0 @@ if (k2 === undefined) k2 = k; |
"use strict"; | ||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); | ||
var desc = Object.getOwnPropertyDescriptor(m, k); | ||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { | ||
desc = { enumerable: true, get: function() { return m[k]; } }; | ||
} | ||
Object.defineProperty(o, k2, desc); | ||
}) : (function(o, m, k, k2) { | ||
@@ -6,0 +10,0 @@ if (k2 === undefined) k2 = k; |
{ | ||
"name": "@nestjs/axios", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "Nest - modern, fast, powerful node.js web framework (@axios)", | ||
@@ -18,31 +18,32 @@ "author": "Kamil Mysliwiec", | ||
"prerelease": "npm run build", | ||
"release": "release-it" | ||
"release": "release-it", | ||
"prepare": "husky install" | ||
}, | ||
"dependencies": { | ||
"axios": "0.27.2" | ||
"axios": "1.2.1" | ||
}, | ||
"devDependencies": { | ||
"@commitlint/cli": "17.0.3", | ||
"@commitlint/config-angular": "17.0.3", | ||
"@nestjs/common": "9.0.1", | ||
"@nestjs/core": "9.0.1", | ||
"@nestjs/platform-express": "9.0.1", | ||
"@nestjs/testing": "9.0.1", | ||
"@types/jest": "28.1.4", | ||
"@types/node": "16.11.43", | ||
"@typescript-eslint/eslint-plugin": "5.30.5", | ||
"@typescript-eslint/parser": "5.30.5", | ||
"eslint": "8.19.0", | ||
"@commitlint/cli": "17.3.0", | ||
"@commitlint/config-angular": "17.3.0", | ||
"@nestjs/common": "9.2.1", | ||
"@nestjs/core": "9.2.1", | ||
"@nestjs/platform-express": "9.2.1", | ||
"@nestjs/testing": "9.2.1", | ||
"@types/jest": "29.2.4", | ||
"@types/node": "18.11.17", | ||
"@typescript-eslint/eslint-plugin": "5.46.1", | ||
"@typescript-eslint/parser": "5.46.1", | ||
"eslint": "8.30.0", | ||
"eslint-config-prettier": "8.5.0", | ||
"eslint-plugin-import": "2.26.0", | ||
"husky": "8.0.1", | ||
"jest": "28.1.2", | ||
"lint-staged": "13.0.3", | ||
"prettier": "2.7.1", | ||
"husky": "8.0.2", | ||
"jest": "29.3.1", | ||
"lint-staged": "13.1.0", | ||
"prettier": "2.8.1", | ||
"reflect-metadata": "0.1.13", | ||
"release-it": "15.1.1", | ||
"release-it": "15.5.1", | ||
"rimraf": "3.0.2", | ||
"rxjs": "7.5.5", | ||
"ts-jest": "28.0.5", | ||
"typescript": "4.7.4" | ||
"rxjs": "7.8.0", | ||
"ts-jest": "29.0.3", | ||
"typescript": "4.9.4" | ||
}, | ||
@@ -55,12 +56,4 @@ "peerDependencies": { | ||
"lint-staged": { | ||
"*.ts": [ | ||
"prettier --write" | ||
] | ||
"**/*.{ts,json}": [] | ||
}, | ||
"husky": { | ||
"hooks": { | ||
"commit-msg": "commitlint -c .commitlintrc.json -E HUSKY_GIT_PARAMS", | ||
"pre-commit": "lint-staged" | ||
} | ||
}, | ||
"repository": { | ||
@@ -67,0 +60,0 @@ "type": "git", |
<p align="center"> | ||
<a href="http://nestjs.com/" target="blank"><img src="https://nestjs.com/img/logo_text.svg" width="320" alt="Nest Logo" /></a> | ||
<a href="http://nestjs.com/" target="blank"><img src="https://nestjs.com/img/logo-small.svg" width="120" alt="Nest Logo" /></a> | ||
</p> | ||
@@ -4,0 +4,0 @@ |
Sorry, the diff of this file is not supported yet
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
20053
23
340
+ Addedaxios@1.2.1(transitive)
+ Addedproxy-from-env@1.1.0(transitive)
- Removedaxios@0.27.2(transitive)
Updatedaxios@1.2.1