Skip to content

Disable AMD in our bundle #1681

Disable AMD in our bundle

Disable AMD in our bundle #1681

Triggered via pull request May 15, 2025 06:15
Status Failure
Total duration 13m 36s
Artifacts 2

pull-request-validation.yml

on: pull_request
Matrix: html-test
Merge test results
1m 20s
Merge test results
Merge test snapshots
5s
Merge test snapshots
Fit to window
Zoom out
Zoom in

Annotations

14 errors and 11 warnings
Static code analysis: packages/api/src/external/PrecompiledGlobalize.bundle.js#L7
Unexpected var, use let or const instead
Static code analysis: packages/api/src/external/PrecompiledGlobalize.bundle.js#L6
Unexpected var, use let or const instead
Static code analysis: packages/api/src/external/PrecompiledGlobalize.bundle.js#L5
Unexpected var, use let or const instead
Static code analysis: packages/api/src/external/PrecompiledGlobalize.bundle.js#L4
Unexpected var, use let or const instead
Static code analysis: packages/api/src/external/PrecompiledGlobalize.bundle.js#L3
Unexpected var, use let or const instead
Static code analysis: packages/api/src/external/PrecompiledGlobalize.bundle.js#L2
Unexpected var, use let or const instead
Static code analysis: packages/api/src/external/PrecompiledGlobalize.bundle.js#L1
Unexpected var, use let or const instead
HTML test (1/17)
Process completed with exit code 1.
hosting/requirejs.html: https://requirejs.org/docs/release/2.3.7/minified/require.js#L5
Mismatched anonymous define() module: function() { return function(input) { function isSpace(c11) { return c11 === " " || // space c11 === " " || // horizontal tab c11 === "\n" || // new line c11 === "\f" || // form feed c11 === "\r"; } function collectCharacters(regEx) { var chars2, match2 = regEx.exec(input.substring(pos)); if (match2) { chars2 = match2[0]; pos += chars2.length; return chars2; } } var inputLength = input.length, regexLeadingSpaces = /^[ \t\n\r\u000c]+/, regexLeadingCommasOrSpaces = /^[, \t\n\r\u000c]+/, regexLeadingNotSpaces = /^[^ \t\n\r\u000c]+/, regexTrailingCommas = /[,]+$/, regexNonNegativeInteger = /^\d+$/, regexFloatingPoint = /^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/, url, descriptors, currentDescriptor, state, c10, pos = 0, candidates = []; while (true) { collectCharacters(regexLeadingCommasOrSpaces); if (pos >= inputLength) { return candidates; } url = collectCharacters(regexLeadingNotSpaces); descriptors = []; if (url.slice(-1) === ",") { url = url.replace(regexTrailingCommas, ""); parseDescriptors(); } else { tokenize(); } } function tokenize() { collectCharacters(regexLeadingSpaces); currentDescriptor = ""; state = "in descriptor"; while (true) { c10 = input.charAt(pos); if (state === "in descriptor") { if (isSpace(c10)) { if (currentDescriptor) { descriptors.push(currentDescriptor); currentDescriptor = ""; state = "after descriptor"; } } else if (c10 === ",") { pos += 1; if (currentDescriptor) { descriptors.push(currentDescriptor); } parseDescriptors(); return; } else if (c10 === "(") { currentDescriptor = currentDescriptor + c10; state = "in parens"; } else if (c10 === "") { if (currentDescriptor) { descriptors.push(currentDescriptor); } parseDescriptors(); return; } else { currentDescriptor = currentDescriptor + c10; } } else if (state === "in parens") { if (c10 === ")") { currentDescriptor = currentDescriptor + c10; state = "in descriptor"; } else if (c10 === "") { descriptors.push(currentDescriptor); parseDescriptors(); return; } else { currentDescriptor = currentDescriptor + c10; } } else if (state === "after descriptor") { if (isSpace(c10)) { } else if (c10 === "") { parseDescriptors(); return; } else { state = "in descriptor"; pos -= 1; } } pos += 1; } } function parseDescriptors() { var pError = false, w12, d10, h10, i6, candidate = {}, desc, lastChar, value, intVal, floatVal; for (i6 = 0; i6 < descriptors.length; i6++) { desc = descriptors[i6]; lastChar = desc[desc.length - 1]; value = desc.substring(0, desc.length - 1); intVal = parseInt(value, 10); floatVal = parseFloat(value); if (regexNonNegativeInteger.test(value) && lastChar === "w") { if (w12 || d10) {
hosting/requirejs.html: https://requirejs.org/docs/release/2.3.7/minified/require.js#L5
Mismatched anonymous define() module: function() { return function(input) { function isSpace(c11) { return c11 === " " || // space c11 === " " || // horizontal tab c11 === "\n" || // new line c11 === "\f" || // form feed c11 === "\r"; } function collectCharacters(regEx) { var chars2, match2 = regEx.exec(input.substring(pos)); if (match2) { chars2 = match2[0]; pos += chars2.length; return chars2; } } var inputLength = input.length, regexLeadingSpaces = /^[ \t\n\r\u000c]+/, regexLeadingCommasOrSpaces = /^[, \t\n\r\u000c]+/, regexLeadingNotSpaces = /^[^ \t\n\r\u000c]+/, regexTrailingCommas = /[,]+$/, regexNonNegativeInteger = /^\d+$/, regexFloatingPoint = /^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/, url, descriptors, currentDescriptor, state, c10, pos = 0, candidates = []; while (true) { collectCharacters(regexLeadingCommasOrSpaces); if (pos >= inputLength) { return candidates; } url = collectCharacters(regexLeadingNotSpaces); descriptors = []; if (url.slice(-1) === ",") { url = url.replace(regexTrailingCommas, ""); parseDescriptors(); } else { tokenize(); } } function tokenize() { collectCharacters(regexLeadingSpaces); currentDescriptor = ""; state = "in descriptor"; while (true) { c10 = input.charAt(pos); if (state === "in descriptor") { if (isSpace(c10)) { if (currentDescriptor) { descriptors.push(currentDescriptor); currentDescriptor = ""; state = "after descriptor"; } } else if (c10 === ",") { pos += 1; if (currentDescriptor) { descriptors.push(currentDescriptor); } parseDescriptors(); return; } else if (c10 === "(") { currentDescriptor = currentDescriptor + c10; state = "in parens"; } else if (c10 === "") { if (currentDescriptor) { descriptors.push(currentDescriptor); } parseDescriptors(); return; } else { currentDescriptor = currentDescriptor + c10; } } else if (state === "in parens") { if (c10 === ")") { currentDescriptor = currentDescriptor + c10; state = "in descriptor"; } else if (c10 === "") { descriptors.push(currentDescriptor); parseDescriptors(); return; } else { currentDescriptor = currentDescriptor + c10; } } else if (state === "after descriptor") { if (isSpace(c10)) { } else if (c10 === "") { parseDescriptors(); return; } else { state = "in descriptor"; pos -= 1; } } pos += 1; } } function parseDescriptors() { var pError = false, w12, d10, h10, i6, candidate = {}, desc, lastChar, value, intVal, floatVal; for (i6 = 0; i6 < descriptors.length; i6++) { desc = descriptors[i6]; lastChar = desc[desc.length - 1]; value = desc.substring(0, desc.length - 1); intVal = parseInt(value, 10); floatVal = parseFloat(value); if (regexNonNegativeInteger.test(value) && lastChar === "w") { if (w12 || d10) {
Merge test snapshots
No artifacts found matching pattern 'test-snapshot-diff-*'
Static code analysis: packages/api/src/external/PrecompiledGlobalize.bundle.js#L80
Function Call Object Injection Sink
Static code analysis: packages/api/src/external/PrecompiledGlobalize.bundle.js#L46
Function Call Object Injection Sink
HTML test (1/17)
No files were found with the provided path: ./__tests__/__image_snapshots__/*/__diff_output__/* ./__tests__/html2/**/*.snap-*-diff.png. No artifacts will be uploaded.

Artifacts

Produced during runtime
Name Size Digest
docker Expired
123 MB
sha256:a18bf0918ca1a3d78d2f0e3f83d1bc27ce52918be80401ee961020ef9f245343
test-result Expired
1.27 MB
sha256:d5134c502d6ea081bfd3c7aa5c9c9af3bb553d8ebae5c02831b1db8a09f007e4