🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more

@textlint/text-to-ast

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@textlint/text-to-ast - npm Package Compare versions

Comparing version

to
12.3.0

import { parse } from "./plaintext-parser";
import { Syntax } from "./plaintext-syntax";
export { parse, Syntax };
//# sourceMappingURL=index.d.ts.map

@@ -8,1 +8,2 @@ import { TxtNode } from "@textlint/ast-node-types";

export declare function parse(text: string): TxtNode;
//# sourceMappingURL=plaintext-parser.d.ts.map

@@ -8,1 +8,2 @@ import { ASTNodeTypes } from "@textlint/ast-node-types";

};
//# sourceMappingURL=plaintext-syntax.d.ts.map
import { parse } from "./plaintext-parser";
import { Syntax } from "./plaintext-syntax";
export { parse, Syntax };
//# sourceMappingURL=index.d.ts.map

@@ -8,1 +8,2 @@ import { TxtNode } from "@textlint/ast-node-types";

export declare function parse(text: string): TxtNode;
//# sourceMappingURL=plaintext-parser.d.ts.map

@@ -8,1 +8,2 @@ import { ASTNodeTypes } from "@textlint/ast-node-types";

};
//# sourceMappingURL=plaintext-syntax.d.ts.map
{
"name": "@textlint/text-to-ast",
"version": "12.2.3",
"description": "Parse plain text to AST with location info.",
"keywords": [
"ast",
"textlint",
"txt"
],
"homepage": "https://github.com/textlint/textlint/tree/master/packages/@textlint/text-to-ast/",
"bugs": {
"url": "https://github.com/textlint/textlint/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/textlint/textlint.git"
},
"license": "MIT",
"author": "azu",
"main": "lib/src/index.js",
"module": "module/src/index.js",
"types": "lib/src/index.d.ts",
"directories": {
"example": "example",
"test": "test"
},
"files": [
"bin/",
"lib/",
"module/",
"src/",
"!*.tsbuildinfo"
],
"scripts": {
"build": "tsc -b && tsc -b tsconfig.module.json",
"clean": "rimraf lib/ module/",
"crlf": "eolConverter crlf test/snapshots/crlf/input.txt && eolConverter crlf test/snapshots/crlf-empty-line/input.txt",
"prepack": "npm run --if-present build",
"pretest": "npm run crlf",
"test": "mocha \"test/**/*.{js,ts}\"",
"updateSnapshot": "cross-env UPDATE_SNAPSHOT=1 npm test",
"watch": "tsc -b --watch"
},
"dependencies": {
"@textlint/ast-node-types": "^12.2.2"
},
"devDependencies": {
"@textlint/ast-tester": "^12.2.3",
"cross-env": "^7.0.3",
"eol-converter-cli": "^1.0.8",
"mocha": "^9.2.2",
"power-assert": "^1.6.1",
"rimraf": "^3.0.2",
"ts-node-test-register": "^10.0.0",
"typescript": "^4.4.4"
},
"publishConfig": {
"access": "public"
},
"gitHead": "a91d149faf3a745a472a035131e995cc5ec77898"
"name": "@textlint/text-to-ast",
"version": "12.3.0",
"description": "Parse plain text to AST with location info.",
"keywords": [
"ast",
"textlint",
"txt"
],
"homepage": "https://github.com/textlint/textlint/tree/master/packages/@textlint/text-to-ast/",
"bugs": {
"url": "https://github.com/textlint/textlint/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/textlint/textlint.git"
},
"license": "MIT",
"author": "azu",
"main": "lib/src/index.js",
"module": "module/src/index.js",
"types": "lib/src/index.d.ts",
"directories": {
"example": "example",
"test": "test"
},
"files": [
"bin/",
"lib/",
"module/",
"src/",
"!*.tsbuildinfo"
],
"scripts": {
"build": "tsc -b && tsc -b tsconfig.module.json",
"clean": "rimraf lib/ module/",
"crlf": "eolConverter crlf test/snapshots/crlf/input.txt && eolConverter crlf test/snapshots/crlf-empty-line/input.txt",
"prepack": "npm run --if-present build",
"pretest": "npm run crlf",
"test": "mocha \"test/**/*.{js,ts}\"",
"updateSnapshot": "cross-env UPDATE_SNAPSHOT=1 npm test",
"watch": "tsc -b --watch"
},
"dependencies": {
"@textlint/ast-node-types": "^12.3.0"
},
"devDependencies": {
"@textlint/ast-tester": "^12.3.0",
"cross-env": "^7.0.3",
"eol-converter-cli": "^1.0.8",
"mocha": "^9.2.2",
"power-assert": "^1.6.1",
"rimraf": "^3.0.2",
"ts-node-test-register": "^10.0.0",
"typescript": "~4.9.4"
},
"publishConfig": {
"access": "public"
},
"gitHead": "cd49cd21ecce9f8e0469a84a5fc354c55d9617f2"
}