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

@textlint/source-code-fixer

Package Overview
Dependencies
Maintainers
2
Versions
53
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@textlint/source-code-fixer - npm Package Compare versions

Comparing version 12.2.3 to 12.3.0

lib/src/index.d.ts.map

1

lib/src/index.d.ts
export { applyFixesToText, applyFixesToSourceCode, revertSourceCode, SimpleTextSourceCode, SourceCodeFixerResult } from "./source-code-fixer";
//# sourceMappingURL=index.d.ts.map

5

lib/src/source-code-fixer.d.ts

@@ -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
{
"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"
}
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