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

@secretlint/formatter

Package Overview
Dependencies
Maintainers
2
Versions
81
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@secretlint/formatter - npm Package Compare versions

Comparing version 5.3.0 to 6.0.1

lib/formatters/mask-result.d.ts

5

lib/index.js

@@ -20,3 +20,2 @@ // LICENSE : MIT

* Convert secretlint result to textlint result for formatter
* @param secretLintCoreResult
*/

@@ -57,3 +56,3 @@ const convertSecretLintResultToTextlintResult = (secretLintCoreResult, { enableTerminalLink }) => {

/**
* @deprecated backword compatibility - use range or loc
* @deprecated backward compatibility - use range or loc
*/

@@ -151,3 +150,3 @@ column: message.loc.start.column,

.filter((file) => {
return [".js", ".ts"].some((formatterExtension) => path_1.default.extname(file) === formatterExtension);
return [".js", ".ts"].some((formatterExtension) => path_1.default.extname(file) === formatterExtension && !file.endsWith(".d.ts"));
})

@@ -154,0 +153,0 @@ .map((file) => {

16

package.json
{
"name": "@secretlint/formatter",
"version": "5.3.0",
"version": "6.0.1",
"description": "A formatter collection for Secretlint.",

@@ -41,5 +41,5 @@ "homepage": "https://github.com/secretlint/secretlint/tree/master/packages/@secretlint/formatter/",

"dependencies": {
"@secretlint/types": "^5.3.0",
"@textlint/linter-formatter": "^12.2.2",
"@textlint/types": "^12.2.2",
"@secretlint/types": "^6.0.1",
"@textlint/linter-formatter": "^12.2.4",
"@textlint/types": "^12.2.3",
"chalk": "^4.1.2",

@@ -49,3 +49,3 @@ "debug": "^4.3.4",

"strip-ansi": "^6.0.1",
"table": "^6.8.0",
"table": "^6.8.1",
"terminal-link": "^2.1.1",

@@ -56,6 +56,6 @@ "try-resolve": "^1.0.1"

"@types/mocha": "^9.1.1",
"@types/node": "^18.11.3",
"@types/node": "^18.11.17",
"@types/pluralize": "0.0.29",
"escape-string-regexp": "^4.0.0",
"mocha": "^10.1.0",
"mocha": "^10.2.0",
"prettier": "^2.7.1",

@@ -73,3 +73,3 @@ "rimraf": "^3.0.2",

},
"gitHead": "7df8da9e3b25593fe47a4f190fe073623a4b94c1"
"gitHead": "67f291f3857b462d2b998d00c26d3c58a26c0d72"
}

@@ -41,3 +41,2 @@ // LICENSE : MIT

* Convert secretlint result to textlint result for formatter
* @param secretLintCoreResult
*/

@@ -84,3 +83,3 @@ const convertSecretLintResultToTextlintResult = (

/**
* @deprecated backword compatibility - use range or loc
* @deprecated backward compatibility - use range or loc
*/

@@ -183,3 +182,5 @@ column: message.loc.start.column,

.filter((file: string) => {
return [".js", ".ts"].some((formatterExtension) => path.extname(file) === formatterExtension);
return [".js", ".ts"].some(
(formatterExtension) => path.extname(file) === formatterExtension && !file.endsWith(".d.ts")
);
})

@@ -186,0 +187,0 @@ .map((file: string) => {

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