Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@koober/mrm-preset

Package Overview
Dependencies
Maintainers
4
Versions
100
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@koober/mrm-preset - npm Package Compare versions

Comparing version 1.22.0 to 1.22.1

11

CHANGELOG.md

@@ -6,2 +6,13 @@ # Change Log

## [1.22.1](https://gitlab.com/koober-sas/project-config/compare/@koober/mrm-preset@1.22.0...@koober/mrm-preset@1.22.1) (2021-05-05)
### Bug Fixes
* **mrm:** correct include script for gitlab ci ([fa9b9e4](https://gitlab.com/koober-sas/project-config/commit/fa9b9e4dbb4d0a59bf564614f93c20c7d40f400c))
# [1.22.0](https://gitlab.com/koober-sas/project-config/compare/@koober/mrm-preset@1.21.1...@koober/mrm-preset@1.22.0) (2021-05-05)

@@ -8,0 +19,0 @@

31

ci/gitlab.js

@@ -18,19 +18,16 @@ /* eslint-disable sort-keys-fix/sort-keys-fix */

const autoDevopsPath = `${gitlabCILib}/AutoDevops.gitlab-ci.yml`;
const hasAutoDevOps = gitlabCIConfig.get('include', []).some(
/**
* @param {string|{local: string}} include
*/
(include) => {
return /autodevops/i.test(typeof include === 'string' ? include : include.local);
}
);
if (!hasAutoDevOps) {
// if no autodevops then reset with default file
gitlabCIConfig
// @ts-ignore
.set({})
.merge({
include: [{ local: autoDevopsPath }],
variables: {},
});
const hasInclude = (/** @type {string} */ includePath) =>
gitlabCIConfig.get('include', []).some(
/**
* @param {string|{local: string}} include
*/
(include) => {
return (typeof include === 'string' ? include : include.local) === includePath;
}
);
const addInclude = (/** @type {string} */ includePath) =>
gitlabCIConfig.set('include', gitlabCIConfig.get('include', []).concat([{ local: includePath }]));
if (!hasInclude(autoDevopsPath)) {
addInclude(autoDevopsPath);
}

@@ -37,0 +34,0 @@

{
"name": "@koober/mrm-preset",
"version": "1.22.0",
"version": "1.22.1",
"description": "Mrm configuration presets",

@@ -50,3 +50,3 @@ "keywords": [

},
"gitHead": "24fad1bc8eb44a1684cc6043e6963fb58d56762a"
"gitHead": "8a3d78c5a249be007c204ef5d72f77f798bcb0a1"
}
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