mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/MultimediaViewer
synced 2024-11-24 00:03:56 +00:00
Merge "build: Updating npm dependencies"
This commit is contained in:
commit
c177deeab8
755
package-lock.json
generated
755
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
@ -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",
|
||||
|
|
|
@ -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' );
|
||||
|
||||
} );
|
||||
|
|
Loading…
Reference in a new issue