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

@temporalio/workflow

Package Overview
Dependencies
Maintainers
5
Versions
81
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@temporalio/workflow - npm Package Compare versions

Comparing version 0.17.0 to 0.17.1

13

lib/internals.js

@@ -386,13 +386,10 @@ "use strict";

else {
const failure = (0, common_1.ensureTemporalFailure)(error);
if (failure instanceof common_1.ApplicationFailure) {
if (!failure.nonRetryable) {
// This results in an unhandled rejection which will fail the activation
// preventing it from completing.
throw error;
}
if (!(error instanceof common_1.TemporalFailure)) {
// This results in an unhandled rejection which will fail the activation
// preventing it from completing.
throw error;
}
exports.state.pushCommand({
failWorkflowExecution: {
failure: await (0, common_1.errorToFailure)(failure, exports.state.dataConverter),
failure: await (0, common_1.errorToFailure)(error, exports.state.dataConverter),
},

@@ -399,0 +396,0 @@ }, true);

@@ -25,6 +25,6 @@ "use strict";

global.WeakRef = function () {
throw new errors_1.DeterminismViolationError('WeakRef cannot be used in workflows because v8 GC is non-deterministic');
throw new errors_1.DeterminismViolationError('WeakRef cannot be used in Workflows because v8 GC is non-deterministic');
};
global.FinalizationRegistry = function () {
throw new errors_1.DeterminismViolationError('FinalizationRegistry cannot be used in workflows because v8 GC is non-deterministic');
throw new errors_1.DeterminismViolationError('FinalizationRegistry cannot be used in Workflows because v8 GC is non-deterministic');
};

@@ -87,3 +87,3 @@ const OriginalDate = globalThis.Date;

globalThis.WeakRef = function () {
throw new errors_1.DeterminismViolationError('WeakRef cannot be used in workflows because v8 GC is non-deterministic');
throw new errors_1.DeterminismViolationError('WeakRef cannot be used in Workflows because v8 GC is non-deterministic');
};

@@ -90,0 +90,0 @@ internals_1.state.info = info;

{
"name": "@temporalio/workflow",
"version": "0.17.0",
"version": "0.17.1",
"description": "Temporal.io SDK Workflow sub-package",

@@ -16,4 +16,4 @@ "main": "lib/index.js",

"dependencies": {
"@temporalio/common": "^0.17.0",
"@temporalio/proto": "^0.17.0"
"@temporalio/common": "^0.17.1",
"@temporalio/proto": "^0.17.1"
},

@@ -30,3 +30,3 @@ "bugs": {

},
"gitHead": "7706410cb67a1c92b9ae9eea1cac48e0dad4a8d1"
"gitHead": "3ee26c92e9c18500f919654a402237a86e69652e"
}

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