autotel-subscribers 16.0.0 → 16.0.1
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/dist/amplitude.cjs +64 -64
- package/dist/amplitude.cjs.map +1 -1
- package/dist/amplitude.js +64 -64
- package/dist/amplitude.js.map +1 -1
- package/dist/factories.cjs +930 -347
- package/dist/factories.cjs.map +1 -1
- package/dist/factories.js +930 -347
- package/dist/factories.js.map +1 -1
- package/dist/index.cjs +930 -347
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +930 -347
- package/dist/index.js.map +1 -1
- package/dist/mixpanel.cjs +686 -130
- package/dist/mixpanel.cjs.map +1 -1
- package/dist/mixpanel.js +686 -130
- package/dist/mixpanel.js.map +1 -1
- package/dist/posthog.cjs +177 -150
- package/dist/posthog.cjs.map +1 -1
- package/dist/posthog.js +177 -150
- package/dist/posthog.js.map +1 -1
- package/package.json +13 -13
package/dist/posthog.js
CHANGED
|
@@ -41,11 +41,11 @@ function normalizeWindowsPath(path) {
|
|
|
41
41
|
return path.replace(/^[A-Z]:/, "").replace(/\\/g, "/");
|
|
42
42
|
}
|
|
43
43
|
var init_module_node = __esm({
|
|
44
|
-
"../../node_modules/.pnpm/posthog-node@5.
|
|
44
|
+
"../../node_modules/.pnpm/posthog-node@5.21.0/node_modules/posthog-node/dist/extensions/error-tracking/modifiers/module.node.mjs"() {
|
|
45
45
|
}
|
|
46
46
|
});
|
|
47
47
|
|
|
48
|
-
// ../../node_modules/.pnpm/@posthog+core@1.9.
|
|
48
|
+
// ../../node_modules/.pnpm/@posthog+core@1.9.1/node_modules/@posthog/core/dist/featureFlagUtils.mjs
|
|
49
49
|
function getFlagDetailFromFlagAndPayload(key, value, payload) {
|
|
50
50
|
return {
|
|
51
51
|
key,
|
|
@@ -62,7 +62,7 @@ function getFlagDetailFromFlagAndPayload(key, value, payload) {
|
|
|
62
62
|
}
|
|
63
63
|
var normalizeFlagsResponse, getFlagValuesFromFlags, getPayloadsFromFlags, getFeatureFlagValue, parsePayload;
|
|
64
64
|
var init_featureFlagUtils = __esm({
|
|
65
|
-
"../../node_modules/.pnpm/@posthog+core@1.9.
|
|
65
|
+
"../../node_modules/.pnpm/@posthog+core@1.9.1/node_modules/@posthog/core/dist/featureFlagUtils.mjs"() {
|
|
66
66
|
normalizeFlagsResponse = (flagsResponse) => {
|
|
67
67
|
if ("flags" in flagsResponse) {
|
|
68
68
|
const featureFlags = getFlagValuesFromFlags(flagsResponse.flags);
|
|
@@ -120,10 +120,10 @@ var init_featureFlagUtils = __esm({
|
|
|
120
120
|
}
|
|
121
121
|
});
|
|
122
122
|
|
|
123
|
-
// ../../node_modules/.pnpm/@posthog+core@1.9.
|
|
123
|
+
// ../../node_modules/.pnpm/@posthog+core@1.9.1/node_modules/@posthog/core/dist/vendor/uuidv7.mjs
|
|
124
124
|
var DIGITS, UUID, V7Generator, getDefaultRandom, defaultGenerator, uuidv7, uuidv7obj;
|
|
125
125
|
var init_uuidv7 = __esm({
|
|
126
|
-
"../../node_modules/.pnpm/@posthog+core@1.9.
|
|
126
|
+
"../../node_modules/.pnpm/@posthog+core@1.9.1/node_modules/@posthog/core/dist/vendor/uuidv7.mjs"() {
|
|
127
127
|
DIGITS = "0123456789abcdef";
|
|
128
128
|
UUID = class _UUID {
|
|
129
129
|
constructor(bytes) {
|
|
@@ -284,10 +284,10 @@ var init_uuidv7 = __esm({
|
|
|
284
284
|
}
|
|
285
285
|
});
|
|
286
286
|
|
|
287
|
-
// ../../node_modules/.pnpm/@posthog+core@1.9.
|
|
287
|
+
// ../../node_modules/.pnpm/@posthog+core@1.9.1/node_modules/@posthog/core/dist/utils/bot-detection.mjs
|
|
288
288
|
var DEFAULT_BLOCKED_UA_STRS, isBlockedUA;
|
|
289
289
|
var init_bot_detection = __esm({
|
|
290
|
-
"../../node_modules/.pnpm/@posthog+core@1.9.
|
|
290
|
+
"../../node_modules/.pnpm/@posthog+core@1.9.1/node_modules/@posthog/core/dist/utils/bot-detection.mjs"() {
|
|
291
291
|
DEFAULT_BLOCKED_UA_STRS = [
|
|
292
292
|
"amazonbot",
|
|
293
293
|
"amazonproductbot",
|
|
@@ -378,10 +378,10 @@ var init_bot_detection = __esm({
|
|
|
378
378
|
}
|
|
379
379
|
});
|
|
380
380
|
|
|
381
|
-
// ../../node_modules/.pnpm/@posthog+core@1.9.
|
|
381
|
+
// ../../node_modules/.pnpm/@posthog+core@1.9.1/node_modules/@posthog/core/dist/types.mjs
|
|
382
382
|
var types_PostHogPersistedProperty;
|
|
383
383
|
var init_types = __esm({
|
|
384
|
-
"../../node_modules/.pnpm/@posthog+core@1.9.
|
|
384
|
+
"../../node_modules/.pnpm/@posthog+core@1.9.1/node_modules/@posthog/core/dist/types.mjs"() {
|
|
385
385
|
types_PostHogPersistedProperty = /* @__PURE__ */ (function(PostHogPersistedProperty) {
|
|
386
386
|
PostHogPersistedProperty["AnonymousId"] = "anonymous_id";
|
|
387
387
|
PostHogPersistedProperty["DistinctId"] = "distinct_id";
|
|
@@ -413,20 +413,13 @@ var init_types = __esm({
|
|
|
413
413
|
}
|
|
414
414
|
});
|
|
415
415
|
|
|
416
|
-
// ../../node_modules/.pnpm/@posthog+core@1.9.
|
|
416
|
+
// ../../node_modules/.pnpm/@posthog+core@1.9.1/node_modules/@posthog/core/dist/utils/string-utils.mjs
|
|
417
417
|
var init_string_utils = __esm({
|
|
418
|
-
"../../node_modules/.pnpm/@posthog+core@1.9.
|
|
418
|
+
"../../node_modules/.pnpm/@posthog+core@1.9.1/node_modules/@posthog/core/dist/utils/string-utils.mjs"() {
|
|
419
419
|
}
|
|
420
420
|
});
|
|
421
421
|
|
|
422
|
-
// ../../node_modules/.pnpm/@posthog+core@1.9.
|
|
423
|
-
function isInstanceOf(candidate, base) {
|
|
424
|
-
try {
|
|
425
|
-
return candidate instanceof base;
|
|
426
|
-
} catch {
|
|
427
|
-
return false;
|
|
428
|
-
}
|
|
429
|
-
}
|
|
422
|
+
// ../../node_modules/.pnpm/@posthog+core@1.9.1/node_modules/@posthog/core/dist/utils/type-utils.mjs
|
|
430
423
|
function isPrimitive(value) {
|
|
431
424
|
return null === value || "object" != typeof value;
|
|
432
425
|
}
|
|
@@ -442,9 +435,16 @@ function isEvent(candidate) {
|
|
|
442
435
|
function isPlainObject(candidate) {
|
|
443
436
|
return isBuiltin(candidate, "Object");
|
|
444
437
|
}
|
|
445
|
-
|
|
438
|
+
function isInstanceOf(candidate, base) {
|
|
439
|
+
try {
|
|
440
|
+
return candidate instanceof base;
|
|
441
|
+
} catch {
|
|
442
|
+
return false;
|
|
443
|
+
}
|
|
444
|
+
}
|
|
445
|
+
var nativeIsArray, ObjProto, type_utils_toString, isArray, isObject, isUndefined, isString, isEmptyString, isNumber, isPlainError;
|
|
446
446
|
var init_type_utils = __esm({
|
|
447
|
-
"../../node_modules/.pnpm/@posthog+core@1.9.
|
|
447
|
+
"../../node_modules/.pnpm/@posthog+core@1.9.1/node_modules/@posthog/core/dist/utils/type-utils.mjs"() {
|
|
448
448
|
init_types();
|
|
449
449
|
init_string_utils();
|
|
450
450
|
nativeIsArray = Array.isArray;
|
|
@@ -454,6 +454,7 @@ var init_type_utils = __esm({
|
|
|
454
454
|
isArray = nativeIsArray || function(obj) {
|
|
455
455
|
return "[object Array]" === type_utils_toString.call(obj);
|
|
456
456
|
};
|
|
457
|
+
isObject = (x) => x === Object(x) && !isArray(x);
|
|
457
458
|
isUndefined = (x) => void 0 === x;
|
|
458
459
|
isString = (x) => "[object String]" == type_utils_toString.call(x);
|
|
459
460
|
isEmptyString = (x) => isString(x) && 0 === x.trim().length;
|
|
@@ -462,7 +463,7 @@ var init_type_utils = __esm({
|
|
|
462
463
|
}
|
|
463
464
|
});
|
|
464
465
|
|
|
465
|
-
// ../../node_modules/.pnpm/@posthog+core@1.9.
|
|
466
|
+
// ../../node_modules/.pnpm/@posthog+core@1.9.1/node_modules/@posthog/core/dist/utils/number-utils.mjs
|
|
466
467
|
function clampToRange(value, min, max, logger, fallbackValue) {
|
|
467
468
|
if (min > max) {
|
|
468
469
|
logger.warn("min cannot be greater than max.");
|
|
@@ -480,15 +481,15 @@ function clampToRange(value, min, max, logger, fallbackValue) {
|
|
|
480
481
|
return clampToRange(max, min, max, logger);
|
|
481
482
|
}
|
|
482
483
|
var init_number_utils = __esm({
|
|
483
|
-
"../../node_modules/.pnpm/@posthog+core@1.9.
|
|
484
|
+
"../../node_modules/.pnpm/@posthog+core@1.9.1/node_modules/@posthog/core/dist/utils/number-utils.mjs"() {
|
|
484
485
|
init_type_utils();
|
|
485
486
|
}
|
|
486
487
|
});
|
|
487
488
|
|
|
488
|
-
// ../../node_modules/.pnpm/@posthog+core@1.9.
|
|
489
|
+
// ../../node_modules/.pnpm/@posthog+core@1.9.1/node_modules/@posthog/core/dist/utils/bucketed-rate-limiter.mjs
|
|
489
490
|
var ONE_DAY_IN_MS, BucketedRateLimiter;
|
|
490
491
|
var init_bucketed_rate_limiter = __esm({
|
|
491
|
-
"../../node_modules/.pnpm/@posthog+core@1.9.
|
|
492
|
+
"../../node_modules/.pnpm/@posthog+core@1.9.1/node_modules/@posthog/core/dist/utils/bucketed-rate-limiter.mjs"() {
|
|
492
493
|
init_number_utils();
|
|
493
494
|
ONE_DAY_IN_MS = 864e5;
|
|
494
495
|
BucketedRateLimiter = class {
|
|
@@ -532,10 +533,10 @@ var init_bucketed_rate_limiter = __esm({
|
|
|
532
533
|
}
|
|
533
534
|
});
|
|
534
535
|
|
|
535
|
-
// ../../node_modules/.pnpm/@posthog+core@1.9.
|
|
536
|
+
// ../../node_modules/.pnpm/@posthog+core@1.9.1/node_modules/@posthog/core/dist/utils/promise-queue.mjs
|
|
536
537
|
var PromiseQueue;
|
|
537
538
|
var init_promise_queue = __esm({
|
|
538
|
-
"../../node_modules/.pnpm/@posthog+core@1.9.
|
|
539
|
+
"../../node_modules/.pnpm/@posthog+core@1.9.1/node_modules/@posthog/core/dist/utils/promise-queue.mjs"() {
|
|
539
540
|
init_uuidv7();
|
|
540
541
|
PromiseQueue = class {
|
|
541
542
|
add(promise) {
|
|
@@ -566,7 +567,7 @@ var init_promise_queue = __esm({
|
|
|
566
567
|
}
|
|
567
568
|
});
|
|
568
569
|
|
|
569
|
-
// ../../node_modules/.pnpm/@posthog+core@1.9.
|
|
570
|
+
// ../../node_modules/.pnpm/@posthog+core@1.9.1/node_modules/@posthog/core/dist/utils/logger.mjs
|
|
570
571
|
function createConsole(consoleLike = console) {
|
|
571
572
|
const lockedMethods = {
|
|
572
573
|
log: consoleLike.log.bind(consoleLike),
|
|
@@ -581,7 +582,7 @@ function createLogger(prefix, maybeCall = passThrough) {
|
|
|
581
582
|
}
|
|
582
583
|
var _createLogger, passThrough;
|
|
583
584
|
var init_logger = __esm({
|
|
584
|
-
"../../node_modules/.pnpm/@posthog+core@1.9.
|
|
585
|
+
"../../node_modules/.pnpm/@posthog+core@1.9.1/node_modules/@posthog/core/dist/utils/logger.mjs"() {
|
|
585
586
|
_createLogger = (prefix, maybeCall, consoleLike) => {
|
|
586
587
|
function _log(level, ...args) {
|
|
587
588
|
maybeCall(() => {
|
|
@@ -610,10 +611,10 @@ var init_logger = __esm({
|
|
|
610
611
|
}
|
|
611
612
|
});
|
|
612
613
|
|
|
613
|
-
// ../../node_modules/.pnpm/@posthog+core@1.9.
|
|
614
|
+
// ../../node_modules/.pnpm/@posthog+core@1.9.1/node_modules/@posthog/core/dist/utils/user-agent-utils.mjs
|
|
614
615
|
var MOBILE, TABLET, GENERIC;
|
|
615
616
|
var init_user_agent_utils = __esm({
|
|
616
|
-
"../../node_modules/.pnpm/@posthog+core@1.9.
|
|
617
|
+
"../../node_modules/.pnpm/@posthog+core@1.9.1/node_modules/@posthog/core/dist/utils/user-agent-utils.mjs"() {
|
|
617
618
|
init_string_utils();
|
|
618
619
|
init_type_utils();
|
|
619
620
|
MOBILE = "Mobile";
|
|
@@ -624,7 +625,7 @@ var init_user_agent_utils = __esm({
|
|
|
624
625
|
}
|
|
625
626
|
});
|
|
626
627
|
|
|
627
|
-
// ../../node_modules/.pnpm/@posthog+core@1.9.
|
|
628
|
+
// ../../node_modules/.pnpm/@posthog+core@1.9.1/node_modules/@posthog/core/dist/utils/index.mjs
|
|
628
629
|
function assert(truthyValue, message) {
|
|
629
630
|
if (!truthyValue || "string" != typeof truthyValue || isEmpty(truthyValue)) throw new Error(message);
|
|
630
631
|
}
|
|
@@ -668,7 +669,7 @@ function allSettled(promises) {
|
|
|
668
669
|
}
|
|
669
670
|
var STRING_FORMAT, isError;
|
|
670
671
|
var init_utils = __esm({
|
|
671
|
-
"../../node_modules/.pnpm/@posthog+core@1.9.
|
|
672
|
+
"../../node_modules/.pnpm/@posthog+core@1.9.1/node_modules/@posthog/core/dist/utils/index.mjs"() {
|
|
672
673
|
init_bot_detection();
|
|
673
674
|
init_bucketed_rate_limiter();
|
|
674
675
|
init_number_utils();
|
|
@@ -682,10 +683,10 @@ var init_utils = __esm({
|
|
|
682
683
|
}
|
|
683
684
|
});
|
|
684
685
|
|
|
685
|
-
// ../../node_modules/.pnpm/@posthog+core@1.9.
|
|
686
|
+
// ../../node_modules/.pnpm/@posthog+core@1.9.1/node_modules/@posthog/core/dist/eventemitter.mjs
|
|
686
687
|
var SimpleEventEmitter;
|
|
687
688
|
var init_eventemitter = __esm({
|
|
688
|
-
"../../node_modules/.pnpm/@posthog+core@1.9.
|
|
689
|
+
"../../node_modules/.pnpm/@posthog+core@1.9.1/node_modules/@posthog/core/dist/eventemitter.mjs"() {
|
|
689
690
|
SimpleEventEmitter = class {
|
|
690
691
|
constructor() {
|
|
691
692
|
this.events = {};
|
|
@@ -706,7 +707,7 @@ var init_eventemitter = __esm({
|
|
|
706
707
|
}
|
|
707
708
|
});
|
|
708
709
|
|
|
709
|
-
// ../../node_modules/.pnpm/@posthog+core@1.9.
|
|
710
|
+
// ../../node_modules/.pnpm/@posthog+core@1.9.1/node_modules/@posthog/core/dist/gzip.mjs
|
|
710
711
|
function isGzipSupported() {
|
|
711
712
|
return "CompressionStream" in globalThis;
|
|
712
713
|
}
|
|
@@ -725,11 +726,11 @@ async function gzipCompress(input, isDebug = true) {
|
|
|
725
726
|
}
|
|
726
727
|
}
|
|
727
728
|
var init_gzip = __esm({
|
|
728
|
-
"../../node_modules/.pnpm/@posthog+core@1.9.
|
|
729
|
+
"../../node_modules/.pnpm/@posthog+core@1.9.1/node_modules/@posthog/core/dist/gzip.mjs"() {
|
|
729
730
|
}
|
|
730
731
|
});
|
|
731
732
|
|
|
732
|
-
// ../../node_modules/.pnpm/@posthog+core@1.9.
|
|
733
|
+
// ../../node_modules/.pnpm/@posthog+core@1.9.1/node_modules/@posthog/core/dist/posthog-core-stateless.mjs
|
|
733
734
|
async function logFlushError(err) {
|
|
734
735
|
if (err instanceof PostHogFetchHttpError) {
|
|
735
736
|
let text = "";
|
|
@@ -749,7 +750,7 @@ function isPostHogFetchContentTooLargeError(err) {
|
|
|
749
750
|
}
|
|
750
751
|
var PostHogFetchHttpError, PostHogFetchNetworkError, PostHogCoreStateless;
|
|
751
752
|
var init_posthog_core_stateless = __esm({
|
|
752
|
-
"../../node_modules/.pnpm/@posthog+core@1.9.
|
|
753
|
+
"../../node_modules/.pnpm/@posthog+core@1.9.1/node_modules/@posthog/core/dist/posthog-core-stateless.mjs"() {
|
|
753
754
|
init_eventemitter();
|
|
754
755
|
init_featureFlagUtils();
|
|
755
756
|
init_gzip();
|
|
@@ -1367,9 +1368,9 @@ var init_posthog_core_stateless = __esm({
|
|
|
1367
1368
|
}
|
|
1368
1369
|
});
|
|
1369
1370
|
|
|
1370
|
-
// ../../node_modules/.pnpm/@posthog+core@1.9.
|
|
1371
|
+
// ../../node_modules/.pnpm/@posthog+core@1.9.1/node_modules/@posthog/core/dist/posthog-core.mjs
|
|
1371
1372
|
var init_posthog_core = __esm({
|
|
1372
|
-
"../../node_modules/.pnpm/@posthog+core@1.9.
|
|
1373
|
+
"../../node_modules/.pnpm/@posthog+core@1.9.1/node_modules/@posthog/core/dist/posthog-core.mjs"() {
|
|
1373
1374
|
init_featureFlagUtils();
|
|
1374
1375
|
init_types();
|
|
1375
1376
|
init_posthog_core_stateless();
|
|
@@ -1378,7 +1379,7 @@ var init_posthog_core = __esm({
|
|
|
1378
1379
|
}
|
|
1379
1380
|
});
|
|
1380
1381
|
|
|
1381
|
-
// ../../node_modules/.pnpm/@posthog+core@1.9.
|
|
1382
|
+
// ../../node_modules/.pnpm/@posthog+core@1.9.1/node_modules/@posthog/core/dist/error-tracking/chunk-ids.mjs
|
|
1382
1383
|
function getFilenameToChunkIdMap(stackParser) {
|
|
1383
1384
|
const chunkIdMap = globalThis._posthogChunkIds;
|
|
1384
1385
|
if (!chunkIdMap) return;
|
|
@@ -1411,14 +1412,14 @@ function getFilenameToChunkIdMap(stackParser) {
|
|
|
1411
1412
|
}
|
|
1412
1413
|
var parsedStackResults, lastKeysCount, cachedFilenameChunkIds;
|
|
1413
1414
|
var init_chunk_ids = __esm({
|
|
1414
|
-
"../../node_modules/.pnpm/@posthog+core@1.9.
|
|
1415
|
+
"../../node_modules/.pnpm/@posthog+core@1.9.1/node_modules/@posthog/core/dist/error-tracking/chunk-ids.mjs"() {
|
|
1415
1416
|
}
|
|
1416
1417
|
});
|
|
1417
1418
|
|
|
1418
|
-
// ../../node_modules/.pnpm/@posthog+core@1.9.
|
|
1419
|
+
// ../../node_modules/.pnpm/@posthog+core@1.9.1/node_modules/@posthog/core/dist/error-tracking/error-properties-builder.mjs
|
|
1419
1420
|
var MAX_CAUSE_RECURSION, ErrorPropertiesBuilder;
|
|
1420
1421
|
var init_error_properties_builder = __esm({
|
|
1421
|
-
"../../node_modules/.pnpm/@posthog+core@1.9.
|
|
1422
|
+
"../../node_modules/.pnpm/@posthog+core@1.9.1/node_modules/@posthog/core/dist/error-tracking/error-properties-builder.mjs"() {
|
|
1422
1423
|
init_utils();
|
|
1423
1424
|
init_chunk_ids();
|
|
1424
1425
|
MAX_CAUSE_RECURSION = 4;
|
|
@@ -1532,7 +1533,7 @@ var init_error_properties_builder = __esm({
|
|
|
1532
1533
|
}
|
|
1533
1534
|
});
|
|
1534
1535
|
|
|
1535
|
-
// ../../node_modules/.pnpm/@posthog+core@1.9.
|
|
1536
|
+
// ../../node_modules/.pnpm/@posthog+core@1.9.1/node_modules/@posthog/core/dist/error-tracking/parsers/base.mjs
|
|
1536
1537
|
function createFrame(platform, filename, func, lineno, colno) {
|
|
1537
1538
|
const frame = {
|
|
1538
1539
|
platform,
|
|
@@ -1546,16 +1547,16 @@ function createFrame(platform, filename, func, lineno, colno) {
|
|
|
1546
1547
|
}
|
|
1547
1548
|
var UNKNOWN_FUNCTION;
|
|
1548
1549
|
var init_base = __esm({
|
|
1549
|
-
"../../node_modules/.pnpm/@posthog+core@1.9.
|
|
1550
|
+
"../../node_modules/.pnpm/@posthog+core@1.9.1/node_modules/@posthog/core/dist/error-tracking/parsers/base.mjs"() {
|
|
1550
1551
|
init_utils();
|
|
1551
1552
|
UNKNOWN_FUNCTION = "?";
|
|
1552
1553
|
}
|
|
1553
1554
|
});
|
|
1554
1555
|
|
|
1555
|
-
// ../../node_modules/.pnpm/@posthog+core@1.9.
|
|
1556
|
+
// ../../node_modules/.pnpm/@posthog+core@1.9.1/node_modules/@posthog/core/dist/error-tracking/parsers/safari.mjs
|
|
1556
1557
|
var extractSafariExtensionDetails;
|
|
1557
1558
|
var init_safari = __esm({
|
|
1558
|
-
"../../node_modules/.pnpm/@posthog+core@1.9.
|
|
1559
|
+
"../../node_modules/.pnpm/@posthog+core@1.9.1/node_modules/@posthog/core/dist/error-tracking/parsers/safari.mjs"() {
|
|
1559
1560
|
init_base();
|
|
1560
1561
|
extractSafariExtensionDetails = (func, filename) => {
|
|
1561
1562
|
const isSafariExtension = -1 !== func.indexOf("safari-extension");
|
|
@@ -1571,10 +1572,10 @@ var init_safari = __esm({
|
|
|
1571
1572
|
}
|
|
1572
1573
|
});
|
|
1573
1574
|
|
|
1574
|
-
// ../../node_modules/.pnpm/@posthog+core@1.9.
|
|
1575
|
+
// ../../node_modules/.pnpm/@posthog+core@1.9.1/node_modules/@posthog/core/dist/error-tracking/parsers/chrome.mjs
|
|
1575
1576
|
var chromeRegexNoFnName, chromeRegex, chromeEvalRegex, chromeStackLineParser;
|
|
1576
1577
|
var init_chrome = __esm({
|
|
1577
|
-
"../../node_modules/.pnpm/@posthog+core@1.9.
|
|
1578
|
+
"../../node_modules/.pnpm/@posthog+core@1.9.1/node_modules/@posthog/core/dist/error-tracking/parsers/chrome.mjs"() {
|
|
1578
1579
|
init_base();
|
|
1579
1580
|
init_safari();
|
|
1580
1581
|
chromeRegexNoFnName = /^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i;
|
|
@@ -1604,23 +1605,10 @@ var init_chrome = __esm({
|
|
|
1604
1605
|
}
|
|
1605
1606
|
});
|
|
1606
1607
|
|
|
1607
|
-
// ../../node_modules/.pnpm/@posthog+core@1.9.
|
|
1608
|
-
var winjsRegex, winjsStackLineParser;
|
|
1609
|
-
var init_winjs = __esm({
|
|
1610
|
-
"../../node_modules/.pnpm/@posthog+core@1.9.0/node_modules/@posthog/core/dist/error-tracking/parsers/winjs.mjs"() {
|
|
1611
|
-
init_base();
|
|
1612
|
-
winjsRegex = /^\s*at (?:((?:\[object object\])?.+) )?\(?((?:[-a-z]+):.*?):(\d+)(?::(\d+))?\)?\s*$/i;
|
|
1613
|
-
winjsStackLineParser = (line, platform) => {
|
|
1614
|
-
const parts = winjsRegex.exec(line);
|
|
1615
|
-
return parts ? createFrame(platform, parts[2], parts[1] || UNKNOWN_FUNCTION, +parts[3], parts[4] ? +parts[4] : void 0) : void 0;
|
|
1616
|
-
};
|
|
1617
|
-
}
|
|
1618
|
-
});
|
|
1619
|
-
|
|
1620
|
-
// ../../node_modules/.pnpm/@posthog+core@1.9.0/node_modules/@posthog/core/dist/error-tracking/parsers/gecko.mjs
|
|
1608
|
+
// ../../node_modules/.pnpm/@posthog+core@1.9.1/node_modules/@posthog/core/dist/error-tracking/parsers/gecko.mjs
|
|
1621
1609
|
var geckoREgex, geckoEvalRegex, geckoStackLineParser;
|
|
1622
1610
|
var init_gecko = __esm({
|
|
1623
|
-
"../../node_modules/.pnpm/@posthog+core@1.9.
|
|
1611
|
+
"../../node_modules/.pnpm/@posthog+core@1.9.1/node_modules/@posthog/core/dist/error-tracking/parsers/gecko.mjs"() {
|
|
1624
1612
|
init_base();
|
|
1625
1613
|
init_safari();
|
|
1626
1614
|
geckoREgex = /^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i;
|
|
@@ -1647,10 +1635,23 @@ var init_gecko = __esm({
|
|
|
1647
1635
|
}
|
|
1648
1636
|
});
|
|
1649
1637
|
|
|
1650
|
-
// ../../node_modules/.pnpm/@posthog+core@1.9.
|
|
1638
|
+
// ../../node_modules/.pnpm/@posthog+core@1.9.1/node_modules/@posthog/core/dist/error-tracking/parsers/winjs.mjs
|
|
1639
|
+
var winjsRegex, winjsStackLineParser;
|
|
1640
|
+
var init_winjs = __esm({
|
|
1641
|
+
"../../node_modules/.pnpm/@posthog+core@1.9.1/node_modules/@posthog/core/dist/error-tracking/parsers/winjs.mjs"() {
|
|
1642
|
+
init_base();
|
|
1643
|
+
winjsRegex = /^\s*at (?:((?:\[object object\])?.+) )?\(?((?:[-a-z]+):.*?):(\d+)(?::(\d+))?\)?\s*$/i;
|
|
1644
|
+
winjsStackLineParser = (line, platform) => {
|
|
1645
|
+
const parts = winjsRegex.exec(line);
|
|
1646
|
+
return parts ? createFrame(platform, parts[2], parts[1] || UNKNOWN_FUNCTION, +parts[3], parts[4] ? +parts[4] : void 0) : void 0;
|
|
1647
|
+
};
|
|
1648
|
+
}
|
|
1649
|
+
});
|
|
1650
|
+
|
|
1651
|
+
// ../../node_modules/.pnpm/@posthog+core@1.9.1/node_modules/@posthog/core/dist/error-tracking/parsers/opera.mjs
|
|
1651
1652
|
var opera10Regex, opera10StackLineParser, opera11Regex, opera11StackLineParser;
|
|
1652
1653
|
var init_opera = __esm({
|
|
1653
|
-
"../../node_modules/.pnpm/@posthog+core@1.9.
|
|
1654
|
+
"../../node_modules/.pnpm/@posthog+core@1.9.1/node_modules/@posthog/core/dist/error-tracking/parsers/opera.mjs"() {
|
|
1654
1655
|
init_base();
|
|
1655
1656
|
opera10Regex = / line (\d+).*script (?:in )?(\S+)(?:: in function (\S+))?$/i;
|
|
1656
1657
|
opera10StackLineParser = (line, platform) => {
|
|
@@ -1665,7 +1666,7 @@ var init_opera = __esm({
|
|
|
1665
1666
|
}
|
|
1666
1667
|
});
|
|
1667
1668
|
|
|
1668
|
-
// ../../node_modules/.pnpm/@posthog+core@1.9.
|
|
1669
|
+
// ../../node_modules/.pnpm/@posthog+core@1.9.1/node_modules/@posthog/core/dist/error-tracking/parsers/node.mjs
|
|
1669
1670
|
function filenameIsInApp(filename, isNative = false) {
|
|
1670
1671
|
const isInternal = isNative || filename && !filename.startsWith("/") && !filename.match(/^[A-Z]:/) && !filename.startsWith(".") && !filename.match(/^[a-zA-Z]([a-zA-Z0-9.\-+])*:\/\//);
|
|
1671
1672
|
return !isInternal && void 0 !== filename && !filename.includes("node_modules/");
|
|
@@ -1675,7 +1676,7 @@ function _parseIntOrUndefined(input) {
|
|
|
1675
1676
|
}
|
|
1676
1677
|
var FILENAME_MATCH, FULL_MATCH, nodeStackLineParser;
|
|
1677
1678
|
var init_node = __esm({
|
|
1678
|
-
"../../node_modules/.pnpm/@posthog+core@1.9.
|
|
1679
|
+
"../../node_modules/.pnpm/@posthog+core@1.9.1/node_modules/@posthog/core/dist/error-tracking/parsers/node.mjs"() {
|
|
1679
1680
|
init_base();
|
|
1680
1681
|
FILENAME_MATCH = /^\s*[-]{4,}$/;
|
|
1681
1682
|
FULL_MATCH = /at (?:async )?(?:(.+?)\s+\()?(?:(.+):(\d+):(\d+)?|([^)]+))\)?/;
|
|
@@ -1736,7 +1737,7 @@ var init_node = __esm({
|
|
|
1736
1737
|
}
|
|
1737
1738
|
});
|
|
1738
1739
|
|
|
1739
|
-
// ../../node_modules/.pnpm/@posthog+core@1.9.
|
|
1740
|
+
// ../../node_modules/.pnpm/@posthog+core@1.9.1/node_modules/@posthog/core/dist/error-tracking/parsers/index.mjs
|
|
1740
1741
|
function reverseAndStripFrames(stack) {
|
|
1741
1742
|
if (!stack.length) return [];
|
|
1742
1743
|
const localStack = Array.from(stack);
|
|
@@ -1750,6 +1751,9 @@ function reverseAndStripFrames(stack) {
|
|
|
1750
1751
|
function getLastStackFrame(arr) {
|
|
1751
1752
|
return arr[arr.length - 1] || {};
|
|
1752
1753
|
}
|
|
1754
|
+
function createDefaultStackParser() {
|
|
1755
|
+
return createStackParser("web:javascript", chromeStackLineParser, geckoStackLineParser);
|
|
1756
|
+
}
|
|
1753
1757
|
function createStackParser(platform, ...parsers) {
|
|
1754
1758
|
return (stack, skipFirstLines = 0) => {
|
|
1755
1759
|
const frames = [];
|
|
@@ -1774,11 +1778,11 @@ function createStackParser(platform, ...parsers) {
|
|
|
1774
1778
|
}
|
|
1775
1779
|
var WEBPACK_ERROR_REGEXP, STACKTRACE_FRAME_LIMIT;
|
|
1776
1780
|
var init_parsers = __esm({
|
|
1777
|
-
"../../node_modules/.pnpm/@posthog+core@1.9.
|
|
1781
|
+
"../../node_modules/.pnpm/@posthog+core@1.9.1/node_modules/@posthog/core/dist/error-tracking/parsers/index.mjs"() {
|
|
1778
1782
|
init_base();
|
|
1779
1783
|
init_chrome();
|
|
1780
|
-
init_winjs();
|
|
1781
1784
|
init_gecko();
|
|
1785
|
+
init_winjs();
|
|
1782
1786
|
init_opera();
|
|
1783
1787
|
init_node();
|
|
1784
1788
|
WEBPACK_ERROR_REGEXP = /\(error: (.*)\)/;
|
|
@@ -1786,10 +1790,10 @@ var init_parsers = __esm({
|
|
|
1786
1790
|
}
|
|
1787
1791
|
});
|
|
1788
1792
|
|
|
1789
|
-
// ../../node_modules/.pnpm/@posthog+core@1.9.
|
|
1793
|
+
// ../../node_modules/.pnpm/@posthog+core@1.9.1/node_modules/@posthog/core/dist/error-tracking/coercers/dom-exception-coercer.mjs
|
|
1790
1794
|
var DOMExceptionCoercer;
|
|
1791
1795
|
var init_dom_exception_coercer = __esm({
|
|
1792
|
-
"../../node_modules/.pnpm/@posthog+core@1.9.
|
|
1796
|
+
"../../node_modules/.pnpm/@posthog+core@1.9.1/node_modules/@posthog/core/dist/error-tracking/coercers/dom-exception-coercer.mjs"() {
|
|
1793
1797
|
init_utils();
|
|
1794
1798
|
DOMExceptionCoercer = class {
|
|
1795
1799
|
match(err) {
|
|
@@ -1823,10 +1827,10 @@ var init_dom_exception_coercer = __esm({
|
|
|
1823
1827
|
}
|
|
1824
1828
|
});
|
|
1825
1829
|
|
|
1826
|
-
// ../../node_modules/.pnpm/@posthog+core@1.9.
|
|
1830
|
+
// ../../node_modules/.pnpm/@posthog+core@1.9.1/node_modules/@posthog/core/dist/error-tracking/coercers/error-coercer.mjs
|
|
1827
1831
|
var ErrorCoercer;
|
|
1828
1832
|
var init_error_coercer = __esm({
|
|
1829
|
-
"../../node_modules/.pnpm/@posthog+core@1.9.
|
|
1833
|
+
"../../node_modules/.pnpm/@posthog+core@1.9.1/node_modules/@posthog/core/dist/error-tracking/coercers/error-coercer.mjs"() {
|
|
1830
1834
|
init_utils();
|
|
1831
1835
|
ErrorCoercer = class {
|
|
1832
1836
|
match(err) {
|
|
@@ -1856,10 +1860,10 @@ var init_error_coercer = __esm({
|
|
|
1856
1860
|
}
|
|
1857
1861
|
});
|
|
1858
1862
|
|
|
1859
|
-
// ../../node_modules/.pnpm/@posthog+core@1.9.
|
|
1863
|
+
// ../../node_modules/.pnpm/@posthog+core@1.9.1/node_modules/@posthog/core/dist/error-tracking/coercers/error-event-coercer.mjs
|
|
1860
1864
|
var ErrorEventCoercer;
|
|
1861
1865
|
var init_error_event_coercer = __esm({
|
|
1862
|
-
"../../node_modules/.pnpm/@posthog+core@1.9.
|
|
1866
|
+
"../../node_modules/.pnpm/@posthog+core@1.9.1/node_modules/@posthog/core/dist/error-tracking/coercers/error-event-coercer.mjs"() {
|
|
1863
1867
|
init_utils();
|
|
1864
1868
|
ErrorEventCoercer = class {
|
|
1865
1869
|
constructor() {
|
|
@@ -1881,10 +1885,10 @@ var init_error_event_coercer = __esm({
|
|
|
1881
1885
|
}
|
|
1882
1886
|
});
|
|
1883
1887
|
|
|
1884
|
-
// ../../node_modules/.pnpm/@posthog+core@1.9.
|
|
1888
|
+
// ../../node_modules/.pnpm/@posthog+core@1.9.1/node_modules/@posthog/core/dist/error-tracking/coercers/string-coercer.mjs
|
|
1885
1889
|
var ERROR_TYPES_PATTERN, StringCoercer;
|
|
1886
1890
|
var init_string_coercer = __esm({
|
|
1887
|
-
"../../node_modules/.pnpm/@posthog+core@1.9.
|
|
1891
|
+
"../../node_modules/.pnpm/@posthog+core@1.9.1/node_modules/@posthog/core/dist/error-tracking/coercers/string-coercer.mjs"() {
|
|
1888
1892
|
ERROR_TYPES_PATTERN = /^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/i;
|
|
1889
1893
|
StringCoercer = class {
|
|
1890
1894
|
match(input) {
|
|
@@ -1916,10 +1920,10 @@ var init_string_coercer = __esm({
|
|
|
1916
1920
|
}
|
|
1917
1921
|
});
|
|
1918
1922
|
|
|
1919
|
-
// ../../node_modules/.pnpm/@posthog+core@1.9.
|
|
1923
|
+
// ../../node_modules/.pnpm/@posthog+core@1.9.1/node_modules/@posthog/core/dist/error-tracking/types.mjs
|
|
1920
1924
|
var severityLevels;
|
|
1921
1925
|
var init_types2 = __esm({
|
|
1922
|
-
"../../node_modules/.pnpm/@posthog+core@1.9.
|
|
1926
|
+
"../../node_modules/.pnpm/@posthog+core@1.9.1/node_modules/@posthog/core/dist/error-tracking/types.mjs"() {
|
|
1923
1927
|
severityLevels = [
|
|
1924
1928
|
"fatal",
|
|
1925
1929
|
"error",
|
|
@@ -1931,7 +1935,7 @@ var init_types2 = __esm({
|
|
|
1931
1935
|
}
|
|
1932
1936
|
});
|
|
1933
1937
|
|
|
1934
|
-
// ../../node_modules/.pnpm/@posthog+core@1.9.
|
|
1938
|
+
// ../../node_modules/.pnpm/@posthog+core@1.9.1/node_modules/@posthog/core/dist/error-tracking/coercers/utils.mjs
|
|
1935
1939
|
function extractExceptionKeysForMessage(err, maxLength = 40) {
|
|
1936
1940
|
const keys = Object.keys(err);
|
|
1937
1941
|
keys.sort();
|
|
@@ -1946,14 +1950,14 @@ function extractExceptionKeysForMessage(err, maxLength = 40) {
|
|
|
1946
1950
|
return "";
|
|
1947
1951
|
}
|
|
1948
1952
|
var init_utils2 = __esm({
|
|
1949
|
-
"../../node_modules/.pnpm/@posthog+core@1.9.
|
|
1953
|
+
"../../node_modules/.pnpm/@posthog+core@1.9.1/node_modules/@posthog/core/dist/error-tracking/coercers/utils.mjs"() {
|
|
1950
1954
|
}
|
|
1951
1955
|
});
|
|
1952
1956
|
|
|
1953
|
-
// ../../node_modules/.pnpm/@posthog+core@1.9.
|
|
1957
|
+
// ../../node_modules/.pnpm/@posthog+core@1.9.1/node_modules/@posthog/core/dist/error-tracking/coercers/object-coercer.mjs
|
|
1954
1958
|
var ObjectCoercer;
|
|
1955
1959
|
var init_object_coercer = __esm({
|
|
1956
|
-
"../../node_modules/.pnpm/@posthog+core@1.9.
|
|
1960
|
+
"../../node_modules/.pnpm/@posthog+core@1.9.1/node_modules/@posthog/core/dist/error-tracking/coercers/object-coercer.mjs"() {
|
|
1957
1961
|
init_utils();
|
|
1958
1962
|
init_types2();
|
|
1959
1963
|
init_utils2();
|
|
@@ -2007,10 +2011,10 @@ var init_object_coercer = __esm({
|
|
|
2007
2011
|
}
|
|
2008
2012
|
});
|
|
2009
2013
|
|
|
2010
|
-
// ../../node_modules/.pnpm/@posthog+core@1.9.
|
|
2014
|
+
// ../../node_modules/.pnpm/@posthog+core@1.9.1/node_modules/@posthog/core/dist/error-tracking/coercers/event-coercer.mjs
|
|
2011
2015
|
var EventCoercer;
|
|
2012
2016
|
var init_event_coercer = __esm({
|
|
2013
|
-
"../../node_modules/.pnpm/@posthog+core@1.9.
|
|
2017
|
+
"../../node_modules/.pnpm/@posthog+core@1.9.1/node_modules/@posthog/core/dist/error-tracking/coercers/event-coercer.mjs"() {
|
|
2014
2018
|
init_utils();
|
|
2015
2019
|
init_utils2();
|
|
2016
2020
|
EventCoercer = class {
|
|
@@ -2030,10 +2034,10 @@ var init_event_coercer = __esm({
|
|
|
2030
2034
|
}
|
|
2031
2035
|
});
|
|
2032
2036
|
|
|
2033
|
-
// ../../node_modules/.pnpm/@posthog+core@1.9.
|
|
2037
|
+
// ../../node_modules/.pnpm/@posthog+core@1.9.1/node_modules/@posthog/core/dist/error-tracking/coercers/primitive-coercer.mjs
|
|
2034
2038
|
var PrimitiveCoercer;
|
|
2035
2039
|
var init_primitive_coercer = __esm({
|
|
2036
|
-
"../../node_modules/.pnpm/@posthog+core@1.9.
|
|
2040
|
+
"../../node_modules/.pnpm/@posthog+core@1.9.1/node_modules/@posthog/core/dist/error-tracking/coercers/primitive-coercer.mjs"() {
|
|
2037
2041
|
init_utils();
|
|
2038
2042
|
PrimitiveCoercer = class {
|
|
2039
2043
|
match(candidate) {
|
|
@@ -2051,10 +2055,10 @@ var init_primitive_coercer = __esm({
|
|
|
2051
2055
|
}
|
|
2052
2056
|
});
|
|
2053
2057
|
|
|
2054
|
-
// ../../node_modules/.pnpm/@posthog+core@1.9.
|
|
2058
|
+
// ../../node_modules/.pnpm/@posthog+core@1.9.1/node_modules/@posthog/core/dist/error-tracking/coercers/promise-rejection-event.mjs
|
|
2055
2059
|
var PromiseRejectionEventCoercer;
|
|
2056
2060
|
var init_promise_rejection_event = __esm({
|
|
2057
|
-
"../../node_modules/.pnpm/@posthog+core@1.9.
|
|
2061
|
+
"../../node_modules/.pnpm/@posthog+core@1.9.1/node_modules/@posthog/core/dist/error-tracking/coercers/promise-rejection-event.mjs"() {
|
|
2058
2062
|
init_utils();
|
|
2059
2063
|
PromiseRejectionEventCoercer = class {
|
|
2060
2064
|
match(err) {
|
|
@@ -2083,9 +2087,9 @@ var init_promise_rejection_event = __esm({
|
|
|
2083
2087
|
}
|
|
2084
2088
|
});
|
|
2085
2089
|
|
|
2086
|
-
// ../../node_modules/.pnpm/@posthog+core@1.9.
|
|
2090
|
+
// ../../node_modules/.pnpm/@posthog+core@1.9.1/node_modules/@posthog/core/dist/error-tracking/coercers/index.mjs
|
|
2087
2091
|
var init_coercers = __esm({
|
|
2088
|
-
"../../node_modules/.pnpm/@posthog+core@1.9.
|
|
2092
|
+
"../../node_modules/.pnpm/@posthog+core@1.9.1/node_modules/@posthog/core/dist/error-tracking/coercers/index.mjs"() {
|
|
2089
2093
|
init_dom_exception_coercer();
|
|
2090
2094
|
init_error_coercer();
|
|
2091
2095
|
init_error_event_coercer();
|
|
@@ -2097,10 +2101,10 @@ var init_coercers = __esm({
|
|
|
2097
2101
|
}
|
|
2098
2102
|
});
|
|
2099
2103
|
|
|
2100
|
-
// ../../node_modules/.pnpm/@posthog+core@1.9.
|
|
2104
|
+
// ../../node_modules/.pnpm/@posthog+core@1.9.1/node_modules/@posthog/core/dist/error-tracking/utils.mjs
|
|
2101
2105
|
var ReduceableCache;
|
|
2102
2106
|
var init_utils3 = __esm({
|
|
2103
|
-
"../../node_modules/.pnpm/@posthog+core@1.9.
|
|
2107
|
+
"../../node_modules/.pnpm/@posthog+core@1.9.1/node_modules/@posthog/core/dist/error-tracking/utils.mjs"() {
|
|
2104
2108
|
ReduceableCache = class {
|
|
2105
2109
|
constructor(_maxSize) {
|
|
2106
2110
|
this._maxSize = _maxSize;
|
|
@@ -2126,7 +2130,7 @@ var init_utils3 = __esm({
|
|
|
2126
2130
|
}
|
|
2127
2131
|
});
|
|
2128
2132
|
|
|
2129
|
-
// ../../node_modules/.pnpm/@posthog+core@1.9.
|
|
2133
|
+
// ../../node_modules/.pnpm/@posthog+core@1.9.1/node_modules/@posthog/core/dist/error-tracking/index.mjs
|
|
2130
2134
|
var error_tracking_exports = {};
|
|
2131
2135
|
__export(error_tracking_exports, {
|
|
2132
2136
|
DOMExceptionCoercer: () => DOMExceptionCoercer,
|
|
@@ -2140,6 +2144,7 @@ __export(error_tracking_exports, {
|
|
|
2140
2144
|
ReduceableCache: () => ReduceableCache,
|
|
2141
2145
|
StringCoercer: () => StringCoercer,
|
|
2142
2146
|
chromeStackLineParser: () => chromeStackLineParser,
|
|
2147
|
+
createDefaultStackParser: () => createDefaultStackParser,
|
|
2143
2148
|
createStackParser: () => createStackParser,
|
|
2144
2149
|
geckoStackLineParser: () => geckoStackLineParser,
|
|
2145
2150
|
nodeStackLineParser: () => nodeStackLineParser,
|
|
@@ -2149,7 +2154,7 @@ __export(error_tracking_exports, {
|
|
|
2149
2154
|
winjsStackLineParser: () => winjsStackLineParser
|
|
2150
2155
|
});
|
|
2151
2156
|
var init_error_tracking = __esm({
|
|
2152
|
-
"../../node_modules/.pnpm/@posthog+core@1.9.
|
|
2157
|
+
"../../node_modules/.pnpm/@posthog+core@1.9.1/node_modules/@posthog/core/dist/error-tracking/index.mjs"() {
|
|
2153
2158
|
init_error_properties_builder();
|
|
2154
2159
|
init_parsers();
|
|
2155
2160
|
init_coercers();
|
|
@@ -2157,9 +2162,9 @@ var init_error_tracking = __esm({
|
|
|
2157
2162
|
}
|
|
2158
2163
|
});
|
|
2159
2164
|
|
|
2160
|
-
// ../../node_modules/.pnpm/@posthog+core@1.9.
|
|
2165
|
+
// ../../node_modules/.pnpm/@posthog+core@1.9.1/node_modules/@posthog/core/dist/index.mjs
|
|
2161
2166
|
var init_dist = __esm({
|
|
2162
|
-
"../../node_modules/.pnpm/@posthog+core@1.9.
|
|
2167
|
+
"../../node_modules/.pnpm/@posthog+core@1.9.1/node_modules/@posthog/core/dist/index.mjs"() {
|
|
2163
2168
|
init_featureFlagUtils();
|
|
2164
2169
|
init_uuidv7();
|
|
2165
2170
|
init_utils();
|
|
@@ -2350,7 +2355,7 @@ function snipLine(line, colno) {
|
|
|
2350
2355
|
}
|
|
2351
2356
|
var LRU_FILE_CONTENTS_CACHE, LRU_FILE_CONTENTS_FS_READ_FAILED, DEFAULT_LINES_OF_CONTEXT, MAX_CONTEXTLINES_COLNO, MAX_CONTEXTLINES_LINENO;
|
|
2352
2357
|
var init_context_lines_node = __esm({
|
|
2353
|
-
"../../node_modules/.pnpm/posthog-node@5.
|
|
2358
|
+
"../../node_modules/.pnpm/posthog-node@5.21.0/node_modules/posthog-node/dist/extensions/error-tracking/modifiers/context-lines.node.mjs"() {
|
|
2354
2359
|
init_dist();
|
|
2355
2360
|
LRU_FILE_CONTENTS_CACHE = new error_tracking_exports.ReduceableCache(25);
|
|
2356
2361
|
LRU_FILE_CONTENTS_FS_READ_FAILED = new error_tracking_exports.ReduceableCache(20);
|
|
@@ -2360,7 +2365,7 @@ var init_context_lines_node = __esm({
|
|
|
2360
2365
|
}
|
|
2361
2366
|
});
|
|
2362
2367
|
|
|
2363
|
-
// ../../node_modules/.pnpm/posthog-node@5.
|
|
2368
|
+
// ../../node_modules/.pnpm/posthog-node@5.21.0/node_modules/posthog-node/dist/extensions/error-tracking/autocapture.mjs
|
|
2364
2369
|
function makeUncaughtExceptionHandler(captureFn, onFatalFn) {
|
|
2365
2370
|
let calledFatalError = false;
|
|
2366
2371
|
return Object.assign((error) => {
|
|
@@ -2392,14 +2397,14 @@ function addUnhandledRejectionListener(captureFn) {
|
|
|
2392
2397
|
}));
|
|
2393
2398
|
}
|
|
2394
2399
|
var init_autocapture = __esm({
|
|
2395
|
-
"../../node_modules/.pnpm/posthog-node@5.
|
|
2400
|
+
"../../node_modules/.pnpm/posthog-node@5.21.0/node_modules/posthog-node/dist/extensions/error-tracking/autocapture.mjs"() {
|
|
2396
2401
|
}
|
|
2397
2402
|
});
|
|
2398
2403
|
|
|
2399
|
-
// ../../node_modules/.pnpm/posthog-node@5.
|
|
2404
|
+
// ../../node_modules/.pnpm/posthog-node@5.21.0/node_modules/posthog-node/dist/extensions/error-tracking/index.mjs
|
|
2400
2405
|
var SHUTDOWN_TIMEOUT, ErrorTracking;
|
|
2401
2406
|
var init_error_tracking2 = __esm({
|
|
2402
|
-
"../../node_modules/.pnpm/posthog-node@5.
|
|
2407
|
+
"../../node_modules/.pnpm/posthog-node@5.21.0/node_modules/posthog-node/dist/extensions/error-tracking/index.mjs"() {
|
|
2403
2408
|
init_autocapture();
|
|
2404
2409
|
init_dist();
|
|
2405
2410
|
SHUTDOWN_TIMEOUT = 2e3;
|
|
@@ -2416,6 +2421,9 @@ var init_error_tracking2 = __esm({
|
|
|
2416
2421
|
});
|
|
2417
2422
|
this.startAutocaptureIfEnabled();
|
|
2418
2423
|
}
|
|
2424
|
+
static isPreviouslyCapturedError(x) {
|
|
2425
|
+
return isObject(x) && "__posthog_previously_captured_error" in x && true === x.__posthog_previously_captured_error;
|
|
2426
|
+
}
|
|
2419
2427
|
static async buildEventMessage(error, hint, distinctId, additionalProperties) {
|
|
2420
2428
|
const properties = {
|
|
2421
2429
|
...additionalProperties
|
|
@@ -2440,14 +2448,16 @@ var init_error_tracking2 = __esm({
|
|
|
2440
2448
|
}
|
|
2441
2449
|
onException(exception, hint) {
|
|
2442
2450
|
this.client.addPendingPromise((async () => {
|
|
2443
|
-
|
|
2444
|
-
|
|
2445
|
-
|
|
2446
|
-
|
|
2447
|
-
|
|
2448
|
-
exception
|
|
2449
|
-
|
|
2450
|
-
|
|
2451
|
+
if (!_ErrorTracking.isPreviouslyCapturedError(exception)) {
|
|
2452
|
+
const eventMessage = await _ErrorTracking.buildEventMessage(exception, hint);
|
|
2453
|
+
const exceptionProperties = eventMessage.properties;
|
|
2454
|
+
const exceptionType = exceptionProperties?.$exception_list[0]?.type ?? "Exception";
|
|
2455
|
+
const isRateLimited = this._rateLimiter.consumeRateLimit(exceptionType);
|
|
2456
|
+
if (isRateLimited) return void this._logger.info("Skipping exception capture because of client rate limiting.", {
|
|
2457
|
+
exception: exceptionType
|
|
2458
|
+
});
|
|
2459
|
+
return this.client.capture(eventMessage);
|
|
2460
|
+
}
|
|
2451
2461
|
})());
|
|
2452
2462
|
}
|
|
2453
2463
|
async onFatalError(exception) {
|
|
@@ -2465,18 +2475,18 @@ var init_error_tracking2 = __esm({
|
|
|
2465
2475
|
}
|
|
2466
2476
|
});
|
|
2467
2477
|
|
|
2468
|
-
// ../../node_modules/.pnpm/posthog-node@5.
|
|
2478
|
+
// ../../node_modules/.pnpm/posthog-node@5.21.0/node_modules/posthog-node/dist/version.mjs
|
|
2469
2479
|
var version;
|
|
2470
2480
|
var init_version = __esm({
|
|
2471
|
-
"../../node_modules/.pnpm/posthog-node@5.
|
|
2472
|
-
version = "5.
|
|
2481
|
+
"../../node_modules/.pnpm/posthog-node@5.21.0/node_modules/posthog-node/dist/version.mjs"() {
|
|
2482
|
+
version = "5.21.0";
|
|
2473
2483
|
}
|
|
2474
2484
|
});
|
|
2475
2485
|
|
|
2476
|
-
// ../../node_modules/.pnpm/posthog-node@5.
|
|
2486
|
+
// ../../node_modules/.pnpm/posthog-node@5.21.0/node_modules/posthog-node/dist/types.mjs
|
|
2477
2487
|
var FeatureFlagError;
|
|
2478
2488
|
var init_types3 = __esm({
|
|
2479
|
-
"../../node_modules/.pnpm/posthog-node@5.
|
|
2489
|
+
"../../node_modules/.pnpm/posthog-node@5.21.0/node_modules/posthog-node/dist/types.mjs"() {
|
|
2480
2490
|
FeatureFlagError = {
|
|
2481
2491
|
ERRORS_WHILE_COMPUTING: "errors_while_computing_flags",
|
|
2482
2492
|
FLAG_MISSING: "flag_missing",
|
|
@@ -2486,7 +2496,7 @@ var init_types3 = __esm({
|
|
|
2486
2496
|
}
|
|
2487
2497
|
});
|
|
2488
2498
|
|
|
2489
|
-
// ../../node_modules/.pnpm/posthog-node@5.
|
|
2499
|
+
// ../../node_modules/.pnpm/posthog-node@5.21.0/node_modules/posthog-node/dist/extensions/feature-flags/crypto.mjs
|
|
2490
2500
|
async function hashSHA1(text) {
|
|
2491
2501
|
const subtle = globalThis.crypto?.subtle;
|
|
2492
2502
|
if (!subtle) throw new Error("SubtleCrypto API not available");
|
|
@@ -2495,11 +2505,11 @@ async function hashSHA1(text) {
|
|
|
2495
2505
|
return hashArray.map((byte) => byte.toString(16).padStart(2, "0")).join("");
|
|
2496
2506
|
}
|
|
2497
2507
|
var init_crypto = __esm({
|
|
2498
|
-
"../../node_modules/.pnpm/posthog-node@5.
|
|
2508
|
+
"../../node_modules/.pnpm/posthog-node@5.21.0/node_modules/posthog-node/dist/extensions/feature-flags/crypto.mjs"() {
|
|
2499
2509
|
}
|
|
2500
2510
|
});
|
|
2501
2511
|
|
|
2502
|
-
// ../../node_modules/.pnpm/posthog-node@5.
|
|
2512
|
+
// ../../node_modules/.pnpm/posthog-node@5.21.0/node_modules/posthog-node/dist/extensions/feature-flags/feature-flags.mjs
|
|
2503
2513
|
async function _hash(key, distinctId, salt = "") {
|
|
2504
2514
|
const hashString = await hashSHA1(`${key}.${distinctId}${salt}`);
|
|
2505
2515
|
return parseInt(hashString.slice(0, 15), 16) / LONG_SCALE;
|
|
@@ -2667,7 +2677,7 @@ function relativeDateParseForFeatureFlagMatching(value) {
|
|
|
2667
2677
|
}
|
|
2668
2678
|
var SIXTY_SECONDS, LONG_SCALE, NULL_VALUES_ALLOWED_OPERATORS, ClientError, InconclusiveMatchError, RequiresServerEvaluation, FeatureFlagsPoller;
|
|
2669
2679
|
var init_feature_flags = __esm({
|
|
2670
|
-
"../../node_modules/.pnpm/posthog-node@5.
|
|
2680
|
+
"../../node_modules/.pnpm/posthog-node@5.21.0/node_modules/posthog-node/dist/extensions/feature-flags/feature-flags.mjs"() {
|
|
2671
2681
|
init_dist();
|
|
2672
2682
|
init_crypto();
|
|
2673
2683
|
SIXTY_SECONDS = 6e4;
|
|
@@ -2721,6 +2731,7 @@ var init_feature_flags = __esm({
|
|
|
2721
2731
|
this.customHeaders = customHeaders;
|
|
2722
2732
|
this.onLoad = options.onLoad;
|
|
2723
2733
|
this.cacheProvider = options.cacheProvider;
|
|
2734
|
+
this.strictLocalEvaluation = options.strictLocalEvaluation ?? false;
|
|
2724
2735
|
this.loadFeatureFlags();
|
|
2725
2736
|
}
|
|
2726
2737
|
debug(enabled = true) {
|
|
@@ -2916,6 +2927,11 @@ var init_feature_flags = __esm({
|
|
|
2916
2927
|
this.cohorts = flagData.cohorts;
|
|
2917
2928
|
this.loadedSuccessfullyOnce = true;
|
|
2918
2929
|
}
|
|
2930
|
+
warnAboutExperienceContinuityFlags(flags) {
|
|
2931
|
+
if (this.strictLocalEvaluation) return;
|
|
2932
|
+
const experienceContinuityFlags = flags.filter((f) => f.ensure_experience_continuity);
|
|
2933
|
+
if (experienceContinuityFlags.length > 0) console.warn(`[PostHog] You are using local evaluation but ${experienceContinuityFlags.length} flag(s) have experience continuity enabled: ${experienceContinuityFlags.map((f) => f.key).join(", ")}. Experience continuity is incompatible with local evaluation and will cause a server request on every flag evaluation, negating local evaluation cost savings. To avoid server requests and unexpected costs, either disable experience continuity on these flags in PostHog, use strictLocalEvaluation: true in client init, or pass onlyEvaluateLocally: true per flag call (flags that cannot be evaluated locally will return undefined).`);
|
|
2934
|
+
}
|
|
2919
2935
|
async loadFromCache(debugMessage) {
|
|
2920
2936
|
if (!this.cacheProvider) return false;
|
|
2921
2937
|
try {
|
|
@@ -2924,6 +2940,7 @@ var init_feature_flags = __esm({
|
|
|
2924
2940
|
this.updateFlagState(cached);
|
|
2925
2941
|
this.logMsgIfDebug(() => console.debug(`[FEATURE FLAGS] ${debugMessage} (${cached.flags.length} flags)`));
|
|
2926
2942
|
this.onLoad?.(this.featureFlags.length);
|
|
2943
|
+
this.warnAboutExperienceContinuityFlags(cached.flags);
|
|
2927
2944
|
return true;
|
|
2928
2945
|
}
|
|
2929
2946
|
return false;
|
|
@@ -3017,6 +3034,7 @@ var init_feature_flags = __esm({
|
|
|
3017
3034
|
this.onError?.(new Error(`Failed to store in cache: ${err}`));
|
|
3018
3035
|
}
|
|
3019
3036
|
this.onLoad?.(this.featureFlags.length);
|
|
3037
|
+
this.warnAboutExperienceContinuityFlags(flagData.flags);
|
|
3020
3038
|
break;
|
|
3021
3039
|
}
|
|
3022
3040
|
default:
|
|
@@ -3072,10 +3090,10 @@ var init_feature_flags = __esm({
|
|
|
3072
3090
|
}
|
|
3073
3091
|
});
|
|
3074
3092
|
|
|
3075
|
-
// ../../node_modules/.pnpm/posthog-node@5.
|
|
3093
|
+
// ../../node_modules/.pnpm/posthog-node@5.21.0/node_modules/posthog-node/dist/storage-memory.mjs
|
|
3076
3094
|
var PostHogMemoryStorage;
|
|
3077
3095
|
var init_storage_memory = __esm({
|
|
3078
|
-
"../../node_modules/.pnpm/posthog-node@5.
|
|
3096
|
+
"../../node_modules/.pnpm/posthog-node@5.21.0/node_modules/posthog-node/dist/storage-memory.mjs"() {
|
|
3079
3097
|
PostHogMemoryStorage = class {
|
|
3080
3098
|
getProperty(key) {
|
|
3081
3099
|
return this._memoryStorage[key];
|
|
@@ -3090,10 +3108,10 @@ var init_storage_memory = __esm({
|
|
|
3090
3108
|
}
|
|
3091
3109
|
});
|
|
3092
3110
|
|
|
3093
|
-
// ../../node_modules/.pnpm/posthog-node@5.
|
|
3111
|
+
// ../../node_modules/.pnpm/posthog-node@5.21.0/node_modules/posthog-node/dist/client.mjs
|
|
3094
3112
|
var MINIMUM_POLLING_INTERVAL, THIRTY_SECONDS, MAX_CACHE_SIZE, PostHogBackendClient;
|
|
3095
3113
|
var init_client = __esm({
|
|
3096
|
-
"../../node_modules/.pnpm/posthog-node@5.
|
|
3114
|
+
"../../node_modules/.pnpm/posthog-node@5.21.0/node_modules/posthog-node/dist/client.mjs"() {
|
|
3097
3115
|
init_version();
|
|
3098
3116
|
init_dist();
|
|
3099
3117
|
init_types3();
|
|
@@ -3126,7 +3144,8 @@ var init_client = __esm({
|
|
|
3126
3144
|
this._events.emit("localEvaluationFlagsLoaded", count);
|
|
3127
3145
|
},
|
|
3128
3146
|
customHeaders: this.getCustomHeaders(),
|
|
3129
|
-
cacheProvider: options.flagDefinitionCacheProvider
|
|
3147
|
+
cacheProvider: options.flagDefinitionCacheProvider,
|
|
3148
|
+
strictLocalEvaluation: options.strictLocalEvaluation
|
|
3130
3149
|
});
|
|
3131
3150
|
}
|
|
3132
3151
|
this.errorTracking = new ErrorTracking(this, options, this._logger);
|
|
@@ -3239,7 +3258,7 @@ var init_client = __esm({
|
|
|
3239
3258
|
const adjustedProperties = this.addLocalPersonAndGroupProperties(distinctId, groups, personProperties, groupProperties);
|
|
3240
3259
|
personProperties = adjustedProperties.allPersonProperties;
|
|
3241
3260
|
groupProperties = adjustedProperties.allGroupProperties;
|
|
3242
|
-
if (void 0 == onlyEvaluateLocally) onlyEvaluateLocally = false;
|
|
3261
|
+
if (void 0 == onlyEvaluateLocally) onlyEvaluateLocally = this.options.strictLocalEvaluation ?? false;
|
|
3243
3262
|
if (void 0 == sendFeatureFlagEvents) sendFeatureFlagEvents = this.options.sendFeatureFlagEvent ?? true;
|
|
3244
3263
|
let response = await this.featureFlagsPoller?.getFeatureFlag(key, distinctId, groups, personProperties, groupProperties);
|
|
3245
3264
|
const flagWasLocallyEvaluated = void 0 !== response;
|
|
@@ -3316,7 +3335,7 @@ var init_client = __esm({
|
|
|
3316
3335
|
else throw e;
|
|
3317
3336
|
}
|
|
3318
3337
|
}
|
|
3319
|
-
if (void 0 == onlyEvaluateLocally) onlyEvaluateLocally = false;
|
|
3338
|
+
if (void 0 == onlyEvaluateLocally) onlyEvaluateLocally = this.options.strictLocalEvaluation ?? false;
|
|
3320
3339
|
const payloadWasLocallyEvaluated = void 0 !== response;
|
|
3321
3340
|
if (!payloadWasLocallyEvaluated && !onlyEvaluateLocally) response = await super.getFeatureFlagPayloadStateless(key, distinctId, groups, personProperties, groupProperties, disableGeoip);
|
|
3322
3341
|
return response;
|
|
@@ -3347,7 +3366,7 @@ var init_client = __esm({
|
|
|
3347
3366
|
const adjustedProperties = this.addLocalPersonAndGroupProperties(distinctId, groups, personProperties, groupProperties);
|
|
3348
3367
|
personProperties = adjustedProperties.allPersonProperties;
|
|
3349
3368
|
groupProperties = adjustedProperties.allGroupProperties;
|
|
3350
|
-
if (void 0 == onlyEvaluateLocally) onlyEvaluateLocally = false;
|
|
3369
|
+
if (void 0 == onlyEvaluateLocally) onlyEvaluateLocally = this.options.strictLocalEvaluation ?? false;
|
|
3351
3370
|
const localEvaluationResult = await this.featureFlagsPoller?.getAllFlagsAndPayloads(distinctId, groups, personProperties, groupProperties, flagKeys);
|
|
3352
3371
|
let featureFlags = {};
|
|
3353
3372
|
let featureFlagPayloads = {};
|
|
@@ -3497,7 +3516,7 @@ var init_client = __esm({
|
|
|
3497
3516
|
const finalPersonProperties = sendFeatureFlagsOptions?.personProperties || {};
|
|
3498
3517
|
const finalGroupProperties = sendFeatureFlagsOptions?.groupProperties || {};
|
|
3499
3518
|
const flagKeys = sendFeatureFlagsOptions?.flagKeys;
|
|
3500
|
-
const onlyEvaluateLocally = sendFeatureFlagsOptions?.onlyEvaluateLocally ?? false;
|
|
3519
|
+
const onlyEvaluateLocally = sendFeatureFlagsOptions?.onlyEvaluateLocally ?? this.options.strictLocalEvaluation ?? false;
|
|
3501
3520
|
if (onlyEvaluateLocally) if (!((this.featureFlagsPoller?.featureFlags?.length || 0) > 0)) return {};
|
|
3502
3521
|
else {
|
|
3503
3522
|
const groupsWithStringValues = {};
|
|
@@ -3540,17 +3559,24 @@ var init_client = __esm({
|
|
|
3540
3559
|
allGroupProperties
|
|
3541
3560
|
};
|
|
3542
3561
|
}
|
|
3543
|
-
captureException(error, distinctId, additionalProperties) {
|
|
3544
|
-
|
|
3545
|
-
|
|
3546
|
-
|
|
3547
|
-
|
|
3562
|
+
captureException(error, distinctId, additionalProperties, uuid) {
|
|
3563
|
+
if (!ErrorTracking.isPreviouslyCapturedError(error)) {
|
|
3564
|
+
const syntheticException = new Error("PostHog syntheticException");
|
|
3565
|
+
this.addPendingPromise(ErrorTracking.buildEventMessage(error, {
|
|
3566
|
+
syntheticException
|
|
3567
|
+
}, distinctId, additionalProperties).then((msg) => this.capture({
|
|
3568
|
+
...msg,
|
|
3569
|
+
uuid
|
|
3570
|
+
})));
|
|
3571
|
+
}
|
|
3548
3572
|
}
|
|
3549
3573
|
async captureExceptionImmediate(error, distinctId, additionalProperties) {
|
|
3550
|
-
|
|
3551
|
-
|
|
3552
|
-
|
|
3553
|
-
|
|
3574
|
+
if (!ErrorTracking.isPreviouslyCapturedError(error)) {
|
|
3575
|
+
const syntheticException = new Error("PostHog syntheticException");
|
|
3576
|
+
this.addPendingPromise(ErrorTracking.buildEventMessage(error, {
|
|
3577
|
+
syntheticException
|
|
3578
|
+
}, distinctId, additionalProperties).then((msg) => this.captureImmediate(msg)));
|
|
3579
|
+
}
|
|
3554
3580
|
}
|
|
3555
3581
|
async prepareEventMessage(props) {
|
|
3556
3582
|
const { distinctId, event, properties, groups, sendFeatureFlags, timestamp, disableGeoip, uuid } = props;
|
|
@@ -3639,7 +3665,7 @@ var init_client = __esm({
|
|
|
3639
3665
|
});
|
|
3640
3666
|
var PostHogContext;
|
|
3641
3667
|
var init_context = __esm({
|
|
3642
|
-
"../../node_modules/.pnpm/posthog-node@5.
|
|
3668
|
+
"../../node_modules/.pnpm/posthog-node@5.21.0/node_modules/posthog-node/dist/extensions/context/context.mjs"() {
|
|
3643
3669
|
PostHogContext = class {
|
|
3644
3670
|
constructor() {
|
|
3645
3671
|
this.storage = new AsyncLocalStorage();
|
|
@@ -3667,7 +3693,7 @@ var init_context = __esm({
|
|
|
3667
3693
|
}
|
|
3668
3694
|
});
|
|
3669
3695
|
|
|
3670
|
-
// ../../node_modules/.pnpm/posthog-node@5.
|
|
3696
|
+
// ../../node_modules/.pnpm/posthog-node@5.21.0/node_modules/posthog-node/dist/extensions/sentry-integration.mjs
|
|
3671
3697
|
function createEventProcessor(_posthog, { organization, projectId, prefix, severityAllowList = [
|
|
3672
3698
|
"error"
|
|
3673
3699
|
], sendExceptionsToPostHog = true } = {}) {
|
|
@@ -3723,7 +3749,7 @@ function sentryIntegration(_posthog, options) {
|
|
|
3723
3749
|
}
|
|
3724
3750
|
var NAME, PostHogSentryIntegration;
|
|
3725
3751
|
var init_sentry_integration = __esm({
|
|
3726
|
-
"../../node_modules/.pnpm/posthog-node@5.
|
|
3752
|
+
"../../node_modules/.pnpm/posthog-node@5.21.0/node_modules/posthog-node/dist/extensions/sentry-integration.mjs"() {
|
|
3727
3753
|
NAME = "posthog-node";
|
|
3728
3754
|
PostHogSentryIntegration = class {
|
|
3729
3755
|
static #_ = this.POSTHOG_ID_TAG = "posthog_distinct_id";
|
|
@@ -3745,12 +3771,13 @@ var init_sentry_integration = __esm({
|
|
|
3745
3771
|
}
|
|
3746
3772
|
});
|
|
3747
3773
|
|
|
3748
|
-
// ../../node_modules/.pnpm/posthog-node@5.
|
|
3774
|
+
// ../../node_modules/.pnpm/posthog-node@5.21.0/node_modules/posthog-node/dist/extensions/express.mjs
|
|
3749
3775
|
function setupExpressErrorHandler(_posthog, app) {
|
|
3750
3776
|
app.use(posthogErrorHandler(_posthog));
|
|
3751
3777
|
}
|
|
3752
3778
|
function posthogErrorHandler(posthog) {
|
|
3753
3779
|
return (error, req, res, next) => {
|
|
3780
|
+
if (ErrorTracking.isPreviouslyCapturedError(error)) return void next(error);
|
|
3754
3781
|
const sessionId = req.headers["x-posthog-session-id"];
|
|
3755
3782
|
const distinctId = req.headers["x-posthog-distinct-id"];
|
|
3756
3783
|
const syntheticException = new Error("Synthetic exception");
|
|
@@ -3776,21 +3803,21 @@ function posthogErrorHandler(posthog) {
|
|
|
3776
3803
|
};
|
|
3777
3804
|
}
|
|
3778
3805
|
var init_express = __esm({
|
|
3779
|
-
"../../node_modules/.pnpm/posthog-node@5.
|
|
3806
|
+
"../../node_modules/.pnpm/posthog-node@5.21.0/node_modules/posthog-node/dist/extensions/express.mjs"() {
|
|
3780
3807
|
init_error_tracking2();
|
|
3781
3808
|
}
|
|
3782
3809
|
});
|
|
3783
3810
|
|
|
3784
|
-
// ../../node_modules/.pnpm/posthog-node@5.
|
|
3811
|
+
// ../../node_modules/.pnpm/posthog-node@5.21.0/node_modules/posthog-node/dist/exports.mjs
|
|
3785
3812
|
var init_exports = __esm({
|
|
3786
|
-
"../../node_modules/.pnpm/posthog-node@5.
|
|
3813
|
+
"../../node_modules/.pnpm/posthog-node@5.21.0/node_modules/posthog-node/dist/exports.mjs"() {
|
|
3787
3814
|
init_sentry_integration();
|
|
3788
3815
|
init_express();
|
|
3789
3816
|
init_types3();
|
|
3790
3817
|
}
|
|
3791
3818
|
});
|
|
3792
3819
|
|
|
3793
|
-
// ../../node_modules/.pnpm/posthog-node@5.
|
|
3820
|
+
// ../../node_modules/.pnpm/posthog-node@5.21.0/node_modules/posthog-node/dist/entrypoints/index.node.mjs
|
|
3794
3821
|
var index_node_exports = {};
|
|
3795
3822
|
__export(index_node_exports, {
|
|
3796
3823
|
FeatureFlagError: () => FeatureFlagError,
|
|
@@ -3802,7 +3829,7 @@ __export(index_node_exports, {
|
|
|
3802
3829
|
});
|
|
3803
3830
|
var PostHog;
|
|
3804
3831
|
var init_index_node = __esm({
|
|
3805
|
-
"../../node_modules/.pnpm/posthog-node@5.
|
|
3832
|
+
"../../node_modules/.pnpm/posthog-node@5.21.0/node_modules/posthog-node/dist/entrypoints/index.node.mjs"() {
|
|
3806
3833
|
init_module_node();
|
|
3807
3834
|
init_context_lines_node();
|
|
3808
3835
|
init_error_tracking2();
|