axe
Advanced tools
Comparing version 3.1.4 to 3.1.6
@@ -49,2 +49,4 @@ "use strict"; | ||
var pkg = require('../package.json'); | ||
var omittedLoggerKeys = ['config', 'log']; | ||
@@ -265,3 +267,3 @@ var appInfo = isFunction(parseAppInfo) ? parseAppInfo() : false; | ||
var req = superagent.post(config.endpoint).set('X-Request-Id', cuid()).timeout(config.timeout); // basic auth (e.g. Cabin API key) | ||
var req = superagent.post(config.endpoint).set('User-Agent', "axe/".concat(pkg.version)).set('X-Request-Id', cuid()).timeout(config.timeout); // basic auth (e.g. Cabin API key) | ||
@@ -268,0 +270,0 @@ if (config.key) req.auth(config.key); // set headers if any |
{ | ||
"name": "axe", | ||
"description": "Logging add-on to send logs over HTTP to your server in Node and Browser environments. Works with any logger! Chop up your logs consistently! Made for Cabin and Lad.", | ||
"version": "3.1.4", | ||
"version": "3.1.6", | ||
"author": "Nick Baugh <niftylettuce@gmail.com> (http://niftylettuce.com)", | ||
@@ -39,3 +39,3 @@ "ava": { | ||
"parse-err": "^0.0.9", | ||
"superagent": "^5.0.8", | ||
"superagent": "^5.1.0", | ||
"util-format-x": "^1.3.0" | ||
@@ -57,3 +57,3 @@ }, | ||
"eslint-config-xo-lass": "^1.0.3", | ||
"eslint-plugin-compat": "^3.1.1", | ||
"eslint-plugin-compat": "^3.1.2", | ||
"eslint-plugin-node": "^9.1.0", | ||
@@ -60,0 +60,0 @@ "express": "^4.17.1", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
832179
21066
Updatedsuperagent@^5.1.0