Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@testring/plugin-api

Package Overview
Dependencies
Maintainers
1
Versions
161
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@testring/plugin-api - npm Package Compare versions

Comparing version
0.4.6
to
0.4.7
+3
-0
dist/modules/test-worker.js

@@ -5,2 +5,5 @@ "use strict";

class TestWorkerAPI extends abstract_1.AbstractAPI {
beforeCompile(handler) {
this.registryWritePlugin("beforeCompile" /* beforeCompile */, handler);
}
compile(handler) {

@@ -7,0 +10,0 @@ this.registryWritePlugin("compile" /* compile */, handler);

+4
-4
{
"name": "@testring/plugin-api",
"version": "0.4.6",
"version": "0.4.7",
"main": "./dist/index.js",

@@ -13,6 +13,6 @@ "types": "./src/index.ts",

"dependencies": {
"@testring/logger": "0.4.6",
"@testring/types": "0.4.6",
"@testring/utils": "0.4.6"
"@testring/logger": "0.4.7",
"@testring/types": "0.4.7",
"@testring/utils": "0.4.7"
}
}

@@ -5,2 +5,6 @@ import { TestWorkerPlugin } from '@testring/types';

export class TestWorkerAPI extends AbstractAPI {
beforeCompile(handler: (paths: Array<string>, filenameEntry: string, codeEntry: string) => Promise<Array<string>>) {
this.registryWritePlugin(TestWorkerPlugin.beforeCompile, handler);
}
compile(handler: (code: string, filename: string) => Promise<string>) {

@@ -7,0 +11,0 @@ this.registryWritePlugin(TestWorkerPlugin.compile, handler);