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

@speedy-js/speedy-types

Package Overview
Dependencies
Maintainers
4
Versions
115
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@speedy-js/speedy-types - npm Package Compare versions

Comparing version 0.8.0-1 to 0.8.0-3

12

lib/bundler.d.ts

@@ -7,13 +7,10 @@ import { AsyncSeriesBailHook, AsyncSeriesHook, AsyncSeriesWaterfallHook, SyncHook } from 'tapable';

export interface ISpeedyBundler {
name?: string;
compilation: IBundlerBase;
hooks: {
/**
* initialization.
* Asynchronous initialization. Executed after normalized `buildConfig` and `plugins`.
*/
initialize: SyncHook<[]>;
initialize: AsyncSeriesHook<[], void>;
/**
* asynchronous initialization.
*/
initializeAsync: AsyncSeriesBailHook<[], void>;
/**
* modify environment variables.

@@ -59,2 +56,3 @@ */

afterDone: SyncHook<ISpeedyBundler>;
childCompiler: AsyncSeriesHook<[ISpeedyBundler]>;
/**

@@ -65,3 +63,3 @@ * bundler 关闭前触发

};
createChildCompiler(config: CLIConfig): Promise<ISpeedyBundler>;
createChildCompiler(config: CLIConfig, name?: string): Promise<ISpeedyBundler>;
config: BuildConfig;

@@ -68,0 +66,0 @@ plugins: SpeedyPlugin[];

@@ -11,3 +11,1 @@ export * from './style';

export * from './input';
export * from './import';
export * from './dangerZone';

@@ -11,4 +11,2 @@ export * from './style';

export * from './input';
export * from './import';
export * from './dangerZone';
//# sourceMappingURL=index.js.map

@@ -12,3 +12,2 @@ import type { DeepPartial } from 'utility-types';

import type { HtmlOptions } from './html';
import type { DangerZone } from './dangerZone';
interface UserConfigOptional {

@@ -96,9 +95,15 @@ /**

metafile: boolean;
stats: boolean | 'server';
/**
* Generate stats for analysis, Default is `false`;
* @type {boolean} - Only generate `stat.json`.
* @type {'server'} - Generate `stat.json` and open it in browser.
* @type {Record<string, any>} - Use `server` and configure it.
*/
stats: boolean | 'server' | {
/**
* Open Browser auto, default is `true`.
*/
openBrowser?: boolean;
};
};
/**
* You probably don't need to use these options unless you know what you are doing!
* These options normally impairment your build performance severely
*/
danger: DangerZone;
}

@@ -105,0 +110,0 @@ interface UserConfigRequired {

{
"name": "@speedy-js/speedy-types",
"version": "0.8.0-1",
"version": "0.8.0-3",
"description": "",

@@ -23,3 +23,2 @@ "source": "src/index.ts",

"dependencies": {
"@types/babel__core": "7.1.16",
"@types/fs-extra": "9.0.13",

@@ -46,3 +45,7 @@ "@types/node": "16.10.9",

},
"gitHead": "a00090e8f19c01de8537fe0779c96d4c1c8c319c"
"publishConfig": {
"registry": "https://registry.npmjs.org/",
"access": "public"
},
"gitHead": "273558a1d9856fad6639b741dcc507d2779cf869"
}

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