Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: nuxt-community/axios-module
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v5.9.6
Choose a base ref
...
head repository: nuxt-community/axios-module
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v5.9.7
Choose a head ref
  • 2 commits
  • 3 files changed
  • 2 contributors

Commits on Mar 30, 2020

  1. Copy the full SHA
    b8a510e View commit details
  2. chore(release): 5.9.7

    pooya parsa committed Mar 30, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    6c25966 View commit details
Showing with 10 additions and 3 deletions.
  1. +7 −0 CHANGELOG.md
  2. +2 −2 lib/plugin.js
  3. +1 −1 package.json
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -2,6 +2,13 @@

All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.

### [5.9.7](https://github.com/nuxt-community/axios-module/compare/v5.9.6...v5.9.7) (2020-03-30)


### Bug Fixes

* **plugin:** don't convert falsy urls to string ([#347](https://github.com/nuxt-community/axios-module/issues/347)) ([b8a510e](https://github.com/nuxt-community/axios-module/commit/b8a510ee989fabf10d93d99a7ae1e17c0fc3eca0))

### [5.9.6](https://github.com/nuxt-community/axios-module/compare/v5.9.5...v5.9.6) (2020-03-27)


4 changes: 2 additions & 2 deletions lib/plugin.js
Original file line number Diff line number Diff line change
@@ -180,8 +180,8 @@ const setupProgress = (axios) => {
export default (ctx, inject) => {
// baseURL
const baseURL = process.browser
? '<%= options.browserBaseURL %>'
: (process.env._AXIOS_BASE_URL_ || '<%= options.baseURL %>')
? '<%= options.browserBaseURL || '' %>'
: (process.env._AXIOS_BASE_URL_ || '<%= options.baseURL || '' %>')

// Create fresh objects for all default header scopes
// Axios creates only one which is shared across SSR requests!
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@nuxtjs/axios",
"version": "5.9.6",
"version": "5.9.7",
"description": "Secure and easy axios integration with Nuxt.js",
"license": "MIT",
"contributors": [