New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

svglint

Package Overview
Dependencies
Maintainers
1
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

svglint - npm Package Compare versions

Comparing version 2.6.0 to 2.7.0

2

package.json
{
"name": "svglint",
"version": "2.6.0",
"version": "2.7.0",
"description": "Linter for SVGs",

@@ -5,0 +5,0 @@ "type": "module",

import Logger from "../lib/logger.js";
const logger = Logger("rule:custom");
/** @typedef {import('cheerio').Cheerio<import('domhandler').Document>} Cheerio */
/** @typedef {import("../lib/reporter.js")} Reporter */

@@ -14,2 +15,3 @@ /** @typedef {import("../lib/parse.js").AST} AST */

* @param {AST} ast The AST of the document, which we should pass to reporter
* @param {Info} info Info related to the current file being linted
*/

@@ -16,0 +18,0 @@ /**

@@ -16,5 +16,8 @@ /**

/** @typedef {import("./lib/rule-loader.js").RuleModule} RuleModule */
/** @typedef {import("./rules/elm.js").ElmConfig} ElmConfig */
/** @typedef {import("./rules/attr.js").AttrConfig} AttrConfig */
/** @typedef {import("./rules/custom.js").CustomConfig} CustomConfig */
/**
* @typedef {Object<string,any>} RulesConfig
* @typedef RulesConfig
* An object with each key representing a rule name, and each value representing

@@ -24,2 +27,5 @@ * a rule config.

* e.g. overwriting presets).
* @property {ElmConfig} [elm={}]
* @property {Array<AttrConfig>} [attr=[]]
* @property {Array<CustomConfig>} [custom=[]]
*/

@@ -26,0 +32,0 @@ /**

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