@gradientedge/akeneo-utils
Advanced tools
Comparing version 1.10.2 to 1.11.0
@@ -50,3 +50,3 @@ import { AxiosInstance } from 'axios'; | ||
createAxiosInstance(): AxiosInstance; | ||
request<T = any, R = any>(options: FetchOptions<T>): Promise<R>; | ||
request<R = any>(options: FetchOptions): Promise<R>; | ||
getRetryAfterMs(headers?: Record<string, string | null | undefined> | undefined | null): number; | ||
@@ -53,0 +53,0 @@ getRetryConfig(methodRetryConfig?: AkeneoRetryConfig): Required<AkeneoRetryConfig>; |
@@ -1,2 +0,2 @@ | ||
import { AxiosError, AxiosRequestConfig } from 'axios'; | ||
import { AxiosError, InternalAxiosRequestConfig } from 'axios'; | ||
export declare class AkeneoError extends Error { | ||
@@ -8,3 +8,3 @@ readonly data?: any; | ||
static fromAxiosError(e: AxiosError): AkeneoError; | ||
static parseRequestData(config: AxiosRequestConfig): any; | ||
static parseRequestData(config: InternalAxiosRequestConfig | undefined): any; | ||
toJSON(): { | ||
@@ -11,0 +11,0 @@ status: number | undefined; |
@@ -9,5 +9,5 @@ export interface AkeneoBaseConfig { | ||
} | ||
export declare type ChannelCode = string; | ||
export declare type Locale = string; | ||
export declare type PaginationType = 'page' | 'search_after'; | ||
export type ChannelCode = string; | ||
export type Locale = string; | ||
export type PaginationType = 'page' | 'search_after'; | ||
export interface Category { | ||
@@ -155,3 +155,3 @@ code: string; | ||
} | ||
export declare type ReferenceEntityRecordAttributeValue = ReferenceEntityRecordAttributeValueItem[]; | ||
export type ReferenceEntityRecordAttributeValue = ReferenceEntityRecordAttributeValueItem[]; | ||
export interface ReferenceEntityRecordAttributeValueItem { | ||
@@ -168,4 +168,4 @@ channel: ChannelCode | null; | ||
} | ||
export declare type AttributeValue = AttributeValueItem[]; | ||
export declare type AttributeValues = Record<string, AttributeValue>; | ||
export type AttributeValue = AttributeValueItem[]; | ||
export type AttributeValues = Record<string, AttributeValue>; | ||
export interface Asset { | ||
@@ -172,0 +172,0 @@ code: string; |
{ | ||
"name": "@gradientedge/akeneo-utils", | ||
"version": "1.10.2", | ||
"version": "1.11.0", | ||
"description": "Provide utility classes and functions for interacting with the Akeneo API", | ||
@@ -58,40 +58,40 @@ "main": "./dist/ge-akeneo-utils-node.cjs.js", | ||
"devDependencies": { | ||
"@sinonjs/fake-timers": "9.1.2", | ||
"@types/jest": "27.4.1", | ||
"@sinonjs/fake-timers": "10.0.2", | ||
"@types/jest": "29.4.0", | ||
"@types/json-stringify-safe": "5.0.0", | ||
"@types/lodash": "4.14.181", | ||
"@types/lodash.clonedeep": "4.5.6", | ||
"@types/node": "17.0.24", | ||
"@types/lodash": "4.14.191", | ||
"@types/lodash.clonedeep": "4.5.7", | ||
"@types/node": "18.14.5", | ||
"@types/qs": "6.9.7", | ||
"@types/sinonjs__fake-timers": "8.1.2", | ||
"@types/traverse": "0.6.32", | ||
"@typescript-eslint/eslint-plugin": "5.19.0", | ||
"@typescript-eslint/parser": "5.19.0", | ||
"@typescript-eslint/eslint-plugin": "5.54.0", | ||
"@typescript-eslint/parser": "5.54.0", | ||
"codecov": "3.8.3", | ||
"commitizen": "4.2.4", | ||
"commitizen": "4.3.0", | ||
"cz-conventional-changelog": "3.3.0", | ||
"eslint": "8.13.0", | ||
"eslint-config-prettier": "8.5.0", | ||
"husky": "7.0.4", | ||
"jest": "27.5.1", | ||
"eslint": "8.35.0", | ||
"eslint-config-prettier": "8.6.0", | ||
"husky": "8.0.3", | ||
"jest": "29.4.3", | ||
"jest-matcher-specific-error": "1.0.0", | ||
"jest-mock": "27.5.1", | ||
"nock": "13.2.4", | ||
"prettier": "2.6.2", | ||
"rimraf": "3.0.2", | ||
"semantic-release": "19.0.2", | ||
"ts-jest": "27.1.4", | ||
"ts-node": "10.7.0", | ||
"typedoc": "0.22.15", | ||
"typescript": "~4.6.3", | ||
"webpack": "5.72.0", | ||
"webpack-cli": "4.9.2" | ||
"jest-mock": "29.4.3", | ||
"nock": "13.3.0", | ||
"prettier": "2.8.4", | ||
"rimraf": "4.2.0", | ||
"semantic-release": "19.0.5", | ||
"ts-jest": "29.0.5", | ||
"ts-node": "10.9.1", | ||
"typedoc": "0.23.26", | ||
"typescript": "~4.9.5", | ||
"webpack": "5.75.0", | ||
"webpack-cli": "5.0.1" | ||
}, | ||
"dependencies": { | ||
"@tshttp/status": "^2.0.0", | ||
"axios": "0.26.1", | ||
"axios": "1.3.4", | ||
"json-stringify-safe": "5.0.1", | ||
"lodash.clonedeep": "4.5.0", | ||
"qs": "6.10.3", | ||
"traverse": "0.6.6" | ||
"qs": "6.11.0", | ||
"traverse": "0.6.7" | ||
}, | ||
@@ -98,0 +98,0 @@ "config": { |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
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
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
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
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
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 4 instances in 1 package
3209623
32
27156
22
+ Addedasynckit@0.4.0(transitive)
+ Addedaxios@1.3.4(transitive)
+ Addedcombined-stream@1.0.8(transitive)
+ Addeddelayed-stream@1.0.0(transitive)
+ Addedform-data@4.0.1(transitive)
+ Addedmime-db@1.52.0(transitive)
+ Addedmime-types@2.1.35(transitive)
+ Addedproxy-from-env@1.1.0(transitive)
+ Addedqs@6.11.0(transitive)
+ Addedtraverse@0.6.7(transitive)
- Removedaxios@0.26.1(transitive)
- Removedqs@6.10.3(transitive)
- Removedtraverse@0.6.6(transitive)
Updatedaxios@1.3.4
Updatedqs@6.11.0
Updatedtraverse@0.6.7