@contrast/agent 4.32.4 → 4.32.5

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/bin/VERSION CHANGED
@@ -1 +1 @@
1
- 2.28.25
1
+ 2.28.26
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -38,11 +38,11 @@ const UP_DIR_LINUX = '../';
38
38
  const UP_DIR_WIN = '..\\';
39
39
  const ENTITY_TYPES = { SYSTEM: 'SYSTEM', PUBLIC: 'PUBLIC' };
40
40
 
41
- const EXTERNAL_RX = /<!ENTITY\s+[a-zA-Z0-f]+\s+(?:SYSTEM|PUBLIC)\s+"(.*?)"\s*>/g;
41
+ const EXTERNAL_RX = /<!ENTITY\s+[a-zA-Z0-f]+\s+(?:SYSTEM|PUBLIC)\s+['"](.*?)['"]\s*>/g;
42
42
  // <!ENTITY name SYSTEM "URI">
43
- const SYSTEM_ID_REGEX = /<!ENTITY\s+([a-zA-Z0-9]+)\s+SYSTEM\s+"(.*?)"\s*>/;
43
+ const SYSTEM_ID_REGEX = /<!ENTITY\s+([a-zA-Z0-9]+)\s+SYSTEM\s+['"](.*?)['"]\s*>/;
44
44
  // <!ENTITY name PUBLIC "public_ID" "URI">
45
- const PUBLIC_ID_REGEX = /<!ENTITY\s+([a-zA-Z0-9]+)\s+PUBLIC\s+"(.*?)"\s+"(.*?)"\s*>/;
45
+ const PUBLIC_ID_REGEX = /<!ENTITY\s+([a-zA-Z0-9]+)\s+PUBLIC\s+['"](.*?)['"]\s+['"](.*?)['"]\s*>/;
46
46
  // We only use this against lowercase strings; removed A-Z for speed
47
47
  const FILE_PATTERN_WINDOWS = /^[\\\\]*[a-z]{1,3}:.*/;
48
48
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contrast/agent",
3
- "version": "4.32.4",
3
+ "version": "4.32.5",
4
4
  "description": "Node.js security instrumentation by Contrast Security",
5
5
  "keywords": [
6
6
  "security",