newrelic 6.13.1 → 6.13.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/NEWS.md CHANGED
@@ -1,3 +1,15 @@
1
+ ## 6.13.2 (2020-10-13):
2
+
3
+ * Removed lodash as a development dependency
4
+
5
+ * Check for named pipe existence before each flush
6
+
7
+ This removes the cached value used in 6.13.1
8
+
9
+ * Update shim documentation
10
+
11
+ Thank you to @ronen-e for the contribution!
12
+
1
13
  ## 6.13.1 (2020-09-24):
2
14
 
3
15
  * Fixed named-pipe check for lambda invocations to avoid race-condition.
@@ -48,7 +48,6 @@ code, the source code can be found at [https://github.com/newrelic/node-newrelic
48
48
  * [got](#got)
49
49
  * [http-errors](#http-errors)
50
50
  * [jsdoc](#jsdoc)
51
- * [lodash](#lodash)
52
51
  * [memcached](#memcached)
53
52
  * [minami](#minami)
54
53
  * [mongodb](#mongodb)
@@ -2197,61 +2196,6 @@ https://github.com/jmblog/color-themes-for-google-code-prettify
2197
2196
 
2198
2197
  ```
2199
2198
 
2200
- ### lodash
2201
-
2202
- This product includes source derived from [lodash](https://github.com/lodash/lodash) ([v4.17.15](https://github.com/lodash/lodash/tree/v4.17.15)), distributed under the [MIT License](https://github.com/lodash/lodash/blob/v4.17.15/LICENSE):
2203
-
2204
- ```
2205
- Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
2206
-
2207
- Based on Underscore.js, copyright Jeremy Ashkenas,
2208
- DocumentCloud and Investigative Reporters & Editors <http://underscorejs.org/>
2209
-
2210
- This software consists of voluntary contributions made by many
2211
- individuals. For exact contribution history, see the revision history
2212
- available at https://github.com/lodash/lodash
2213
-
2214
- The following license applies to all parts of this software except as
2215
- documented below:
2216
-
2217
- ====
2218
-
2219
- Permission is hereby granted, free of charge, to any person obtaining
2220
- a copy of this software and associated documentation files (the
2221
- "Software"), to deal in the Software without restriction, including
2222
- without limitation the rights to use, copy, modify, merge, publish,
2223
- distribute, sublicense, and/or sell copies of the Software, and to
2224
- permit persons to whom the Software is furnished to do so, subject to
2225
- the following conditions:
2226
-
2227
- The above copyright notice and this permission notice shall be
2228
- included in all copies or substantial portions of the Software.
2229
-
2230
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
2231
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
2232
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
2233
- NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
2234
- LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
2235
- OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
2236
- WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
2237
-
2238
- ====
2239
-
2240
- Copyright and related rights for sample code are waived via CC0. Sample
2241
- code is defined as all source code displayed within the prose of the
2242
- documentation.
2243
-
2244
- CC0: http://creativecommons.org/publicdomain/zero/1.0/
2245
-
2246
- ====
2247
-
2248
- Files located in the node_modules and vendor directories are externally
2249
- maintained libraries used by this software which have their own
2250
- licenses; we recommend you read them, as their terms may differ from the
2251
- terms above.
2252
-
2253
- ```
2254
-
2255
2199
  ### memcached
2256
2200
 
2257
2201
  This product includes source derived from [memcached](https://github.com/3rd-Eden/node-memcached) ([v2.2.2](https://github.com/3rd-Eden/node-memcached/tree/v2.2.2)), distributed under the [MIT License](https://github.com/3rd-Eden/node-memcached/blob/v2.2.2/LICENSE):
@@ -292,10 +292,7 @@ class ServerlessCollector {
292
292
  payload
293
293
  ]) + '\n'
294
294
 
295
- if (this.shouldUsePipe === undefined) {
296
- this.shouldUsePipe = fs.existsSync(this.pipePath)
297
- }
298
- const didUsePipe = this.shouldUsePipe && this.flushToPipeSync(serializedPayload)
295
+ const didUsePipe = fs.existsSync(this.pipePath) && this.flushToPipeSync(serializedPayload)
299
296
 
300
297
  if (!didUsePipe) {
301
298
  this.flushToStdOut(serializedPayload, payload.length, sync)
package/newrelic.js CHANGED
@@ -28,7 +28,7 @@ exports.config = {
28
28
  *
29
29
  * @env NEW_RELIC_DISTRIBUTED_TRACING_ENABLED
30
30
  */
31
- enabled: false
31
+ enabled: false,
32
32
  },
33
33
  logging: {
34
34
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "newrelic",
3
- "version": "6.13.1",
3
+ "version": "6.13.2",
4
4
  "author": "New Relic Node.js agent team <nodejs@newrelic.com>",
5
5
  "license": "Apache-2.0",
6
6
  "contributors": [
@@ -174,7 +174,6 @@
174
174
  "got": "^8.0.1",
175
175
  "http-errors": "^1.7.3",
176
176
  "jsdoc": "^3.6.3",
177
- "lodash": "^4.17.14",
178
177
  "memcached": ">=0.2.8",
179
178
  "minami": "^1.1.1",
180
179
  "mongodb": "^3.3.3",
@@ -1,5 +1,5 @@
1
1
  {
2
- "lastUpdated": "Mon Aug 03 2020 12:31:39 GMT-0700 (Pacific Daylight Time)",
2
+ "lastUpdated": "Tue Oct 13 2020 14:24:25 GMT-0700 (Pacific Daylight Time)",
3
3
  "projectName": "New Relic Node Agent",
4
4
  "projectUrl": "https://github.com/newrelic/node-newrelic",
5
5
  "includeDev": true,
@@ -358,19 +358,6 @@
358
358
  "publisher": "Michael Mathews",
359
359
  "email": "micmath@gmail.com"
360
360
  },
361
- "lodash@4.17.15": {
362
- "name": "lodash",
363
- "version": "4.17.15",
364
- "range": "^4.17.14",
365
- "licenses": "MIT",
366
- "repoUrl": "https://github.com/lodash/lodash",
367
- "versionedRepoUrl": "https://github.com/lodash/lodash/tree/v4.17.15",
368
- "licenseFile": "node_modules/lodash/LICENSE",
369
- "licenseUrl": "https://github.com/lodash/lodash/blob/v4.17.15/LICENSE",
370
- "licenseTextSource": "file",
371
- "publisher": "John-David Dalton",
372
- "email": "john.david.dalton@gmail.com"
373
- },
374
361
  "memcached@2.2.2": {
375
362
  "name": "memcached",
376
363
  "version": "2.2.2",