New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@initx-plugin/core

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@initx-plugin/core - npm Package Compare versions

Comparing version 0.0.6 to 0.0.7

28

dist/index.d.ts

@@ -6,7 +6,27 @@ type MaybeArray<T> = T | T[];

type Matchers = BaseMatchers | TypeMatchers;
interface InitxOptions {
/**
* Matching string
*
* The key that was used to match the handler
*/
key: string;
/**
* CLI options
*
* cac package parsed options
*/
cliOptions: Record<string, any>;
/**
* Options list
*
* cli options list, like
* @example ['--global']
*/
optionsList: string[];
}
declare abstract class InitxHandler {
abstract matchers: Matchers;
abstract handle(value: string, ...others: string[]): MaybePromise<void>;
abstract handle<T>(value: string, type: T, ...others: string[]): MaybePromise<void>;
run(value: string, ...others: string[]): Promise<void>;
abstract handle(options: InitxOptions, ...others: string[]): MaybePromise<void>;
run(options: InitxOptions, ...others: string[]): Promise<void>;
private isObject;

@@ -16,2 +36,2 @@ private isPassed;

export { InitxHandler };
export { InitxHandler, type InitxOptions };

2

package.json
{
"name": "@initx-plugin/core",
"type": "module",
"version": "0.0.6",
"version": "0.0.7",
"description": "core module for initx plugins",

@@ -6,0 +6,0 @@ "author": "imba97",

Sorry, the diff of this file is not supported yet

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