@nuxtjs/axios
Advanced tools
Comparing version 5.0.0 to 5.0.1
@@ -5,2 +5,12 @@ # Change Log | ||
<a name="5.0.1"></a> | ||
## [5.0.1](https://github.com/nuxt-community/axios-module/compare/v5.0.0...v5.0.1) (2018-02-08) | ||
### Bug Fixes | ||
* don't mutate env.API_URL ([a8ea331](https://github.com/nuxt-community/axios-module/commit/a8ea331)) | ||
<a name="5.0.0"></a> | ||
@@ -7,0 +17,0 @@ # [5.0.0](https://github.com/nuxt-community/axios-module/compare/v5.0.0-rc.2...v5.0.0) (2018-02-04) |
@@ -55,4 +55,2 @@ const chalk = require('chalk') | ||
options.baseURL = process.env.API_URL | ||
} else { | ||
process.env.API_URL = options.baseURL | ||
} | ||
@@ -97,2 +95,5 @@ | ||
// Set _AXIOS_BASE_URL_ for dynamic SSR baseURL | ||
process.env._AXIOS_BASE_URL_ = options.baseURL | ||
/* eslint-disable no-console */ | ||
@@ -99,0 +100,0 @@ debug( |
@@ -139,4 +139,4 @@ import Axios from 'axios' | ||
baseURL : process.browser | ||
? (process.env.API_URL_BROWSER || '<%= options.browserBaseURL %>') | ||
: (process.env.API_URL || '<%= options.baseURL %>'), | ||
? '<%= options.browserBaseURL %>' | ||
: (process.env._AXIOS_BASE_URL_ || '<%= options.baseURL %>'), | ||
@@ -143,0 +143,0 @@ // Create fresh objects for all default header scopes |
{ | ||
"name": "@nuxtjs/axios", | ||
"version": "5.0.0", | ||
"version": "5.0.1", | ||
"description": "Secure and easy axios integration with Nuxt.js", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
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
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
31554
14