Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

vue-axios

Package Overview
Dependencies
Maintainers
1
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-axios - npm Package Compare versions

Comparing version 2.1.4 to 2.1.5

10

index.d.ts
import Vue, {PluginFunction, PluginObject} from "vue";
import {AxiosInstance} from "axios";
import { AxiosStatic } from "axios";

@@ -7,8 +7,8 @@ declare module "vue/types/vue" {

interface Vue {
axios: AxiosInstance;
$http: AxiosInstance;
axios: AxiosStatic;
$http: AxiosStatic;
}
interface VueConstructor {
axios: AxiosInstance;
axios: AxiosStatic;
}

@@ -18,5 +18,5 @@ }

declare class VueAxios {
static install: PluginFunction<AxiosInstance>;
static install: PluginFunction<AxiosStatic>;
}
export default VueAxios;
{
"name": "vue-axios",
"version": "2.1.4",
"version": "2.1.5",
"description": "A small wrapper for integrating axios to Vuejs",

@@ -32,10 +32,10 @@ "main": "dist/vue-axios.min.js",

"devDependencies": {
"axios": "^0.17.1",
"babel-core": "^6.18.0",
"babel-preset-es2015": "^6.18.0",
"axios": "^0.19.0",
"babel-core": "^6.26.3",
"gulp": "^3.9.1",
"gulp-babel": "^6.1.2",
"gulp-rename": "^1.2.2",
"babel-preset-es2015": "^6.24.1",
"gulp-rename": "^1.4.0",
"gulp-uglifyjs": "^0.6.2",
"vue": "^2.5.13"
"vue": "^2.6.10"
},

@@ -42,0 +42,0 @@ "peerDependencies": {

@@ -25,3 +25,3 @@ # vue-axios

You can `axios` like this:
You can use `axios` like this:
```js

@@ -40,1 +40,3 @@ Vue.axios.get(api).then((response) => {

```
Please kindly check full documention of [axios](https://github.com/axios/axios) too
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