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.4 to 1.4.5

types/index.d.ts

2

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

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

/**
* vxe-ajax.js v1.4.4
* vxe-ajax.js v1.4.5
* (c) 2017-2018 Xu Liangzhan

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

{
"name": "vxe-ajax",
"version": "1.4.4",
"version": "1.4.5",
"description": "A small wrapper for integrating xe-ajax to Vuejs.",
"main": "index.js",
"typing": "index.d.ts",
"typing": "types/index.d.ts",
"scripts": {

@@ -13,7 +13,7 @@ "lint": "eslint dist/vxe-ajax.js index.js",

"src",
"dist/*.js"
"types",
"dist"
],
"devDependencies": {
"vue": "^2.5.17",
"xe-utils": "^1.6.23",
"eslint": "^5.9.0",

@@ -43,3 +43,3 @@ "eslint-config-standard": "^12.0.0",

},
"license": "ISC",
"license": "MIT",
"bugs": {

@@ -46,0 +46,0 @@ "url": "https://github.com/xuliangzhan/vxe-ajax/issues"

@@ -24,3 +24,3 @@ # 用于 Vue 全局安装 xe-ajax

define(['vue', 'xe-ajax', 'vxe-ajax'], function (Vue, XEAjax, VXEAjax) {
// 非 ES6 环境中如果需要启用模拟 Promise 模式对vue 实例上下文的支持(和 ES6 箭头函数效果一样),设置 {context: true}
// ES5 环境中可以设置 {context: true} 模拟箭头函数
Vue.use(VXEAjax, XEAjax, {context: true})

@@ -27,0 +27,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