@meridianlabs/log-viewer 0.3.180 → 0.3.182
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"remoteLogFile.d.ts","sourceRoot":"","sources":["../../../src/client/remote/remoteLogFile.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAY,UAAU,EAAY,MAAM,kBAAkB,CAAC;AAI3E,OAAO,EAEL,UAAU,EACV,UAAU,EACV,UAAU,EAEX,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"remoteLogFile.d.ts","sourceRoot":"","sources":["../../../src/client/remote/remoteLogFile.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAY,UAAU,EAAY,MAAM,kBAAkB,CAAC;AAI3E,OAAO,EAEL,UAAU,EACV,UAAU,EACV,UAAU,EAEX,MAAM,cAAc,CAAC;AAoBtB,qBAAa,mBAAoB,SAAQ,KAAK;gBAChC,OAAO,CAAC,EAAE,MAAM;CAM7B;AACD,MAAM,WAAW,aAAa;IAC5B,iBAAiB,EAAE,MAAM,OAAO,CAAC,UAAU,CAAC,CAAC;IAC7C,cAAc,EAAE,MAAM,OAAO,CAAC,UAAU,CAAC,CAAC;IAC1C,UAAU,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,OAAO,CAAC,UAAU,CAAC,CAAC;IACrE,eAAe,EAAE,MAAM,OAAO,CAAC,OAAO,CAAC,CAAC;CACzC;AAQD;;GAEG;AACH,eAAO,MAAM,iBAAiB,GAC5B,KAAK,UAAU,EACf,KAAK,MAAM,EACX,aAAa,MAAM,KAClB,OAAO,CAAC,aAAa,CA6PvB,CAAC"}
|
package/lib/index.js
CHANGED
|
@@ -97666,6 +97666,7 @@ const parseCentralDirectory = (buffer2) => {
|
|
|
97666
97666
|
return entries;
|
|
97667
97667
|
};
|
|
97668
97668
|
const OPEN_RETRY_LIMIT = 5;
|
|
97669
|
+
const MAX_SAMPLE_SIZE_BYTES = 2048 * 1024 * 1024;
|
|
97669
97670
|
class SampleNotFoundError extends Error {
|
|
97670
97671
|
constructor(message2) {
|
|
97671
97672
|
super(message2 || "Sample not found");
|
|
@@ -97745,6 +97746,10 @@ const openRemoteLogFile = async (api2, url, concurrency) => {
|
|
|
97745
97746
|
`Unable to read sample file ${sampleFile} - it is not present in the manifest.`
|
|
97746
97747
|
);
|
|
97747
97748
|
}
|
|
97749
|
+
const entry = remoteZipFile.centralDirectory.get(sampleFile);
|
|
97750
|
+
if (entry.uncompressedSize > MAX_SAMPLE_SIZE_BYTES) {
|
|
97751
|
+
throw new FileSizeLimitError(sampleFile, MAX_SAMPLE_SIZE_BYTES);
|
|
97752
|
+
}
|
|
97748
97753
|
const eventsPreprocessor = {
|
|
97749
97754
|
preprocess: clearLargeEventsArray
|
|
97750
97755
|
};
|
|
@@ -106524,7 +106529,7 @@ const ViewerOptionsPopover = ({
|
|
|
106524
106529
|
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$1d.fullWidth, styles$1d.fullWidthPadded), children: /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: styles$1d.logDir, children: logDir2 }) }),
|
|
106525
106530
|
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$1d.spacer) }),
|
|
106526
106531
|
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx("text-style-label", "text-style-secondary"), children: "Version" }),
|
|
106527
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(), children: "0.3.
|
|
106532
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(), children: "0.3.182-0-g2e91cc335" }),
|
|
106528
106533
|
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx("text-style-label", "text-style-secondary"), children: "Schema" }),
|
|
106529
106534
|
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(), children: DB_VERSION }),
|
|
106530
106535
|
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$1d.spacer) }),
|
|
@@ -178889,7 +178894,7 @@ const ScoreEditEventView = ({
|
|
|
178889
178894
|
}
|
|
178890
178895
|
),
|
|
178891
178896
|
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx(styles$z.container), children: [
|
|
178892
|
-
event.edit.value ? /* @__PURE__ */ jsxRuntimeExports.jsxs(Fragment, { children: [
|
|
178897
|
+
event.edit.value !== void 0 ? /* @__PURE__ */ jsxRuntimeExports.jsxs(Fragment, { children: [
|
|
178893
178898
|
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$z.separator) }),
|
|
178894
178899
|
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "text-style-label", children: "Value" }),
|
|
178895
178900
|
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: renderScore(event.edit.value) })
|