@jsse/eslint-config 0.6.0 → 0.6.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.js CHANGED
@@ -1,4 +1,4 @@
1
- import { n as DEBUG$1, t as VERSION } from "./version-CEQ23cMl.js";
1
+ import { n as DEBUG$1, t as VERSION } from "./version-C8gdC_Ss.js";
2
2
  import process$1 from "node:process";
3
3
  import fs from "node:fs";
4
4
  //#region node_modules/.pnpm/cac@7.0.0/node_modules/cac/dist/index.js
package/dist/index.d.ts CHANGED
@@ -14698,7 +14698,7 @@ declare function defineConfig(options?: OptionsConfig & Config, ...userConfigs:
14698
14698
  type DefineConfig = typeof defineConfig;
14699
14699
  //#endregion
14700
14700
  //#region src/generated/version.d.ts
14701
- declare const VERSION = "0.6.0";
14701
+ declare const VERSION = "0.6.1";
14702
14702
  declare namespace globs_d_exports {
14703
14703
  export { GLOB_ALL_SRC, GLOB_CSS, GLOB_EXCLUDE, GLOB_GRAPHQL, GLOB_HTML, GLOB_JS, GLOB_JSON, GLOB_JSON5, GLOB_JSONC, GLOB_JSX, GLOB_JS_SRC_EXT, GLOB_LESS, GLOB_MARKDOWN, GLOB_MARKDOWN_CODE, GLOB_MARKDOWN_IN_MARKDOWN, GLOB_SCSS, GLOB_SRC, GLOB_SRC_EXT, GLOB_STYLE, GLOB_TESTS, GLOB_TOML, GLOB_TS, GLOB_TSCONFIG, GLOB_TSX, GLOB_TS_SRC_EXT, GLOB_YAML };
14704
14704
  }
package/dist/index.js CHANGED
@@ -1,11 +1,11 @@
1
1
  import { n as __exportAll, r as __toESM, t as __commonJSMin } from "./chunk-CSNpwdVU.js";
2
- import { n as DEBUG, r as SLOW_RULES, t as VERSION } from "./version-CEQ23cMl.js";
2
+ import { n as DEBUG, r as SLOW_RULES, t as VERSION } from "./version-C8gdC_Ss.js";
3
3
  import { builtinModules, createRequire } from "node:module";
4
4
  import process$1 from "node:process";
5
5
  import fs, { realpathSync, statSync } from "node:fs";
6
6
  import path, { dirname, join, win32 } from "node:path";
7
7
  import fsPromises from "node:fs/promises";
8
- import { URL as URL$1, fileURLToPath, pathToFileURL } from "node:url";
8
+ import { fileURLToPath, pathToFileURL } from "node:url";
9
9
  import assert from "node:assert";
10
10
  import v8 from "node:v8";
11
11
  import { format, inspect } from "node:util";
@@ -5145,7 +5145,7 @@ const isAbsolute = function(p) {
5145
5145
  return _IS_ABSOLUTE_RE.test(p);
5146
5146
  };
5147
5147
  //#endregion
5148
- //#region node_modules/.pnpm/mlly@1.8.0/node_modules/mlly/dist/index.mjs
5148
+ //#region node_modules/.pnpm/mlly@1.8.1/node_modules/mlly/dist/index.mjs
5149
5149
  const BUILTIN_MODULES = new Set(builtinModules);
5150
5150
  function normalizeSlash(path) {
5151
5151
  return path.replace(/\\/g, "/");
@@ -5201,7 +5201,7 @@ codes.ERR_INVALID_ARG_TYPE = createError(
5201
5201
  * @param {unknown} actual
5202
5202
  */
5203
5203
  (name, expected, actual) => {
5204
- assert(typeof name === "string", "'name' must be a string");
5204
+ assert.ok(typeof name === "string", "'name' must be a string");
5205
5205
  if (!Array.isArray(expected)) expected = [expected];
5206
5206
  let message = "The ";
5207
5207
  if (name.endsWith(" argument")) message += `${name} `;
@@ -5217,10 +5217,10 @@ codes.ERR_INVALID_ARG_TYPE = createError(
5217
5217
  /** @type {Array<string>} */
5218
5218
  const other = [];
5219
5219
  for (const value of expected) {
5220
- assert(typeof value === "string", "All expected entries have to be of type string");
5220
+ assert.ok(typeof value === "string", "All expected entries have to be of type string");
5221
5221
  if (kTypes.has(value)) types.push(value.toLowerCase());
5222
5222
  else if (classRegExp.exec(value) === null) {
5223
- assert(value !== "object", "The value \"object\" should be written as \"Object\"");
5223
+ assert.ok(value !== "object", "The value \"object\" should be written as \"Object\"");
5224
5224
  other.push(value);
5225
5225
  } else instances.push(value);
5226
5226
  }
@@ -5285,7 +5285,7 @@ codes.ERR_INVALID_PACKAGE_TARGET = createError(
5285
5285
  (packagePath, key, target, isImport = false, base = void 0) => {
5286
5286
  const relatedError = typeof target === "string" && !isImport && target.length > 0 && !target.startsWith("./");
5287
5287
  if (key === ".") {
5288
- assert(isImport === false);
5288
+ assert.ok(isImport === false);
5289
5289
  return `Invalid "exports" main target ${JSON.stringify(target)} defined in the package config ${packagePath}package.json${base ? ` imported from ${base}` : ""}${relatedError ? "; targets must start with \"./\"" : ""}`;
5290
5290
  }
5291
5291
  return `Invalid "${isImport ? "imports" : "exports"}" target ${JSON.stringify(target)} defined for '${key}' in the package config ${packagePath}package.json${base ? ` imported from ${base}` : ""}${relatedError ? "; targets must start with \"./\"" : ""}`;
@@ -5452,15 +5452,15 @@ const captureLargerStackTrace = hideStackFrames(
5452
5452
  */
5453
5453
  function getMessage(key, parameters, self) {
5454
5454
  const message = messages.get(key);
5455
- assert(message !== void 0, "expected `message` to be found");
5455
+ assert.ok(message !== void 0, "expected `message` to be found");
5456
5456
  if (typeof message === "function") {
5457
- assert(message.length <= parameters.length, `Code: ${key}; The provided arguments length (${parameters.length}) does not match the required ones (${message.length}).`);
5457
+ assert.ok(message.length <= parameters.length, `Code: ${key}; The provided arguments length (${parameters.length}) does not match the required ones (${message.length}).`);
5458
5458
  return Reflect.apply(message, self, parameters);
5459
5459
  }
5460
5460
  const regex = /%[dfijoOs]/g;
5461
5461
  let expectedLength = 0;
5462
5462
  while (regex.exec(message) !== null) expectedLength++;
5463
- assert(expectedLength === parameters.length, `Code: ${key}; The provided arguments length (${parameters.length}) does not match the required ones (${expectedLength}).`);
5463
+ assert.ok(expectedLength === parameters.length, `Code: ${key}; The provided arguments length (${parameters.length}) does not match the required ones (${expectedLength}).`);
5464
5464
  if (parameters.length === 0) return message;
5465
5465
  parameters.unshift(message);
5466
5466
  return Reflect.apply(format, null, parameters);
@@ -5661,6 +5661,21 @@ function defaultGetFormatWithoutErrors(url, context) {
5661
5661
  if (!hasOwnProperty.call(protocolHandlers, protocol)) return null;
5662
5662
  return protocolHandlers[protocol](url, context, true) || null;
5663
5663
  }
5664
+ const DEFAULT_CONDITIONS = Object.freeze(["node", "import"]);
5665
+ const DEFAULT_CONDITIONS_SET$1 = new Set(DEFAULT_CONDITIONS);
5666
+ /**
5667
+ * Returns the default conditions for ES module loading, as a Set.
5668
+ */
5669
+ function getDefaultConditionsSet() {
5670
+ return DEFAULT_CONDITIONS_SET$1;
5671
+ }
5672
+ /**
5673
+ * @param {Array<string>} [conditions]
5674
+ * @returns {Set<string>}
5675
+ */
5676
+ function getConditionsSet(conditions) {
5677
+ return getDefaultConditionsSet();
5678
+ }
5664
5679
  const RegExpPrototypeSymbolReplace = RegExp.prototype[Symbol.replace];
5665
5680
  const { ERR_INVALID_MODULE_SPECIFIER, ERR_INVALID_PACKAGE_CONFIG, ERR_INVALID_PACKAGE_TARGET, ERR_MODULE_NOT_FOUND, ERR_PACKAGE_IMPORT_NOT_DEFINED, ERR_PACKAGE_PATH_NOT_EXPORTED, ERR_UNSUPPORTED_DIR_IMPORT, ERR_UNSUPPORTED_RESOLVE_REQUEST } = codes;
5666
5681
  const own = {}.hasOwnProperty;
@@ -5699,7 +5714,7 @@ function emitLegacyIndexDeprecation(url, packageJsonUrl, base, main) {
5699
5714
  if (process$1.noDeprecation) return;
5700
5715
  if (defaultGetFormatWithoutErrors(url, { parentURL: base.href }) !== "module") return;
5701
5716
  const urlPath = fileURLToPath(url.href);
5702
- const packagePath = fileURLToPath(new URL$1(".", packageJsonUrl));
5717
+ const packagePath = fileURLToPath(new URL(".", packageJsonUrl));
5703
5718
  const basePath = fileURLToPath(base);
5704
5719
  if (!main) process$1.emitWarning(`No "main" or "exports" field defined in the package.json for ${packagePath} resolving the main entry point "${urlPath.slice(packagePath.length)}", imported from ${basePath}.\nDefault "index" lookups for the main are deprecated for ES modules.`, "DeprecationWarning", "DEP0151");
5705
5720
  else if (path.resolve(packagePath, main) !== urlPath) process$1.emitWarning(`Package ${packagePath} has a "main" field set to "${main}", excluding the full filename and extension to the resolved file at "${urlPath.slice(packagePath.length)}", imported from ${basePath}.\n Automatic extension resolution of the "main" field is deprecated for ES modules.`, "DeprecationWarning", "DEP0151");
@@ -5739,7 +5754,7 @@ function legacyMainResolve(packageJsonUrl, packageConfig, base) {
5739
5754
  /** @type {URL | undefined} */
5740
5755
  let guess;
5741
5756
  if (packageConfig.main !== void 0) {
5742
- guess = new URL$1(packageConfig.main, packageJsonUrl);
5757
+ guess = new URL(packageConfig.main, packageJsonUrl);
5743
5758
  if (fileExists(guess)) return guess;
5744
5759
  const tries = [
5745
5760
  `./${packageConfig.main}.js`,
@@ -5751,7 +5766,7 @@ function legacyMainResolve(packageJsonUrl, packageConfig, base) {
5751
5766
  ];
5752
5767
  let i = -1;
5753
5768
  while (++i < tries.length) {
5754
- guess = new URL$1(tries[i], packageJsonUrl);
5769
+ guess = new URL(tries[i], packageJsonUrl);
5755
5770
  if (fileExists(guess)) break;
5756
5771
  guess = void 0;
5757
5772
  }
@@ -5767,7 +5782,7 @@ function legacyMainResolve(packageJsonUrl, packageConfig, base) {
5767
5782
  ];
5768
5783
  let i = -1;
5769
5784
  while (++i < tries.length) {
5770
- guess = new URL$1(tries[i], packageJsonUrl);
5785
+ guess = new URL(tries[i], packageJsonUrl);
5771
5786
  if (fileExists(guess)) break;
5772
5787
  guess = void 0;
5773
5788
  }
@@ -5775,7 +5790,7 @@ function legacyMainResolve(packageJsonUrl, packageConfig, base) {
5775
5790
  emitLegacyIndexDeprecation(guess, packageJsonUrl, base, packageConfig.main);
5776
5791
  return guess;
5777
5792
  }
5778
- throw new ERR_MODULE_NOT_FOUND(fileURLToPath(new URL$1(".", packageJsonUrl)), fileURLToPath(base));
5793
+ throw new ERR_MODULE_NOT_FOUND(fileURLToPath(new URL(".", packageJsonUrl)), fileURLToPath(base));
5779
5794
  }
5780
5795
  /**
5781
5796
  * @param {URL} resolved
@@ -5822,7 +5837,7 @@ function finalizeResolution(resolved, base, preserveSymlinks) {
5822
5837
  * @returns {Error}
5823
5838
  */
5824
5839
  function importNotDefined(specifier, packageJsonUrl, base) {
5825
- return new ERR_PACKAGE_IMPORT_NOT_DEFINED(specifier, packageJsonUrl && fileURLToPath(new URL$1(".", packageJsonUrl)), fileURLToPath(base));
5840
+ return new ERR_PACKAGE_IMPORT_NOT_DEFINED(specifier, packageJsonUrl && fileURLToPath(new URL(".", packageJsonUrl)), fileURLToPath(base));
5826
5841
  }
5827
5842
  /**
5828
5843
  * @param {string} subpath
@@ -5831,7 +5846,7 @@ function importNotDefined(specifier, packageJsonUrl, base) {
5831
5846
  * @returns {Error}
5832
5847
  */
5833
5848
  function exportsNotFound(subpath, packageJsonUrl, base) {
5834
- return new ERR_PACKAGE_PATH_NOT_EXPORTED(fileURLToPath(new URL$1(".", packageJsonUrl)), subpath, base && fileURLToPath(base));
5849
+ return new ERR_PACKAGE_PATH_NOT_EXPORTED(fileURLToPath(new URL(".", packageJsonUrl)), subpath, base && fileURLToPath(base));
5835
5850
  }
5836
5851
  /**
5837
5852
  * @param {string} request
@@ -5854,7 +5869,7 @@ function throwInvalidSubpath(request, match, packageJsonUrl, internal, base) {
5854
5869
  */
5855
5870
  function invalidPackageTarget(subpath, target, packageJsonUrl, internal, base) {
5856
5871
  target = typeof target === "object" && target !== null ? JSON.stringify(target, null, "") : `${target}`;
5857
- return new ERR_INVALID_PACKAGE_TARGET(fileURLToPath(new URL$1(".", packageJsonUrl)), subpath, target, internal, base && fileURLToPath(base));
5872
+ return new ERR_INVALID_PACKAGE_TARGET(fileURLToPath(new URL(".", packageJsonUrl)), subpath, target, internal, base && fileURLToPath(base));
5858
5873
  }
5859
5874
  /**
5860
5875
  * @param {string} target
@@ -5874,7 +5889,7 @@ function resolvePackageTargetString(target, subpath, match, packageJsonUrl, base
5874
5889
  if (internal && !target.startsWith("../") && !target.startsWith("/")) {
5875
5890
  let isURL = false;
5876
5891
  try {
5877
- new URL$1(target);
5892
+ new URL(target);
5878
5893
  isURL = true;
5879
5894
  } catch {}
5880
5895
  if (!isURL) return packageResolve(pattern ? RegExpPrototypeSymbolReplace.call(patternRegEx, target, () => subpath) : target + subpath, packageJsonUrl, conditions);
@@ -5887,9 +5902,9 @@ function resolvePackageTargetString(target, subpath, match, packageJsonUrl, base
5887
5902
  emitInvalidSegmentDeprecation(pattern ? RegExpPrototypeSymbolReplace.call(patternRegEx, target, () => subpath) : target, request, match, packageJsonUrl, internal, base, true);
5888
5903
  }
5889
5904
  } else throw invalidPackageTarget(match, target, packageJsonUrl, internal, base);
5890
- const resolved = new URL$1(target, packageJsonUrl);
5905
+ const resolved = new URL(target, packageJsonUrl);
5891
5906
  const resolvedPath = resolved.pathname;
5892
- const packagePath = new URL$1(".", packageJsonUrl).pathname;
5907
+ const packagePath = new URL(".", packageJsonUrl).pathname;
5893
5908
  if (!resolvedPath.startsWith(packagePath)) throw invalidPackageTarget(match, target, packageJsonUrl, internal, base);
5894
5909
  if (subpath === "") return resolved;
5895
5910
  if (invalidSegmentRegEx.exec(subpath) !== null) {
@@ -5898,8 +5913,8 @@ function resolvePackageTargetString(target, subpath, match, packageJsonUrl, base
5898
5913
  if (!isPathMap) emitInvalidSegmentDeprecation(pattern ? RegExpPrototypeSymbolReplace.call(patternRegEx, target, () => subpath) : target, request, match, packageJsonUrl, internal, base, false);
5899
5914
  } else throwInvalidSubpath(request, match, packageJsonUrl, internal, base);
5900
5915
  }
5901
- if (pattern) return new URL$1(RegExpPrototypeSymbolReplace.call(patternRegEx, resolved.href, () => subpath));
5902
- return new URL$1(subpath, resolved);
5916
+ if (pattern) return new URL(RegExpPrototypeSymbolReplace.call(patternRegEx, resolved.href, () => subpath));
5917
+ return new URL(subpath, resolved);
5903
5918
  }
5904
5919
  /**
5905
5920
  * @param {string} key
@@ -5981,10 +5996,10 @@ function resolvePackageTarget(packageJsonUrl, target, subpath, packageSubpath, b
5981
5996
  * @param {URL} base
5982
5997
  * @returns {boolean}
5983
5998
  */
5984
- function isConditionalExportsMainSugar(exports, packageJsonUrl, base) {
5985
- if (typeof exports === "string" || Array.isArray(exports)) return true;
5986
- if (typeof exports !== "object" || exports === null) return false;
5987
- const keys = Object.getOwnPropertyNames(exports);
5999
+ function isConditionalExportsMainSugar(exports$1, packageJsonUrl, base) {
6000
+ if (typeof exports$1 === "string" || Array.isArray(exports$1)) return true;
6001
+ if (typeof exports$1 !== "object" || exports$1 === null) return false;
6002
+ const keys = Object.getOwnPropertyNames(exports$1);
5988
6003
  let isConditionalSugar = false;
5989
6004
  let i = 0;
5990
6005
  let keyIndex = -1;
@@ -6017,17 +6032,17 @@ function emitTrailingSlashPatternDeprecation(match, pjsonUrl, base) {
6017
6032
  * @returns {URL}
6018
6033
  */
6019
6034
  function packageExportsResolve(packageJsonUrl, packageSubpath, packageConfig, base, conditions) {
6020
- let exports = packageConfig.exports;
6021
- if (isConditionalExportsMainSugar(exports, packageJsonUrl, base)) exports = { ".": exports };
6022
- if (own.call(exports, packageSubpath) && !packageSubpath.includes("*") && !packageSubpath.endsWith("/")) {
6023
- const target = exports[packageSubpath];
6035
+ let exports$1 = packageConfig.exports;
6036
+ if (isConditionalExportsMainSugar(exports$1, packageJsonUrl, base)) exports$1 = { ".": exports$1 };
6037
+ if (own.call(exports$1, packageSubpath) && !packageSubpath.includes("*") && !packageSubpath.endsWith("/")) {
6038
+ const target = exports$1[packageSubpath];
6024
6039
  const resolveResult = resolvePackageTarget(packageJsonUrl, target, "", packageSubpath, base, false, false, false, conditions);
6025
6040
  if (resolveResult === null || resolveResult === void 0) throw exportsNotFound(packageSubpath, packageJsonUrl, base);
6026
6041
  return resolveResult;
6027
6042
  }
6028
6043
  let bestMatch = "";
6029
6044
  let bestMatchSubpath = "";
6030
- const keys = Object.getOwnPropertyNames(exports);
6045
+ const keys = Object.getOwnPropertyNames(exports$1);
6031
6046
  let i = -1;
6032
6047
  while (++i < keys.length) {
6033
6048
  const key = keys[i];
@@ -6042,7 +6057,7 @@ function packageExportsResolve(packageJsonUrl, packageSubpath, packageConfig, ba
6042
6057
  }
6043
6058
  }
6044
6059
  if (bestMatch) {
6045
- const target = exports[bestMatch];
6060
+ const target = exports$1[bestMatch];
6046
6061
  const resolveResult = resolvePackageTarget(packageJsonUrl, target, bestMatchSubpath, bestMatch, base, true, false, packageSubpath.endsWith("/"), conditions);
6047
6062
  if (resolveResult === null || resolveResult === void 0) throw exportsNotFound(packageSubpath, packageJsonUrl, base);
6048
6063
  return resolveResult;
@@ -6137,7 +6152,7 @@ function parsePackageName(specifier, base) {
6137
6152
  * @returns {URL}
6138
6153
  */
6139
6154
  function packageResolve(specifier, base, conditions) {
6140
- if (builtinModules.includes(specifier)) return new URL$1("node:" + specifier);
6155
+ if (builtinModules.includes(specifier)) return new URL("node:" + specifier);
6141
6156
  const { packageName, packageSubpath, isScoped } = parsePackageName(specifier, base);
6142
6157
  const packageConfig = getPackageScopeConfig(base);
6143
6158
  /* c8 ignore next 16 */
@@ -6145,7 +6160,7 @@ function packageResolve(specifier, base, conditions) {
6145
6160
  const packageJsonUrl = pathToFileURL(packageConfig.pjsonPath);
6146
6161
  if (packageConfig.name === packageName && packageConfig.exports !== void 0 && packageConfig.exports !== null) return packageExportsResolve(packageJsonUrl, packageSubpath, packageConfig, base, conditions);
6147
6162
  }
6148
- let packageJsonUrl = new URL$1("./node_modules/" + packageName + "/package.json", base);
6163
+ let packageJsonUrl = new URL("./node_modules/" + packageName + "/package.json", base);
6149
6164
  let packageJsonPath = fileURLToPath(packageJsonUrl);
6150
6165
  /** @type {string} */
6151
6166
  let lastPath;
@@ -6153,7 +6168,7 @@ function packageResolve(specifier, base, conditions) {
6153
6168
  const stat = tryStatSync(packageJsonPath.slice(0, -13));
6154
6169
  if (!stat || !stat.isDirectory()) {
6155
6170
  lastPath = packageJsonPath;
6156
- packageJsonUrl = new URL$1((isScoped ? "../../../../node_modules/" : "../../../node_modules/") + packageName + "/package.json", packageJsonUrl);
6171
+ packageJsonUrl = new URL((isScoped ? "../../../../node_modules/" : "../../../node_modules/") + packageName + "/package.json", packageJsonUrl);
6157
6172
  packageJsonPath = fileURLToPath(packageJsonUrl);
6158
6173
  continue;
6159
6174
  }
@@ -6163,7 +6178,7 @@ function packageResolve(specifier, base, conditions) {
6163
6178
  });
6164
6179
  if (packageConfig.exports !== void 0 && packageConfig.exports !== null) return packageExportsResolve(packageJsonUrl, packageSubpath, packageConfig, base, conditions);
6165
6180
  if (packageSubpath === ".") return legacyMainResolve(packageJsonUrl, packageConfig, base);
6166
- return new URL$1(packageSubpath, packageJsonUrl);
6181
+ return new URL(packageSubpath, packageJsonUrl);
6167
6182
  } while (packageJsonPath.length !== lastPath.length);
6168
6183
  throw new ERR_MODULE_NOT_FOUND(packageName, fileURLToPath(base), false);
6169
6184
  }
@@ -6203,12 +6218,13 @@ function shouldBeTreatedAsRelativeOrAbsolutePath(specifier) {
6203
6218
  * A URL object to the found thing.
6204
6219
  */
6205
6220
  function moduleResolve(specifier, base, conditions, preserveSymlinks) {
6221
+ if (conditions === void 0) conditions = getConditionsSet();
6206
6222
  const protocol = base.protocol;
6207
6223
  const isRemote = protocol === "data:" || protocol === "http:" || protocol === "https:";
6208
6224
  /** @type {URL | undefined} */
6209
6225
  let resolved;
6210
6226
  if (shouldBeTreatedAsRelativeOrAbsolutePath(specifier)) try {
6211
- resolved = new URL$1(specifier, base);
6227
+ resolved = new URL(specifier, base);
6212
6228
  } catch (error_) {
6213
6229
  const error = new ERR_UNSUPPORTED_RESOLVE_REQUEST(specifier, base);
6214
6230
  error.cause = error_;
@@ -6216,7 +6232,7 @@ function moduleResolve(specifier, base, conditions, preserveSymlinks) {
6216
6232
  }
6217
6233
  else if (protocol === "file:" && specifier[0] === "#") resolved = packageImportsResolve(specifier, base, conditions);
6218
6234
  else try {
6219
- resolved = new URL$1(specifier);
6235
+ resolved = new URL(specifier);
6220
6236
  } catch (error_) {
6221
6237
  if (isRemote && !builtinModules.includes(specifier)) {
6222
6238
  const error = new ERR_UNSUPPORTED_RESOLVE_REQUEST(specifier, base);
@@ -6225,7 +6241,7 @@ function moduleResolve(specifier, base, conditions, preserveSymlinks) {
6225
6241
  }
6226
6242
  resolved = packageResolve(specifier, base, conditions);
6227
6243
  }
6228
- assert(resolved !== void 0, "expected to be defined");
6244
+ assert.ok(resolved !== void 0, "expected to be defined");
6229
6245
  if (resolved.protocol !== "file:") return resolved;
6230
6246
  return finalizeResolution(resolved, base);
6231
6247
  }
@@ -34,6 +34,6 @@ const SLOW_RULES = [
34
34
  ];
35
35
  //#endregion
36
36
  //#region src/generated/version.ts
37
- const VERSION = "0.6.0";
37
+ const VERSION = "0.6.1";
38
38
  //#endregion
39
39
  export { DEBUG as n, SLOW_RULES as r, VERSION as t };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@jsse/eslint-config",
3
3
  "type": "module",
4
- "version": "0.6.0",
4
+ "version": "0.6.1",
5
5
  "description": "@jsse/eslint-config ~ WYSIWYG",
6
6
  "author": "jessekrubin <jessekrubin@gmail.com> (https://github.com/jessekrubin/)",
7
7
  "license": "MIT",
@@ -62,7 +62,7 @@
62
62
  "dependencies": {
63
63
  "@eslint-community/eslint-plugin-eslint-comments": "^4.7.1",
64
64
  "@eslint/compat": "^2.0.3",
65
- "@eslint/js": "^9.39.2",
65
+ "@eslint/js": "^9.39.4",
66
66
  "@eslint/markdown": "^7.5.1",
67
67
  "@stylistic/eslint-plugin": "5.10.0",
68
68
  "@typescript-eslint/eslint-plugin": "^8.57.0",
@@ -70,23 +70,23 @@
70
70
  "@typescript-eslint/rule-tester": "^8.57.0",
71
71
  "@vitest/eslint-plugin": "^1.6.10",
72
72
  "debug": "^4.4.3",
73
- "eslint-config-flat-gitignore": "^2.1.0",
73
+ "eslint-config-flat-gitignore": "^2.2.1",
74
74
  "eslint-merge-processors": "^2.0.0",
75
- "eslint-plugin-antfu": "^3.2.0",
76
- "eslint-plugin-command": "^3.4.0",
75
+ "eslint-plugin-antfu": "^3.2.2",
76
+ "eslint-plugin-command": "^3.5.2",
77
77
  "eslint-plugin-de-morgan": "^2.1.1",
78
- "eslint-plugin-import-lite": "^0.5.0",
79
- "eslint-plugin-jsdoc": "^62.5.4",
78
+ "eslint-plugin-import-lite": "^0.5.2",
79
+ "eslint-plugin-jsdoc": "^62.7.1",
80
80
  "eslint-plugin-jsonc": "^3.1.1",
81
- "eslint-plugin-n": "^17.23.2",
81
+ "eslint-plugin-n": "^17.24.0",
82
82
  "eslint-plugin-no-only-tests": "^3.3.0",
83
- "eslint-plugin-perfectionist": "^5.5.0",
84
- "eslint-plugin-pnpm": "^1.5.0",
83
+ "eslint-plugin-perfectionist": "^5.6.0",
84
+ "eslint-plugin-pnpm": "^1.6.0",
85
85
  "eslint-plugin-react": "^7.37.5",
86
86
  "eslint-plugin-react-hooks": "^7.0.1",
87
- "eslint-plugin-react-refresh": "^0.5.0",
87
+ "eslint-plugin-react-refresh": "^0.5.2",
88
88
  "eslint-plugin-toml": "^1.3.1",
89
- "eslint-plugin-tsdoc": "^0.5.0",
89
+ "eslint-plugin-tsdoc": "^0.5.2",
90
90
  "eslint-plugin-unicorn": "^63.0.0",
91
91
  "eslint-plugin-unused-imports": "^4.4.1",
92
92
  "eslint-plugin-yml": "^3.3.1",
@@ -101,11 +101,11 @@
101
101
  "@jsse/tsconfig": "^0.4.0",
102
102
  "@types/debug": "^4.1.12",
103
103
  "@types/fs-extra": "^11.0.4",
104
- "@types/node": "^25.3.5",
104
+ "@types/node": "^25.4.0",
105
105
  "cac": "^7.0.0",
106
- "eslint": "^9.39.2",
106
+ "eslint": "^9.39.4",
107
107
  "eslint-flat-config-utils": "^3.0.2",
108
- "eslint-typegen": "^2.3.0",
108
+ "eslint-typegen": "^2.3.1",
109
109
  "execa": "~9.6.1",
110
110
  "fast-equals": "^6.0.0",
111
111
  "fast-glob": "^3.3.3",
@@ -117,7 +117,7 @@
117
117
  "picocolors": "^1.1.1",
118
118
  "prettier": "^3.8.1",
119
119
  "react": "~19.2.4",
120
- "rimraf": "^6.1.2",
120
+ "rimraf": "^6.1.3",
121
121
  "tsdown": "^0.21.1",
122
122
  "tsx": "^4.21.0",
123
123
  "typescript": "~5.9.3",