New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

gitlab-ci-env

Package Overview
Dependencies
Maintainers
1
Versions
51
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gitlab-ci-env - npm Package Compare versions

Comparing version 3.2.0 to 3.3.0

.gitlab/gitlab-releaser.json

1

.eslintrc.json

@@ -5,2 +5,3 @@ {

"@aarongoldenthal/eslint-config-standard/jest-config",
"@aarongoldenthal/eslint-config-standard/jsdoc-config",
"@aarongoldenthal/eslint-config-standard/node-config",

@@ -7,0 +8,0 @@ "@aarongoldenthal/eslint-config-standard/sonarjs-config"

# Changelog
## v3.3.0 (2020-12-22)
### Added
- Added new predefined variables in GitLab 13.7 (CI_DEPENDENCY_PROXY_GROUP_IMAGE_PREFIX, CI_DEPENDENCY_PROXY_SERVER, CI_DEPENDENCY_PROXY_PASSWORD, CI_DEPENDENCY_PROXY_USER, CI_OPEN_MERGE_REQUESTS, CI_MERGE_REQUEST_DIFF_ID, CI_MERGE_REQUEST_DIFF_BASE_SHA) (#20)
### Fixed
- Updated to latest dependencies, including resolving vulnerabilities
### Miscellaneous
- Updated CI pipeline to leverage simplified include syntax in GitLab 13.6 (#18) and GitLab Releaser (#19)
- Updated documentation for exposed module functions (#17)
## v3.2.0 (2020-10-22)

@@ -4,0 +19,0 @@

'use strict';
/**
* Returns an object containing all of the predefined environment variables
* provided by GitLab CI.
*
* @module gitlab-ci-env
* @static
* @returns {object} Object containing all of the predefined environment
* variables provided by GitLab CI.
*/
module.exports = {

@@ -32,2 +41,8 @@ chat: {

defaultBranch: process.env.CI_DEFAULT_BRANCH,
dependencyProxy: {
groupImagePrefix: process.env.CI_DEPENDENCY_PROXY_GROUP_IMAGE_PREFIX,
password: process.env.CI_DEPENDENCY_PROXY_PASSWORD,
server: process.env.CI_DEPENDENCY_PROXY_SERVER,
user: process.env.CI_DEPENDENCY_PROXY_USER
},
deploy: {

@@ -77,2 +92,6 @@ freeze: process.env.CI_DEPLOY_FREEZE,

assignees: process.env.CI_MERGE_REQUEST_ASSIGNEES,
diff: {
id: process.env.CI_MERGE_REQUEST_DIFF_ID,
baseSha: process.env.CI_MERGE_REQUEST_DIFF_BASE_SHA
},
eventType: process.env.CI_MERGE_REQUEST_EVENT_TYPE,

@@ -128,2 +147,3 @@ id: process.env.CI_MERGE_REQUEST_ID,

namespace: process.env.CI_PROJECT_NAMESPACE,
openMergeRequests: process.env.CI_OPEN_MERGE_REQUESTS,
path: process.env.CI_PROJECT_PATH,

@@ -130,0 +150,0 @@ pathSlug: process.env.CI_PROJECT_PATH_SLUG,

17

package.json
{
"name": "gitlab-ci-env",
"version": "3.2.0",
"version": "3.3.0",
"description": "Get built-in environment variables exposed by GitLab CI.",

@@ -37,15 +37,16 @@ "main": "index.js",

"devDependencies": {
"@aarongoldenthal/eslint-config-standard": "^6.0.0",
"axios": "^0.20.0",
"@aarongoldenthal/eslint-config-standard": "^6.1.0",
"axios": "^0.21.1",
"dotenv": "^8.2.0",
"eslint": "^7.11.0",
"eslint-plugin-jest": "^24.1.0",
"eslint": "^7.16.0",
"eslint-plugin-jest": "^24.1.3",
"eslint-plugin-jsdoc": "^30.7.9",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-sonarjs": "^0.5.0",
"flat": "^5.0.2",
"husky": "^4.3.0",
"husky": "^4.3.6",
"invert-kv": "^3.0.1",
"jest": "^26.6.0",
"jest": "^26.6.3",
"jest-junit": "^12.0.0",
"markdownlint-cli": "^0.24.0",
"markdownlint-cli": "^0.26.0",
"tabletojson": "^2.0.4"

@@ -52,0 +53,0 @@ },

@@ -50,2 +50,8 @@ # GitLab CI Env

defaultBranch: 'CI_DEFAULT_BRANCH',
dependencyProxy: {
groupImagePrefix: 'CI_DEPENDENCY_PROXY_GROUP_IMAGE_PREFIX',
password: 'CI_DEPENDENCY_PROXY_PASSWORD',
server: 'CI_DEPENDENCY_PROXY_SERVER',
user: 'CI_DEPENDENCY_PROXY_USER'
},
deploy: {

@@ -95,2 +101,6 @@ freeze: 'CI_DEPLOY_FREEZE',

assignees: 'CI_MERGE_REQUEST_ASSIGNEES',
diff: {
id: 'CI_MERGE_REQUEST_DIFF_ID',
baseSha: 'CI_MERGE_REQUEST_DIFF_BASE_SHA'
},
eventType: 'CI_MERGE_REQUEST_EVENT_TYPE',

@@ -146,2 +156,3 @@ id: 'CI_MERGE_REQUEST_ID',

namespace: 'CI_PROJECT_NAMESPACE',
openMergeRequests: 'CI_OPEN_MERGE_REQUESTS',
path: 'CI_PROJECT_PATH',

@@ -148,0 +159,0 @@ pathSlug: 'CI_PROJECT_PATH_SLUG',

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc