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

@cloudbase/analytics

Package Overview
Dependencies
Maintainers
19
Versions
99
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cloudbase/analytics - npm Package Compare versions

Comparing version 2.5.22-beta.0 to 2.5.23-beta.0

8

dist/cjs/index.js

@@ -26,3 +26,3 @@ "use strict";

if (f) throw new TypeError("Generator is already executing.");
while (_) try {
while (g && (g = 0, op[0] && (_ = 0)), _) try {
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;

@@ -84,3 +84,3 @@ if (y = 0, t) op = [op[0] & 2, t.value];

code: ERRORS.INVALID_PARAMS,
msg: "[" + COMPONENT_NAME + ".analytics] invalid report data",
msg: "[".concat(COMPONENT_NAME, ".analytics] invalid report data"),
}));

@@ -117,3 +117,3 @@ }

' 1 - 调用 analytics() 的语法或参数是否正确',
"\u5982\u679C\u95EE\u9898\u4F9D\u7136\u5B58\u5728\uFF0C\u5EFA\u8BAE\u5230\u5B98\u65B9\u95EE\u7B54\u793E\u533A\u63D0\u95EE\u6216\u5BFB\u627E\u5E2E\u52A9\uFF1A" + COMMUNITY_SITE_URL,
"\u5982\u679C\u95EE\u9898\u4F9D\u7136\u5B58\u5728\uFF0C\u5EFA\u8BAE\u5230\u5B98\u65B9\u95EE\u7B54\u793E\u533A\u63D0\u95EE\u6216\u5BFB\u627E\u5E2E\u52A9\uFF1A".concat(COMMUNITY_SITE_URL),
],

@@ -147,2 +147,2 @@ }),

exports.registerAnalytics = registerAnalytics;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI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ZXN0RGF0YS5yZXBvcnRfdHlwZSxcbiAgICAgIGFuYWx5dGljc19kYXRhOiBPYmplY3QuYXNzaWduKHt9LCByZXF1ZXN0RGF0YS5yZXBvcnRfZGF0YSwge1xuICAgICAgICBhY3Rpb25fdGltZTogYWN0aW9uVGltZSxcbiAgICAgIH0pLFxuICAgIH1cblxuICAgIGNvbnN0IHBhcmFtcyA9IHtcbiAgICAgIHJlcXVlc3REYXRhOiB0cmFuc2Zvcm1EYXRhLFxuICAgIH1cbiAgICAvLyBAdHMtaWdub3JlXG4gICAgY29uc3QgeyByZXF1ZXN0IH0gPSB0aGlzXG5cbiAgICByZXF1ZXN0LnNlbmQoYWN0aW9uLCBwYXJhbXMpXG4gIH1cbn1cblxuY29uc3QgY2xvdWRiYXNlQW5hbHl0aWNzID0gbmV3IENsb3VkYmFzZUFuYWx5dGljcygpXG5cbmNvbnN0IGNvbXBvbmVudDogSUNsb3VkYmFzZUNvbXBvbmVudCA9IHtcbiAgbmFtZTogQ09NUE9ORU5UX05BTUUsXG4gIGVudGl0eToge1xuICAgIGFuYWx5dGljczogY2xvdWRiYXNlQW5hbHl0aWNzLmFuYWx5dGljcyxcbiAgfSxcbn1cbnRyeSB7XG4gIGNsb3VkYmFzZS5yZWdpc3RlckNvbXBvbmVudChjb21wb25lbnQpXG59IGNhdGNoIChlKSB7IH1cblxuZXhwb3J0IGZ1bmN0aW9uIHJlZ2lzdGVyQW5hbHl0aWNzKGFwcDogUGljazxJQ2xvdWRiYXNlLCAncmVnaXN0ZXJDb21wb25lbnQnPikge1xuICB0cnkge1xuICAgIGFwcC5yZWdpc3RlckNvbXBvbmVudChjb21wb25lbnQpXG4gIH0gY2F0Y2ggKGUpIHtcbiAgICBjb25zb2xlLndhcm4oZSlcbiAgfVxufVxuIl19

@@ -25,3 +25,3 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {

if (f) throw new TypeError("Generator is already executing.");
while (_) try {
while (g && (g = 0, op[0] && (_ = 0)), _) try {
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;

@@ -81,3 +81,3 @@ if (y = 0, t) op = [op[0] & 2, t.value];

code: ERRORS.INVALID_PARAMS,
msg: "[" + COMPONENT_NAME + ".analytics] invalid report data",
msg: "[".concat(COMPONENT_NAME, ".analytics] invalid report data"),
}));

@@ -114,3 +114,3 @@ }

' 1 - 调用 analytics() 的语法或参数是否正确',
"\u5982\u679C\u95EE\u9898\u4F9D\u7136\u5B58\u5728\uFF0C\u5EFA\u8BAE\u5230\u5B98\u65B9\u95EE\u7B54\u793E\u533A\u63D0\u95EE\u6216\u5BFB\u627E\u5E2E\u52A9\uFF1A" + COMMUNITY_SITE_URL,
"\u5982\u679C\u95EE\u9898\u4F9D\u7136\u5B58\u5728\uFF0C\u5EFA\u8BAE\u5230\u5B98\u65B9\u95EE\u7B54\u793E\u533A\u63D0\u95EE\u6216\u5BFB\u627E\u5E2E\u52A9\uFF1A".concat(COMMUNITY_SITE_URL),
],

@@ -143,2 +143,2 @@ }),

}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7O0FBR0EsT0FBTyxFQUFFLFNBQVMsRUFBRSxPQUFPLEVBQUUsTUFBTSxzQkFBc0IsQ0FBQTtBQUlqRCxJQUFBLE1BQU0sR0FBeUIsU0FBUyxPQUFsQyxFQUFFLGtCQUFrQixHQUFLLFNBQVMsbUJBQWQsQ0FBYztBQUN4QyxJQUFBLG9CQUFvQixHQUFLLE9BQU8scUJBQVosQ0FBWTtBQUV4QyxJQUFNLG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ICAgIHJlcXVlc3REYXRhOiB0cmFuc2Zvcm1EYXRhLFxuICAgIH1cbiAgICAvLyBAdHMtaWdub3JlXG4gICAgY29uc3QgeyByZXF1ZXN0IH0gPSB0aGlzXG5cbiAgICByZXF1ZXN0LnNlbmQoYWN0aW9uLCBwYXJhbXMpXG4gIH1cbn1cblxuY29uc3QgY2xvdWRiYXNlQW5hbHl0aWNzID0gbmV3IENsb3VkYmFzZUFuYWx5dGljcygpXG5cbmNvbnN0IGNvbXBvbmVudDogSUNsb3VkYmFzZUNvbXBvbmVudCA9IHtcbiAgbmFtZTogQ09NUE9ORU5UX05BTUUsXG4gIGVudGl0eToge1xuICAgIGFuYWx5dGljczogY2xvdWRiYXNlQW5hbHl0aWNzLmFuYWx5dGljcyxcbiAgfSxcbn1cbnRyeSB7XG4gIGNsb3VkYmFzZS5yZWdpc3RlckNvbXBvbmVudChjb21wb25lbnQpXG59IGNhdGNoIChlKSB7IH1cblxuZXhwb3J0IGZ1bmN0aW9uIHJlZ2lzdGVyQW5hbHl0aWNzKGFwcDogUGljazxJQ2xvdWRiYXNlLCAncmVnaXN0ZXJDb21wb25lbnQnPikge1xuICB0cnkge1xuICAgIGFwcC5yZWdpc3RlckNvbXBvbmVudChjb21wb25lbnQpXG4gIH0gY2F0Y2ggKGUpIHtcbiAgICBjb25zb2xlLndhcm4oZSlcbiAgfVxufVxuIl19
{
"name": "@cloudbase/analytics",
"version": "2.5.22-beta.0",
"version": "2.5.23-beta.0",
"description": "cloudbase javascript sdk functions componets",

@@ -21,14 +21,9 @@ "author": "",

"build": "npm run lint && npm run tsc",
"precommit": "lint-staged"
"precommit": "npm run lint"
},
"lint-staged": {
"**/*.ts": [
"eslint --fix"
]
},
"dependencies": {
"@cloudbase/types": "^2.5.22-beta.0",
"@cloudbase/utilities": "^2.5.22-beta.0"
"@cloudbase/types": "^2.5.23-beta.0",
"@cloudbase/utilities": "^2.5.23-beta.0"
},
"gitHead": "7454c04cb850ac9b0501d5d16755eb529a81d0b5"
"gitHead": "1736071e3d6d88659b37fcf216081b0e9e2d656d"
}

Sorry, the diff of this file is not supported yet

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