Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@textlint/types

Package Overview
Dependencies
Maintainers
3
Versions
71
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@textlint/types - npm Package Compare versions

Comparing version 13.0.4 to 13.0.5

2

lib/src/Rule/TextlintRuleContext.d.ts

@@ -20,4 +20,4 @@ import { TextlintBaseRuleContext } from "./TextlintBaseRuleContext";

fixer: TextlintRuleContextFixCommandGenerator;
report: (node: TxtNode, ruleError: TextlintRuleReportedObject | TextlintRuleError, _shouldNotUsed?: any) => void;
report: (node: TxtNode, ruleError: TextlintRuleReportedObject | TextlintRuleError, _shouldNotUsed?: never) => void;
}
//# sourceMappingURL=TextlintRuleContext.d.ts.map
{
"name": "@textlint/types",
"version": "13.0.4",
"version": "13.0.5",
"description": "Type definition package for textlint",

@@ -47,6 +47,6 @@ "keywords": [

"dependencies": {
"@textlint/ast-node-types": "^13.0.4"
"@textlint/ast-node-types": "^13.0.5"
},
"devDependencies": {
"@textlint/markdown-to-ast": "^13.0.4",
"@textlint/markdown-to-ast": "^13.0.5",
"@types/mocha": "^9.1.1",

@@ -66,3 +66,3 @@ "@types/node": "^18.11.18",

},
"gitHead": "3da4e6875ddacded095e934f1671707c9bcc35fb"
"gitHead": "4251c9e29f84eba59ba6cba343d7552b3b9a4ed9"
}

@@ -26,3 +26,3 @@ // LICENSE : MIT

fixer: TextlintRuleContextFixCommandGenerator;
report: (node: TxtNode, ruleError: TextlintRuleReportedObject | TextlintRuleError, _shouldNotUsed?: any) => void;
report: (node: TxtNode, ruleError: TextlintRuleReportedObject | TextlintRuleError, _shouldNotUsed?: never) => void;
}

@@ -7,2 +7,3 @@ /**

import { TextlintRuleContext } from "./TextlintRuleContext";
/**

@@ -17,2 +18,3 @@ * Rule Reporter Handler object define handler for each TxtNode type.

export type TextlintRuleReportHandler = { [P in ASTNodeTypes]?: (node: TypeofTxtNode<P>) => void | Promise<any> } & {
// TODO: node should be AnyNodeType
[index: string]: (node: any) => void | Promise<any>;

@@ -19,0 +21,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

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