lingo.dev 0.89.2 → 0.89.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/build/cli.cjs CHANGED
@@ -3726,12 +3726,12 @@ function withExponentialBackoff(fn, maxAttempts = 3, baseDelay = 1e3) {
3726
3726
  }
3727
3727
 
3728
3728
  // src/cli/utils/observability.ts
3729
- var _posthognode = require('posthog-node');
3730
3729
  async function trackEvent(distinctId, event, properties) {
3731
3730
  if (process.env.DO_NOT_TRACK) {
3732
3731
  return;
3733
3732
  }
3734
3733
  try {
3734
+ const { PostHog } = await Promise.resolve().then(() => _interopRequireWildcard(require("posthog-node")));
3735
3735
  const safeProperties = properties ? JSON.parse(
3736
3736
  JSON.stringify(properties, (key, value) => {
3737
3737
  if (value instanceof Error) {
@@ -3744,7 +3744,7 @@ async function trackEvent(distinctId, event, properties) {
3744
3744
  return value;
3745
3745
  })
3746
3746
  ) : {};
3747
- const posthog = new (0, _posthognode.PostHog)(
3747
+ const posthog = new PostHog(
3748
3748
  "phc_eR0iSoQufBxNY36k0f0T15UvHJdTfHlh8rJcxsfhfXk",
3749
3749
  {
3750
3750
  host: "https://eu.i.posthog.com",
@@ -5887,7 +5887,7 @@ function validateParams2(i18nConfig, flags) {
5887
5887
  // package.json
5888
5888
  var package_default = {
5889
5889
  name: "lingo.dev",
5890
- version: "0.89.2",
5890
+ version: "0.89.3",
5891
5891
  description: "Lingo.dev CLI",
5892
5892
  private: false,
5893
5893
  publishConfig: {
@@ -5992,7 +5992,7 @@ var package_default = {
5992
5992
  "p-limit": "^6.2.0",
5993
5993
  "php-array-reader": "^2.1.2",
5994
5994
  plist: "^3.1.0",
5995
- "posthog-node": "^4.11.2",
5995
+ "posthog-node": "^4.17.0",
5996
5996
  prettier: "^3.4.2",
5997
5997
  "rehype-stringify": "^10.0.1",
5998
5998
  "remark-disable-tokenizers": "^1.1.1",
@@ -6031,7 +6031,7 @@ var package_default = {
6031
6031
  "@types/plist": "^3.0.5",
6032
6032
  "@types/xml2js": "^0.4.14",
6033
6033
  tsup: "^8.3.5",
6034
- typescript: "^5.7.2",
6034
+ typescript: "^5.8.3",
6035
6035
  vitest: "^3.1.2"
6036
6036
  },
6037
6037
  engines: {