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.0.1 to 2.0.2

1

dist/vue-axios.es5.js

@@ -18,2 +18,3 @@ "use strict";

}
plugin.installed = true;

@@ -20,0 +21,0 @@ if (!axios) {

2

dist/vue-axios.min.js

@@ -1,1 +0,1 @@

"use strict";var _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o){return typeof o}:function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o};!function(){function o(e,t){if(!o.installed){if(!t)return void console.error("You have to install axios");e.axios=t,Object.defineProperties(e.prototype,{axios:{get:function(){return t}},$http:{get:function(){return t}}})}}"object"==("undefined"==typeof exports?"undefined":_typeof(exports))?module.exports=o:"function"==typeof define&&define.amd?define([],function(){return o}):window.Vue&&window.axios&&Vue.use(o,window.axios)}();
"use strict";var _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o){return typeof o}:function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o};!function(){function o(e,t){if(!o.installed){if(o.installed=!0,!t)return void console.error("You have to install axios");e.axios=t,Object.defineProperties(e.prototype,{axios:{get:function(){return t}},$http:{get:function(){return t}}})}}"object"==("undefined"==typeof exports?"undefined":_typeof(exports))?module.exports=o:"function"==typeof define&&define.amd?define([],function(){return o}):window.Vue&&window.axios&&Vue.use(o,window.axios)}();
{
"name": "vue-axios",
"version": "2.0.1",
"version": "2.0.2",
"description": "A small wrapper for integrating axios to Vuejs",

@@ -5,0 +5,0 @@ "main": "dist/vue-axios.min.js",

@@ -34,2 +34,6 @@ # vue-axios

})
this.$http.get(api).then((response) => {
console.log(response.data)
})
```

@@ -12,4 +12,5 @@ (function () {

if (plugin.installed) {
return;
return
}
plugin.installed = true

@@ -27,3 +28,3 @@ if (!axios) {

get() {
return axios;
return axios
}

@@ -34,17 +35,17 @@ },

get() {
return axios;
return axios
}
}
});
})
}
if (typeof exports == "object") {
module.exports = plugin;
module.exports = plugin
} else if (typeof define == "function" && define.amd) {
define([], function(){ return plugin });
define([], function(){ return plugin })
} else if (window.Vue && window.axios) {
Vue.use(plugin, window.axios);
Vue.use(plugin, window.axios)
}
})();
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