New:Socket for Asana Is Now Available.Learn more →
Sign In

electron-reloader-webpack-plugin

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

electron-reloader-webpack-plugin - npm Package Compare versions

Comparing version
1.0.0
to
1.0.1
+9
-7
lib/index.d.ts
/// <reference types="node" />
import { ChildProcess } from "child_process";
import { Compiler } from "webpack";
export default class ElectronReloader {
command: string;
args: string[];
activeProcess?: ChildProcess;
constructor(command: string, args: string[]);
apply(compiler: Compiler): void;
}
declare const _default: {
new (command: string, args: string[]): {
command: string;
args: string[];
activeProcess?: ChildProcess | undefined;
apply(compiler: Compiler): void;
};
};
export = _default;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var child_process_1 = require("child_process");
var ElectronReloader = /** @class */ (function () {
module.exports = /** @class */ (function () {
function ElectronReloader(command, args) {

@@ -23,2 +22,1 @@ this.command = command;

}());
exports.default = ElectronReloader;
{
"name": "electron-reloader-webpack-plugin",
"version": "1.0.0",
"version": "1.0.1",
"description": "Webpack plugin for reload electron",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var index_1 = require("./index");
describe("Electron Reloader", function () {
it("should be a instance of a function", function () {
expect(index_1.default).toBeInstanceOf(Function);
});
});