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

a-tracker

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

a-tracker - npm Package Compare versions

Comparing version 1.0.8 to 1.0.10

12

m.js

@@ -36,9 +36,11 @@ let initFlag = false; // 初始化完成标记

function jsBridgeReady(callback) {
// 如果 jsbridge 已经注入则直接调用
if (window.AlipayJSBridge) {
callback && callback();
} else {
// #ifdef H5
if (typeof AlipayJSBridge === 'undefined' && typeof document !== 'undefined') {
// 如果没有注入则监听注入的事件
document.addEventListener('AlipayJSBridgeReady', callback, false);
return document.addEventListener('AlipayJSBridgeReady', callback, false);
}
// 如果 jsbridge 已经注入则直接调用
callback && callback();
// #endif
}

@@ -45,0 +47,0 @@

{
"name": "a-tracker",
"version": "1.0.8",
"version": "1.0.10",
"main": "index.js",

@@ -5,0 +5,0 @@ "repository": "https://github.com/joenix/a-tracker.git",

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