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

@openfn/engine-multi

Package Overview
Dependencies
Maintainers
4
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@openfn/engine-multi - npm Package Compare versions

Comparing version 0.2.5 to 0.2.6

8

CHANGELOG.md
# engine-multi
## 0.2.6
### Patch Changes
- 5c45e1e: Remove response key from state
- Updated dependencies [56b6e44]
- @openfn/runtime@0.2.4
## 0.2.5

@@ -4,0 +12,0 @@

2

dist/index.d.ts

@@ -128,2 +128,3 @@ import { JSONLog, Logger, SanitizePolicies } from '@openfn/logger';

version: string;
options: EngineOptions;
listen(attemptId: string, listeners: any): void;

@@ -160,2 +161,3 @@ execute(plan: ExecutionPlan, options?: Partial<EngineOptions>): Pick<EventEmitter, 'on' | 'off' | 'once'>;

purge?: boolean;
statePropsToRemove?: string[];
};

@@ -162,0 +164,0 @@

13

dist/index.js

@@ -497,3 +497,4 @@ // src/api.ts

adaptorPaths,
whitelist: options.whitelist
whitelist: options.whitelist,
statePropsToRemove: options.statePropsToRemove
};

@@ -568,3 +569,3 @@ const events = {

name: "@openfn/engine-multi",
version: "0.2.5",
version: "0.2.6",
description: "Multi-process runtime engine",

@@ -789,7 +790,13 @@ main: "dist/index.js",

memoryLimitMb: options.memoryLimitMb || DEFAULT_MEMORY_LIMIT,
purge: options.hasOwnProperty("purge") ? options.purge : true
purge: options.hasOwnProperty("purge") ? options.purge : true,
statePropsToRemove: options.statePropsToRemove ?? [
"configuration",
"response"
]
};
logger.info(`memory limit set to ${options.memoryLimitMb}mb`);
logger.info(`statePropsToRemove set to: `, engineOptions.statePropsToRemove);
const engine = await engine_default(engineOptions);
return {
options: engineOptions,
version: package_default.version,

@@ -796,0 +803,0 @@ execute: engine.execute,

@@ -115,3 +115,3 @@ // src/worker/worker.ts

run: (plan, runOptions) => {
const { adaptorPaths, whitelist, sanitize } = runOptions;
const { adaptorPaths, whitelist, sanitize, statePropsToRemove } = runOptions;
const { logger, jobLogger } = createLoggers(plan.id, sanitize);

@@ -127,2 +127,3 @@ const options = {

},
statePropsToRemove,
callbacks: {

@@ -129,0 +130,0 @@ // TODO: this won't actually work across the worker boundary

{
"name": "@openfn/engine-multi",
"version": "0.2.5",
"version": "0.2.6",
"description": "Multi-process runtime engine",

@@ -13,4 +13,4 @@ "main": "dist/index.js",

"@openfn/compiler": "0.0.38",
"@openfn/runtime": "0.2.3",
"@openfn/logger": "0.0.19"
"@openfn/logger": "0.0.19",
"@openfn/runtime": "0.2.4"
},

@@ -17,0 +17,0 @@ "devDependencies": {

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