JSDoc: Update jsdoc-wmf-theme to 1.0.0

Change-Id: Ibca8da2015bdbcc08817c9852c5cda7c72e07b38
This commit is contained in:
Ed Sanders 2024-04-30 12:32:58 +01:00
parent 373538d206
commit 8093aa43c1
7 changed files with 58 additions and 42 deletions

View file

@ -147,8 +147,9 @@ OO.inheritClass( ve.init.mw.ArticleTarget, ve.init.mw.Target );
*/
/**
* @event ve.init.mw.ArticleTarget#serializeComplete
* Fired when serialization is complete
*
* @event ve.init.mw.ArticleTarget#serializeComplete
*/
/* Static Properties */

View file

@ -174,23 +174,27 @@ ve.init.mw.DesktopArticleTarget.static.platformType = 'desktop';
*/
/**
* @event ve.init.mw.DesktopArticleTarget#saveWorkflowBegin
* Fired when user clicks the button to open the save dialog.
*
* @event ve.init.mw.DesktopArticleTarget#saveWorkflowBegin
*/
/**
* @event ve.init.mw.DesktopArticleTarget#saveWorkflowEnd
* Fired when user exits the save workflow
*
* @event ve.init.mw.DesktopArticleTarget#saveWorkflowEnd
*/
/**
* @event ve.init.mw.DesktopArticleTarget#saveReview
* Fired when user initiates review changes in save workflow
*
* @event ve.init.mw.DesktopArticleTarget#saveReview
*/
/**
* @event ve.init.mw.DesktopArticleTarget#saveInitiated
* Fired when user initiates saving of the document
*
* @event ve.init.mw.DesktopArticleTarget#saveInitiated
*/
/* Methods */

View file

@ -6,7 +6,7 @@
*/
/**
* @external VisualEditorOverlay
* @external mw.mobileFrontend.VisualEditorOverlay
*/
/**
@ -16,7 +16,7 @@
* @extends ve.init.mw.ArticleTarget
*
* @constructor
* @param {VisualEditorOverlay} overlay Mobile frontend overlay
* @param {mw.mobileFrontend.VisualEditorOverlay} overlay Mobile frontend overlay
* @param {Object} [config] Configuration options
* @cfg {Object} [toolbarConfig]
* @cfg {string|null} [section] Number of the section target should scroll to

View file

@ -5,6 +5,8 @@
* @license The MIT License (MIT); see LICENSE.txt
*/
/* global ve */
/**
* Diff loader.
*
@ -18,10 +20,6 @@
mw.libs.ve = mw.libs.ve || {};
mw.libs.ve.diffLoader = {
/**
* @external ve
*/
/**
* Get a ve.dm.Document model from a Parsoid response
*
@ -31,7 +29,6 @@
*/
getModelFromResponse: function ( response, section ) {
// This method is only called after actually loading these, see `parseDocumentModulePromise`
// eslint-disable-next-line no-undef
var targetClass = ve.init.mw.ArticleTarget,
data = response ? ( response.visualeditor || response.visualeditoredit ) : null;
if ( data && typeof data.content === 'string' ) {
@ -101,7 +98,6 @@
// We may want to remove that assumption from the differ?
newDoc.getStore().merge( oldDoc.getStore() );
return function () {
// eslint-disable-next-line no-undef
return new ve.dm.VisualDiff( oldDoc, newDoc );
};
} );

View file

@ -89,30 +89,35 @@ ve.ui.MWSaveDialog.static.actions = [
/* Events */
/**
* Emitted when the user clicks the save button
*
* @event ve.ui.MWSaveDialog#save
* @param {jQuery.Deferred} saveDeferred Deferred object to resolve/reject when the save
* succeeds/fails.
* Emitted when the user clicks the save button
*/
/**
* @event ve.ui.MWSaveDialog#review
* Emitted when the user clicks the review changes button
*
* @event ve.ui.MWSaveDialog#review
*/
/**
* @event ve.ui.MWSaveDialog#preview
* Emitted when the user clicks the show preview button
*
* @event ve.ui.MWSaveDialog#preview
*/
/**
* @event ve.ui.MWSaveDialog#resolve
* Emitted when the user clicks the resolve conflict button
*
* @event ve.ui.MWSaveDialog#resolve
*/
/**
* @event ve.ui.MWSaveDialog#retry
* Emitted when the user clicks the retry/continue save button after an error.
*
* @event ve.ui.MWSaveDialog#retry
*/
/* Methods */

56
package-lock.json generated
View file

@ -26,7 +26,7 @@
"jimp": "0.13.0",
"jsdoc": "4.0.2",
"jsdoc-class-hierarchy": "1.1.2",
"jsdoc-wmf-theme": "0.0.12",
"jsdoc-wmf-theme": "1.0.0",
"mocha": "5.2.0",
"selenium-webdriver": "3.6.0",
"stringify-object": "3.2.2",
@ -8165,16 +8165,29 @@
}
},
"node_modules/jsdoc-wmf-theme": {
"version": "0.0.12",
"resolved": "https://registry.npmjs.org/jsdoc-wmf-theme/-/jsdoc-wmf-theme-0.0.12.tgz",
"integrity": "sha512-nuM3TZ91hYWr0GcWr0ECccUMaqxmfQaQTrvqh6n2OSCJj1PRYLMAX7ME3iR+3NX8yBI5MLA+SoiZMwDq/B6pdg==",
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/jsdoc-wmf-theme/-/jsdoc-wmf-theme-1.0.0.tgz",
"integrity": "sha512-DAR0Rna+X5/Hzlmt297Y05BLPGdUfBUBXfdMwiSJjh8cpLZxt9lHjw2SYnzOpPAPuJYWW3t6MkoJMG0i9cv+uQ==",
"dev": true,
"dependencies": {
"@jsdoc/salty": "^0.2.7",
"@wikimedia/codex-design-tokens": "1.1.1",
"domino": "^2.1.6",
"lunr": "2.3.9",
"normalize.css": "8.0.1",
"taffydb": "^2.7.3"
"marked": "^12.0.1",
"normalize.css": "8.0.1"
}
},
"node_modules/jsdoc-wmf-theme/node_modules/marked": {
"version": "12.0.2",
"resolved": "https://registry.npmjs.org/marked/-/marked-12.0.2.tgz",
"integrity": "sha512-qXUm7e/YKFoqFPYPa3Ukg9xlI5cyAtGmyEIzMfW//m6kXwCy2Ps9DYf5ioijFKQ8qyuscrHoY04iJGctu2Kg0Q==",
"dev": true,
"bin": {
"marked": "bin/marked.js"
},
"engines": {
"node": ">= 18"
}
},
"node_modules/jsdoc/node_modules/escape-string-regexp": {
@ -12839,12 +12852,6 @@
"integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==",
"dev": true
},
"node_modules/taffydb": {
"version": "2.7.3",
"resolved": "https://registry.npmjs.org/taffydb/-/taffydb-2.7.3.tgz",
"integrity": "sha512-GQ3gtYFSOAxSMN/apGtDKKkbJf+8izz5YfbGqIsUc7AMiQOapARZ76dhilRY2h39cynYxBFdafQo5HUL5vgkrg==",
"dev": true
},
"node_modules/tar-fs": {
"version": "2.1.1",
"resolved": "https://registry.npmjs.org/tar-fs/-/tar-fs-2.1.1.tgz",
@ -20328,16 +20335,25 @@
"dev": true
},
"jsdoc-wmf-theme": {
"version": "0.0.12",
"resolved": "https://registry.npmjs.org/jsdoc-wmf-theme/-/jsdoc-wmf-theme-0.0.12.tgz",
"integrity": "sha512-nuM3TZ91hYWr0GcWr0ECccUMaqxmfQaQTrvqh6n2OSCJj1PRYLMAX7ME3iR+3NX8yBI5MLA+SoiZMwDq/B6pdg==",
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/jsdoc-wmf-theme/-/jsdoc-wmf-theme-1.0.0.tgz",
"integrity": "sha512-DAR0Rna+X5/Hzlmt297Y05BLPGdUfBUBXfdMwiSJjh8cpLZxt9lHjw2SYnzOpPAPuJYWW3t6MkoJMG0i9cv+uQ==",
"dev": true,
"requires": {
"@jsdoc/salty": "^0.2.7",
"@wikimedia/codex-design-tokens": "1.1.1",
"domino": "^2.1.6",
"lunr": "2.3.9",
"normalize.css": "8.0.1",
"taffydb": "^2.7.3"
"marked": "^12.0.1",
"normalize.css": "8.0.1"
},
"dependencies": {
"marked": {
"version": "12.0.2",
"resolved": "https://registry.npmjs.org/marked/-/marked-12.0.2.tgz",
"integrity": "sha512-qXUm7e/YKFoqFPYPa3Ukg9xlI5cyAtGmyEIzMfW//m6kXwCy2Ps9DYf5ioijFKQ8qyuscrHoY04iJGctu2Kg0Q==",
"dev": true
}
}
},
"jsesc": {
@ -23938,12 +23954,6 @@
}
}
},
"taffydb": {
"version": "2.7.3",
"resolved": "https://registry.npmjs.org/taffydb/-/taffydb-2.7.3.tgz",
"integrity": "sha512-GQ3gtYFSOAxSMN/apGtDKKkbJf+8izz5YfbGqIsUc7AMiQOapARZ76dhilRY2h39cynYxBFdafQo5HUL5vgkrg==",
"dev": true
},
"tar-fs": {
"version": "2.1.1",
"resolved": "https://registry.npmjs.org/tar-fs/-/tar-fs-2.1.1.tgz",

View file

@ -31,7 +31,7 @@
"grunt-tyops": "0.1.1",
"jsdoc": "4.0.2",
"jsdoc-class-hierarchy": "1.1.2",
"jsdoc-wmf-theme": "0.0.12",
"jsdoc-wmf-theme": "1.0.0",
"jimp": "0.13.0",
"mocha": "5.2.0",
"selenium-webdriver": "3.6.0",