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

rlsr

Package Overview
Dependencies
Maintainers
5
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rlsr - npm Package Compare versions

Comparing version 5.0.0 to 5.0.1

6

.eslintrc.js

@@ -6,2 +6,3 @@ module.exports = {

'plugin:prettier/recommended',
'plugin:import/typescript',
],

@@ -92,2 +93,7 @@ plugins: ['@typescript-eslint', 'prettier', 'import'],

],
settings: {
'import/resolver': {
typescript: {},
},
},
};

13

build/package.json
{
"name": "rlsr",
"version": "4.3.1",
"version": "5.0.0",
"description": "create npm releses and changelogs from a multi repo",

@@ -22,3 +22,3 @@ "main": "build/src/index.js",

"type": "git",
"url": "https://github.com/matthias-reis/rlsr.git"
"url": "https://github.com/xing/rlsr.git"
},

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

"@typescript-eslint/eslint-plugin": "^4.28.5",
"@typescript-eslint/parser": "^4.28.5",
"@typescript-eslint/parser": "^5.23.0",
"commitizen": "4.2.4",

@@ -54,3 +54,4 @@ "cz-conventional-changelog": "3.3.0",

"eslint-config-standard": "^16.0.3",
"eslint-plugin-import": "^2.23.4",
"eslint-import-resolver-typescript": "^2.7.1",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-node": "^11.1.0",

@@ -68,3 +69,3 @@ "eslint-plugin-prettier": "3.4.0",

"chalk": "^4.1.1",
"conventional-commits-parser": "3.2.1",
"conventional-commits-parser": "3.2.4",
"cosmiconfig": "^7.0.0",

@@ -75,3 +76,3 @@ "find-up": "^5.0.0",

"semver": "7.3.5",
"simple-git": "^2.40.0",
"simple-git": "^3.3.0",
"yargs": "^17.0.1"

@@ -78,0 +79,0 @@ },

"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
Object.defineProperty(o, "default", { enumerable: true, value: v });
}) : function(o, v) {
o["default"] = v;
});
var __importStar = (this && this.__importStar) || function (mod) {
if (mod && mod.__esModule) return mod;
var result = {};
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
__setModuleDefault(result, mod);
return result;
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.adaptDependencies = void 0;
const semver_1 = __importDefault(require("semver"));
const semver = __importStar(require("semver"));
const ramda_1 = require("ramda");

@@ -35,3 +51,3 @@ const chalk_1 = require("chalk");

if (!isAsteriskRange &&
semver_1.default.satisfies(currentPackage.incrementedVersion, dependingPackage.ownPackageRange)) {
semver.satisfies(currentPackage.incrementedVersion, dependingPackage.ownPackageRange)) {
log(`${chalk_1.green(dependingPackage.name)}'s new verion "${chalk_1.green(currentPackage.incrementedVersion)}" is included in its declared dependency range "${chalk_1.green(dependingPackage.ownPackageRange)}"

@@ -51,5 +67,5 @@ `);

? currentPackage.incrementedVersion
: (_a = semver_1.default.minVersion(dependingPackage.ownPackageRange)) === null || _a === void 0 ? void 0 : _a.raw;
: (_a = semver.minVersion(dependingPackage.ownPackageRange)) === null || _a === void 0 ? void 0 : _a.raw;
// Upper limit is extended to allow all future path releases on this package
const upperVersionLimit = semver_1.default.inc(currentPackage.incrementedVersion, 'minor');
const upperVersionLimit = semver.inc(currentPackage.incrementedVersion, 'minor');
const dependingOnPackage = clonePackages[dependingPackage.name].dependsOn.find(({ name }) => name === packageName);

@@ -91,3 +107,3 @@ if (dependingOnPackage === undefined) {

// Upper limit is extended to allow all future path releases on this package
const upperVersionLimit = semver_1.default.inc(lowerVersionLimit, 'minor');
const upperVersionLimit = semver.inc(lowerVersionLimit, 'minor');
const newPackageRange = `>=${lowerVersionLimit} <${upperVersionLimit}`;

@@ -94,0 +110,0 @@ dependingOnPackage.range = newPackageRange;

"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
Object.defineProperty(o, "default", { enumerable: true, value: v });
}) : function(o, v) {
o["default"] = v;
});
var __importStar = (this && this.__importStar) || function (mod) {
if (mod && mod.__esModule) return mod;
var result = {};
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
__setModuleDefault(result, mod);
return result;
};

@@ -8,3 +24,3 @@ Object.defineProperty(exports, "__esModule", { value: true });

const ramda_1 = require("ramda");
const semver_1 = __importDefault(require("semver"));
const semver = __importStar(require("semver"));
const chalk_1 = require("chalk");

@@ -34,3 +50,3 @@ const logger_1 = require("../helpers/logger");

}
const parsedVersion = semver_1.default.parse(currentVersion);
const parsedVersion = semver.parse(currentVersion);
if (!parsedVersion) {

@@ -42,3 +58,3 @@ const errorMessage = `Invalid version "${currentVersion}" for package "${packageName}"`;

// obtain the new version number
const incrementedVersion = semver_1.default.inc(parsedVersion, incrementLevels[determinedIncrementLevel]);
const incrementedVersion = semver.inc(parsedVersion, incrementLevels[determinedIncrementLevel]);
if (!incrementedVersion) {

@@ -45,0 +61,0 @@ const errorMessage = `version "${currentVersion}" cannot be increased to "${incrementLevels[determinedIncrementLevel]}" for package "${packageName}"`;

{
"name": "rlsr",
"version": "5.0.0",
"version": "5.0.1",
"description": "create npm releses and changelogs from a multi repo",

@@ -22,3 +22,3 @@ "main": "build/src/index.js",

"type": "git",
"url": "https://github.com/matthias-reis/rlsr.git"
"url": "https://github.com/xing/rlsr.git"
},

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

"@typescript-eslint/eslint-plugin": "^4.28.5",
"@typescript-eslint/parser": "^4.28.5",
"@typescript-eslint/parser": "^5.23.0",
"commitizen": "4.2.4",

@@ -54,3 +54,4 @@ "cz-conventional-changelog": "3.3.0",

"eslint-config-standard": "^16.0.3",
"eslint-plugin-import": "^2.23.4",
"eslint-import-resolver-typescript": "^2.7.1",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-node": "^11.1.0",

@@ -68,3 +69,3 @@ "eslint-plugin-prettier": "3.4.0",

"chalk": "^4.1.1",
"conventional-commits-parser": "3.2.1",
"conventional-commits-parser": "3.2.4",
"cosmiconfig": "^7.0.0",

@@ -75,3 +76,3 @@ "find-up": "^5.0.0",

"semver": "7.3.5",
"simple-git": "^2.40.0",
"simple-git": "^3.3.0",
"yargs": "^17.0.1"

@@ -78,0 +79,0 @@ },

@@ -1,2 +0,2 @@

import semver from 'semver';
import * as semver from 'semver';

@@ -3,0 +3,0 @@ import { clone } from 'ramda';

import { clone } from 'ramda';
import semver from 'semver';
import * as semver from 'semver';
import { green, red, yellow, white } from 'chalk';

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

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