Socket
Socket
Sign inDemoInstall

gitlab-releaser

Package Overview
Dependencies
11
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 6.0.0 to 7.0.0

16

index.js

@@ -111,2 +111,3 @@ 'use strict';

*/
// eslint-disable-next-line sonarjs/cognitive-complexity -- Allow < 10
const expandAllEnvironmentVariables = (release, options) => {

@@ -119,3 +120,2 @@ for (const [key, value] of Object.entries(release)) {

);
// eslint-disable-next-line sonarjs/elseif-without-else -- no action on else
} else if (Array.isArray(value)) {

@@ -125,2 +125,16 @@ release[key] = value.map((item) =>

);
// eslint-disable-next-line sonarjs/elseif-without-else -- no action
} else if (key === 'assets') {
release[key].links = value.links.map((assetLink) => {
// Only process existing entries
for (const [assetKey, assetValue] of Object.entries(
assetLink
)) {
assetLink[assetKey] = expandEnvironmentVariables(
assetValue,
options.allowEmptyVariables
);
}
return assetLink;
});
}

@@ -127,0 +141,0 @@ }

2

lib/changelog.js

@@ -9,3 +9,3 @@ 'use strict';

const fs = require('fs');
const fs = require('node:fs');
const logger = require('ci-logger');

@@ -12,0 +12,0 @@ const releaselog = require('releaselog');

@@ -9,4 +9,4 @@ 'use strict';

const fs = require('fs');
const path = require('path');
const fs = require('node:fs');
const path = require('node:path');
const Ajv = require('ajv').default;

@@ -13,0 +13,0 @@

{
"name": "gitlab-releaser",
"version": "6.0.0",
"version": "7.0.0",
"description": "Generate arguments for GitLab release-cli command",

@@ -43,5 +43,5 @@ "bin": "./bin/gitlab-releaser.js",

"devDependencies": {
"@aarongoldenthal/eslint-config-standard": "^23.1.1",
"@aarongoldenthal/eslint-config-standard": "^24.0.0",
"bin-tester": "^4.0.1",
"eslint": "^8.50.0",
"eslint": "^8.53.0",
"jest": "^29.7.0",

@@ -55,6 +55,6 @@ "jest-junit": "^16.0.0",

"ci-logger": "^6.0.0",
"commander": "^11.0.0",
"commander": "^11.1.0",
"gitlab-ci-env": "^9.0.0",
"releaselog": "^4.0.1"
"releaselog": "^5.0.0"
}
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc