Disable AMD in our bundle #1685
pull-request-validation.yml
on: pull_request
Build
3m 18s
Unit test
4m 22s
Build samples
33s
Static code analysis
4m 53s
Type definitions test
4m 10s
Matrix: html-test
Merge test results
1m 5s
Merge test snapshots
3s
Annotations
4 errors and 1 warning
|
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-*'
|
|
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:94c91b7a2214a8a4b6f6ee8862cbb03630f38d0e6509ff2696c8ff8be170457a
|
|
|
test-result
Expired
|
1.27 MB |
sha256:d881e63ec7b940bda2798c65599a52783bb6fbece0e6c180fcba67b3c3aac928
|
|