Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@newrelic/browser-agent

Package Overview
Dependencies
Maintainers
1
Versions
197
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@newrelic/browser-agent - npm Package Versions

1
20

1.235.0

Diff

Changelog

Source

1.235.0 (2023-06-20)

Features

  • Add error mode to session trace (#583) (98e3f18)
  • Decorate error objects to facilitate future UI experiences (#574) (1167c98)
  • Minor feature class changes to support testing new features (#571) (a717951)
  • Remove unused data from session trace requests (276c4f6)
  • Use new shared session for Session Trace feature (#545) (dbd995a)
newrelic
published 1.234.0 •

Changelog

Source

1.234.0 (2023-06-02)

Features

  • Migrate RUM network call from GET to POST (#521) (937812a)
newrelic
published 1.233.1 •

Changelog

Source

1.233.1 (2023-05-31)

Bug Fixes

  • Address bug affecting XHR harvest re-schedule (#561) (cd2dc90)
newrelic
published 1.233.0 •

Changelog

Source

1.233.0 (2023-05-26)

Features

  • Capture metrics for usage of MooTools and certain polyfills (#539) (903a7e1)
  • Update agent internals in early preparation for new features (#532) (1ee675d)

Bug Fixes

  • Address "configurable" warnings arising from user-agent module (#546) (7a7dace)
  • Ensure runtime is preserved for late-configuration cases (#538) (229b8ed)
  • Refactor usage of Array.from to address MooTools conflict (#544) (f1e6336)
newrelic
published 1.232.1 •

Changelog

Source

1.232.1 (2023-05-17)

Bug Fixes

  • Add X-NewRelic-ID header only if defined (#531) (36ceedf)
  • Identify inline stack trace URLs more precisely (#522) (1aba92d)
newrelic
published 1.232.0 •

Changelog

Source

1.232.0 (2023-05-08)

Features

  • Add internal session metrics (bcfe6ff)
  • Add new stateful Session Manager (#464) (32e1061)
  • Add query parameter supportability metrics (#518) (88c2d83)
  • Allow custom error grouping (f95630d)
newrelic
published 0.1.231 •

newrelic
published 0.1.230 •

newrelic
published 0.1.229 •

newrelic
published 0.0.9 •

Changelog

Source

0.0.9-beta.121 (2022-05-27)

Note: Version bump only for package newrelic

v1216

  • Internal NR Platform release date: 4/19/2022
  • Production APM-injected release date: 4/20/2022
  • Production Standalone release date: 4/27/2022

Introduced obfuscation mechanism to payloads

Added internal mechanism for applying regex and replacement rules to all strings in payloads to obfuscate before sending to ingest.

Automatically obfuscate file:// protocol

A change has been implemented in our handling of applications hosted locally on a file:// protocol. For security reasons, we can not send payloads that contain file information, so our previous implementation revolved around completely shutting the agent down when file:// protocols were detected. This change introduces the ability to obfuscate all file:// paths from our payloads before sending to ingest.

Fixed issue with trace ID random hex character length

The final character in trace ID hex generation was returning as undefined, which translated to always be 0 (undefined & 15 === 0). This change fixes this final character and ensures it is valid.

v1215

  • Internal NR Platform release date: 01/24/2021
  • Production APM-injected release date: 01/25/2021
  • Production Standalone release date: 01/31/2021

Collect supportability metrics for front end frameworks

Added front end framework detection metrics to help guide future priorities for browser agent features. The following front end frameworks will now be detected and analyzed:

  • React
  • Angular
  • AngularJS
  • Backbone
  • Ember
  • Vue
  • Meteor
  • Zepto
  • Jquery

v1214

  • Internal NR Platform release date: TBD
  • Production APM-injected release date: TBD
  • Production Standalone release date: TBD

Exclude Data URL requests from Ajax events and metrics

Previously, XMLHttpRequest and Fetch calls made with Data URLs could prevent the agent from harvesting data.

Updated LCP identifying attributes to have less generic names

Renamed LargestContentfulPaint PageViewTiming attributes from url to elUrl and tag to elTag. This makes the names less generic and as a result less likely to collide with custom attributes.

v1213

  • Internal NR Platform release date: 12/06/2021
  • Production APM-injected release date: n/a
  • Production Standalone release date: n/a

Included page view timing data in session trace payload

The agent will now include core web vitals page view timings in the session trace waterfall payload. If observed, events such FI, FID, LCP, FP, FCP etc. will now be available in the browser Session Traces UI grouped under the timing type.

Added session trace IDs to harvests

If a session trace ID exists, it will now be appended to harvests for the linking of session-related datasets downstream. This ID will be appended to any payload that exists at the time the session ID is determined, meaning the only harvests which won't have a session ID are PageView and Initial Page Load Browser Interaction.

Added NetworkInformation attributes to LCP & FI

The core web vitals metrics LCP and FI will now include metadata describing the network information observed on the page. This includes network type, round trip time (rtt) and downlink.

Added element identification attributes to LCP

LCP metrics will now also report a tag name and an image URL if present (for LCP triggered by images).

v1212

  • Staging release date: 11/04/2021
  • Production APM-injected release date: 11/08/2021
  • Production Standalone release date: 11/16/2021

Updated LCP tracking

Largest Contentful Paint will now stop being tracked when page visibility changes to hidden. This aligns with the web-vitals library.

Added passive flag to addEventListener calls

Using the addEventEventListener without the passive flag for the touchstart event is flagged in Lighthouse. The passive flag is now applied to all addEventListener calls in the agent.

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc