medusa-telemetry
Advanced tools
Comparing version 0.0.15 to 0.0.16-next-20230115161924
# Change Log | ||
## 0.0.16-next-20230115161924 | ||
### Patch Changes | ||
- [#3025](https://github.com/medusajs/medusa/pull/3025) [`93d0dc1bd`](https://github.com/medusajs/medusa/commit/93d0dc1bdcb54cf6e87428a7bb9b0dac196b4de2) Thanks [@adrien2p](https://github.com/adrien2p)! - fix(medusa): test, build and watch scripts | ||
## 0.0.15 | ||
@@ -4,0 +10,0 @@ |
@@ -10,2 +10,4 @@ "use strict"; | ||
var _typeof2 = _interopRequireDefault(require("@babel/runtime/helpers/typeof")); | ||
var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck")); | ||
@@ -64,3 +66,3 @@ | ||
if (typeof machineId !== "string") { | ||
if ((0, _typeof2["default"])(machineId) !== "string") { | ||
machineId = (0, _uuid.v4)(); | ||
@@ -67,0 +69,0 @@ this.store_.setConfig("telemetry.machine_id", machineId); |
@@ -11,2 +11,4 @@ "use strict"; | ||
var _typeof2 = _interopRequireDefault(require("@babel/runtime/helpers/typeof")); | ||
var _ciInfo = _interopRequireDefault(require("ci-info")); | ||
@@ -101,3 +103,3 @@ | ||
function herokuDetect() { | ||
return typeof process.env.NODE === "string" && /\.heroku\/node\/bin\/node/.test(process.env.NODE) && "Heroku"; | ||
return (0, _typeof2["default"])(process.env.NODE) === "string" && /\.heroku\/node\/bin\/node/.test(process.env.NODE) && "Heroku"; | ||
} | ||
@@ -104,0 +106,0 @@ |
"use strict"; | ||
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); | ||
Object.defineProperty(exports, "__esModule", { | ||
@@ -8,2 +10,4 @@ value: true | ||
var _typeof2 = _interopRequireDefault(require("@babel/runtime/helpers/typeof")); | ||
// Returns true for `true`, true, positive numbers | ||
@@ -13,3 +17,3 @@ // Returns false for `false`, false, 0, negative integers and anything else | ||
// Return if Boolean | ||
if (typeof value === "boolean") return value; // Return false if null or undefined | ||
if ((0, _typeof2["default"])(value) === "boolean") return value; // Return false if null or undefined | ||
@@ -16,0 +20,0 @@ if (value === undefined || value === null) return false; // If the String is true or false |
{ | ||
"name": "medusa-telemetry", | ||
"version": "0.0.15", | ||
"version": "0.0.16-next-20230115161924", | ||
"description": "Telemetry for Medusa", | ||
@@ -28,7 +28,7 @@ "main": "dist/index.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\"", | ||
"watch": "babel -w src --out-dir dist/ --extensions \".ts,.js\" --ignore '**/__tests__','**/__mocks__'", | ||
"build": "babel src -d dist --extensions \".ts,.js\" --ignore '**/__tests__','**/__mocks__'", | ||
"serve": "node dist/app.js", | ||
"postinstall": "node dist/postinstall.js || true", | ||
"test": "jest --passWithNoTests" | ||
"test": "jest --passWithNoTests src" | ||
}, | ||
@@ -35,0 +35,0 @@ "dependencies": { |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
43227
988
16