vue-axios-http
Advanced tools
Comparing version 3.3.1 to 3.3.2
@@ -5,2 +5,15 @@ # Changelog | ||
### [3.3.2](https://github.com/chantouchsek/vue-axios-http/compare/v3.3.1...v3.3.2) (2023-09-26) | ||
### Bug Fixes | ||
* :bug: encode url param ([f120618](https://github.com/chantouchsek/vue-axios-http/commit/f120618aff16a3d53b24d13b84ac10056adbf3a5)) | ||
* **deps:** bump actions/checkout from 3.5.2 to 3.5.3 ([8458d7d](https://github.com/chantouchsek/vue-axios-http/commit/8458d7da9c5a60734626c0adc2c7fac9cb73da89)) | ||
* **deps:** bump actions/checkout from 3.5.3 to 4.1.0 ([f8fbea2](https://github.com/chantouchsek/vue-axios-http/commit/f8fbea2b3146f93883c1b03b982a2d6d864c8ecd)) | ||
* **deps:** bump actions/setup-node from 3.6.0 to 3.7.0 ([275ff69](https://github.com/chantouchsek/vue-axios-http/commit/275ff69df828f80eff83ddc7cc055e67af4a9da9)) | ||
* **deps:** bump actions/setup-node from 3.7.0 to 3.8.1 ([e7b1fd6](https://github.com/chantouchsek/vue-axios-http/commit/e7b1fd6968bf5175dbb3af0dd3535eb5a546cd73)) | ||
* **deps:** bump semver from 5.7.1 to 5.7.2 ([e2dde20](https://github.com/chantouchsek/vue-axios-http/commit/e2dde201797ae403685ac5c9cabb3330ddf53ccb)) | ||
* **deps:** bump tough-cookie from 4.1.2 to 4.1.3 ([1cb4ed4](https://github.com/chantouchsek/vue-axios-http/commit/1cb4ed402970c46a6da876b4b16bb22c0322ed6c)) | ||
### [3.3.1](https://github.com/chantouchsek/vue-axios-http/compare/v3.3.0...v3.3.1) (2023-05-24) | ||
@@ -7,0 +20,0 @@ |
@@ -7,3 +7,3 @@ "use strict"; | ||
const lodash_1 = require("lodash"); | ||
const qs_1 = __importDefault(require("qs")); | ||
const qs_1 = require("qs"); | ||
const Validator_1 = __importDefault(require("./Validator")); | ||
@@ -102,3 +102,9 @@ const util_1 = require("../util"); | ||
__getParameterString(url) { | ||
const query = qs_1.default.stringify(this.parameters, { encode: false, skipNulls: true, addQueryPrefix: true }); | ||
const query = (0, qs_1.stringify)(this.parameters, { | ||
encode: true, | ||
skipNulls: true, | ||
addQueryPrefix: true, | ||
encodeValuesOnly: true, | ||
strictNullHandling: true, | ||
}); | ||
return `${url}${query}`; | ||
@@ -119,3 +125,3 @@ } | ||
}); | ||
const params = qs_1.default.parse(parameter, options); | ||
const params = (0, qs_1.parse)(parameter, options); | ||
return this.setParameters(params); | ||
@@ -122,0 +128,0 @@ } |
{ | ||
"name": "vue-axios-http", | ||
"version": "3.3.1", | ||
"version": "3.3.2", | ||
"description": "Elegant and simple way to build requests for REST API", | ||
@@ -50,30 +50,31 @@ "main": "dist/index.js", | ||
"devDependencies": { | ||
"@commitlint/cli": "^17.0.0", | ||
"@commitlint/config-conventional": "^17.0.0", | ||
"@nuxt/types": "^2.15.8", | ||
"@types/lodash": "^4.14.182", | ||
"@types/node": "^20.2.0", | ||
"@types/qs": "^6.9.7", | ||
"@typescript-eslint/eslint-plugin": "^5.49.0", | ||
"@typescript-eslint/parser": "^5.9.0", | ||
"@vitest/coverage-c8": "^0.31.1", | ||
"@vue/test-utils": "^1.3.3", | ||
"axios-mock-adapter": "^1.20.0", | ||
"eslint": "^8.13.0", | ||
"eslint-config-prettier": "^8.3.0", | ||
"eslint-plugin-import": "^2.24.2", | ||
"eslint-plugin-prettier": "^4.0.0", | ||
"eslint-plugin-promise": "^6.0.0", | ||
"husky": "^8.0.1", | ||
"jsdom": "^21.1.0", | ||
"lint-staged": ">=10", | ||
"nodemon": "^2.0.12", | ||
"nuxt": "^2.15.8", | ||
"prettier": "^2.4.1", | ||
"rimraf": "^5.0.1", | ||
"standard-version": "^9.3.1", | ||
"@commitlint/cli": "^17.7.1", | ||
"@commitlint/config-conventional": "^17.7.0", | ||
"@nuxt/types": "^2.16.3", | ||
"@types/lodash": "^4.14.199", | ||
"@types/node": "^20.7.0", | ||
"@types/qs": "^6.9.8", | ||
"@typescript-eslint/eslint-plugin": "^5.62.0", | ||
"@typescript-eslint/parser": "^5.62.0", | ||
"@vitest/coverage-v8": "^0.34.5", | ||
"@vue/test-utils": "^1.3.6", | ||
"axios-mock-adapter": "^1.22.0", | ||
"eslint": "^8.50.0", | ||
"eslint-config-prettier": "^9.0.0", | ||
"eslint-plugin-import": "^2.28.1", | ||
"eslint-plugin-prettier": "^4.2.1", | ||
"eslint-plugin-promise": "^6.1.1", | ||
"husky": "^8.0.3", | ||
"jsdom": "^22.1.0", | ||
"lint-staged": ">=14.0.1", | ||
"nodemon": "^3.0.1", | ||
"nuxt": "^2.16.3", | ||
"prettier": "^2.8.8", | ||
"rimraf": "^5.0.4", | ||
"sass": "^1.68.0", | ||
"standard-version": "^9.5.0", | ||
"ts-node": "^10.9.1", | ||
"typescript": "^5.0.4", | ||
"vite": "^4.0.4", | ||
"vitest": "^0.31.1", | ||
"vite": "^4.4.9", | ||
"vitest": "^0.34.5", | ||
"vue": "^2.7.14" | ||
@@ -80,0 +81,0 @@ }, |
58146
659
30