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

@temporalio/activity

Package Overview
Dependencies
Maintainers
8
Versions
72
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@temporalio/activity - npm Package Compare versions

Comparing version 1.6.0 to 1.7.0

5

lib/index.d.ts

@@ -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:

11

package.json
{
"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

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