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

bxs-lib-weapp-analytics

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bxs-lib-weapp-analytics - npm Package Compare versions

Comparing version 1.0.4 to 1.0.5

7

dist/weappAnalytics.cjs.js

@@ -75,3 +75,3 @@ 'use strict';

traceInfo.pageId = pageId ? pageId : '';
traceInfo.data = projectInfo ? projectInfo : null;
traceInfo.ep = projectInfo ? projectInfo : null;
trace(pageId, undefined, 0, projectInfo);

@@ -84,6 +84,3 @@ }

if (data) {
data = Object.assign(data, traceInfo.data);
}
data = Object.assign({}, data, traceInfo.ep);
trace(traceInfo.pageId, eleId, 2, data);

@@ -90,0 +87,0 @@ } // 页面隐藏

@@ -65,3 +65,3 @@ const APIVersion = '0.6.0';

traceInfo.pageId = pageId ? pageId : '';
traceInfo.data = projectInfo ? projectInfo : null;
traceInfo.ep = projectInfo ? projectInfo : null;
trace(pageId, undefined, 0, projectInfo);

@@ -74,5 +74,3 @@ }

}
if (data) {
data = Object.assign(data, traceInfo.data);
}
data = Object.assign({}, data, traceInfo.ep);
trace(traceInfo.pageId, eleId, 2, data);

@@ -79,0 +77,0 @@ }

(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
typeof define === 'function' && define.amd ? define(['exports'], factory) :
(global = global || self, factory(global.WeiyiStatSDK = {}));
}(this, function (exports) { 'use strict';
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.WeiyiStatSDK = {}));
}(this, (function (exports) { 'use strict';

@@ -77,3 +77,3 @@ var APIVersion = '0.6.0';

traceInfo.pageId = pageId ? pageId : '';
traceInfo.data = projectInfo ? projectInfo : null;
traceInfo.ep = projectInfo ? projectInfo : null;
trace(pageId, undefined, 0, projectInfo);

@@ -86,6 +86,3 @@ }

if (data) {
data = Object.assign(data, traceInfo.data);
}
data = Object.assign({}, data, traceInfo.ep);
trace(traceInfo.pageId, eleId, 2, data);

@@ -128,2 +125,2 @@ } // 页面隐藏

}));
})));
{
"name": "bxs-lib-weapp-analytics",
"version": "1.0.4",
"version": "1.0.5",
"description": "bxs 小程序埋",

@@ -19,4 +19,5 @@ "main": "dist/weappAnalytics.cjs.js",

"@babel/preset-env": "^7.5.5",
"rollup": "^2.23.0",
"rollup-plugin-babel": "^4.3.3"
}
}
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