-
Notifications
You must be signed in to change notification settings - Fork 218
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix prismjs string template literal regex (#2719)
Those regex were reporting to have some vulnerability for performance, not sure if this fixes it but I think those were errors to start with and this is the way the swift prism definition does with with `\(` instead of `${` --------- Co-authored-by: Mark Cowlishaw <[email protected]>
- Loading branch information
1 parent
0b01d95
commit 211ca4f
Showing
4 changed files
with
16 additions
and
5 deletions.
There are no files selected for viewing
10 changes: 10 additions & 0 deletions
10
common/changes/@typespec/playground/fix-string-template-regex-prism_2023-12-05-17-11.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"changes": [ | ||
{ | ||
"packageName": "@typespec/playground", | ||
"comment": "Add `noopener noreferrer` to footer external links", | ||
"type": "none" | ||
} | ||
], | ||
"packageName": "@typespec/playground" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -39,6 +39,8 @@ words: | |
- multis | ||
- munge | ||
- mylib | ||
- noopener | ||
- noreferrer | ||
- nostdlib | ||
- oapi | ||
- oneof | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters