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 1.4.7 to 1.4.8

15

dist/vxe-ajax.js
/**
* vxe-ajax.js v1.4.6
* vxe-ajax.js v1.4.8
* (c) 2017-2018 Xu Liangzhan

@@ -8,13 +8,13 @@ * ISC License.

(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory()
: typeof define === 'function' && define.amd ? define(factory)
: (global.VXEAjax = factory())
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
typeof define === 'function' && define.amd ? define(factory) :
(global.VXEAjax = factory());
}(this, function () {
'use strict'
function bindPromiseContext (callback, context) {
function bindPromiseContext(callback, context) {
return typeof callback === 'function' ? callback.bind(context) : callback
}
function XEPromise (executor, context) {
function XEPromise(executor, context) {
this.promise = executor instanceof Promise ? executor : new Promise(executor.bind(context))

@@ -48,3 +48,3 @@ this.context = context

function VXEAjax (Vue, XEAjax, options) {
function VXEAjax(Vue, XEAjax, options) {
if (options && (options === true || options.context === true)) {

@@ -63,3 +63,4 @@ Object.defineProperty(Vue.prototype, '$ajax', {

return VXEAjax
}))
/**
* vxe-ajax.js v1.4.6
* vxe-ajax.js v1.4.8
* (c) 2017-2018 Xu Liangzhan

@@ -4,0 +4,0 @@ * ISC License.

{
"name": "vxe-ajax",
"version": "1.4.7",
"version": "1.4.8",
"description": "A small wrapper for integrating xe-ajax to Vuejs.",

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

@@ -19,4 +19,4 @@ # vxe-ajax

<script src="https://cdn.jsdelivr.net/npm/vue"></script>
<script src="https://unpkg.com/xe-ajax/dist/xe-ajax.min.js"></script>
<script src="https://unpkg.com/vxe-ajax/dist/vxe-ajax.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/xe-ajax"></script>
<script src="https://cdn.jsdelivr.net/npm/vxe-ajax"></script>
```

@@ -23,0 +23,0 @@

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