@html-validate/commitlint-config 3.2.3 → 3.2.4

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.
Files changed (2) hide show
  1. package/dist/commitlint.js +10 -11
  2. package/package.json +1 -1
@@ -21811,7 +21811,7 @@ var require_typescript = __commonJS({
21811
21811
  "src/compiler/corePublic.ts"() {
21812
21812
  "use strict";
21813
21813
  versionMajorMinor = "5.4";
21814
- version = "5.4.4";
21814
+ version = "5.4.5";
21815
21815
  Comparison = /* @__PURE__ */ ((Comparison3) => {
21816
21816
  Comparison3[Comparison3["LessThan"] = -1] = "LessThan";
21817
21817
  Comparison3[Comparison3["EqualTo"] = 0] = "EqualTo";
@@ -84139,12 +84139,10 @@ ${lanes.join("\n")}
84139
84139
  const target = type.target ?? type;
84140
84140
  const typeVariable = getHomomorphicTypeVariable(target);
84141
84141
  if (typeVariable && !target.declaration.nameType) {
84142
- const constraint = getConstraintTypeFromMappedType(type);
84143
- if (constraint.flags & 4194304) {
84144
- const baseConstraint = getBaseConstraintOfType(constraint.type);
84145
- if (baseConstraint && everyType(baseConstraint, (t) => isArrayOrTupleType(t) || isArrayOrTupleOrIntersection(t))) {
84146
- return instantiateType(target, prependTypeMapping(typeVariable, baseConstraint, type.mapper));
84147
- }
84142
+ const modifiersType = getModifiersTypeFromMappedType(type);
84143
+ const baseConstraint = isGenericMappedType(modifiersType) ? getApparentTypeOfMappedType(modifiersType) : getBaseConstraintOfType(modifiersType);
84144
+ if (baseConstraint && everyType(baseConstraint, (t) => isArrayOrTupleType(t) || isArrayOrTupleOrIntersection(t))) {
84145
+ return instantiateType(target, prependTypeMapping(typeVariable, baseConstraint, type.mapper));
84148
84146
  }
84149
84147
  }
84150
84148
  return type;
@@ -84310,13 +84308,13 @@ ${lanes.join("\n")}
84310
84308
  }
84311
84309
  function getUnionOrIntersectionProperty(type, name, skipObjectFunctionPropertyAugment) {
84312
84310
  var _a2, _b2, _c2;
84313
- let property = ((_a2 = type.propertyCacheWithoutObjectFunctionPropertyAugment) == null ? void 0 : _a2.get(name)) || !skipObjectFunctionPropertyAugment ? (_b2 = type.propertyCache) == null ? void 0 : _b2.get(name) : void 0;
84311
+ let property = skipObjectFunctionPropertyAugment ? (_a2 = type.propertyCacheWithoutObjectFunctionPropertyAugment) == null ? void 0 : _a2.get(name) : (_b2 = type.propertyCache) == null ? void 0 : _b2.get(name);
84314
84312
  if (!property) {
84315
84313
  property = createUnionOrIntersectionProperty(type, name, skipObjectFunctionPropertyAugment);
84316
84314
  if (property) {
84317
84315
  const properties = skipObjectFunctionPropertyAugment ? type.propertyCacheWithoutObjectFunctionPropertyAugment || (type.propertyCacheWithoutObjectFunctionPropertyAugment = createSymbolTable()) : type.propertyCache || (type.propertyCache = createSymbolTable());
84318
84316
  properties.set(name, property);
84319
- if (skipObjectFunctionPropertyAugment && !((_c2 = type.propertyCache) == null ? void 0 : _c2.get(name))) {
84317
+ if (skipObjectFunctionPropertyAugment && !(getCheckFlags(property) & 48) && !((_c2 = type.propertyCache) == null ? void 0 : _c2.get(name))) {
84320
84318
  const properties2 = type.propertyCache || (type.propertyCache = createSymbolTable());
84321
84319
  properties2.set(name, property);
84322
84320
  }
@@ -191379,7 +191377,8 @@ ${newComment.split("\n").map((c) => ` * ${c}`).join("\n")}
191379
191377
  }
191380
191378
  function symbolAppearsToBeTypeOnly(symbol) {
191381
191379
  var _a2;
191382
- return !(symbol.flags & 111551) && (!isInJSFile((_a2 = symbol.declarations) == null ? void 0 : _a2[0]) || !!(symbol.flags & 788968));
191380
+ const flags = getCombinedLocalAndExportSymbolFlags(skipAlias(symbol, typeChecker));
191381
+ return !(flags & 111551) && (!isInJSFile((_a2 = symbol.declarations) == null ? void 0 : _a2[0]) || !!(flags & 788968));
191383
191382
  }
191384
191383
  }
191385
191384
  function getLabelCompletionAtPosition(node) {
@@ -259195,7 +259194,7 @@ var wildcards = [
259195
259194
  test(/^((Merge pull request)|(Merge (.*?) into (.*?)|(Merge branch (.*?)))(?:\r?\n)*$)/m),
259196
259195
  test(/^(Merge tag (.*?))(?:\r?\n)*$/m),
259197
259196
  test(/^(R|r)evert (.*)/),
259198
- test(/^(fixup|squash)!/),
259197
+ test(/^(amend|fixup|squash)!/),
259199
259198
  isSemver,
259200
259199
  test(/^(Merged (.*?)(in|into) (.*)|Merged PR (.*): (.*))/),
259201
259200
  test(/^Merge remote-tracking branch(\s*)(.*)/),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@html-validate/commitlint-config",
3
- "version": "3.2.3",
3
+ "version": "3.2.4",
4
4
  "description": "Commitlint sharable config used by the various HTML-validate packages",
5
5
  "keywords": [
6
6
  "commitlint"