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 2.0.0 to 2.1.0

dist/features/packages/pack/index.d.ts

12

CHANGELOG.md
# Changelog
## [2.1.0](https://github.com/OctopusDeploy/api-client.ts/compare/v2.0.0...v2.1.0) (2022-12-09)
### Features
* Add support for creating Zip and NuGet packages ([#128](https://github.com/OctopusDeploy/api-client.ts/issues/128)) ([804e2e7](https://github.com/OctopusDeploy/api-client.ts/commit/804e2e7fd633a1c5649873460bd22e59ed461ebb))
### Bug Fixes
* Fixed an issue with error handling in task waiter ([#127](https://github.com/OctopusDeploy/api-client.ts/issues/127)) ([7e2ec6e](https://github.com/OctopusDeploy/api-client.ts/commit/7e2ec6eb94153b576cd1e76d01931a4881cdb91b))
## [2.0.0](https://github.com/OctopusDeploy/api-client.ts/compare/v1.4.0...v2.0.0) (2022-12-05)

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

1

dist/features/packages/index.d.ts

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

export * from "./pack";
export * from "./package";
export * from "./packageRepository";

@@ -17,3 +17,4 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
__exportStar(require("./pack"), exports);
__exportStar(require("./package"), exports);
__exportStar(require("./packageRepository"), exports);

29

dist/features/serverTasks/serverTaskWaiter.js

@@ -110,26 +110,31 @@ "use strict";

case 1:
if (!!stop) return [3 /*break*/, 7];
if (!pollingCallback) return [3 /*break*/, 3];
if (!!stop) return [3 /*break*/, 10];
_a.label = 2;
case 2:
_a.trys.push([2, , 7, 8]);
if (!pollingCallback) return [3 /*break*/, 4];
return [4 /*yield*/, spaceServerTaskRepository.getDetails(serverTaskId)];
case 2:
case 3:
taskDetails = _a.sent();
pollingCallback(taskDetails);
if (taskDetails.Task.IsCompleted) {
clearTimeout(t);
return [2 /*return*/, taskDetails.Task];
}
return [3 /*break*/, 5];
case 3: return [4 /*yield*/, spaceServerTaskRepository.getById(serverTaskId)];
case 4:
return [3 /*break*/, 6];
case 4: return [4 /*yield*/, spaceServerTaskRepository.getById(serverTaskId)];
case 5:
task = _a.sent();
if (task.IsCompleted) {
clearTimeout(t);
return [2 /*return*/, task];
}
_a.label = 5;
case 5: return [4 /*yield*/, sleep(statusCheckSleepCycle)];
case 6:
_a.label = 6;
case 6: return [3 /*break*/, 8];
case 7:
clearTimeout(t);
return [7 /*endfinally*/];
case 8: return [4 /*yield*/, sleep(statusCheckSleepCycle)];
case 9:
_a.sent();
return [3 /*break*/, 1];
case 7: return [2 /*return*/, null];
case 10: return [2 /*return*/, null];
}

@@ -136,0 +141,0 @@ });

@@ -7,2 +7,3 @@ {

"dependencies": {
"adm-zip": "^0.5.9",
"axios": "^0.27.2",

@@ -29,3 +30,2 @@ "form-data": "^4.0.0",

"@typescript-eslint/parser": "^5.30.7",
"adm-zip": "^0.5.9",
"eslint": "^8.20.0",

@@ -80,3 +80,3 @@ "eslint-config-prettier": "^8.5.0",

"types": "dist/index.d.ts",
"version": "2.0.0",
"version": "2.1.0",
"jest-junit": {

@@ -83,0 +83,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