node-mailjet
Advanced tools
Comparing version 6.0.4 to 6.0.5
@@ -5,2 +5,9 @@ # Changelog | ||
### [6.0.5](https://github.com/mailjet/mailjet-apiv3-nodejs/compare/v6.0.4...v6.0.5) (2023-11-27) | ||
### Bug Fixes | ||
* typescript returned type, use specific axios version ([c6329ea](https://github.com/mailjet/mailjet-apiv3-nodejs/commits/c6329ea01c2fa0fc05f9838c8279d0b48a119cbb)) | ||
### [6.0.4](https://github.com/mailjet/mailjet-apiv3-nodejs/compare/v6.0.3...v6.0.4) (2023-07-24) | ||
@@ -7,0 +14,0 @@ |
import { ClientParams } from './Client'; | ||
import { RequestConfig, RequestConstructorConfig } from '../request/Request'; | ||
import { RequestConfig, RequestOptions, RequestConstructorConfig } from '../request/Request'; | ||
import Request from '../request'; | ||
@@ -22,9 +22,3 @@ export declare type ClientConnectParams = Pick<ClientParams, 'config' | 'options'>; | ||
}; | ||
getOptions(): { | ||
timeout?: number | undefined; | ||
proxy?: import("axios").AxiosProxyConfig | undefined; | ||
headers?: import("axios").AxiosRequestHeaders | undefined; | ||
maxBodyLength?: number | undefined; | ||
maxContentLength?: number | undefined; | ||
}; | ||
getOptions(): RequestOptions; | ||
get(resource: string, config?: RequestConstructorConfig): Request; | ||
@@ -101,7 +95,6 @@ post(resource: string, config?: RequestConstructorConfig): Request; | ||
axios: string; | ||
"json-bigint": string; | ||
"url-join": string; | ||
"json-bigint": string; | ||
}; | ||
readonly devDependencies: { | ||
qs: string; | ||
"@babel/core": string; | ||
@@ -131,2 +124,3 @@ "@babel/preset-env": string; | ||
nyc: string; | ||
qs: string; | ||
"standard-version": string; | ||
@@ -133,0 +127,0 @@ "terser-webpack-plugin": string; |
@@ -1,2 +0,2 @@ | ||
import { AxiosProxyConfig, AxiosRequestConfig, AxiosRequestHeaders, ResponseType } from 'axios'; | ||
import { AxiosProxyConfig, AxiosRequestConfig, RawAxiosRequestHeaders, ResponseType } from 'axios'; | ||
import { TObject } from '../types'; | ||
@@ -11,3 +11,3 @@ export interface RequestConfig { | ||
proxy?: AxiosProxyConfig; | ||
headers?: AxiosRequestHeaders; | ||
headers?: RawAxiosRequestHeaders; | ||
maxBodyLength?: number; | ||
@@ -14,0 +14,0 @@ maxContentLength?: number; |
@@ -15,2 +15,2 @@ /*! | ||
/*! node-mailjet v6.0.4 */ | ||
/*! node-mailjet v6.0.5 */ |
@@ -1,1 +0,1 @@ | ||
/*! node-mailjet v6.0.4 */ | ||
/*! node-mailjet v6.0.5 */ |
{ | ||
"name": "node-mailjet", | ||
"version": "6.0.4", | ||
"version": "6.0.5", | ||
"main": "./mailjet.node.js", | ||
@@ -29,5 +29,5 @@ "browser": "./mailjet.web.js", | ||
"dependencies": { | ||
"axios": "^0.27.2", | ||
"url-join": "^4.0.0", | ||
"json-bigint": "^1.0.0" | ||
"axios": "1.6.2", | ||
"json-bigint": "^1.0.0", | ||
"url-join": "^4.0.0" | ||
}, | ||
@@ -34,0 +34,0 @@ "homepage": "https://github.com/mailjet/mailjet-apiv3-nodejs#readme", |
@@ -13,3 +13,3 @@ [mailjet]: http://www.mailjet.com | ||
[![Build Status](https://travis-ci.org/mailjet/mailjet-apiv3-nodejs.svg?branch=master)](https://travis-ci.org/mailjet/mailjet-apiv3-nodejs) | ||
![Current Version](https://img.shields.io/badge/version-6.0.4-green.svg) | ||
![Current Version](https://img.shields.io/badge/version-6.0.5-green.svg) | ||
@@ -16,0 +16,0 @@ ## Overview |
@@ -1,1 +0,1 @@ | ||
6.0.4 | ||
6.0.5 |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
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
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
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 4 instances in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
1743529
3367
12
+ Addedaxios@1.6.2(transitive)
+ Addedproxy-from-env@1.1.0(transitive)
- Removedaxios@0.27.2(transitive)
Updatedaxios@1.6.2