virtual-code-owners 9.1.1 → 9.1.3
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/LICENSE
CHANGED
|
@@ -43,7 +43,7 @@ function parseRule(pUntreatedLine, pLineNo, pTeamMap) {
|
|
|
43
43
|
lRule?.groups &&
|
|
44
44
|
(lRule.groups.userNames || STATE.inheritedUsers.length > 0);
|
|
45
45
|
if (ruleIsValid) {
|
|
46
|
-
|
|
46
|
+
const lReturnValue = {
|
|
47
47
|
type: "rule",
|
|
48
48
|
line: pLineNo,
|
|
49
49
|
raw: pUntreatedLine,
|
|
@@ -89,7 +89,10 @@ function parseSection(pUntreatedLine, pLineNo, pTeamMap) {
|
|
|
89
89
|
inlineComment: lCommentSplitLine[1] ?? "",
|
|
90
90
|
};
|
|
91
91
|
if (lSection.groups.minApprovers) {
|
|
92
|
-
lReturnValue.minApprovers = parseInt(
|
|
92
|
+
lReturnValue.minApprovers = Number.parseInt(
|
|
93
|
+
lSection.groups.minApprovers,
|
|
94
|
+
10,
|
|
95
|
+
);
|
|
93
96
|
}
|
|
94
97
|
return lReturnValue;
|
|
95
98
|
}
|
package/dist/main.js
CHANGED
|
@@ -3,7 +3,7 @@ import { EOL } from "node:os";
|
|
|
3
3
|
import generateCodeOwners from "./codeowners/generate.js";
|
|
4
4
|
import generateLabelerYml from "./labeler-yml/generate.js";
|
|
5
5
|
import readTeamMap from "./team-map/read.js";
|
|
6
|
-
import readVirtualCodeOwners from "./
|
|
6
|
+
import readVirtualCodeOwners from "./codeowners/read.js";
|
|
7
7
|
export function main(pOptions, pErrorStream) {
|
|
8
8
|
const lTeamMap = readTeamMap(pOptions.virtualTeams);
|
|
9
9
|
const lVirtualCodeOwners = readVirtualCodeOwners(
|
package/dist/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = "9.1.
|
|
1
|
+
export const VERSION = "9.1.3";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "virtual-code-owners",
|
|
3
|
-
"version": "9.1.
|
|
3
|
+
"version": "9.1.3",
|
|
4
4
|
"description": "CODEOWNERS with teams for teams that can't use GitHub teams",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -26,7 +26,14 @@
|
|
|
26
26
|
"url": "https://github.com/sverweij/virtual-code-owners/issues"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"yaml": "2.8.
|
|
29
|
+
"yaml": "2.8.3"
|
|
30
|
+
},
|
|
31
|
+
"overrides": {
|
|
32
|
+
"glob": "^12.0.0",
|
|
33
|
+
"minimatch": "^10.2.2",
|
|
34
|
+
"c8": {
|
|
35
|
+
"yargs": "^18.0.0"
|
|
36
|
+
}
|
|
30
37
|
},
|
|
31
38
|
"engines": {
|
|
32
39
|
"node": "^20.12||^22||>=24"
|
|
File without changes
|
|
File without changes
|