Socket
Socket
Sign inDemoInstall

@nuxtjs/axios

Package Overview
Dependencies
5
Maintainers
5
Versions
86
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 5.10.0 to 5.10.1

2

CHANGELOG.md

@@ -5,2 +5,4 @@ # Changelog

### [5.10.1](https://github.com/nuxt-community/axios-module/compare/v5.10.0...v5.10.1) (2020-04-22)
## [5.10.0](https://github.com/nuxt-community/axios-module/compare/v5.9.7...v5.10.0) (2020-04-21)

@@ -7,0 +9,0 @@

11

lib/plugin.js

@@ -7,9 +7,2 @@ import Axios from 'axios'

// Check Node.js brotli support
let brotliSupported
if (process.server) {
const zlib = require('zlib')
brotliSupported = typeof zlib.createBrotliDecompress == 'function'
}
// Axios.prototype cannot be modified

@@ -217,4 +210,4 @@ const axiosExtra = {

// Don't accept brotli encoding because Node can't parse it
if (process.server && !brotliSupported) {
if (process.server) {
// Don't accept brotli encoding because Node can't parse it
axiosOptions.headers.common['accept-encoding'] = 'gzip, deflate'

@@ -221,0 +214,0 @@ }

{
"name": "@nuxtjs/axios",
"version": "5.10.0",
"version": "5.10.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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc