gitlab-ci-env
Advanced tools
Comparing version 2.1.0 to 2.2.0
# Changelog | ||
## v2.2.0 (2020-03-22) | ||
### Changed | ||
- Added new predefined variable in GitLab 12.9 (CI_JOB_IMAGE, CI_MERGE_REQUEST_CHANGED_PAGE_PATHS, CI_MERGE_REQUEST_CHANGED_PAGE_URLS) | ||
### Fixed | ||
- Updated to latest dependencies, including resolving vulnerabilities | ||
## v2.1.0 (2020-02-23) | ||
@@ -4,0 +14,0 @@ |
@@ -61,2 +61,3 @@ 'use strict'; | ||
id: process.env.CI_JOB_ID, | ||
image: process.env.CI_JOB_IMAGE, | ||
manual: process.env.CI_JOB_MANUAL, | ||
@@ -71,2 +72,6 @@ name: process.env.CI_JOB_NAME, | ||
assignees: process.env.CI_MERGE_REQUEST_ASSIGNEES, | ||
changedPage: { | ||
paths: process.env.CI_MERGE_REQUEST_CHANGED_PAGE_PATHS, | ||
urls: process.env.CI_MERGE_REQUEST_CHANGED_PAGE_URLS | ||
}, | ||
eventType: process.env.CI_MERGE_REQUEST_EVENT_TYPE, | ||
@@ -73,0 +78,0 @@ id: process.env.CI_MERGE_REQUEST_ID, |
{ | ||
"name": "gitlab-ci-env", | ||
"version": "2.1.0", | ||
"version": "2.2.0", | ||
"description": "Get built-in environment variables exposed by GitLab CI.", | ||
@@ -10,6 +10,7 @@ "main": "index.js", | ||
"test-var": "jest --ci variables.test.js", | ||
"test-all": "npm test && npm run test-var", | ||
"lint-js": "eslint **/*.js", | ||
"lint-md": "markdownlint **/*.md --ignore node_modules", | ||
"lint": "npm run lint-js && npm run lint-md", | ||
"push": "npm run lint && npm audit && npm test" | ||
"push": "npm run lint && npm audit --audit-level=high && npm test" | ||
}, | ||
@@ -37,7 +38,7 @@ "repository": { | ||
"devDependencies": { | ||
"@aarongoldenthal/eslint-config-standard": "^3.0.0", | ||
"@aarongoldenthal/eslint-config-standard": "^3.1.0", | ||
"axios": "^0.19.2", | ||
"dotenv": "^8.2.0", | ||
"eslint": "^6.8.0", | ||
"eslint-plugin-jest": "^23.8.0", | ||
"eslint-plugin-jest": "^23.8.2", | ||
"eslint-plugin-sonarjs": "^0.5.0", | ||
@@ -50,3 +51,3 @@ "flat": "^5.0.0", | ||
"markdownlint-cli": "^0.22.0", | ||
"tabletojson": "^1.2.0" | ||
"tabletojson": "^2.0.3" | ||
}, | ||
@@ -53,0 +54,0 @@ "jest": { |
@@ -79,2 +79,3 @@ # GitLab CI Env | ||
id: 'CI_JOB_ID', | ||
image: 'CI_JOB_IMAGE', | ||
manual: 'CI_JOB_MANUAL', | ||
@@ -89,2 +90,6 @@ name: 'CI_JOB_NAME', | ||
assignees: 'CI_MERGE_REQUEST_ASSIGNEES', | ||
changedPage: { | ||
paths: 'CI_MERGE_REQUEST_CHANGED_PAGE_PATHS', | ||
urls: 'CI_MERGE_REQUEST_CHANGED_PAGE_URLS' | ||
}, | ||
eventType: 'CI_MERGE_REQUEST_EVENT_TYPE', | ||
@@ -91,0 +96,0 @@ id: 'CI_MERGE_REQUEST_ID', |
@@ -7,3 +7,3 @@ 'use strict'; | ||
const invertKeyValue = require('invert-kv'); | ||
const tabletojson = require('tabletojson'); | ||
const { Tabletojson: tabletojson } = require('tabletojson'); | ||
const fs = require('fs'); | ||
@@ -10,0 +10,0 @@ |
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
69526
316
197