@newrelic/browser-agent 1.310.1-rc.4 → 1.310.1-rc.6

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.
@@ -17,7 +17,7 @@ exports.VERSION = exports.RRWEB_VERSION = exports.RRWEB_PACKAGE_NAME = exports.D
17
17
  /**
18
18
  * Exposes the version of the agent
19
19
  */
20
- const VERSION = exports.VERSION = "1.310.1-rc.4";
20
+ const VERSION = exports.VERSION = "1.310.1-rc.6";
21
21
 
22
22
  /**
23
23
  * Exposes the build type of the agent
@@ -17,7 +17,7 @@ exports.VERSION = exports.RRWEB_VERSION = exports.RRWEB_PACKAGE_NAME = exports.D
17
17
  /**
18
18
  * Exposes the version of the agent
19
19
  */
20
- const VERSION = exports.VERSION = "1.310.1-rc.4";
20
+ const VERSION = exports.VERSION = "1.310.1-rc.6";
21
21
 
22
22
  /**
23
23
  * Exposes the build type of the agent
@@ -7,7 +7,7 @@ exports.hasUndefinedHostname = hasUndefinedHostname;
7
7
  exports.setDenyList = setDenyList;
8
8
  exports.shouldCollectEvent = shouldCollectEvent;
9
9
  /**
10
- * Copyright 2020-2025 New Relic, Inc. All rights reserved.
10
+ * Copyright 2020-2026 New Relic, Inc. All rights reserved.
11
11
  * SPDX-License-Identifier: Apache-2.0
12
12
  */
13
13
 
@@ -92,5 +92,5 @@ function setDenyList(denyListConfig) {
92
92
  function convertToRegularExpression(filter, isPathname = false) {
93
93
  const newFilter = filter.replace(/[.+?^${}()|[\]\\]/g, m => '\\' + m) // use a replacer function to not break apm injection
94
94
  .replace(/\*/g, '.*?'); // use lazy matching instead of greedy
95
- return new RegExp((isPathname ? '^' : '') + newFilter + '$');
95
+ return new RegExp((isPathname ? '^' : '') + newFilter + '\x24'); // x24 == $, but using a literal $ causes webpack to to break when building unminified
96
96
  }
@@ -11,7 +11,7 @@
11
11
  /**
12
12
  * Exposes the version of the agent
13
13
  */
14
- export const VERSION = "1.310.1-rc.4";
14
+ export const VERSION = "1.310.1-rc.6";
15
15
 
16
16
  /**
17
17
  * Exposes the build type of the agent
@@ -11,7 +11,7 @@
11
11
  /**
12
12
  * Exposes the version of the agent
13
13
  */
14
- export const VERSION = "1.310.1-rc.4";
14
+ export const VERSION = "1.310.1-rc.6";
15
15
 
16
16
  /**
17
17
  * Exposes the build type of the agent
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2020-2025 New Relic, Inc. All rights reserved.
2
+ * Copyright 2020-2026 New Relic, Inc. All rights reserved.
3
3
  * SPDX-License-Identifier: Apache-2.0
4
4
  */
5
5
 
@@ -84,5 +84,5 @@ export function setDenyList(denyListConfig) {
84
84
  function convertToRegularExpression(filter, isPathname = false) {
85
85
  const newFilter = filter.replace(/[.+?^${}()|[\]\\]/g, m => '\\' + m) // use a replacer function to not break apm injection
86
86
  .replace(/\*/g, '.*?'); // use lazy matching instead of greedy
87
- return new RegExp((isPathname ? '^' : '') + newFilter + '$');
87
+ return new RegExp((isPathname ? '^' : '') + newFilter + '\x24'); // x24 == $, but using a literal $ causes webpack to to break when building unminified
88
88
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@newrelic/browser-agent",
3
- "version": "1.310.1-rc.4",
3
+ "version": "1.310.1-rc.6",
4
4
  "private": false,
5
5
  "author": "New Relic Browser Agent Team <browser-agent@newrelic.com>",
6
6
  "description": "New Relic Browser Agent",
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2020-2025 New Relic, Inc. All rights reserved.
2
+ * Copyright 2020-2026 New Relic, Inc. All rights reserved.
3
3
  * SPDX-License-Identifier: Apache-2.0
4
4
  */
5
5
 
@@ -94,5 +94,5 @@ function convertToRegularExpression (filter, isPathname = false) {
94
94
  const newFilter = filter
95
95
  .replace(/[.+?^${}()|[\]\\]/g, (m) => '\\' + m) // use a replacer function to not break apm injection
96
96
  .replace(/\*/g, '.*?') // use lazy matching instead of greedy
97
- return new RegExp((isPathname ? '^' : '') + newFilter + '$')
97
+ return new RegExp((isPathname ? '^' : '') + newFilter + '\x24') // x24 == $, but using a literal $ causes webpack to to break when building unminified
98
98
  }