New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@hexlet/cli

Package Overview
Dependencies
Maintainers
4
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hexlet/cli - npm Package Compare versions

Comparing version
2.2.0
to
2.2.1
+1
-1
package.json

@@ -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'),