Socket
Socket
Sign inDemoInstall

@nuxtjs/axios

Package Overview
Dependencies
Maintainers
3
Versions
86
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nuxtjs/axios - npm Package Compare versions

Comparing version 5.0.0 to 5.0.1

10

CHANGELOG.md

@@ -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)

5

lib/module.js

@@ -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(

4

lib/plugin.template.js

@@ -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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc