vue-axios-http
Advanced tools
Comparing version 1.2.2 to 1.2.3
@@ -5,3 +5,3 @@ # Changelog | ||
### [1.2.2](https://github.com/chantouchsek/vue-axios-http/compare/v1.2.1...v1.2.2) (2022-01-04) | ||
### [1.2.3](https://github.com/chantouchsek/vue-axios-http/compare/v1.2.2...v1.2.3) (2022-01-10) | ||
@@ -11,2 +11,8 @@ | ||
* :beer: fix return correct type of base service and add lint staged ([3dd7501](https://github.com/chantouchsek/vue-axios-http/commit/3dd75011ee33ff02467389a4914de63d7d330f02)) | ||
### [1.2.2](https://github.com/chantouchsek/vue-axios-http/compare/v1.2.1...v1.2.2) (2022-01-04) | ||
### Bug Fixes | ||
* :fire: renamed git repository name ([a7682cd](https://github.com/chantouchsek/vue-axios-http/commit/a7682cd425ea5f069f731f957a0bd835781b7d9e)) | ||
@@ -13,0 +19,0 @@ * **deps:** bump actions/setup-node from 2.4.1 to 2.5.1 ([838f53f](https://github.com/chantouchsek/vue-axios-http/commit/838f53f7244f9a794988287a54cdf6122aa24f91)) |
@@ -115,3 +115,3 @@ /// <reference types="@types/qs" /> | ||
*/ | ||
setParameters(parameters: ParametersType): BaseProxy; | ||
setParameters(parameters: ParametersType): this; | ||
/** | ||
@@ -122,3 +122,3 @@ * Set parameters by key | ||
*/ | ||
setParameter(parameter: string, value?: any): BaseProxy; | ||
setParameter(parameter: string, value?: any): this; | ||
/** | ||
@@ -128,3 +128,3 @@ * Remove parameters by keys | ||
*/ | ||
removeParameters(parameters?: any[]): BaseProxy; | ||
removeParameters(parameters?: any[]): this; | ||
/** | ||
@@ -134,3 +134,3 @@ * Remove parameters | ||
*/ | ||
removeParameter(parameter: string): BaseProxy; | ||
removeParameter(parameter: string): this; | ||
/** | ||
@@ -137,0 +137,0 @@ * Fill errors on fails passed |
@@ -9,3 +9,3 @@ declare class Validator { | ||
first(field: any | any[]): string; | ||
firstBy(obj: Record<string, any>, field?: string): any; | ||
firstBy(obj: Record<string, any>, field?: string): string; | ||
missed(field?: string | string[]): boolean; | ||
@@ -12,0 +12,0 @@ nullState(field?: string | string[]): boolean | null; |
{ | ||
"name": "vue-axios-http", | ||
"version": "1.2.2", | ||
"version": "1.2.3", | ||
"description": "Elegant and simple way to build requests for REST API", | ||
@@ -15,3 +15,3 @@ "main": "dist/index.js", | ||
"release": "standard-version && git push --follow-tags origin main && yarn publish", | ||
"prepublish": "yarn test && yarn build", | ||
"prepublish": "yarn lint && yarn test && yarn build", | ||
"clean": "rimraf dist", | ||
@@ -58,14 +58,15 @@ "prepare": "husky install", | ||
"@types/qs": "^6.9.7", | ||
"@typescript-eslint/eslint-plugin": "^4.33.0", | ||
"@typescript-eslint/parser": "^4.31.1", | ||
"@typescript-eslint/eslint-plugin": "^5.9.0", | ||
"@typescript-eslint/parser": "^5.9.0", | ||
"@vue/test-utils": "^1.2.2", | ||
"axios": "^0.24.0", | ||
"axios-mock-adapter": "^1.20.0", | ||
"eslint": "^7.32.0", | ||
"eslint": "^8.6.0", | ||
"eslint-config-prettier": "^8.3.0", | ||
"eslint-plugin-import": "^2.24.2", | ||
"eslint-plugin-prettier": "^4.0.0", | ||
"eslint-plugin-promise": "^5.1.0", | ||
"eslint-plugin-promise": "^6.0.0", | ||
"husky": "^7.0.4", | ||
"jest": "^27.4.5", | ||
"lint-staged": ">=10", | ||
"nodemon": "^2.0.12", | ||
@@ -88,3 +89,7 @@ "nuxt-edge": "^2.16.0-27217455.034b9901", | ||
"snakecase-keys": "^5.1.2" | ||
}, | ||
"lint-staged": { | ||
"*.{js,ts}": "eslint --cache", | ||
"*.**": "prettier --check --ignore-unknown" | ||
} | ||
} |
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
51985
27