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

@octopusdeploy/api-client

Package Overview
Dependencies
Maintainers
4
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@octopusdeploy/api-client - npm Package Compare versions

Comparing version 3.0.6 to 3.0.7

7

CHANGELOG.md
# Changelog
## [3.0.7](https://github.com/OctopusDeploy/api-client.ts/compare/v3.0.6...v3.0.7) (2023-04-19)
### Bug Fixes
* properly compare versions ([#158](https://github.com/OctopusDeploy/api-client.ts/issues/158)) ([e604b86](https://github.com/OctopusDeploy/api-client.ts/commit/e604b86520a697a1937003159d313ccac7edf493))
## [3.0.6](https://github.com/OctopusDeploy/api-client.ts/compare/v3.0.5...v3.0.6) (2023-02-28)

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

10

dist/features/projects/releases/deployments/deploymentRepository.js

@@ -68,3 +68,3 @@ "use strict";

return __awaiter(this, void 0, void 0, function () {
var serverInformation, serverVersion, response, mappedTasks;
var serverInformation, response, mappedTasks;
return __generator(this, function (_c) {

@@ -75,4 +75,3 @@ switch (_c.label) {

serverInformation = _c.sent();
serverVersion = new semver_1.SemVer(serverInformation.version);
if (serverVersion < new semver_1.SemVer("2022.3.5512")) {
if ((0, semver_1.lt)(serverInformation.version, "2022.3.5512")) {
(_b = (_a = this.client).error) === null || _b === void 0 ? void 0 : _b.call(_a, "The Octopus instance doesn't support deploying releases using the Executions API, it will need to be upgraded to at least 2022.3.5512 in order to access this API.");

@@ -105,3 +104,3 @@ throw new Error("The Octopus instance doesn't support deploying releases using the Executions API, it will need to be upgraded to at least 2022.3.5512 in order to access this API.");

return __awaiter(this, void 0, void 0, function () {
var serverInformation, serverVersion, response, mappedTasks;
var serverInformation, response, mappedTasks;
return __generator(this, function (_c) {

@@ -112,4 +111,3 @@ switch (_c.label) {

serverInformation = _c.sent();
serverVersion = new semver_1.SemVer(serverInformation.version);
if (serverVersion < new semver_1.SemVer("2022.3.5512")) {
if ((0, semver_1.lt)(serverInformation.version, "2022.3.5512")) {
(_b = (_a = this.client).error) === null || _b === void 0 ? void 0 : _b.call(_a, "The Octopus instance doesn't support deploying tenanted releases using the Executions API, it will need to be upgraded to at least 2022.3.5512 in order to access this API.");

@@ -116,0 +114,0 @@ throw new Error("The Octopus instance doesn't support deploying tenanted releases using the Executions API, it will need to be upgraded to at least 2022.3.5512 in order to access this API.");

@@ -61,3 +61,3 @@ "use strict";

return __awaiter(this, void 0, void 0, function () {
var serverInformation, serverVersion, response;
var serverInformation, response;
return __generator(this, function (_c) {

@@ -68,4 +68,3 @@ switch (_c.label) {

serverInformation = _c.sent();
serverVersion = new semver_1.SemVer(serverInformation.version);
if (serverVersion < new semver_1.SemVer("2022.3.5512")) {
if ((0, semver_1.lt)(serverInformation.version, "2022.3.5512")) {
(_b = (_a = this.client).error) === null || _b === void 0 ? void 0 : _b.call(_a, "The Octopus instance doesn't support creating releases using the Executions API, it will need to be upgraded to at least 2022.3.5512 in order to access this API.");

@@ -72,0 +71,0 @@ throw new Error("The Octopus instance doesn't support creating releases using the Executions API, it will need to be upgraded to at least 2022.3.5512 in order to access this API.");

@@ -68,3 +68,3 @@ "use strict";

return __awaiter(this, void 0, void 0, function () {
var serverInformation, serverVersion, response, mappedTasks;
var serverInformation, response, mappedTasks;
return __generator(this, function (_c) {

@@ -75,4 +75,3 @@ switch (_c.label) {

serverInformation = _c.sent();
serverVersion = new semver_1.SemVer(serverInformation.version);
if (serverVersion < new semver_1.SemVer("2022.3.5512")) {
if ((0, semver_1.lt)(serverInformation.version, "2022.3.5512")) {
(_b = (_a = this.client).error) === null || _b === void 0 ? void 0 : _b.call(_a, "The Octopus instance doesn't support running runbooks using the Executions API, it will need to be upgraded to at least 2022.3.5512 in order to access this API.");

@@ -79,0 +78,0 @@ throw new Error("The Octopus instance doesn't support running runbooks using the Executions API, it will need to be upgraded to at least 2022.3.5512 in order to access this API.");

2

package.json

@@ -78,3 +78,3 @@ {

"types": "dist/index.d.ts",
"version": "3.0.6",
"version": "3.0.7",
"jest-junit": {

@@ -81,0 +81,0 @@ "outputDirectory": "reports",

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