@hexlet/cli
Advanced tools
+1
-1
@@ -43,3 +43,3 @@ { | ||
| "description": "", | ||
| "version": "2.2.0", | ||
| "version": "2.2.1", | ||
| "main": "index.js", | ||
@@ -46,0 +46,0 @@ "scripts": { |
@@ -94,3 +94,3 @@ // @ts-check | ||
| const hexletGitlabUrl = new URL(programs[program].gitlabUrl); | ||
| const hexletProjectPath = hexletGitlabUrl.pathname.replace(/^\//, ''); | ||
| // const hexletProjectPath = hexletGitlabUrl.pathname.replace(/^\//, ''); | ||
| hexletGitlabUrl.pathname = `${hexletGitlabUrl.pathname}.git`; | ||
@@ -106,8 +106,8 @@ hexletGitlabUrl.username = 'oauth2'; | ||
| await api.ProtectedBranches.unprotect(hexletProjectPath, programBranch); | ||
| await api.ProtectedBranches.protect(hexletProjectPath, programBranch, { | ||
| push_access_level: 0, | ||
| merge_access_level: 0, | ||
| }); | ||
| console.log(chalk.yellow(`Repository: ${programs[program].gitlabUrl} closed for pushing!`)); | ||
| // await api.ProtectedBranches.unprotect(hexletProjectPath, programBranch); | ||
| // await api.ProtectedBranches.protect(hexletProjectPath, programBranch, { | ||
| // push_access_level: 0, | ||
| // merge_access_level: 0, | ||
| // }); | ||
| // console.log(chalk.yellow(`Repository: ${programs[program].gitlabUrl} closed for pushing!`)); | ||
| console.log(); | ||
@@ -114,0 +114,0 @@ } |
@@ -14,3 +14,3 @@ // @ts-check | ||
| 'other-collections': makeData('java-collections', 'other-collections'), | ||
| 'classes-and-objects': makeData('java-oop', 'other-collections'), | ||
| 'classes-and-objects': makeData('java-oop', 'classes-and-objects'), | ||
| interfaces: makeData('java-oop', 'interfaces'), | ||
@@ -17,0 +17,0 @@ subtyping: makeData('java-oop', 'subtyping'), |
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 3 instances in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 3 instances in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
73369
0.03%