@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.
- package/dist/cjs/common/constants/env.cdn.js +1 -1
- package/dist/cjs/common/constants/env.npm.js +1 -1
- package/dist/cjs/common/deny-list/deny-list.js +2 -2
- package/dist/esm/common/constants/env.cdn.js +1 -1
- package/dist/esm/common/constants/env.npm.js +1 -1
- package/dist/esm/common/deny-list/deny-list.js +2 -2
- package/package.json +1 -1
- package/src/common/deny-list/deny-list.js +2 -2
|
@@ -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.
|
|
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.
|
|
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-
|
|
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
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Copyright 2020-
|
|
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,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Copyright 2020-
|
|
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
|
}
|