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

vxe-ajax

Package Overview
Dependencies
Maintainers
1
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vxe-ajax - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

7

dist/vxe-ajax.common.js

@@ -9,3 +9,8 @@ "use strict";

function VXEAjax(Vue, XEAjax) {
Vue.prototype.$ajax = XEAjax;
Object.defineProperty(Vue.prototype, '$ajax', {
get: function get() {
XEAjax.$context = this;
return XEAjax;
}
});
}

@@ -12,0 +17,0 @@

@@ -22,3 +22,8 @@ (function (global, factory) {

function VXEAjax(Vue, XEAjax) {
Vue.prototype.$ajax = XEAjax;
Object.defineProperty(Vue.prototype, '$ajax', {
get: function get() {
XEAjax.$context = this;
return XEAjax;
}
});
}

@@ -25,0 +30,0 @@

2

dist/vxe-ajax.min.js

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

!function(e,t){if("function"==typeof define&&define.amd)define("vxe-ajax",["exports"],t);else if("undefined"!=typeof exports)t(exports);else{var f={exports:{}};t(f.exports),e.VXEAjax=f.exports.default}}("undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:this,function(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;function t(e,t){e.prototype.$ajax=t}e.default=t});
!function(e,t){if("function"==typeof define&&define.amd)define("vxe-ajax",["exports"],t);else if("undefined"!=typeof exports)t(exports);else{var f={exports:{}};t(f.exports),e.VXEAjax=f.exports.default}}("undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:this,function(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;function t(e,t){Object.defineProperty(e.prototype,"$ajax",{get:function(){return t.$context=this,t}})}e.default=t});
function VXEAjax (Vue, XEAjax) {
Vue.prototype.$ajax = XEAjax
Object.defineProperty(Vue.prototype, '$ajax', {
get: function () {
XEAjax.$context = this
return XEAjax
}
})
}
export default VXEAjax
{
"name": "vxe-ajax",
"version": "2.0.0",
"version": "2.0.1",
"description": "用于 Vue 全局安装 xe-ajax",

@@ -5,0 +5,0 @@ "main": "dist/index.common.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