@zthun/janitor-lint 19.1.0 → 19.1.1

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.
package/dist/cli.cjs CHANGED
@@ -1,10 +1,8 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';
3
-
4
- const usage = require('yargs');
5
- const janitorLint = require('./janitor-lint-DtB_4fzZ.cjs');
6
-
2
+ "use strict";
3
+ const usage = require("yargs");
4
+ const janitorLint = require("./janitor-lint-mpfQFQY6.cjs");
7
5
  const args = usage("$0 [options]").alias("c", "config").describe("c", "Optional config file to use.").string("c").help().parse();
8
6
  const janitor = new janitorLint.ZJanitorLint(console);
9
- janitor.run(args).then((result)=>process.exitCode = result);
7
+ janitor.run(args).then((result) => process.exitCode = result);
10
8
  //# sourceMappingURL=cli.cjs.map
package/dist/cli.cjs.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"cli.cjs","sources":["../src/cli.ts"],"sourcesContent":["#!/usr/bin/env node\n\nimport usage from \"yargs\";\nimport type { IZJanitorLintArgs } from \"./app/janitor-lint-args.mjs\";\nimport { ZJanitorLint } from \"./app/janitor-lint.mjs\";\n\nconst args: IZJanitorLintArgs = usage(\"$0 [options]\")\n .alias(\"c\", \"config\")\n .describe(\"c\", \"Optional config file to use.\")\n .string(\"c\")\n .help()\n .parse() as any;\nconst janitor = new ZJanitorLint(console);\njanitor.run(args).then((result) => (process.exitCode = result));\n"],"names":["args","usage","alias","describe","string","help","parse","janitor","ZJanitorLint","console","run","then","result","process","exitCode"],"mappings":";;;;;;AAMA,MAAMA,OAA0BC,KAAM,CAAA,cAAA,CAAA,CACnCC,KAAK,CAAC,KAAK,QACXC,CAAAA,CAAAA,QAAQ,CAAC,GAAA,EAAK,gCACdC,MAAM,CAAC,GACPC,CAAAA,CAAAA,IAAI,GACJC,KAAK,EAAA;AACR,MAAMC,OAAAA,GAAU,IAAIC,wBAAaC,CAAAA,OAAAA,CAAAA;AACjCF,OAAQG,CAAAA,GAAG,CAACV,IAAMW,CAAAA,CAAAA,IAAI,CAAC,CAACC,MAAAA,GAAYC,OAAQC,CAAAA,QAAQ,GAAGF,MAAAA,CAAAA;;"}
1
+ {"version":3,"file":"cli.cjs","sources":["../src/cli.ts"],"sourcesContent":["#!/usr/bin/env node\n\nimport usage from \"yargs\";\nimport type { IZJanitorLintArgs } from \"./app/janitor-lint-args.mjs\";\nimport { ZJanitorLint } from \"./app/janitor-lint.mjs\";\n\nconst args: IZJanitorLintArgs = usage(\"$0 [options]\")\n .alias(\"c\", \"config\")\n .describe(\"c\", \"Optional config file to use.\")\n .string(\"c\")\n .help()\n .parse() as any;\nconst janitor = new ZJanitorLint(console);\njanitor.run(args).then((result) => (process.exitCode = result));\n"],"names":["ZJanitorLint"],"mappings":";;;;AAMA,MAAM,OAA0B,MAAM,cAAc,EACjD,MAAM,KAAK,QAAQ,EACnB,SAAS,KAAK,8BAA8B,EAC5C,OAAO,GAAG,EACV,OACA,MAAM;AACT,MAAM,UAAU,IAAIA,YAAA,aAAa,OAAO;AACxC,QAAQ,IAAI,IAAI,EAAE,KAAK,CAAC,WAAY,QAAQ,WAAW,MAAO;"}
package/dist/cli.js CHANGED
@@ -1,8 +1,7 @@
1
1
  #!/usr/bin/env node
2
- import usage from 'yargs';
3
- import { Z as ZJanitorLint } from './janitor-lint-BxUYJFY5.js';
4
-
2
+ import usage from "yargs";
3
+ import { Z as ZJanitorLint } from "./janitor-lint-DDCzTq1u.js";
5
4
  const args = usage("$0 [options]").alias("c", "config").describe("c", "Optional config file to use.").string("c").help().parse();
6
5
  const janitor = new ZJanitorLint(console);
7
- janitor.run(args).then((result)=>process.exitCode = result);
6
+ janitor.run(args).then((result) => process.exitCode = result);
8
7
  //# sourceMappingURL=cli.js.map
package/dist/cli.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"cli.js","sources":["../src/cli.ts"],"sourcesContent":["#!/usr/bin/env node\n\nimport usage from \"yargs\";\nimport type { IZJanitorLintArgs } from \"./app/janitor-lint-args.mjs\";\nimport { ZJanitorLint } from \"./app/janitor-lint.mjs\";\n\nconst args: IZJanitorLintArgs = usage(\"$0 [options]\")\n .alias(\"c\", \"config\")\n .describe(\"c\", \"Optional config file to use.\")\n .string(\"c\")\n .help()\n .parse() as any;\nconst janitor = new ZJanitorLint(console);\njanitor.run(args).then((result) => (process.exitCode = result));\n"],"names":["args","usage","alias","describe","string","help","parse","janitor","ZJanitorLint","console","run","then","result","process","exitCode"],"mappings":";;;;AAMA,MAAMA,OAA0BC,KAAM,CAAA,cAAA,CAAA,CACnCC,KAAK,CAAC,KAAK,QACXC,CAAAA,CAAAA,QAAQ,CAAC,GAAA,EAAK,gCACdC,MAAM,CAAC,GACPC,CAAAA,CAAAA,IAAI,GACJC,KAAK,EAAA;AACR,MAAMC,OAAAA,GAAU,IAAIC,YAAaC,CAAAA,OAAAA,CAAAA;AACjCF,OAAQG,CAAAA,GAAG,CAACV,IAAMW,CAAAA,CAAAA,IAAI,CAAC,CAACC,MAAAA,GAAYC,OAAQC,CAAAA,QAAQ,GAAGF,MAAAA,CAAAA"}
1
+ {"version":3,"file":"cli.js","sources":["../src/cli.ts"],"sourcesContent":["#!/usr/bin/env node\n\nimport usage from \"yargs\";\nimport type { IZJanitorLintArgs } from \"./app/janitor-lint-args.mjs\";\nimport { ZJanitorLint } from \"./app/janitor-lint.mjs\";\n\nconst args: IZJanitorLintArgs = usage(\"$0 [options]\")\n .alias(\"c\", \"config\")\n .describe(\"c\", \"Optional config file to use.\")\n .string(\"c\")\n .help()\n .parse() as any;\nconst janitor = new ZJanitorLint(console);\njanitor.run(args).then((result) => (process.exitCode = result));\n"],"names":[],"mappings":";;;AAMA,MAAM,OAA0B,MAAM,cAAc,EACjD,MAAM,KAAK,QAAQ,EACnB,SAAS,KAAK,8BAA8B,EAC5C,OAAO,GAAG,EACV,OACA,MAAM;AACT,MAAM,UAAU,IAAI,aAAa,OAAO;AACxC,QAAQ,IAAI,IAAI,EAAE,KAAK,CAAC,WAAY,QAAQ,WAAW,MAAO;"}
package/dist/index.cjs CHANGED
@@ -1,44 +1,26 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4
-
5
- const janitorLint = require('./janitor-lint-DtB_4fzZ.cjs');
6
-
7
- function _define_property(obj, key, value) {
8
- if (key in obj) {
9
- Object.defineProperty(obj, key, {
10
- value: value,
11
- enumerable: true,
12
- configurable: true,
13
- writable: true
14
- });
15
- } else {
16
- obj[key] = value;
17
- }
18
- return obj;
19
- }
20
- /**
21
- * Represents a silent linter that always succeeds.
22
- */ class ZLinterSilent {
23
- /**
24
- * Returns a promise that resolves the resolved value.
25
- *
26
- * @returns
27
- * A promise that resolves the resolved value.
28
- */ lint() {
29
- return Promise.resolve(this._resolve);
30
- }
31
- /**
1
+ "use strict";
2
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ const janitorLint = require("./janitor-lint-mpfQFQY6.cjs");
4
+ class ZLinterSilent {
5
+ /**
32
6
  * Initializes a new instance of this object.
33
7
  *
34
8
  * @param _resolve -
35
9
  * The value to resolve.
36
- */ constructor(_resolve = true){
37
- _define_property(this, "_resolve", void 0);
38
- this._resolve = _resolve;
39
- }
10
+ */
11
+ constructor(_resolve = true) {
12
+ this._resolve = _resolve;
13
+ }
14
+ /**
15
+ * Returns a promise that resolves the resolved value.
16
+ *
17
+ * @returns
18
+ * A promise that resolves the resolved value.
19
+ */
20
+ lint() {
21
+ return Promise.resolve(this._resolve);
22
+ }
40
23
  }
41
-
42
24
  exports.ZConfigExtender = janitorLint.ZConfigExtender;
43
25
  exports.ZConfigReaderCosmic = janitorLint.ZConfigReaderCosmic;
44
26
  exports.ZConfigReaderNull = janitorLint.ZConfigReaderNull;
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs","sources":["../src/linter/linter-silent.mts"],"sourcesContent":["import type { IZLinter } from \"./linter.mjs\";\n\n/**\n * Represents a silent linter that always succeeds.\n */\nexport class ZLinterSilent implements IZLinter {\n /**\n * Initializes a new instance of this object.\n *\n * @param _resolve -\n * The value to resolve.\n */\n public constructor(private _resolve = true) {}\n\n /**\n * Returns a promise that resolves the resolved value.\n *\n * @returns\n * A promise that resolves the resolved value.\n */\n public lint(): Promise<boolean> {\n return Promise.resolve(this._resolve);\n }\n}\n"],"names":["ZLinterSilent","Promise","resolve","_resolve"],"mappings":";;;;;;;;;;;;;;;;;;;AAEA;;AAEC,IACM,MAAMA,aAAAA,CAAAA;AASX;;;;;AAKC,MACD,IAAgC,GAAA;AAC9B,QAAA,OAAOC,OAAQC,CAAAA,OAAO,CAAC,IAAI,CAACC,QAAQ,CAAA;AACtC;AAhBA;;;;;AAKC,MACD,WAAmB,CAAQA,QAAW,GAAA,IAAI,CAAE;;aAAjBA,QAAAA,GAAAA,QAAAA;AAAkB;AAW/C;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index.cjs","sources":["../src/linter/linter-silent.mts"],"sourcesContent":["import type { IZLinter } from \"./linter.mjs\";\n\n/**\n * Represents a silent linter that always succeeds.\n */\nexport class ZLinterSilent implements IZLinter {\n /**\n * Initializes a new instance of this object.\n *\n * @param _resolve -\n * The value to resolve.\n */\n public constructor(private _resolve = true) {}\n\n /**\n * Returns a promise that resolves the resolved value.\n *\n * @returns\n * A promise that resolves the resolved value.\n */\n public lint(): Promise<boolean> {\n return Promise.resolve(this._resolve);\n }\n}\n"],"names":[],"mappings":";;;AAKO,MAAM,cAAkC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAOtC,YAAoB,WAAW,MAAM;AAAjB,SAAA,WAAA;AAAA,EAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAQpB,OAAyB;AACvB,WAAA,QAAQ,QAAQ,KAAK,QAAQ;AAAA,EAAA;AAExC;;;;;;;;;;;;;;;;;"}
package/dist/index.js CHANGED
@@ -1,39 +1,40 @@
1
- export { a as ZConfigExtender, b as ZConfigReaderCosmic, c as ZConfigReaderNull, d as ZConfigReaderPrettier, e as ZContentLinterHtml, f as ZContentLinterJson, g as ZContentLinterPretty, h as ZContentLinterYaml, Z as ZJanitorLint, i as ZLinterEs, j as ZLinterFile, k as ZLinterMarkdown, l as ZLinterReport, m as ZLinterSpelling, n as ZLinterStyle } from './janitor-lint-BxUYJFY5.js';
2
-
3
- function _define_property(obj, key, value) {
4
- if (key in obj) {
5
- Object.defineProperty(obj, key, {
6
- value: value,
7
- enumerable: true,
8
- configurable: true,
9
- writable: true
10
- });
11
- } else {
12
- obj[key] = value;
13
- }
14
- return obj;
15
- }
16
- /**
17
- * Represents a silent linter that always succeeds.
18
- */ class ZLinterSilent {
19
- /**
20
- * Returns a promise that resolves the resolved value.
21
- *
22
- * @returns
23
- * A promise that resolves the resolved value.
24
- */ lint() {
25
- return Promise.resolve(this._resolve);
26
- }
27
- /**
1
+ import { a, b, c, d, e, f, g, h, Z, i, j, k, l, m, n } from "./janitor-lint-DDCzTq1u.js";
2
+ class ZLinterSilent {
3
+ /**
28
4
  * Initializes a new instance of this object.
29
5
  *
30
6
  * @param _resolve -
31
7
  * The value to resolve.
32
- */ constructor(_resolve = true){
33
- _define_property(this, "_resolve", void 0);
34
- this._resolve = _resolve;
35
- }
8
+ */
9
+ constructor(_resolve = true) {
10
+ this._resolve = _resolve;
11
+ }
12
+ /**
13
+ * Returns a promise that resolves the resolved value.
14
+ *
15
+ * @returns
16
+ * A promise that resolves the resolved value.
17
+ */
18
+ lint() {
19
+ return Promise.resolve(this._resolve);
20
+ }
36
21
  }
37
-
38
- export { ZLinterSilent };
22
+ export {
23
+ a as ZConfigExtender,
24
+ b as ZConfigReaderCosmic,
25
+ c as ZConfigReaderNull,
26
+ d as ZConfigReaderPrettier,
27
+ e as ZContentLinterHtml,
28
+ f as ZContentLinterJson,
29
+ g as ZContentLinterPretty,
30
+ h as ZContentLinterYaml,
31
+ Z as ZJanitorLint,
32
+ i as ZLinterEs,
33
+ j as ZLinterFile,
34
+ k as ZLinterMarkdown,
35
+ l as ZLinterReport,
36
+ ZLinterSilent,
37
+ m as ZLinterSpelling,
38
+ n as ZLinterStyle
39
+ };
39
40
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../src/linter/linter-silent.mts"],"sourcesContent":["import type { IZLinter } from \"./linter.mjs\";\n\n/**\n * Represents a silent linter that always succeeds.\n */\nexport class ZLinterSilent implements IZLinter {\n /**\n * Initializes a new instance of this object.\n *\n * @param _resolve -\n * The value to resolve.\n */\n public constructor(private _resolve = true) {}\n\n /**\n * Returns a promise that resolves the resolved value.\n *\n * @returns\n * A promise that resolves the resolved value.\n */\n public lint(): Promise<boolean> {\n return Promise.resolve(this._resolve);\n }\n}\n"],"names":["ZLinterSilent","Promise","resolve","_resolve"],"mappings":";;;;;;;;;;;;;;;AAEA;;AAEC,IACM,MAAMA,aAAAA,CAAAA;AASX;;;;;AAKC,MACD,IAAgC,GAAA;AAC9B,QAAA,OAAOC,OAAQC,CAAAA,OAAO,CAAC,IAAI,CAACC,QAAQ,CAAA;AACtC;AAhBA;;;;;AAKC,MACD,WAAmB,CAAQA,QAAW,GAAA,IAAI,CAAE;;aAAjBA,QAAAA,GAAAA,QAAAA;AAAkB;AAW/C;;;;"}
1
+ {"version":3,"file":"index.js","sources":["../src/linter/linter-silent.mts"],"sourcesContent":["import type { IZLinter } from \"./linter.mjs\";\n\n/**\n * Represents a silent linter that always succeeds.\n */\nexport class ZLinterSilent implements IZLinter {\n /**\n * Initializes a new instance of this object.\n *\n * @param _resolve -\n * The value to resolve.\n */\n public constructor(private _resolve = true) {}\n\n /**\n * Returns a promise that resolves the resolved value.\n *\n * @returns\n * A promise that resolves the resolved value.\n */\n public lint(): Promise<boolean> {\n return Promise.resolve(this._resolve);\n }\n}\n"],"names":[],"mappings":";AAKO,MAAM,cAAkC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAOtC,YAAoB,WAAW,MAAM;AAAjB,SAAA,WAAA;AAAA,EAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAQpB,OAAyB;AACvB,WAAA,QAAQ,QAAQ,KAAK,QAAQ;AAAA,EAAA;AAExC;"}