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

ctu-mlib

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ctu-mlib - npm Package Compare versions

Comparing version 0.1.5 to 0.1.6

2

package.json
{
"name": "ctu-mlib",
"version": "0.1.5",
"version": "0.1.6",
"description": "",

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

/**
* 微信相关封装
*/
import $ from '../../zepto/zepto'
import '../../zepto/ajax'
const $ = require('../../zepto/zepto')
require('../../zepto/ajax')
const wx = window.wx
const isWX = /MicroMessenger/i.test(navigator.userAgent)
var wx = window.wx
var isWX = /MicroMessenger/i.test(navigator.userAgent)

@@ -13,3 +13,3 @@ /**

*/
exports.share = function(options) {
var share = function(options) {
if (!isWX || !wx) {

@@ -42,2 +42,6 @@ return

module.exports = {
share: share
}
function mix(to, from) {

@@ -44,0 +48,0 @@ for (var i in from) {

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