Socket
Socket
Sign inDemoInstall

@types/parcel-bundler

Package Overview
Dependencies
7
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.10.2 to 1.12.0

70

parcel-bundler/index.d.ts

@@ -1,10 +0,28 @@

// Type definitions for parcel-bundler 1.10
// Type definitions for parcel-bundler 1.12
// Project: https://github.com/parcel-bundler/parcel#readme
// Definitions by: pinage404 <https://github.com/pinage404>
// Nick Woodward <https://github.com/nick-woodward>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.2
import * as http from 'http';
import * as https from 'https';
import * as express from "express-serve-static-core";
declare namespace ParcelBundler {
interface HttpsOptions {
/**
* Path to custom certificate
*
* @default "./ssl/c.crt"
*/
cert?: string;
/**
* Path to custom key
*
* @default "./ssl/k.key"
*/
key?: string;
}
interface ParcelOptions {

@@ -77,16 +95,3 @@ /**

| false
| {
/**
* Path to custom certificate
*
* @default "./ssl/c.crt"
*/
cert?: string;
/**
* Path to custom key
*
* @default "./ssl/k.key"
*/
key?: string;
};
| HttpsOptions;
/**

@@ -128,2 +133,23 @@ * 3 = log everything, 2 = log warnings & errors, 1 = log errors

detailedReport?: boolean;
/**
* Expose modules as UMD under this name, disabled by default
*/
global?: string;
/**
* By default, package.json dependencies are not included when using 'node' or 'electron' with the 'target' option.
*
* Set to true to add them to the bundle.
*
* @default false
*/
bundleNodeModules?: true | false;
/**
* Enable or disable HMR while watching
*
* @default false
*/
hmr?: true | false;
}

@@ -166,2 +192,7 @@

offsets: Map<ParcelAsset, number>;
/**
* A Set of all child bundles
*/
childBundles: Set<any>;
}

@@ -183,4 +214,13 @@ }

middleware(): (req: express.Request, res: express.Response, next: express.NextFunction) => any;
serve(port?: number, https?: true | false | ParcelBundler.HttpsOptions, host?: string): Promise<http.Server | https.Server>;
on(name: 'buildEnd', cb: () => void): void;
on(name: 'bundled', cb: (bundle: ParcelBundler.ParcelBundle) => void): void;
on(name: 'buildStart', cb: (entryPoints: string[]) => void): void;
on(name: 'buildError', cb: (error: Error) => void): void;
off(name: 'buildEnd'| 'bundled'| 'buildStart'| 'buildError', cb: (...any: any[]) => void): void;
}
export = ParcelBundler;
{
"name": "@types/parcel-bundler",
"version": "1.10.2",
"version": "1.12.0",
"description": "TypeScript definitions for parcel-bundler",

@@ -11,2 +11,7 @@ "license": "MIT",

"githubUsername": "pinage404"
},
{
"name": "Nick Woodward",
"url": "https://github.com/nick-woodward",
"githubUsername": "nick-woodward"
}

@@ -25,4 +30,4 @@ ],

},
"typesPublisherContentHash": "35a3f888c4f1ad97ba3adb97bd2089518a6b95fd2530987cd50ce921bbb2b9c6",
"typesPublisherContentHash": "4db31e17da99dcd25f1e0f268e855c2ef652337907e4aeffbae7cd71c60b5041",
"typeScriptVersion": "2.2"
}

@@ -11,3 +11,3 @@ # Installation

Additional Details
* Last updated: Tue, 26 Feb 2019 00:38:33 GMT
* Last updated: Sat, 30 Mar 2019 04:20:27 GMT
* Dependencies: @types/express-serve-static-core

@@ -17,2 +17,2 @@ * Global values: none

# Credits
These definitions were written by pinage404 <https://github.com/pinage404>.
These definitions were written by pinage404 <https://github.com/pinage404>, Nick Woodward <https://github.com/nick-woodward>.
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc