Merge "build: Updating npm dependencies"

This commit is contained in:
jenkins-bot 2023-03-30 07:12:05 +00:00 committed by Gerrit Code Review
commit c177deeab8
3 changed files with 328 additions and 437 deletions

755
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -8,7 +8,7 @@
"doc": "jsduck"
},
"devDependencies": {
"eslint-config-wikimedia": "0.22.1",
"eslint-config-wikimedia": "0.24.0",
"grunt": "1.5.3",
"grunt-banana-checker": "0.10.0",
"grunt-eslint": "24.0.0",

View file

@ -116,7 +116,7 @@
assert.notStrictEqual( generatedHtml.match( width ), null, 'Width appears in generated HTML' );
assert.notStrictEqual( generatedHtml.match( height ), null, 'Height appears in generated HTML' );
// .includes() for checking the short url since it contains a ? (bad for regex). Could escape instead.
// eslint-disable-next-line no-restricted-syntax
// eslint-disable-next-line es-x/no-string-prototype-includes, es-x/no-array-prototype-includes
assert.notStrictEqual( generatedHtml.includes( filePageShortUrl ), null, 'Short URL appears in generated HTML' );
// Bylines, no license and site
@ -133,7 +133,7 @@
assert.notStrictEqual( generatedHtml.match( 'Iliad' ), null, 'Source appears in generated HTML' );
assert.notStrictEqual( generatedHtml.match( width ), null, 'Width appears in generated HTML' );
assert.notStrictEqual( generatedHtml.match( height ), null, 'Height appears in generated HTML' );
// eslint-disable-next-line no-restricted-syntax
// eslint-disable-next-line es-x/no-string-prototype-includes, es-x/no-array-prototype-includes
assert.notStrictEqual( generatedHtml.includes( filePageShortUrl ), null, 'Short URL appears in generated HTML' );
// No bylines, license and site
@ -151,7 +151,7 @@
assert.strictEqual( generatedHtml.match( 'Iliad' ), null, 'Source should not appear in generated HTML' );
assert.notStrictEqual( generatedHtml.match( width ), null, 'Width appears in generated HTML' );
assert.notStrictEqual( generatedHtml.match( height ), null, 'Height appears in generated HTML' );
// eslint-disable-next-line no-restricted-syntax
// eslint-disable-next-line es-x/no-string-prototype-includes, es-x/no-array-prototype-includes
assert.notStrictEqual( generatedHtml.includes( filePageShortUrl ), null, 'Short URL appears in generated HTML' );
// No bylines, no license and site
@ -167,7 +167,7 @@
assert.strictEqual( generatedHtml.match( 'Iliad' ), null, 'Source should not appear in generated HTML' );
assert.notStrictEqual( generatedHtml.match( width ), null, 'Width appears in generated HTML' );
assert.notStrictEqual( generatedHtml.match( height ), null, 'Height appears in generated HTML' );
// eslint-disable-next-line no-restricted-syntax
// eslint-disable-next-line es-x/no-string-prototype-includes, es-x/no-array-prototype-includes
assert.notStrictEqual( generatedHtml.includes( filePageShortUrl ), null, 'Short URL appears in generated HTML' );
} );