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

@nowa/core

Package Overview
Dependencies
Maintainers
4
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.7.4 to 0.7.5

lib/core/hookable.d.ts

8

CHANGELOG.md

@@ -6,2 +6,10 @@ # Change Log

<a name="0.7.5"></a>
## [0.7.5](https://github.com/nowa-webpack/nowa2/compare/@nowa/core@0.7.4...@nowa/core@0.7.5) (2018-11-13)
**Note:** Version bump only for package @nowa/core
<a name="0.7.4"></a>

@@ -8,0 +16,0 @@ ## [0.7.4](https://github.com/nowa-webpack/nowa2/compare/@nowa/core@0.7.3...@nowa/core@0.7.4) (2018-11-13)

13

index.d.ts

@@ -1,6 +0,7 @@

export interface ISolution {
/**
* solution(s) which your solution would extends
*/
solution?: string | string[];
}
import { Module } from './lib/core/module';
import { Runner } from './lib/runner';
import * as Types from './lib/types';
import * as utils from './lib/utils';
export declare const createRunner: (createUtils: Runner.UtilsCreator, plugins: Types.IPlugin<Runner>[]) => Promise<Runner>;
export declare const createDefaultRunner: (createUtils: Runner.UtilsCreator, plugins: Types.IPlugin<Runner>[]) => Promise<Runner>;
export { Runner, Module, utils, Types };
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const tslib_1 = require("tslib");
const module_1 = require("./lib/core/module");
exports.Module = module_1.Module;
const runner_1 = require("./lib/runner");
exports.Runner = runner_1.Runner;
const Types = require("./lib/types");
exports.Types = Types;
const utils = require("./lib/utils");
exports.utils = utils;
const initError_1 = require("./lib/plugins/initError");
const loadAdvanced_1 = require("./lib/plugins/loadAdvanced");
const loadConfig_1 = require("./lib/plugins/loadConfig");
const loadModules_1 = require("./lib/plugins/loadModules");
const loadPlugins_1 = require("./lib/plugins/loadPlugins");
const loadSolution_1 = require("./lib/plugins/loadSolution");
const parseConfig_1 = require("./lib/plugins/parseConfig");
const parseSolution_1 = require("./lib/plugins/parseSolution");
const runError_1 = require("./lib/plugins/runError");
exports.createRunner = (createUtils, plugins) => tslib_1.__awaiter(this, void 0, void 0, function* () {
const runner = new runner_1.Runner(createUtils);
for (const plugin of plugins) {
yield plugin.apply(runner, createUtils(plugin.constructor.name));
}
return runner;
});
exports.createDefaultRunner = (createUtils, plugins) => tslib_1.__awaiter(this, void 0, void 0, function* () {
const allPlugins = [
new initError_1.InitErrorPlugin(),
new loadAdvanced_1.LoadAdvancedPlugin(),
new loadConfig_1.LoadConfigPlugin(),
new loadModules_1.LoadModulesPlugin(),
new loadPlugins_1.LoadPluginsPlugin(),
new loadSolution_1.LoadSolutionPlugin(),
new parseConfig_1.ParseConfigPlugin(),
new parseSolution_1.ParseSolutionPlugin(),
new runError_1.RunErrorPlugin(),
...plugins,
];
return exports.createRunner(createUtils, allPlugins);
});
{
"name": "@nowa/core",
"version": "0.7.4",
"version": "0.7.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