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

medusa-telemetry

Package Overview
Dependencies
Maintainers
2
Versions
1405
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

medusa-telemetry - npm Package Compare versions

Comparing version 0.0.13-next.0 to 0.0.13-test.1

.turbo/turbo-build.log

12

CHANGELOG.md
# Change Log
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## 0.0.13-test.1
## [0.0.12](https://github.com/medusajs/medusa/compare/medusa-telemetry@0.0.11...medusa-telemetry@0.0.12) (2022-04-27)
### Patch Changes
**Note:** Version bump only for package medusa-telemetry
-
## 0.0.12-test.0
### Patch Changes
- [#2017](https://github.com/medusajs/medusa/pull/2017) [`900260c5b`](https://github.com/medusajs/medusa/commit/900260c5b9df4f4f927db5bb6921e5e139ff269a) Thanks [@olivermrbl](https://github.com/olivermrbl)! - Adds enabled features flags to tracking event in `medusa-telemetry`
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

@@ -14,0 +18,0 @@ ## [0.0.11](https://github.com/medusajs/medusa/compare/medusa-telemetry@0.0.10...medusa-telemetry@0.0.11) (2021-12-08)

@@ -15,2 +15,3 @@ "use strict";

exports.track = exports.setTelemetryEnabled = exports.flush = void 0;
exports.trackFeatureFlag = trackFeatureFlag;

@@ -41,2 +42,6 @@ var _telemeter = _interopRequireDefault(require("./telemeter"));

exports.setTelemetryEnabled = setTelemetryEnabled;
exports.setTelemetryEnabled = setTelemetryEnabled;
function trackFeatureFlag(flag) {
telemeter.trackFeatureFlag(flag);
}

@@ -14,12 +14,14 @@ "use strict";

var _fs = _interopRequireDefault(require("fs"));
var _isDocker = _interopRequireDefault(require("is-docker"));
var _os = _interopRequireDefault(require("os"));
var _fs = _interopRequireDefault(require("fs"));
var _path = require("path");
var _isDocker = _interopRequireDefault(require("is-docker"));
var _uuid = require("uuid");
var _store = _interopRequireDefault(require("./store"));
var _createFlush = _interopRequireDefault(require("./util/create-flush"));

@@ -29,2 +31,4 @@

var _isCi = require("./util/is-ci");
var _isTruthy = _interopRequireDefault(require("./util/is-truthy"));

@@ -34,6 +38,2 @@

var _isCi = require("./util/is-ci");
var _store = _interopRequireDefault(require("./store"));
var MEDUSA_TELEMETRY_VERBOSE = process.env.MEDUSA_TELEMETRY_VERBOSE || false;

@@ -52,2 +52,3 @@

this.queueCount_ = this.store_.getQueueCount();
this.featureFlags_ = new Set();
}

@@ -177,3 +178,4 @@

medusa_version: this.getMedusaVersion(),
cli_version: this.getCliVersion()
cli_version: this.getCliVersion(),
feature_flags: Array.from(this.featureFlags_)
};

@@ -199,2 +201,9 @@ this.store_.addEvent(event);

}
}, {
key: "trackFeatureFlag",
value: function trackFeatureFlag(flag) {
if (flag) {
this.featureFlags_.add(flag);
}
}
}]);

@@ -201,0 +210,0 @@ return Telemeter;

{
"name": "medusa-telemetry",
"version": "0.0.13-next.0+b4e3e9b4",
"version": "0.0.13-test.1",
"description": "Telemetry for Medusa",

@@ -20,3 +20,3 @@ "main": "dist/index.js",

"@babel/preset-typescript": "^7.15.0",
"babel-preset-medusa-package": "^1.1.21-next.0+b4e3e9b4",
"babel-preset-medusa-package": "^1.1.19",
"cross-env": "^5.2.1",

@@ -30,9 +30,8 @@ "eslint": "^6.8.0",

"start": "nodemon --watch plugins/ --watch src/ --exec babel-node src/app.js",
"watch": "babel -w src --out-dir dist/ --ignore **/__tests__ --extensions \".ts,.js\"",
"prepare": "cross-env NODE_ENV=production npm run build",
"build": "babel src -d dist --ignore **/__tests__ --extensions \".ts,.js\"",
"prepare": "cross-env NODE_ENV=production yarn run build",
"watch": "babel -w src --out-dir dist/ --extensions \".ts,.js\"",
"build": "babel src -d dist --extensions \".ts,.js\"",
"serve": "node dist/app.js",
"postinstall": "node dist/postinstall.js || true",
"test": "jest",
"test:unit": "jest"
"test": "jest --passWithNoTests"
},

@@ -50,3 +49,3 @@ "dependencies": {

},
"gitHead": "b4e3e9b404bb3defd06b00eec1607604b41cea3c"
"gitHead": "41a5425405aea5045a26def95c0dc00cf4a5a44d"
}
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