You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

electron-process-type

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

electron-process-type - npm Package Compare versions

Comparing version

to
2.2.0

lib/v2/electron.d.ts

2

lib/v2/electron-process-type.d.ts

@@ -1,3 +0,3 @@

/// <reference path="../../src/typings/electron.d.ts" />
/// <reference path="../../src/v2/electron.d.ts" />
export declare type ElectronProcessType = 'node' | 'renderer' | 'main';
export declare function GetElectronProcessType(): ElectronProcessType;
{
"name": "electron-process-type",
"version": "2.1.0",
"version": "2.2.0",
"description": "Retrieve the process type running your code : 'node', 'browser' or 'renderer'.",

@@ -54,3 +54,3 @@ "repository": {

"build-declaration-src": "tsc -p ./tsconfig/tsconfig-declaration.json",
"copy-resources": "ncp ./src/typings ./lib/typings",
"copy-resources": "ncp ./src/v2/electron.d.ts ./lib/v2/electron.d.ts",
"test": "npm run test-mocha && npm run test-mocha-main && npm run test-mocha-renderer",

@@ -57,0 +57,0 @@ "test-mocha": "mocha test/*-node.test.js --recursive",