electron-log
Advanced tools
Comparing version 4.3.0 to 4.3.1
{ | ||
"name": "electron-log", | ||
"version": "4.3.0", | ||
"version": "4.3.1", | ||
"description": "Just a very simple logging module for your Electron application", | ||
@@ -13,3 +13,4 @@ "main": "src/index.js", | ||
"prepack": "npm run test:full", | ||
"preversion": "npm run test:full" | ||
"preversion": "npm run test:full", | ||
"ttt": "echo ${npm_config_node_version}" | ||
}, | ||
@@ -39,13 +40,13 @@ "typings": "src/index.d.ts", | ||
"devDependencies": { | ||
"@types/node": "^13.1.8", | ||
"@types/node": "^14.14.6", | ||
"electron": "*", | ||
"eslint": "^6.6.0", | ||
"eslint-config-airbnb-base": "^13.2.0", | ||
"eslint-plugin-import": "^2.18.2", | ||
"humile": "*", | ||
"eslint": "^7.12.1", | ||
"eslint-config-airbnb-base": "^14.2.0", | ||
"eslint-plugin-import": "^2.22.1", | ||
"humile": "^0.2.20", | ||
"nw": "0.42.3", | ||
"typescript": "*", | ||
"webpack": "*", | ||
"webpack-cli": "*" | ||
"typescript": "^4.0.5", | ||
"webpack": "^5.3.2", | ||
"webpack-cli": "^4.1.0" | ||
} | ||
} |
# electron-log | ||
[![Build Status](https://travis-ci.org/megahertz/electron-log.svg?branch=master)](https://travis-ci.org/megahertz/electron-log) | ||
[![NPM version](https://badge.fury.io/js/electron-log.svg)](https://badge.fury.io/js/electron-log) | ||
[![Dependencies status](https://david-dm.org/megahertz/electron-log/status.svg)](https://david-dm.org/megahertz/electron-log) | ||
[![Dependencies status](https://img.shields.io/david/megahertz/electron-log)](https://david-dm.org/megahertz/electron-log) | ||
@@ -6,0 +6,0 @@ Just a simple logging module for your Electron or NW.js application. |
@@ -71,3 +71,2 @@ 'use strict'; | ||
function getPath(name) { | ||
@@ -74,0 +73,0 @@ var app = getApp(); |
@@ -309,2 +309,3 @@ 'use strict'; | ||
// eslint-disable-next-line no-useless-catch | ||
try { | ||
@@ -311,0 +312,0 @@ if (fs.statSync(dirPath).isDirectory()) { |
@@ -72,6 +72,3 @@ 'use strict'; | ||
method: 'POST', | ||
headers: { | ||
'Content-Length': body.length, | ||
'Content-Type': 'application/json', | ||
}, | ||
headers: {}, | ||
}; | ||
@@ -81,2 +78,7 @@ | ||
options.headers['Content-Length'] = body.length; | ||
if (!options.headers['Content-Type']) { | ||
options.headers['Content-Type'] = 'application/json'; | ||
} | ||
var request = httpTransport.request(options); | ||
@@ -83,0 +85,0 @@ request.write(body); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
65863
1992