Skip to content

Commit 09b6a44

Browse files
committed
chore(deps): add HTML entity encoder/decoder
1 parent e9ba41e commit 09b6a44

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

smithy-typescript-codegen/src/main/java/software/amazon/smithy/typescript/codegen/TypeScriptDependency.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,11 @@ public enum TypeScriptDependency implements SymbolDependencyContainer {
7575

7676
// Conditionally added when interacting with specific protocol test bodyMediaType values.
7777
AWS_SDK_QUERYSTRING_BUILDER("dependencies", "@aws-sdk/querystring-builder", "3.15.0", false),
78-
XML_PARSER("dependencies", "fast-xml-parser", "3.19.0", false);
78+
79+
// Conditionally added when XML parser needs to be used.
80+
XML_PARSER("dependencies", "fast-xml-parser", "3.19.0", false),
81+
HTML_ENTITIES("dependencies", "he", "1.2.0", false),
82+
TYPES_HTML_ENTITIES("devDependencies", "@types/he", "1.1.1", false);
7983

8084
public static final String NORMAL_DEPENDENCY = "dependencies";
8185
public static final String DEV_DEPENDENCY = "devDependencies";

0 commit comments

Comments
 (0)