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 3.1.0 to 3.1.2

11

CHANGELOG.md

@@ -6,2 +6,13 @@ # Change Log

<a name="3.1.2"></a>
## [3.1.2](https://github.com/nuxt/modules/compare/@nuxtjs/axios@3.1.0...@nuxtjs/axios@3.1.2) (2017-08-05)
### Bug Fixes
* **axios:** fix requestInterceptor serialization with babel (#108) ([d62946a](https://github.com/nuxt/modules/commit/d62946a)), closes [#108](https://github.com/nuxt/modules/issues/108)
<a name="3.1.0"></a>

@@ -8,0 +19,0 @@ # [3.1.0](https://github.com/nuxt/modules/compare/@nuxtjs/axios@3.0.1...@nuxtjs/axios@3.1.0) (2017-07-31)

2

package.json
{
"name": "@nuxtjs/axios",
"version": "3.1.0",
"version": "3.1.2",
"license": "MIT",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -140,3 +140,3 @@ import Axios from 'axios'

// Custom request interceptor
const reqInter = <%= serialize(options.requestInterceptor).replace('requestInterceptor(', 'function(') %>
const reqInter = <%= serialize(options.requestInterceptor).replace('requestInterceptor(', 'function(').replace('function function', 'function') %>
axios.interceptors.request.use(

@@ -143,0 +143,0 @@ (config) => reqInter(config, ctx)

@@ -199,3 +199,3 @@ # Axios

Please notice that, `API_URL` is saved into bundle on build, CANNOT be changed
on runtime! You may use [proxy](../proxy) module for dynamically route api requests to different backend on test/staging/production.
on runtime! You may use [proxy](../proxy) module to dynamically route api requests on test/staging/production.

@@ -202,0 +202,0 @@ **Example: (`nuxt.config.js`)**

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