Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@nestjs/axios

Package Overview
Dependencies
Maintainers
2
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nestjs/axios - npm Package Compare versions

Comparing version 2.0.0 to 3.0.0

3

.eslintrc.js

@@ -11,4 +11,3 @@ module.exports = {

'plugin:@typescript-eslint/recommended',
'prettier',
'prettier/@typescript-eslint',
'prettier'
],

@@ -15,0 +14,0 @@ root: true,

@@ -8,11 +8,2 @@ "use strict";

};
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
return new (P || (P = Promise))(function (resolve, reject) {
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
step((generator = generator.apply(thisArg, _arguments || [])).next());
});
};
var __importDefault = (this && this.__importDefault) || function (mod) {

@@ -86,3 +77,3 @@ return (mod && mod.__esModule) ? mod : { "default": mod };

provide: http_constants_1.HTTP_MODULE_OPTIONS,
useFactory: (optionsFactory) => __awaiter(this, void 0, void 0, function* () { return optionsFactory.createHttpOptions(); }),
useFactory: async (optionsFactory) => optionsFactory.createHttpOptions(),
inject: [options.useExisting || options.useClass],

@@ -89,0 +80,0 @@ };

@@ -53,3 +53,3 @@ "use strict";

return new rxjs_1.Observable(subscriber => {
const config = Object.assign({}, (args[args.length - 1] || {}));
const config = { ...(args[args.length - 1] || {}) };
let cancelSource;

@@ -56,0 +56,0 @@ if (!config.cancelToken) {

{
"name": "@nestjs/axios",
"version": "2.0.0",
"version": "3.0.0",
"description": "Nest - modern, fast, powerful node.js web framework (@axios)",

@@ -22,29 +22,29 @@ "author": "Kamil Mysliwiec",

"devDependencies": {
"@commitlint/cli": "17.4.2",
"@commitlint/config-angular": "17.4.2",
"@nestjs/common": "9.3.2",
"@nestjs/core": "9.3.2",
"@nestjs/platform-express": "9.3.2",
"@nestjs/testing": "9.3.2",
"@types/jest": "29.4.0",
"@types/node": "18.11.18",
"@typescript-eslint/eslint-plugin": "5.50.0",
"@typescript-eslint/parser": "5.50.0",
"axios": "1.3.1",
"eslint": "8.33.0",
"eslint-config-prettier": "8.6.0",
"@commitlint/cli": "17.6.5",
"@commitlint/config-angular": "17.6.5",
"@nestjs/common": "10.0.0",
"@nestjs/core": "10.0.0",
"@nestjs/platform-express": "10.0.0",
"@nestjs/testing": "10.0.0",
"@types/jest": "29.5.2",
"@types/node": "18.16.18",
"@typescript-eslint/eslint-plugin": "5.59.11",
"@typescript-eslint/parser": "5.59.11",
"axios": "1.4.0",
"eslint": "8.42.0",
"eslint-config-prettier": "8.8.0",
"eslint-plugin-import": "2.27.5",
"husky": "8.0.3",
"jest": "29.4.1",
"lint-staged": "13.1.0",
"prettier": "2.8.3",
"jest": "29.5.0",
"lint-staged": "13.2.2",
"prettier": "2.8.8",
"reflect-metadata": "0.1.13",
"release-it": "15.6.0",
"rimraf": "4.1.2",
"rxjs": "7.8.0",
"ts-jest": "29.0.5",
"typescript": "4.9.5"
"release-it": "15.11.0",
"rimraf": "5.0.1",
"rxjs": "7.8.1",
"ts-jest": "29.1.0",
"typescript": "5.1.3"
},
"peerDependencies": {
"@nestjs/common": "^7.0.0 || ^8.0.0 || ^9.0.0",
"@nestjs/common": "^7.0.0 || ^8.0.0 || ^9.0.0 || ^10.0.0",
"axios": "^1.3.1",

@@ -51,0 +51,0 @@ "reflect-metadata": "^0.1.12",

@@ -15,4 +15,2 @@ <p align="center">

<a href="https://www.npmjs.com/~nestjscore"><img src="https://img.shields.io/npm/dm/@nestjs/core.svg" alt="NPM Downloads" /></a>
<a href="https://travis-ci.org/nestjs/nest"><img src="https://api.travis-ci.org/nestjs/nest.svg?branch=master" alt="Travis" /></a>
<a href="https://travis-ci.org/nestjs/nest"><img src="https://img.shields.io/travis/nestjs/nest/master.svg?label=linux" alt="Linux" /></a>
<a href="https://coveralls.io/github/nestjs/nest?branch=master"><img src="https://coveralls.io/repos/github/nestjs/nest/badge.svg?branch=master#5" alt="Coverage" /></a>

@@ -30,3 +28,3 @@ <a href="https://discord.gg/G7Qnnhy" target="_blank"><img src="https://img.shields.io/badge/discord-online-brightgreen.svg" alt="Discord"/></a>

[Axios](https://www.npmjs.com/package/axios) module for [Nest](https://github.com/nestjs/nest) originally published as part of the `@nestjs/common` package. This package is a drop-in replacement for deprecated `HttpModule`.
[Axios](https://www.npmjs.com/package/axios) module for [Nest](https://github.com/nestjs/nest) originally published as part of the `@nestjs/common` package. This package is a drop-in replacement for the deprecated (and eventually removed) `HttpModule`.

@@ -36,3 +34,3 @@ ## Installation

```bash
$ npm i --save @nestjs/axios
$ npm i --save @nestjs/axios axios
```

@@ -39,0 +37,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc