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

@textlint/textlint-plugin-text

Package Overview
Dependencies
Maintainers
3
Versions
87
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@textlint/textlint-plugin-text - npm Package Compare versions

Comparing version 13.4.0 to 13.4.1

6

lib/src/TextProcessor.d.ts
import type { TextlintPluginProcessor, TextlintPluginOptions } from "@textlint/types";
import { TxtNode } from "@textlint/ast-node-types";
export declare class TextProcessor implements TextlintPluginProcessor {

@@ -9,6 +8,3 @@ config: TextlintPluginOptions;

processor(_ext: string): {
preProcess(text: string, _filePath?: string): TxtNode | {
text: string;
ast: TxtNode;
};
preProcess(text: string, _filePath?: string): import("@textlint/ast-node-types").TxtDocumentNode;
postProcess(messages: Array<any>, filePath?: string): {

@@ -15,0 +11,0 @@ messages: Array<any>;

import type { TextlintPluginProcessor, TextlintPluginOptions } from "@textlint/types";
import { TxtNode } from "@textlint/ast-node-types";
export declare class TextProcessor implements TextlintPluginProcessor {

@@ -9,6 +8,3 @@ config: TextlintPluginOptions;

processor(_ext: string): {
preProcess(text: string, _filePath?: string): TxtNode | {
text: string;
ast: TxtNode;
};
preProcess(text: string, _filePath?: string): import("@textlint/ast-node-types").TxtDocumentNode;
postProcess(messages: Array<any>, filePath?: string): {

@@ -15,0 +11,0 @@ messages: Array<any>;

8

package.json
{
"name": "@textlint/textlint-plugin-text",
"version": "13.4.0",
"version": "13.4.1",
"description": "plain text plugin for textlint",

@@ -36,6 +36,6 @@ "homepage": "https://github.com/textlint/textlint/tree/master/packages/@textlint/textlint-plugin-text/",

"dependencies": {
"@textlint/text-to-ast": "^13.4.0"
"@textlint/text-to-ast": "^13.4.1"
},
"devDependencies": {
"@textlint/kernel": "^13.4.0",
"@textlint/kernel": "^13.4.1",
"@types/mocha": "9.1.1",

@@ -51,3 +51,3 @@ "mocha": "^10.2.0",

},
"gitHead": "6aad8fe8f9c76388d11a27be1d6fbf112b8e2396"
"gitHead": "12529a831ab27256c0a322b439420f741ad22029"
}

@@ -6,3 +6,2 @@ /* eslint-disable no-unused-vars */

import type { TextlintPluginProcessor, TextlintPluginOptions } from "@textlint/types";
import { TxtNode } from "@textlint/ast-node-types";

@@ -24,3 +23,3 @@ export class TextProcessor implements TextlintPluginProcessor {

return {
preProcess(text: string, _filePath?: string): TxtNode | { text: string; ast: TxtNode } {
preProcess(text: string, _filePath?: string) {
return parse(text);

@@ -27,0 +26,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

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