@r_masseater/msch 0.98.0 → 0.99.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.
package/dist/cli.mjs CHANGED
@@ -11,8 +11,8 @@ import { r as JAPANESE } from "./config-BBdsNPSO.mjs";
11
11
  import { d as RENOVATE_PRESET, f as SELF_NAME } from "./package-routes-BQWX5ttU.mjs";
12
12
  import { n as readTree, t as loadLanguage } from "./tree-sitter-BfzHNwTR.mjs";
13
13
  import { n as baseRevision, t as baseName$1 } from "./base-revision-Bl-4nxAd.mjs";
14
- import { S as exempt, f as lint$3, h as decisionTestRules, n as MARKDOWN_RULES, t as MARKDOWN_IGNORES } from "./define-lint-preset-YcRo_ZW9.mjs";
15
- import { a as MSCH_TASK_COMMANDS, n as builtTextRuleNames, r as secretsOf, t as TEXT_IGNORES } from "./repository-text-DE4rRWEZ.mjs";
14
+ import { b as exempt, f as lint$3, h as decisionTestRules, n as MARKDOWN_RULES, t as MARKDOWN_IGNORES } from "./define-lint-preset-Ca94gIkh.mjs";
15
+ import { a as MSCH_TASK_COMMANDS, n as builtTextRuleNames, r as secretsOf, t as TEXT_IGNORES } from "./repository-text-BKEirzPk.mjs";
16
16
  import { a as presentFiles, i as listedFiles, n as isScannedText, o as scanText, r as isToolVersions, t as upstreamRecords } from "./upstream-record-DRNGym9S.mjs";
17
17
  import { a as offsetIn$1, i as namedCatalogsOf, n as manifestPattern, o as quoted$1, r as manifestSpecifiers, s as specifiedIn, t as fieldsOf } from "./specifiers-BrCyPubD.mjs";
18
18
  import { i as withTrailingSlash, n as PUBLIC_REGISTRY, r as scopeOfName, t as INSTALL_REGISTRY } from "./registries-DePiYd3D.mjs";
@@ -616,7 +616,7 @@ const checkGitSubpath = Effect.fn("checkGitSubpath")(function* checkGitSubpath(r
616
616
  // src/features/check-overrides/model/restricted-rules.ts
617
617
  const RULE$78 = "unnamed-restriction";
618
618
  const WHOLE_MATCH$3 = 0;
619
- const UNNAMED = new RegExp(`(?:[\\w@-]+/)?no-restricted-(?:imports|properties)\\b`, "gu");
619
+ const UNNAMED = new RegExp(`(?:[\\w@-]+/)?no-restricted-[a-z]+(?:-[a-z]+)*\\b`, "gu");
620
620
  const problemsIn$24 = (entry, source) => pipe(Array$1.fromIterable(String$1.matchAll(UNNAMED)(source)), Array$1.map((found) => ({
621
621
  file: entry.file,
622
622
  ...positionOf(source)(found.index ?? WHOLE_MATCH$3),