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

@travetto/test

Package Overview
Dependencies
Maintainers
0
Versions
352
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@travetto/test - npm Package Compare versions

Comparing version 5.0.11 to 5.0.12

8

package.json
{
"name": "@travetto/test",
"version": "5.0.11",
"version": "5.0.12",
"description": "Declarative test framework",

@@ -32,8 +32,8 @@ "keywords": [

"@travetto/runtime": "^5.0.11",
"@travetto/terminal": "^5.0.11",
"@travetto/worker": "^5.0.11",
"@travetto/terminal": "^5.0.12",
"@travetto/worker": "^5.0.12",
"yaml": "^2.6.0"
},
"peerDependencies": {
"@travetto/cli": "^5.0.11",
"@travetto/cli": "^5.0.13",
"@travetto/transformer": "^5.0.9"

@@ -40,0 +40,0 @@ },

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

import { ChildCommChannel } from '@travetto/worker';
import { IpcChannel } from '@travetto/worker';

@@ -12,4 +12,3 @@ import { TestEvent } from '../../model/event';

@Consumable('exec')
export class ExecutionEmitter extends ChildCommChannel<TestEvent> implements TestConsumer {
export class ExecutionEmitter extends IpcChannel<TestEvent> implements TestConsumer {
onEvent(event: TestEvent): void {

@@ -16,0 +15,0 @@ this.send(event.type, JSON.parse(SerializeUtil.serializeToJSON(event)));

import { createWriteStream } from 'node:fs';
import { ConsoleManager, Env, Util, Runtime } from '@travetto/runtime';
import { ChildCommChannel } from '@travetto/worker';
import { IpcChannel } from '@travetto/worker';

@@ -16,3 +16,3 @@ import { SerializeUtil } from '../consumer/serialize';

*/
export class TestChildWorker extends ChildCommChannel<TestRun> {
export class TestChildWorker extends IpcChannel<TestRun> {

@@ -19,0 +19,0 @@ #done = Util.resolvablePromise();

import { fork } from 'node:child_process';
import { Env, RuntimeIndex } from '@travetto/runtime';
import { ParentCommChannel } from '@travetto/worker';
import { IpcChannel } from '@travetto/worker';

@@ -26,3 +26,3 @@ import { Events, TestLogEvent } from './types';

const channel = new ParentCommChannel<TestEvent & { error?: Error }>(
const channel = new IpcChannel<TestEvent & { error?: Error }>(
fork(

@@ -29,0 +29,0 @@ RuntimeIndex.resolveFileImport('@travetto/cli/support/entry.trv'), ['test:child'],

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