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

@nowa/core

Package Overview
Dependencies
Maintainers
3
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nowa/core - npm Package Compare versions

Comparing version 0.0.4 to 0.0.5

2

index.d.ts
import { Runner } from './lib/runner';
import { Plugin } from './lib/types/plugin';
declare const createRunner: (plugins: Plugin[]) => Promise<Runner>;
declare const createRunner: (plugins: Plugin<Runner>[]) => Promise<Runner>;
export default createRunner;

@@ -44,3 +44,3 @@ "use strict";

debug('apply get-options');
this.options = yield this.applyPluginBail('get-options', [this.parsedSolution.commandDescriptors, this.parsedConfig.config]);
this.options = yield this.applyPluginBail('get-options', [this.info, this.parsedSolution.commandDescriptors, this.parsedConfig.config]);
debug('apply load-modules');

@@ -47,0 +47,0 @@ this.modules = yield this.applyPluginBail('load-modules', [this.info, this.rawSolution.commands]);

import { Pluginable } from '../core/pluginable';
export interface Plugin {
apply: (pluginable: Pluginable) => void | Promise<void>;
export interface Plugin<For extends Pluginable = Pluginable> {
apply: (pluginable: For) => void | Promise<void>;
}

@@ -20,3 +20,3 @@ import { Config } from './config';

interface _ParsedOptionDescriptor {
type: 'string' | 'number' | 'array' | 'object';
type: 'string' | 'number' | 'array' | 'boolean';
description: string;

@@ -23,0 +23,0 @@ convert?: Function;

{
"name": "@nowa/core",
"version": "0.0.4",
"version": "0.0.5",
"description": "The nowa core",

@@ -5,0 +5,0 @@ "scripts": {

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