Comparing version 3.1.1 to 3.1.2
# libhoney-js changelog | ||
## [3.1.2] - 2022-09-13 | ||
### Maintenance | ||
- Add node version to the user-agent header (#299) | [@emilyashley](https://github.com/emilyashley | ||
- Bump eslint from 8.17.0 to 8.23.1 (#300) | ||
- Bump @babel/core from 7.18.2 to 7.19.0 (#301) | ||
- Bump @rollup/plugin-node-resolve from 13.3.0 to 14.1.0 (#302) | ||
- Bump @babel/preset-env from 7.18.10 to 7.19.0 (#303) | ||
- Bump @babel/eslint-parser from 7.18.2 to 7.18.9 (#305) | ||
## [3.1.1] - 2022-04-27 | ||
@@ -4,0 +15,0 @@ |
@@ -199,3 +199,4 @@ 'use strict'; | ||
const USER_AGENT = "libhoney-js/3.1.1"; | ||
const LIBHONEY_VERSION = "libhoney-js/3.1.2"; | ||
const NODE_VERSION = `node/${process.version}`; | ||
@@ -538,6 +539,6 @@ const _global = | ||
let userAgent = USER_AGENT; | ||
let userAgent = `${LIBHONEY_VERSION} ${NODE_VERSION}`; | ||
let trimmedAddition = this._userAgentAddition.trim(); | ||
if (trimmedAddition) { | ||
userAgent = `${USER_AGENT} ${trimmedAddition}`; | ||
userAgent = `${LIBHONEY_VERSION} ${trimmedAddition} ${NODE_VERSION}`; | ||
} | ||
@@ -544,0 +545,0 @@ |
@@ -217,3 +217,4 @@ 'use strict'; | ||
const USER_AGENT = "libhoney-js/3.1.1"; | ||
const LIBHONEY_VERSION = "libhoney-js/3.1.2"; | ||
const NODE_VERSION = `node/${process.version}`; | ||
@@ -562,6 +563,6 @@ const _global = | ||
let userAgent = USER_AGENT; | ||
let userAgent = `${LIBHONEY_VERSION} ${NODE_VERSION}`; | ||
let trimmedAddition = this._userAgentAddition.trim(); | ||
if (trimmedAddition) { | ||
userAgent = `${USER_AGENT} ${trimmedAddition}`; | ||
userAgent = `${LIBHONEY_VERSION} ${trimmedAddition} ${NODE_VERSION}`; | ||
} | ||
@@ -568,0 +569,0 @@ |
@@ -191,3 +191,4 @@ import superagent from 'superagent'; | ||
const USER_AGENT = "libhoney-js/3.1.1"; | ||
const LIBHONEY_VERSION = "libhoney-js/3.1.2"; | ||
const NODE_VERSION = `node/${process.version}`; | ||
@@ -536,6 +537,6 @@ const _global = | ||
let userAgent = USER_AGENT; | ||
let userAgent = `${LIBHONEY_VERSION} ${NODE_VERSION}`; | ||
let trimmedAddition = this._userAgentAddition.trim(); | ||
if (trimmedAddition) { | ||
userAgent = `${USER_AGENT} ${trimmedAddition}`; | ||
userAgent = `${LIBHONEY_VERSION} ${trimmedAddition} ${NODE_VERSION}`; | ||
} | ||
@@ -542,0 +543,0 @@ |
{ | ||
"name": "libhoney", | ||
"version": "3.1.1", | ||
"version": "3.1.2", | ||
"description": " Honeycomb.io Javascript library", | ||
@@ -38,10 +38,10 @@ "bugs": "https://github.com/honeycombio/libhoney-js/issues", | ||
"@babel/preset-env": "^7.4.2", | ||
"@rollup/plugin-commonjs": "^21.0.0", | ||
"@rollup/plugin-commonjs": "^22.0.2", | ||
"@rollup/plugin-json": "^4.1.0", | ||
"@rollup/plugin-node-resolve": "^13.0.5", | ||
"@rollup/plugin-node-resolve": "^14.1.0", | ||
"@rollup/plugin-replace": "^4.0.0", | ||
"babel-jest": "^27.2.4", | ||
"babel-jest": "^28.0.3", | ||
"babel-polyfill": "^6.26.0", | ||
"eslint": "^8.0.1", | ||
"jest": "^27.2.4", | ||
"jest": "^28.0.3", | ||
"jest-in-case": "^1.0.2", | ||
@@ -54,3 +54,3 @@ "prettier": "^2.3.1", | ||
"dependencies": { | ||
"superagent": "^7.0.2", | ||
"superagent": "^8.0.0", | ||
"superagent-proxy": "^3.0.0", | ||
@@ -57,0 +57,0 @@ "urljoin": "^0.1.5" |
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
154389
3964
+ Addedsuperagent@8.1.2(transitive)
- Removedreadable-stream@3.6.2(transitive)
- Removedsafe-buffer@5.2.1(transitive)
- Removedstring_decoder@1.3.0(transitive)
- Removedsuperagent@7.1.6(transitive)
- Removedutil-deprecate@1.0.2(transitive)
Updatedsuperagent@^8.0.0