🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@testring-dev/plugin-api

Package Overview
Dependencies
Maintainers
2
Versions
86
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@testring-dev/plugin-api - npm Package Compare versions

Comparing version
0.8.0-danbao-0681e719
to
0.8.0-danbao-66b71224
+1
-1
dist/index.d.ts

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

import { IConfig, IPluginModules } from '@testring/types';
import { IConfig, IPluginModules } from '@testring-dev-dev/types';
import { PluginAPI } from './plugin-api';

@@ -3,0 +3,0 @@ declare const applyPlugins: (pluginsDestinations: IPluginModules, config: IConfig) => void;

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

import { IPluggableModule } from '@testring/types';
import { IPluggableModule } from '@testring-dev-dev/types';
export declare class AbstractAPI {

@@ -3,0 +3,0 @@ protected pluginName: string;

import { AbstractAPI } from './abstract';
import { IDevtoolServerConfig } from '@testring/types';
import { IDevtoolServerConfig } from '@testring-dev-dev/types';
export declare class DevtoolAPI extends AbstractAPI {

@@ -4,0 +4,0 @@ beforeStart(handler: (IRecorderServerConfig: any) => IDevtoolServerConfig): void;

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

import { IOnFileNameHookData, IOnFileReleaseHookData } from '@testring/types';
import { IOnFileNameHookData, IOnFileReleaseHookData } from '@testring-dev-dev/types';
import { AbstractAPI } from './abstract';

@@ -3,0 +3,0 @@ export declare class FSStoreServerAPI extends AbstractAPI {

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.FSStoreServerAPI = void 0;
const fs_store_1 = require("@testring/fs-store");
const fs_store_1 = require("@testring-dev-dev/fs-store");
const abstract_1 = require("./abstract");

@@ -6,0 +6,0 @@ class FSStoreServerAPI extends abstract_1.AbstractAPI {

import { AbstractAPI } from './abstract';
import { IHttpRequest, IHttpRequestMessage, IHttpResponse } from '@testring/types';
import { IHttpRequest, IHttpRequestMessage, IHttpResponse } from '@testring-dev-dev/types';
export declare class HttpServerAPI extends AbstractAPI {

@@ -4,0 +4,0 @@ beforeRequest(handler: (request: IHttpRequest, data: IHttpRequestMessage) => Promise<IHttpRequest>): void;

import { AbstractAPI } from './abstract';
import { ILogEntity, ILogMeta } from '@testring/types';
import { ILogEntity, ILogMeta } from '@testring-dev-dev/types';
export declare class LoggerAPI extends AbstractAPI {

@@ -4,0 +4,0 @@ beforeLog(handler: (logEntity: ILogEntity, meta: ILogMeta) => ILogEntity): void;

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

import { IQueuedTest } from '@testring/types';
import { IQueuedTest } from '@testring-dev-dev/types';
import { AbstractAPI } from './abstract';

@@ -3,0 +3,0 @@ export declare class TestRunControllerAPI extends AbstractAPI {

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

import { IHttpClient, IPluginModules } from '@testring/types';
import { IHttpClient, IPluginModules } from '@testring-dev-dev/types';
import { BrowserProxyAPI } from './modules/browser-proxy';

@@ -3,0 +3,0 @@ import { FSReaderAPI } from './modules/fs-reader';

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

import { IConfig, IPluginModules } from '@testring/types';
import { IConfig, IPluginModules } from '@testring-dev-dev/types';
export declare class PluginController {

@@ -3,0 +3,0 @@ private modulesList;

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.PluginController = void 0;
const utils_1 = require("@testring/utils");
const utils_1 = require("@testring-dev-dev/utils");
const plugin_api_1 = require("./plugin-api");

@@ -39,3 +39,3 @@ class PluginController {

`Plugin ${pluginName} has incorrect format, it should be function!`,
'Please, follow plugin handbook in testring docs to get more info about API.',
'Please, follow plugin handbook in testring-dev docs to get more info about API.',
].join('\n'));

@@ -42,0 +42,0 @@ }

{
"name": "@testring-dev/plugin-api",
"version": "0.8.0-danbao-0681e719",
"version": "0.8.0-danbao-66b71224",
"main": "./dist/index.js",

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

"dependencies": {
"@testring/fs-store": "0.8.0-danbao-0681e719",
"@testring/logger": "0.8.0-danbao-0681e719",
"@testring/types": "0.8.0-danbao-0681e719",
"@testring/utils": "0.8.0-danbao-0681e719",
"@testring-dev/fs-store": "0.8.0-danbao-66b71224",
"@testring-dev/logger": "0.8.0-danbao-66b71224",
"@testring-dev/types": "0.8.0-danbao-66b71224",
"@testring-dev/utils": "0.8.0-danbao-66b71224",
"@types/node": "22.8.5"
}
}

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

import {IConfig, IPluginModules} from '@testring/types';
import {IConfig, IPluginModules} from '@testring-dev-dev/types';
import {PluginController} from './plugin-controller';

@@ -3,0 +3,0 @@ import {PluginAPI} from './plugin-api';

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

import {IPluggableModule} from '@testring/types';
import {IPluggableModule} from '@testring-dev-dev/types';

@@ -3,0 +3,0 @@ export class AbstractAPI {

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

import {BrowserProxyPlugins} from '@testring/types';
import {BrowserProxyPlugins} from '@testring-dev-dev/types';
import {AbstractAPI} from './abstract';

@@ -3,0 +3,0 @@

import {AbstractAPI} from './abstract';
import {DevtoolPluginHooks, IDevtoolServerConfig} from '@testring/types';
import {DevtoolPluginHooks, IDevtoolServerConfig} from '@testring-dev-dev/types';

@@ -4,0 +4,0 @@ export class DevtoolAPI extends AbstractAPI {

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

import {FSReaderPlugins} from '@testring/types';
import {FSReaderPlugins} from '@testring-dev-dev/types';
import {AbstractAPI} from './abstract';

@@ -3,0 +3,0 @@

@@ -1,3 +0,3 @@

import {fsStoreServerHooks} from '@testring/fs-store';
import {IOnFileNameHookData, IOnFileReleaseHookData} from '@testring/types';
import {fsStoreServerHooks} from '@testring-dev-dev/fs-store';
import {IOnFileNameHookData, IOnFileReleaseHookData} from '@testring-dev-dev/types';
import {AbstractAPI} from './abstract';

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

@@ -7,3 +7,3 @@ import {AbstractAPI} from './abstract';

IHttpResponse,
} from '@testring/types';
} from '@testring-dev-dev/types';

@@ -10,0 +10,0 @@ export class HttpServerAPI extends AbstractAPI {

import {AbstractAPI} from './abstract';
import {ILogEntity, ILogMeta, LoggerPlugins} from '@testring/types';
import {ILogEntity, ILogMeta, LoggerPlugins} from '@testring-dev-dev/types';

@@ -4,0 +4,0 @@ export class LoggerAPI extends AbstractAPI {

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

import {TestRunControllerPlugins, IQueuedTest} from '@testring/types';
import {TestRunControllerPlugins, IQueuedTest} from '@testring-dev-dev/types';
import {AbstractAPI} from './abstract';

@@ -3,0 +3,0 @@

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

import {TestWorkerPlugin} from '@testring/types';
import {TestWorkerPlugin} from '@testring-dev-dev/types';
import {AbstractAPI} from './abstract';

@@ -3,0 +3,0 @@

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

import {IHttpClient, IPluginModules} from '@testring/types';
import {IHttpClient, IPluginModules} from '@testring-dev-dev/types';
import {BrowserProxyAPI} from './modules/browser-proxy';

@@ -3,0 +3,0 @@ import {FSReaderAPI} from './modules/fs-reader';

@@ -1,3 +0,3 @@

import {ConfigPluginDescriptor, IConfig, IPluginModules} from '@testring/types';
import {requirePlugin} from '@testring/utils';
import {ConfigPluginDescriptor, IConfig, IPluginModules} from '@testring-dev-dev/types';
import {requirePlugin} from '@testring-dev-dev/utils';
import {PluginAPI} from './plugin-api';

@@ -45,3 +45,3 @@

`Plugin ${pluginName} has incorrect format, it should be function!`,
'Please, follow plugin handbook in testring docs to get more info about API.',
'Please, follow plugin handbook in testring-dev docs to get more info about API.',
].join('\n'),

@@ -48,0 +48,0 @@ );