@guidelytech/shared 0.11.0 → 0.13.0
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/chunk-XJXXVV3C.js +1941 -0
- package/dist/chunk-XJXXVV3C.js.map +1 -0
- package/dist/index.cjs +12 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +9 -3
- package/dist/index.js.map +1 -1
- package/dist/runtime-BeSHQtNX.d.cts +5263 -0
- package/dist/runtime-BeSHQtNX.d.ts +5263 -0
- package/dist/runtime.cjs +6 -1
- package/dist/runtime.cjs.map +1 -1
- package/dist/runtime.d.cts +1 -1
- package/dist/runtime.d.ts +1 -1
- package/dist/runtime.js +3 -1
- package/package.json +1 -1
package/dist/runtime.cjs
CHANGED
|
@@ -148,6 +148,7 @@ __export(runtime_exports, {
|
|
|
148
148
|
matchesHelpQuery: () => matchesHelpQuery,
|
|
149
149
|
mediaKind: () => mediaKind,
|
|
150
150
|
mediaMaxBytes: () => mediaMaxBytes,
|
|
151
|
+
needsReview: () => needsReview,
|
|
151
152
|
normalizeErrorMessage: () => normalizeErrorMessage,
|
|
152
153
|
normalizeFrameFile: () => normalizeFrameFile,
|
|
153
154
|
normalizeLocale: () => normalizeLocale,
|
|
@@ -629,7 +630,7 @@ function normalizeFrameFile(file) {
|
|
|
629
630
|
}
|
|
630
631
|
return path.replace(/[.-][0-9a-f]{6,}(?=\.\w+$)/i, "").replace(/\/\d+\//g, "/<n>/");
|
|
631
632
|
}
|
|
632
|
-
var SOURCEMAP_MAX_FILE_BYTES =
|
|
633
|
+
var SOURCEMAP_MAX_FILE_BYTES = 100 * 1024 * 1024;
|
|
633
634
|
var SOURCEMAP_MAX_FILES_PER_UPLOAD = 200;
|
|
634
635
|
function fingerprintError(input) {
|
|
635
636
|
const top = (input.frames ?? []).find((f) => f.file);
|
|
@@ -1498,6 +1499,9 @@ var AGENT_METADATA_MAX_BYTES = 4096;
|
|
|
1498
1499
|
var SCOUT_AGENT_ID = "scout";
|
|
1499
1500
|
|
|
1500
1501
|
// src/localization.ts
|
|
1502
|
+
function needsReview(state) {
|
|
1503
|
+
return !!state && (state.origin === "machine" && !state.approved || state.outdated);
|
|
1504
|
+
}
|
|
1501
1505
|
var DEFAULT_LOCALE = "en";
|
|
1502
1506
|
var COMMON_LOCALES = [
|
|
1503
1507
|
{ code: "en", name: "English" },
|
|
@@ -2086,6 +2090,7 @@ function contrastIssues(colors) {
|
|
|
2086
2090
|
matchesHelpQuery,
|
|
2087
2091
|
mediaKind,
|
|
2088
2092
|
mediaMaxBytes,
|
|
2093
|
+
needsReview,
|
|
2089
2094
|
normalizeErrorMessage,
|
|
2090
2095
|
normalizeFrameFile,
|
|
2091
2096
|
normalizeLocale,
|