@textlint/source-code-fixer
Advanced tools
Comparing version 12.2.3 to 12.3.0
export { applyFixesToText, applyFixesToSourceCode, revertSourceCode, SimpleTextSourceCode, SourceCodeFixerResult } from "./source-code-fixer"; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -5,7 +5,7 @@ import type { TextlintMessage } from "@textlint/types"; | ||
*/ | ||
export declare type SimpleTextSourceCode = { | ||
export type SimpleTextSourceCode = { | ||
text: string; | ||
hasBOM: boolean; | ||
}; | ||
export declare type SourceCodeFixerResult = { | ||
export type SourceCodeFixerResult = { | ||
fixed: boolean; | ||
@@ -37,1 +37,2 @@ messages: TextlintMessage[]; | ||
export declare function revertSourceCode(sourceCode: SimpleTextSourceCode, applyingMessages: TextlintMessage[]): string; | ||
//# sourceMappingURL=source-code-fixer.d.ts.map |
export { applyFixesToText, applyFixesToSourceCode, revertSourceCode, SimpleTextSourceCode, SourceCodeFixerResult } from "./source-code-fixer"; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -5,7 +5,7 @@ import type { TextlintMessage } from "@textlint/types"; | ||
*/ | ||
export declare type SimpleTextSourceCode = { | ||
export type SimpleTextSourceCode = { | ||
text: string; | ||
hasBOM: boolean; | ||
}; | ||
export declare type SourceCodeFixerResult = { | ||
export type SourceCodeFixerResult = { | ||
fixed: boolean; | ||
@@ -37,1 +37,2 @@ messages: TextlintMessage[]; | ||
export declare function revertSourceCode(sourceCode: SimpleTextSourceCode, applyingMessages: TextlintMessage[]): string; | ||
//# sourceMappingURL=source-code-fixer.d.ts.map |
128
package.json
{ | ||
"name": "@textlint/source-code-fixer", | ||
"version": "12.2.3", | ||
"description": "Apply @textlint/kernel lint result to text.", | ||
"keywords": [ | ||
"textlint", | ||
"kernel" | ||
], | ||
"homepage": "https://github.com/textlint/textlint/tree/master/packages/@textlint/source-code-fixer/", | ||
"bugs": { | ||
"url": "https://github.com/textlint/textlint/issues" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/textlint/textlint.git" | ||
}, | ||
"license": "MIT", | ||
"author": "azu", | ||
"sideEffects": false, | ||
"main": "lib/src/index.js", | ||
"module": "module/src/index.js", | ||
"types": "lib/src/index.d.ts", | ||
"directories": { | ||
"lib": "lib", | ||
"test": "test" | ||
}, | ||
"files": [ | ||
"bin/", | ||
"lib/", | ||
"module/", | ||
"src/", | ||
"!*.tsbuildinfo" | ||
], | ||
"scripts": { | ||
"build": "tsc -b && tsc -b tsconfig.module.json", | ||
"clean": "rimraf lib/ module/", | ||
"prepublishOnly": "npm run build", | ||
"prettier": "prettier --write \"**/*.{js,jsx,ts,tsx,css}\"", | ||
"test": "mocha \"test/**/*.ts\"", | ||
"watch": "tsc -p . --watch" | ||
}, | ||
"prettier": { | ||
"printWidth": 120, | ||
"singleQuote": false, | ||
"tabWidth": 4, | ||
"trailingComma": "none" | ||
}, | ||
"dependencies": { | ||
"@textlint/types": "^12.2.3", | ||
"debug": "^4.3.4" | ||
}, | ||
"devDependencies": { | ||
"@types/mocha": "^9.1.1", | ||
"@types/node": "^18.11.9", | ||
"mocha": "^10.1.0", | ||
"prettier": "^2.7.1", | ||
"rimraf": "^3.0.2", | ||
"ts-node": "^10.9.1", | ||
"ts-node-test-register": "^10.0.0", | ||
"typescript": "^4.8.3" | ||
}, | ||
"publishConfig": { | ||
"access": "public" | ||
}, | ||
"gitHead": "a91d149faf3a745a472a035131e995cc5ec77898" | ||
"name": "@textlint/source-code-fixer", | ||
"version": "12.3.0", | ||
"description": "Apply @textlint/kernel lint result to text.", | ||
"keywords": [ | ||
"textlint", | ||
"kernel" | ||
], | ||
"homepage": "https://github.com/textlint/textlint/tree/master/packages/@textlint/source-code-fixer/", | ||
"bugs": { | ||
"url": "https://github.com/textlint/textlint/issues" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/textlint/textlint.git" | ||
}, | ||
"license": "MIT", | ||
"author": "azu", | ||
"sideEffects": false, | ||
"main": "lib/src/index.js", | ||
"module": "module/src/index.js", | ||
"types": "lib/src/index.d.ts", | ||
"directories": { | ||
"lib": "lib", | ||
"test": "test" | ||
}, | ||
"files": [ | ||
"bin/", | ||
"lib/", | ||
"module/", | ||
"src/", | ||
"!*.tsbuildinfo" | ||
], | ||
"scripts": { | ||
"build": "tsc -b && tsc -b tsconfig.module.json", | ||
"clean": "rimraf lib/ module/", | ||
"prepublishOnly": "npm run build", | ||
"prettier": "prettier --write \"**/*.{js,jsx,ts,tsx,css}\"", | ||
"test": "mocha \"test/**/*.ts\"", | ||
"watch": "tsc -p . --watch" | ||
}, | ||
"prettier": { | ||
"printWidth": 120, | ||
"singleQuote": false, | ||
"tabWidth": 4, | ||
"trailingComma": "none" | ||
}, | ||
"dependencies": { | ||
"@textlint/types": "^12.3.0", | ||
"debug": "^4.3.4" | ||
}, | ||
"devDependencies": { | ||
"@types/mocha": "^9.1.1", | ||
"@types/node": "^18.11.17", | ||
"mocha": "^10.2.0", | ||
"prettier": "^2.7.1", | ||
"rimraf": "^3.0.2", | ||
"ts-node": "^10.9.1", | ||
"ts-node-test-register": "^10.0.0", | ||
"typescript": "~4.9.4" | ||
}, | ||
"publishConfig": { | ||
"access": "public" | ||
}, | ||
"gitHead": "cd49cd21ecce9f8e0469a84a5fc354c55d9617f2" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
33429
21
Updated@textlint/types@^12.3.0