@html-validate/eslint-config 6.16.1 → 6.17.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.mjs CHANGED
@@ -8902,7 +8902,7 @@ var require_package = __commonJS({
8902
8902
  "package.json"(exports, module) {
8903
8903
  module.exports = {
8904
8904
  name: "@html-validate/eslint-config",
8905
- version: "6.16.0",
8905
+ version: "6.17.0",
8906
8906
  description: "Eslint sharable config used by the various HTML-validate packages",
8907
8907
  keywords: [
8908
8908
  "eslint"
@@ -8952,6 +8952,7 @@ var require_package = __commonJS({
8952
8952
  "eslint-plugin-prettier": "5.5.5",
8953
8953
  "eslint-plugin-security": "4.0.0",
8954
8954
  "eslint-plugin-sonarjs": "4.0.0",
8955
+ "eslint-plugin-unicorn": "63.0.0",
8955
8956
  "find-up": "8.0.0",
8956
8957
  globals: "17.3.0",
8957
8958
  nunjucks: "3.2.4"
@@ -8963,7 +8964,7 @@ var require_package = __commonJS({
8963
8964
  prettier: "^3.0.0"
8964
8965
  },
8965
8966
  engines: {
8966
- node: "^20.13.0 || >= 22.0.0",
8967
+ node: "^20.11.0 || >= 22.16.0",
8967
8968
  npm: ">= 7"
8968
8969
  },
8969
8970
  publishConfig: {
@@ -8978,7 +8979,6 @@ var import_argparse = __toESM(require_argparse(), 1);
8978
8979
  import child_process from "node:child_process";
8979
8980
  import fs2 from "node:fs";
8980
8981
  import path4 from "node:path";
8981
- import { fileURLToPath as fileURLToPath3 } from "node:url";
8982
8982
  import { promisify as promisify2 } from "node:util";
8983
8983
 
8984
8984
  // node_modules/find-up/index.js
@@ -9244,10 +9244,8 @@ async function renderNunjucks(src, dst, features) {
9244
9244
 
9245
9245
  // src/cli.ts
9246
9246
  var pkg = require_package();
9247
- var __filename = fileURLToPath3(import.meta.url);
9248
- var __dirname = path4.dirname(__filename);
9249
9247
  var exec = promisify2(child_process.exec);
9250
- var templateDir = path4.join(__dirname, "../template");
9248
+ var templateDir = path4.join(import.meta.dirname, "../template");
9251
9249
  var PACKAGE_JSON = "package.json";
9252
9250
  async function getRootDir() {
9253
9251
  const pkgFile = await findUp(PACKAGE_JSON);
@@ -9556,5 +9554,5 @@ if (!args.mode) {
9556
9554
  parser.print_help();
9557
9555
  process.exit(1);
9558
9556
  }
9559
- run(args);
9557
+ await run(args);
9560
9558
  //# sourceMappingURL=cli.mjs.map