@temporalio/activity
Advanced tools
Comparing version 1.6.0 to 1.7.0
@@ -72,4 +72,5 @@ /** | ||
/// <reference types="node" /> | ||
import { AsyncLocalStorage } from 'async_hooks'; | ||
import { AbortSignal } from 'abort-controller'; | ||
/// <reference types="node" /> | ||
import 'abort-controller/polyfill'; | ||
import { AsyncLocalStorage } from 'node:async_hooks'; | ||
export { ActivityFunction, ActivityInterface, // eslint-disable-line deprecation/deprecation | ||
@@ -76,0 +77,0 @@ ApplicationFailure, CancelledFailure, UntypedActivities, } from '@temporalio/common'; |
@@ -74,3 +74,4 @@ "use strict"; | ||
exports.Context = exports.asyncLocalStorage = exports.CompleteAsyncError = exports.CancelledFailure = exports.ApplicationFailure = void 0; | ||
const async_hooks_1 = require("async_hooks"); | ||
require("abort-controller/polyfill"); // eslint-disable-line import/no-unassigned-import | ||
const node_async_hooks_1 = require("node:async_hooks"); | ||
const time_1 = require("@temporalio/common/lib/time"); | ||
@@ -105,3 +106,3 @@ var common_1 = require("@temporalio/common"); | ||
/** @ignore */ | ||
exports.asyncLocalStorage = new async_hooks_1.AsyncLocalStorage(); | ||
exports.asyncLocalStorage = new node_async_hooks_1.AsyncLocalStorage(); | ||
/** | ||
@@ -108,0 +109,0 @@ * Activity Context, used to: |
{ | ||
"name": "@temporalio/activity", | ||
"version": "1.6.0", | ||
"version": "1.7.0", | ||
"description": "Temporal.io SDK Activity sub-package", | ||
@@ -16,3 +16,3 @@ "main": "lib/index.js", | ||
"dependencies": { | ||
"@temporalio/common": "1.6.0", | ||
"@temporalio/common": "1.7.0", | ||
"abort-controller": "^3.0.0" | ||
@@ -23,2 +23,7 @@ }, | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/temporalio/sdk-typescript.git", | ||
"directory": "packages/activity" | ||
}, | ||
"homepage": "https://github.com/temporalio/sdk-typescript/tree/main/packages/activity", | ||
@@ -32,3 +37,3 @@ "publishConfig": { | ||
], | ||
"gitHead": "49c6b1341daef2b94a0a989d515cbf97b8b02fa7" | ||
"gitHead": "2b32bac62f879b35238b487d3aaed093a1e449a7" | ||
} |
@@ -72,4 +72,4 @@ /** | ||
import { AsyncLocalStorage } from 'async_hooks'; | ||
import { AbortSignal } from 'abort-controller'; | ||
import 'abort-controller/polyfill'; // eslint-disable-line import/no-unassigned-import | ||
import { AsyncLocalStorage } from 'node:async_hooks'; | ||
import { msToNumber } from '@temporalio/common/lib/time'; | ||
@@ -76,0 +76,0 @@ |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Debug access
Supply chain riskUses debug, reflection and dynamic code execution features.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
31932
695
0
+ Added@temporalio/common@1.7.0(transitive)
+ Added@temporalio/proto@1.7.0(transitive)
- Removed@temporalio/common@1.6.0(transitive)
- Removed@temporalio/proto@1.6.0(transitive)
Updated@temporalio/common@1.7.0