@textlint/fixer-formatter 12.4.0 → 12.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,3 @@
1
+ import type { TextlintFixResult } from "@textlint/types";
2
+ export default function (results: TextlintFixResult[]): string;
3
+ //# sourceMappingURL=fixed-result.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fixed-result.d.ts","sourceRoot":"","sources":["../../../src/formatters/fixed-result.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAEzD,MAAM,CAAC,OAAO,WAAW,OAAO,EAAE,iBAAiB,EAAE,UAKpD"}
@@ -0,0 +1,10 @@
1
+ // LICENSE : MIT
2
+ "use strict";
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ function default_1(results) {
5
+ let output = "";
6
+ results.forEach((result) => (output += `${result.output}`));
7
+ return output;
8
+ }
9
+ exports.default = default_1;
10
+ //# sourceMappingURL=fixed-result.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fixed-result.js","sourceRoot":"","sources":["../../../src/formatters/fixed-result.ts"],"names":[],"mappings":"AAAA,gBAAgB;AAChB,YAAY,CAAC;;AAGb,mBAAyB,OAA4B;IACjD,IAAI,MAAM,GAAG,EAAE,CAAC;IAChB,OAAO,CAAC,OAAO,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,MAAM,IAAI,GAAG,MAAM,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC;IAE5D,OAAO,MAAM,CAAC;AAClB,CAAC;AALD,4BAKC"}
@@ -0,0 +1,3 @@
1
+ import type { TextlintFixResult } from "@textlint/types";
2
+ export default function (results: TextlintFixResult[]): string;
3
+ //# sourceMappingURL=fixed-result.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fixed-result.d.ts","sourceRoot":"","sources":["../../../src/formatters/fixed-result.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAEzD,MAAM,CAAC,OAAO,WAAW,OAAO,EAAE,iBAAiB,EAAE,UAKpD"}
@@ -0,0 +1,8 @@
1
+ // LICENSE : MIT
2
+ "use strict";
3
+ export default function (results) {
4
+ let output = "";
5
+ results.forEach((result) => (output += `${result.output}`));
6
+ return output;
7
+ }
8
+ //# sourceMappingURL=fixed-result.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fixed-result.js","sourceRoot":"","sources":["../../../src/formatters/fixed-result.ts"],"names":[],"mappings":"AAAA,gBAAgB;AAChB,YAAY,CAAC;AAGb,MAAM,CAAC,OAAO,WAAW,OAA4B;IACjD,IAAI,MAAM,GAAG,EAAE,CAAC;IAChB,OAAO,CAAC,OAAO,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,MAAM,IAAI,GAAG,MAAM,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC;IAE5D,OAAO,MAAM,CAAC;AAClB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@textlint/fixer-formatter",
3
- "version": "12.4.0",
3
+ "version": "12.5.0",
4
4
  "description": "textlint output formatter for fixer",
5
5
  "keywords": [
6
6
  "AST",
@@ -37,8 +37,8 @@
37
37
  "test": "mocha \"test/**/*-test.{js,ts}\""
38
38
  },
39
39
  "dependencies": {
40
- "@textlint/module-interop": "^12.3.0",
41
- "@textlint/types": "^12.3.0",
40
+ "@textlint/module-interop": "^12.5.0",
41
+ "@textlint/types": "^12.5.0",
42
42
  "chalk": "^4.1.2",
43
43
  "debug": "^4.3.4",
44
44
  "diff": "^4.0.2",
@@ -50,7 +50,7 @@
50
50
  },
51
51
  "devDependencies": {
52
52
  "@types/mocha": "^9.1.1",
53
- "@types/node": "^18.11.17",
53
+ "@types/node": "^18.11.18",
54
54
  "cross-env": "^7.0.3",
55
55
  "mocha": "^10.2.0",
56
56
  "rimraf": "^3.0.2",
@@ -61,5 +61,5 @@
61
61
  "publishConfig": {
62
62
  "access": "public"
63
63
  },
64
- "gitHead": "71ce32712e7ecb4b119a1ff5dcbfbdd182f3ce58"
64
+ "gitHead": "b798d88751a3d48f5f51d4f0c727ca1f03ce6e71"
65
65
  }
@@ -0,0 +1,10 @@
1
+ // LICENSE : MIT
2
+ "use strict";
3
+ import type { TextlintFixResult } from "@textlint/types";
4
+
5
+ export default function (results: TextlintFixResult[]) {
6
+ let output = "";
7
+ results.forEach((result) => (output += `${result.output}`));
8
+
9
+ return output;
10
+ }