Socket
Socket
Sign inDemoInstall

eslint-plugin-jsdoc

Package Overview
Dependencies
Maintainers
1
Versions
656
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-jsdoc - npm Package Compare versions

Comparing version 46.8.2 to 46.9.0

3

dist/alignTransform.js

@@ -319,5 +319,4 @@ "use strict";

};
var _default = alignTransform;
exports.default = _default;
var _default = exports.default = alignTransform;
module.exports = exports.default;
//# sourceMappingURL=alignTransform.js.map

@@ -44,5 +44,4 @@ "use strict";

}];
var _default = defaultTagOrder;
exports.default = _default;
var _default = exports.default = defaultTagOrder;
module.exports = exports.default;
//# sourceMappingURL=defaultTagOrder.js.map

@@ -129,3 +129,2 @@ "use strict";

/* istanbul ignore next */
// eslint-disable-next-line default-case
switch (node.type) {

@@ -268,3 +267,2 @@ case 'Identifier':

let symbol;
// eslint-disable-next-line default-case
switch (node.type) {

@@ -341,3 +339,2 @@ case 'FunctionDeclaration':

const initVariables = function (node, globals, opts) {
// eslint-disable-next-line default-case
switch (node.type) {

@@ -738,8 +735,7 @@ case 'Program':

};
var _default = {
var _default = exports.default = {
isUncommentedExport,
parse
};
exports.default = _default;
module.exports = exports.default;
//# sourceMappingURL=exportParser.js.map

@@ -9,10 +9,10 @@ "use strict";

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; } /* eslint-disable no-console -- CLI */ /**
* @example
*
* ```shell
* npm run create-rule my-new-rule -- --recommended
* ```
*/
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; } /* eslint-disable no-console -- CLI */ /**
* @example
*
* ```shell
* npm run create-rule my-new-rule -- --recommended
* ```
*/
// Todo: Would ideally have prompts, e.g., to ask for whether

@@ -19,0 +19,0 @@ // type was problem/layout, etc.

@@ -291,5 +291,4 @@ "use strict";

};
var _default = getDefaultTagStructureForMode;
exports.default = _default;
var _default = exports.default = getDefaultTagStructureForMode;
module.exports = exports.default;
//# sourceMappingURL=getDefaultTagStructureForMode.js.map

@@ -252,5 +252,4 @@ "use strict";

index.configs['flat/recommended-typescript-flavor-error'] = createRecommendedTypeScriptFlavorRuleset('error', true);
var _default = index;
exports.default = _default;
var _default = exports.default = index;
module.exports = exports.default;
//# sourceMappingURL=index.js.map

@@ -131,3 +131,2 @@ "use strict";

*/
/* eslint-enable jsdoc/valid-types -- Old version */

@@ -180,3 +179,2 @@ /**

*/
/* eslint-enable jsdoc/no-undefined-types -- Bug */

@@ -196,3 +194,2 @@ /**

*/
/* eslint-enable jsdoc/no-undefined-types -- TS */

@@ -207,3 +204,2 @@ /**

*/
/* eslint-enable jsdoc/no-undefined-types -- TS */

@@ -238,3 +234,2 @@ /**

*/
/* eslint-enable jsdoc/no-undefined-types -- TS */

@@ -254,3 +249,2 @@ /**

*/
/* eslint-enable jsdoc/no-undefined-types -- TS */

@@ -589,3 +583,2 @@ /**

*/
/* eslint-enable jsdoc/valid-types -- Old version */

@@ -674,3 +667,2 @@ /**

*/
/* eslint-enable jsdoc/valid-types -- Old version of pratt */

@@ -684,2 +676,3 @@ /**

* @param {import('eslint').Rule.RuleContext} context
* @param {import('eslint').SourceCode} sc
* @param {boolean|undefined} iteratingAll

@@ -690,4 +683,5 @@ * @param {RuleConfig} ruleConfig

*/
const getUtils = (node, jsdoc, jsdocNode, settings, report, context, iteratingAll, ruleConfig, indent) => {
const ancestors = /** @type {import('eslint').Rule.Node[]} */context.getAncestors();
const getUtils = (node, jsdoc, jsdocNode, settings, report, context, sc, iteratingAll, ruleConfig, indent) => {
/* istanbul ignore next */
const ancestors = /** @type {import('eslint').Rule.Node[]} */node ? sc.getAncestors ? sc.getAncestors(node) : context.getAncestors() : [];

@@ -1565,3 +1559,2 @@ // istanbul ignore next -- Fallback to deprecated method

*/
/* eslint-enable jsdoc/valid-types -- Old version */

@@ -1637,3 +1630,2 @@ /**

const report = (message, fix = null, jsdocLoc = null, data = undefined) => {
/* eslint-enable jsdoc/valid-types -- Old version */
let loc;

@@ -1725,4 +1717,2 @@ if (jsdocLoc) {

*/
/* eslint-enable jsdoc/valid-types -- Old version */
/* eslint-enable jsdoc/no-undefined-types -- canonical still using an older version where not defined */

@@ -1754,3 +1744,3 @@ /**

const utils = getUtils(node, jsdoc, /** @type {import('eslint').AST.Token} */
jsdocNode, settings, report, context, iteratingAll, ruleConfig, indent);
jsdocNode, settings, report, context, sourceCode, iteratingAll, ruleConfig, indent);
if (!ruleConfig.checkInternal && settings.ignoreInternal && utils.hasTag('internal')) {

@@ -2061,3 +2051,2 @@ return;

let contexts;
/* eslint-enable jsdoc/valid-types -- Old version */
if (ruleConfig.contextDefaults || ruleConfig.contextSelected || ruleConfig.matchContext) {

@@ -2099,3 +2088,2 @@ var _context$options$2, _contexts, _contexts2;

const state = {};
/* eslint-enable jsdoc/no-undefined-types -- TS */

@@ -2143,6 +2131,4 @@ /** @type {CheckJsdoc} */

});
/* eslint-enable jsdoc/no-undefined-types -- Bug */
};
}
return contextObject;

@@ -2149,0 +2135,0 @@ },

@@ -234,3 +234,2 @@ "use strict";

if (param.type === 'Property') {
// eslint-disable-next-line default-case
switch (param.value.type) {

@@ -256,3 +255,2 @@ case 'ArrayPattern':

{
// eslint-disable-next-line default-case
switch (param.value.left.type) {

@@ -1135,3 +1133,2 @@ case 'Identifier':

*/
/* eslint-enable jsdoc/valid-types -- Old version */

@@ -1324,3 +1321,3 @@ /**

};
var _default = {
var _default = exports.default = {
comparePaths,

@@ -1367,4 +1364,3 @@ dropPathSegmentQuotes,

};
exports.default = _default;
module.exports = exports.default;
//# sourceMappingURL=jsdocUtils.js.map

@@ -10,3 +10,3 @@ "use strict";

const accessLevels = ['package', 'private', 'protected', 'public'];
var _default = (0, _iterateJsdoc.default)(({
var _default = exports.default = (0, _iterateJsdoc.default)(({
report,

@@ -40,4 +40,3 @@ utils

});
exports.default = _default;
module.exports = exports.default;
//# sourceMappingURL=checkAccess.js.map

@@ -16,3 +16,3 @@ "use strict";

};
var _default = (0, _iterateJsdoc.default)(({
var _default = exports.default = (0, _iterateJsdoc.default)(({
sourceCode,

@@ -60,4 +60,3 @@ jsdocNode,

});
exports.default = _default;
module.exports = exports.default;
//# sourceMappingURL=checkAlignment.js.map

@@ -10,4 +10,4 @@ "use strict";

var _semver = _interopRequireDefault(require("semver"));
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

@@ -97,3 +97,3 @@ // Todo: When replace `CLIEngine` with `ESLint` when feature set complete per https://github.com/eslint/eslint/issues/14745

};
var _default = (0, _iterateJsdoc.default)(({
var _default = exports.default = (0, _iterateJsdoc.default)(({
report,

@@ -513,4 +513,3 @@ utils,

});
exports.default = _default;
module.exports = exports.default;
//# sourceMappingURL=checkExamples.js.map

@@ -31,3 +31,3 @@ "use strict";

};
var _default = (0, _iterateJsdoc.default)(({
var _default = exports.default = (0, _iterateJsdoc.default)(({
sourceCode,

@@ -74,4 +74,3 @@ jsdocNode,

});
exports.default = _default;
module.exports = exports.default;
//# sourceMappingURL=checkIndentation.js.map

@@ -183,3 +183,3 @@ "use strict";

};
var _default = (0, _iterateJsdoc.default)(({
var _default = exports.default = (0, _iterateJsdoc.default)(({
indent,

@@ -313,4 +313,3 @@ jsdoc,

});
exports.default = _default;
module.exports = exports.default;
//# sourceMappingURL=checkLineAlignment.js.map

@@ -232,3 +232,3 @@ "use strict";

};
var _default = (0, _iterateJsdoc.default)(({
var _default = exports.default = (0, _iterateJsdoc.default)(({
context,

@@ -299,4 +299,3 @@ jsdoc,

});
exports.default = _default;
module.exports = exports.default;
//# sourceMappingURL=checkParamNames.js.map

@@ -74,3 +74,3 @@ "use strict";

};
var _default = (0, _iterateJsdoc.default)(({
var _default = exports.default = (0, _iterateJsdoc.default)(({
context,

@@ -116,4 +116,3 @@ jsdoc,

});
exports.default = _default;
module.exports = exports.default;
//# sourceMappingURL=checkPropertyNames.js.map

@@ -9,3 +9,3 @@ "use strict";

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
var _default = (0, _iterateJsdoc.default)(({
var _default = exports.default = (0, _iterateJsdoc.default)(({
jsdoc,

@@ -38,4 +38,3 @@ report,

});
exports.default = _default;
module.exports = exports.default;
//# sourceMappingURL=checkSyntax.js.map

@@ -15,3 +15,3 @@ "use strict";

const typedTagsUnnecessaryOutsideDeclare = new Set(['abstract', 'access', 'class', 'constant', 'constructs', 'default', 'enum', 'export', 'exports', 'function', 'global', 'inherits', 'instance', 'interface', 'member', 'memberof', 'memberOf', 'method', 'mixes', 'mixin', 'module', 'name', 'namespace', 'override', 'property', 'requires', 'static', 'this']);
var _default = (0, _iterateJsdoc.default)(({
var _default = exports.default = (0, _iterateJsdoc.default)(({
sourceCode,

@@ -215,4 +215,3 @@ jsdoc,

});
exports.default = _default;
module.exports = exports.default;
//# sourceMappingURL=checkTagNames.js.map

@@ -69,3 +69,3 @@ "use strict";

};
var _default = (0, _iterateJsdoc.default)(({
var _default = exports.default = (0, _iterateJsdoc.default)(({
jsdocNode,

@@ -94,4 +94,2 @@ sourceCode,

} = settings;
/* eslint-enable jsdoc/valid-types -- Old version */
const injectObjectPreferredTypes = !('Object' in preferredTypesOriginal || 'object' in preferredTypesOriginal || 'object.<>' in preferredTypesOriginal || 'Object.<>' in preferredTypesOriginal || 'object<>' in preferredTypesOriginal);

@@ -399,4 +397,3 @@

});
exports.default = _default;
module.exports = exports.default;
//# sourceMappingURL=checkTypes.js.map

@@ -12,3 +12,3 @@ "use strict";

const allowedKinds = new Set(['class', 'constant', 'event', 'external', 'file', 'function', 'member', 'mixin', 'module', 'namespace', 'typedef']);
var _default = (0, _iterateJsdoc.default)(({
var _default = exports.default = (0, _iterateJsdoc.default)(({
utils,

@@ -133,4 +133,3 @@ report,

});
exports.default = _default;
module.exports = exports.default;
//# sourceMappingURL=checkValues.js.map

@@ -19,3 +19,3 @@ "use strict";

const emptyIfClosure = new Set(['interface']);
var _default = (0, _iterateJsdoc.default)(({
var _default = exports.default = (0, _iterateJsdoc.default)(({
settings,

@@ -75,4 +75,3 @@ jsdoc,

});
exports.default = _default;
module.exports = exports.default;
//# sourceMappingURL=emptyTags.js.map

@@ -9,3 +9,3 @@ "use strict";

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
var _default = (0, _iterateJsdoc.default)(({
var _default = exports.default = (0, _iterateJsdoc.default)(({
report,

@@ -60,4 +60,3 @@ utils

});
exports.default = _default;
module.exports = exports.default;
//# sourceMappingURL=implementsOnClasses.js.map

@@ -38,3 +38,3 @@ "use strict";

const moduleCheck = new Map();
var _default = (0, _iterateJsdoc.default)(({
var _default = exports.default = (0, _iterateJsdoc.default)(({
jsdoc,

@@ -109,4 +109,3 @@ settings,

});
exports.default = _default;
module.exports = exports.default;
//# sourceMappingURL=importsAsDependencies.js.map

@@ -61,3 +61,3 @@ "use strict";

/* eslint-enable complexity -- Temporary */
var _default = (0, _iterateJsdoc.default)(({
var _default = exports.default = (0, _iterateJsdoc.default)(({
context,

@@ -144,4 +144,3 @@ jsdoc,

});
exports.default = _default;
module.exports = exports.default;
//# sourceMappingURL=informativeDocs.js.map

@@ -21,3 +21,3 @@ "use strict";

};
var _default = (0, _iterateJsdoc.default)(({
var _default = exports.default = (0, _iterateJsdoc.default)(({
jsdoc,

@@ -229,4 +229,3 @@ report,

});
exports.default = _default;
module.exports = exports.default;
//# sourceMappingURL=matchDescription.js.map

@@ -10,3 +10,3 @@ "use strict";

// eslint-disable-next-line complexity
var _default = (0, _iterateJsdoc.default)(({
var _default = exports.default = (0, _iterateJsdoc.default)(({
context,

@@ -128,4 +128,3 @@ jsdoc,

});
exports.default = _default;
module.exports = exports.default;
//# sourceMappingURL=matchName.js.map

@@ -9,3 +9,3 @@ "use strict";

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
var _default = (0, _iterateJsdoc.default)(({
var _default = exports.default = (0, _iterateJsdoc.default)(({
context,

@@ -237,4 +237,3 @@ jsdoc,

});
exports.default = _default;
module.exports = exports.default;
//# sourceMappingURL=multilineBlocks.js.map

@@ -14,3 +14,3 @@ "use strict";

const extraAsteriskCommentRegexp = /^\/\*{3,}/u;
var _default = (0, _iterateJsdoc.default)(({
var _default = exports.default = (0, _iterateJsdoc.default)(({
context,

@@ -87,4 +87,3 @@ sourceCode,

});
exports.default = _default;
module.exports = exports.default;
//# sourceMappingURL=noBadBlocks.js.map

@@ -11,3 +11,3 @@ "use strict";

const atLeastTwoLinesWhitespace = /^[ \t]*\n[ \t]*\n\s*$/u;
var _default = (0, _iterateJsdoc.default)(({
var _default = exports.default = (0, _iterateJsdoc.default)(({
jsdoc,

@@ -63,4 +63,3 @@ utils

});
exports.default = _default;
module.exports = exports.default;
//# sourceMappingURL=noBlankBlockDescriptions.js.map

@@ -9,3 +9,3 @@ "use strict";

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
var _default = (0, _iterateJsdoc.default)(({
var _default = exports.default = (0, _iterateJsdoc.default)(({
context,

@@ -52,4 +52,3 @@ jsdoc,

});
exports.default = _default;
module.exports = exports.default;
//# sourceMappingURL=noBlankBlocks.js.map

@@ -9,3 +9,3 @@ "use strict";

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
var _default = (0, _iterateJsdoc.default)(({
var _default = exports.default = (0, _iterateJsdoc.default)(({
context,

@@ -83,4 +83,3 @@ utils

});
exports.default = _default;
module.exports = exports.default;
//# sourceMappingURL=noDefaults.js.map

@@ -46,3 +46,3 @@ "use strict";

};
var _default = (0, _iterateJsdoc.default)(({
var _default = exports.default = (0, _iterateJsdoc.default)(({
context,

@@ -175,4 +175,3 @@ info: {

});
exports.default = _default;
module.exports = exports.default;
//# sourceMappingURL=noMissingSyntax.js.map

@@ -15,3 +15,3 @@ "use strict";

const endAsterisksMultipleLineNoBlockWS = /(\**)\*$/u;
var _default = (0, _iterateJsdoc.default)(({
var _default = exports.default = (0, _iterateJsdoc.default)(({
context,

@@ -99,4 +99,3 @@ jsdoc,

});
exports.default = _default;
module.exports = exports.default;
//# sourceMappingURL=noMultiAsterisks.js.map

@@ -9,3 +9,3 @@ "use strict";

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
var _default = (0, _iterateJsdoc.default)(({
var _default = exports.default = (0, _iterateJsdoc.default)(({
context,

@@ -83,4 +83,3 @@ info: {

});
exports.default = _default;
module.exports = exports.default;
//# sourceMappingURL=noRestrictedSyntax.js.map

@@ -18,3 +18,3 @@ "use strict";

};
var _default = (0, _iterateJsdoc.default)(({
var _default = exports.default = (0, _iterateJsdoc.default)(({
utils

@@ -71,4 +71,3 @@ }) => {

});
exports.default = _default;
module.exports = exports.default;
//# sourceMappingURL=noTypes.js.map

@@ -9,4 +9,4 @@ "use strict";

var _jsdoccomment = require("@es-joy/jsdoccomment");
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
const extraTypes = ['null', 'undefined', 'void', 'string', 'boolean', 'object', 'function', 'symbol', 'number', 'bigint', 'NaN', 'Infinity', 'any', '*', 'never', 'unknown', 'const', 'this', 'true', 'false', 'Array', 'Object', 'RegExp', 'Date', 'Function'];

@@ -24,3 +24,3 @@ const typescriptGlobals = [

};
var _default = (0, _iterateJsdoc.default)(({
var _default = exports.default = (0, _iterateJsdoc.default)(({
context,

@@ -211,3 +211,8 @@ node,

} else if (markVariablesAsUsed && !extraTypes.includes(value)) {
context.markVariableAsUsed(value);
/* istanbul ignore else */
if (sourceCode.markVariableAsUsed) {
sourceCode.markVariableAsUsed(value);
} else {
context.markVariableAsUsed(value);
}
}

@@ -245,4 +250,3 @@ }

});
exports.default = _default;
module.exports = exports.default;
//# sourceMappingURL=noUndefinedTypes.js.map

@@ -9,3 +9,3 @@ "use strict";

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
var _default = (0, _iterateJsdoc.default)(({
var _default = exports.default = (0, _iterateJsdoc.default)(({
context,

@@ -166,4 +166,3 @@ jsdoc,

});
exports.default = _default;
module.exports = exports.default;
//# sourceMappingURL=requireAsteriskPrefix.js.map

@@ -16,3 +16,3 @@ "use strict";

};
var _default = (0, _iterateJsdoc.default)(({
var _default = exports.default = (0, _iterateJsdoc.default)(({
jsdoc,

@@ -135,4 +135,3 @@ report,

});
exports.default = _default;
module.exports = exports.default;
//# sourceMappingURL=requireDescription.js.map

@@ -181,3 +181,3 @@ "use strict";

};
var _default = (0, _iterateJsdoc.default)(({
var _default = exports.default = (0, _iterateJsdoc.default)(({
sourceCode,

@@ -281,4 +281,3 @@ context,

});
exports.default = _default;
module.exports = exports.default;
//# sourceMappingURL=requireDescriptionCompleteSentence.js.map

@@ -9,3 +9,3 @@ "use strict";

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
var _default = (0, _iterateJsdoc.default)(({
var _default = exports.default = (0, _iterateJsdoc.default)(({
context,

@@ -108,4 +108,3 @@ jsdoc,

});
exports.default = _default;
module.exports = exports.default;
//# sourceMappingURL=requireExample.js.map

@@ -30,3 +30,3 @@ "use strict";

};
var _default = (0, _iterateJsdoc.default)(({
var _default = exports.default = (0, _iterateJsdoc.default)(({
jsdocNode,

@@ -135,4 +135,3 @@ state,

});
exports.default = _default;
module.exports = exports.default;
//# sourceMappingURL=requireFileOverview.js.map

@@ -9,3 +9,3 @@ "use strict";

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
var _default = (0, _iterateJsdoc.default)(({
var _default = exports.default = (0, _iterateJsdoc.default)(({
sourceCode,

@@ -26,3 +26,2 @@ utils,

tags;
/* eslint-enable jsdoc/valid-types -- Old version */

@@ -143,4 +142,3 @@ /**

});
exports.default = _default;
module.exports = exports.default;
//# sourceMappingURL=requireHyphenBeforeParamDescription.js.map

@@ -162,3 +162,2 @@ "use strict";

);
/* eslint-enable jsdoc/valid-types -- Old version */
};

@@ -185,3 +184,2 @@

const getOptions = (context, settings) => {
/* eslint-enable jsdoc/valid-types -- Old version */
const {

@@ -210,3 +208,2 @@ publicOnly,

const properties = {};
/* eslint-enable jsdoc/valid-types -- Old version */
for (const prop of Object.keys( /** @type {import('json-schema').JSONSchema4Object} */

@@ -225,3 +222,2 @@ /** @type {import('json-schema').JSONSchema4Object} */baseObj.properties)) {

const properties = {};
/* eslint-enable jsdoc/valid-types -- Old version */
for (const prop of Object.keys( /** @type {import('json-schema').JSONSchema4Object} */

@@ -240,3 +236,3 @@ /** @type {import('json-schema').JSONSchema4Object} */baseObj.properties)) {

/** @type {import('eslint').Rule.RuleModule} */
var _default = {
var _default = exports.default = {
create(context) {

@@ -268,3 +264,2 @@ // istanbul ignore next -- Fallback to deprecated method

opts.publicOnly;
/* eslint-enable jsdoc/valid-types -- Old version */

@@ -417,3 +412,2 @@ /**

};
/* eslint-enable complexity -- Temporary */

@@ -513,4 +507,3 @@ /**

};
exports.default = _default;
module.exports = exports.default;
//# sourceMappingURL=requireJsdoc.js.map

@@ -35,3 +35,3 @@ "use strict";

/* eslint-disable complexity -- Temporary */
var _default = (0, _iterateJsdoc.default)(({
var _default = exports.default = (0, _iterateJsdoc.default)(({
jsdoc,

@@ -525,4 +525,3 @@ utils,

});
exports.default = _default;
module.exports = exports.default;
//# sourceMappingURL=requireParam.js.map

@@ -9,3 +9,3 @@ "use strict";

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
var _default = (0, _iterateJsdoc.default)(({
var _default = exports.default = (0, _iterateJsdoc.default)(({
context,

@@ -84,4 +84,3 @@ report,

});
exports.default = _default;
module.exports = exports.default;
//# sourceMappingURL=requireParamDescription.js.map

@@ -9,3 +9,3 @@ "use strict";

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
var _default = (0, _iterateJsdoc.default)(({
var _default = exports.default = (0, _iterateJsdoc.default)(({
report,

@@ -54,4 +54,3 @@ utils

});
exports.default = _default;
module.exports = exports.default;
//# sourceMappingURL=requireParamName.js.map

@@ -9,3 +9,3 @@ "use strict";

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
var _default = (0, _iterateJsdoc.default)(({
var _default = exports.default = (0, _iterateJsdoc.default)(({
context,

@@ -84,4 +84,3 @@ report,

});
exports.default = _default;
module.exports = exports.default;
//# sourceMappingURL=requireParamType.js.map

@@ -9,3 +9,3 @@ "use strict";

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
var _default = (0, _iterateJsdoc.default)(({
var _default = exports.default = (0, _iterateJsdoc.default)(({
utils

@@ -46,4 +46,3 @@ }) => {

});
exports.default = _default;
module.exports = exports.default;
//# sourceMappingURL=requireProperty.js.map

@@ -9,3 +9,3 @@ "use strict";

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
var _default = (0, _iterateJsdoc.default)(({
var _default = exports.default = (0, _iterateJsdoc.default)(({
report,

@@ -29,4 +29,3 @@ utils

});
exports.default = _default;
module.exports = exports.default;
//# sourceMappingURL=requirePropertyDescription.js.map

@@ -9,3 +9,3 @@ "use strict";

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
var _default = (0, _iterateJsdoc.default)(({
var _default = exports.default = (0, _iterateJsdoc.default)(({
report,

@@ -29,4 +29,3 @@ utils

});
exports.default = _default;
module.exports = exports.default;
//# sourceMappingURL=requirePropertyName.js.map

@@ -9,3 +9,3 @@ "use strict";

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
var _default = (0, _iterateJsdoc.default)(({
var _default = exports.default = (0, _iterateJsdoc.default)(({
report,

@@ -29,4 +29,3 @@ utils

});
exports.default = _default;
module.exports = exports.default;
//# sourceMappingURL=requirePropertyType.js.map

@@ -36,3 +36,3 @@ "use strict";

};
var _default = (0, _iterateJsdoc.default)(({
var _default = exports.default = (0, _iterateJsdoc.default)(({
info: {

@@ -209,4 +209,3 @@ comment

});
exports.default = _default;
module.exports = exports.default;
//# sourceMappingURL=requireReturns.js.map

@@ -33,3 +33,3 @@ "use strict";

// eslint-disable-next-line complexity -- Temporary
var _default = (0, _iterateJsdoc.default)(({
var _default = exports.default = (0, _iterateJsdoc.default)(({
context,

@@ -109,4 +109,3 @@ node,

});
exports.default = _default;
module.exports = exports.default;
//# sourceMappingURL=requireReturnsCheck.js.map

@@ -9,3 +9,3 @@ "use strict";

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
var _default = (0, _iterateJsdoc.default)(({
var _default = exports.default = (0, _iterateJsdoc.default)(({
report,

@@ -58,4 +58,3 @@ utils

});
exports.default = _default;
module.exports = exports.default;
//# sourceMappingURL=requireReturnsDescription.js.map

@@ -9,3 +9,3 @@ "use strict";

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
var _default = (0, _iterateJsdoc.default)(({
var _default = exports.default = (0, _iterateJsdoc.default)(({
report,

@@ -54,4 +54,3 @@ utils

});
exports.default = _default;
module.exports = exports.default;
//# sourceMappingURL=requireReturnsType.js.map

@@ -26,3 +26,3 @@ "use strict";

};
var _default = (0, _iterateJsdoc.default)(({
var _default = exports.default = (0, _iterateJsdoc.default)(({
report,

@@ -101,4 +101,3 @@ utils

});
exports.default = _default;
module.exports = exports.default;
//# sourceMappingURL=requireThrows.js.map

@@ -58,3 +58,3 @@ "use strict";

};
var _default = (0, _iterateJsdoc.default)(({
var _default = exports.default = (0, _iterateJsdoc.default)(({
report,

@@ -175,4 +175,3 @@ utils,

});
exports.default = _default;
module.exports = exports.default;
//# sourceMappingURL=requireYields.js.map

@@ -57,3 +57,3 @@ "use strict";

};
var _default = (0, _iterateJsdoc.default)(({
var _default = exports.default = (0, _iterateJsdoc.default)(({
context,

@@ -161,4 +161,3 @@ report,

});
exports.default = _default;
module.exports = exports.default;
//# sourceMappingURL=requireYieldsCheck.js.map

@@ -11,3 +11,3 @@ "use strict";

// eslint-disable-next-line complexity -- Temporary
var _default = (0, _iterateJsdoc.default)(({
var _default = exports.default = (0, _iterateJsdoc.default)(({
context,

@@ -450,4 +450,3 @@ jsdoc,

});
exports.default = _default;
module.exports = exports.default;
//# sourceMappingURL=sortTags.js.map

@@ -9,3 +9,3 @@ "use strict";

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
var _default = (0, _iterateJsdoc.default)(({
var _default = exports.default = (0, _iterateJsdoc.default)(({
context,

@@ -274,4 +274,3 @@ jsdoc,

});
exports.default = _default;
module.exports = exports.default;
//# sourceMappingURL=tagLines.js.map

@@ -37,3 +37,3 @@ "use strict";

};
var _default = (0, _iterateJsdoc.default)(({
var _default = exports.default = (0, _iterateJsdoc.default)(({
context,

@@ -131,4 +131,3 @@ jsdoc,

});
exports.default = _default;
module.exports = exports.default;
//# sourceMappingURL=textEscaping.js.map

@@ -34,3 +34,3 @@ "use strict";

// eslint-disable-next-line complexity
var _default = (0, _iterateJsdoc.default)(({
var _default = exports.default = (0, _iterateJsdoc.default)(({
jsdoc,

@@ -60,3 +60,2 @@ report,

if (tagName) {
// eslint-disable-next-line default-case
switch (tagName) {

@@ -260,4 +259,3 @@ case 'requires':

});
exports.default = _default;
module.exports = exports.default;
//# sourceMappingURL=validTypes.js.map

@@ -26,3 +26,3 @@ "use strict";

*/
const jsdocTags = {
const jsdocTags = exports.jsdocTags = {
...jsdocTagsUndocumented,

@@ -104,4 +104,3 @@ abstract: ['virtual'],

*/
exports.jsdocTags = jsdocTags;
const typeScriptTags = {
const typeScriptTags = exports.typeScriptTags = {
...jsdocTags,

@@ -122,3 +121,2 @@ // https://www.typescriptlang.org/tsconfig/#stripInternal

*/
exports.typeScriptTags = typeScriptTags;
const undocumentedClosureTags = {

@@ -155,3 +153,3 @@ // These are in Closure source but not in jsdoc source nor in the Closure

*/
const closureTags = {
const closureTags = exports.closureTags = {
...typeScriptTagsInClosure,

@@ -186,3 +184,2 @@ ...undocumentedClosureTags,

};
exports.closureTags = closureTags;
//# sourceMappingURL=tagNames.js.map

@@ -36,5 +36,4 @@ "use strict";

};
var _default = WarnSettings;
exports.default = _default;
var _default = exports.default = WarnSettings;
module.exports = exports.default;
//# sourceMappingURL=WarnSettings.js.map

@@ -8,5 +8,5 @@ {

"dependencies": {
"@es-joy/jsdoccomment": "~0.40.1",
"@es-joy/jsdoccomment": "~0.41.0",
"are-docs-informative": "^0.0.2",
"comment-parser": "1.4.0",
"comment-parser": "1.4.1",
"debug": "^4.3.4",

@@ -21,43 +21,43 @@ "escape-string-regexp": "^4.0.0",

"devDependencies": {
"@babel/cli": "^7.22.10",
"@babel/core": "^7.22.10",
"@babel/eslint-parser": "^7.22.10",
"@babel/node": "^7.22.10",
"@babel/cli": "^7.23.0",
"@babel/core": "^7.23.3",
"@babel/eslint-parser": "^7.23.3",
"@babel/node": "^7.22.19",
"@babel/plugin-syntax-class-properties": "^7.12.13",
"@babel/plugin-transform-flow-strip-types": "^7.22.5",
"@babel/preset-env": "^7.22.10",
"@babel/register": "^7.22.5",
"@babel/plugin-transform-flow-strip-types": "^7.23.3",
"@babel/preset-env": "^7.23.3",
"@babel/register": "^7.22.15",
"@es-joy/escodegen": "^3.5.1",
"@es-joy/jsdoc-eslint-parser": "^0.19.0",
"@hkdobrev/run-if-changed": "^0.3.1",
"@semantic-release/commit-analyzer": "^10.0.1",
"@semantic-release/github": "^9.0.4",
"@semantic-release/npm": "^10.0.4",
"@types/chai": "^4.3.5",
"@types/debug": "^4.1.8",
"@types/eslint": "^8.44.2",
"@types/esquery": "^1.5.0",
"@types/estree": "^1.0.1",
"@types/json-schema": "^7.0.12",
"@types/lodash.defaultsdeep": "^4.6.7",
"@types/mocha": "^10.0.1",
"@types/node": "^20.5.0",
"@types/semver": "^7.5.0",
"@types/spdx-expression-parse": "^3.0.2",
"@typescript-eslint/parser": "^6.4.0",
"@semantic-release/commit-analyzer": "^11.1.0",
"@semantic-release/github": "^9.2.3",
"@semantic-release/npm": "^11.0.1",
"@types/chai": "^4.3.10",
"@types/debug": "^4.1.12",
"@types/eslint": "^8.44.7",
"@types/esquery": "^1.5.3",
"@types/estree": "^1.0.5",
"@types/json-schema": "^7.0.15",
"@types/lodash.defaultsdeep": "^4.6.9",
"@types/mocha": "^10.0.4",
"@types/node": "^20.9.0",
"@types/semver": "^7.5.5",
"@types/spdx-expression-parse": "^3.0.5",
"@typescript-eslint/parser": "^6.10.0",
"babel-plugin-add-module-exports": "^1.0.4",
"babel-plugin-istanbul": "^6.1.1",
"camelcase": "^6.3.0",
"chai": "^4.3.7",
"chai": "^4.3.10",
"cross-env": "^7.0.3",
"decamelize": "^5.0.1",
"eslint": "8.47.0",
"eslint-config-canonical": "~41.1.7",
"eslint": "8.53.0",
"eslint-config-canonical": "~42.3.0",
"espree": "^9.6.1",
"gitdown": "^3.1.5",
"glob": "^10.3.3",
"glob": "^10.3.10",
"husky": "^8.0.3",
"jsdoc-type-pratt-parser": "^4.0.0",
"json-schema": "^0.4.0",
"lint-staged": "^14.0.0",
"lint-staged": "^15.0.2",
"lodash.defaultsdeep": "^4.6.1",

@@ -67,5 +67,5 @@ "mocha": "^10.2.0",

"open-editor": "^3.0.0",
"rimraf": "^5.0.1",
"semantic-release": "^21.0.7",
"typescript": "^5.1.6"
"rimraf": "^5.0.5",
"semantic-release": "^22.0.7",
"typescript": "5.2.2"
},

@@ -146,3 +146,3 @@ "engines": {

},
"version": "46.8.2"
"version": "46.9.0"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc