Skip to content

Commit ad9f349

Browse files
author
christopherholland-workday
committed
Fix polynomial regular expressions used on user controlled data
1 parent dd92b05 commit ad9f349

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

packages/components/test/utils.test.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -185,11 +185,6 @@ describe('CommonJS detection regex (utils.ts line 1579 pattern)', () => {
185185
})
186186
})
187187

188-
// ---------------------------------------------------------------------------
189-
// Import extraction regex (inline at utils.ts line 1596)
190-
// Tests the pattern used to extract module names in executeJavaScriptCode
191-
// ---------------------------------------------------------------------------
192-
193188
describe('Import extraction regex (utils.ts line 1596 pattern)', () => {
194189
const extractModules = (code: string): string[] => {
195190
const results: string[] = []

0 commit comments

Comments
 (0)