Skip to content

Commit e413848

Browse files
committed
chore: more naming exceptions for inliner
1 parent 3cd465b commit e413848

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

scripts/compilation/Inliner.js

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ module.exports = class Inliner {
212212
});
213213

214214
const outputOptions = {
215-
file: this.outfile,
215+
dir: path.dirname(this.outfile),
216216
format: "cjs",
217217
exports: "named",
218218
preserveModules: false,
@@ -541,6 +541,18 @@ module.exports = class Inliner {
541541
"resolveAWSSDKSigV4Config", // deprecated alias for resolveAwsSdkSigV4Config
542542
"__Client", // base Client in SDK clients
543543
"$Command", // base Command in SDK clients
544+
"getDefaultClientConfiguration", // renamed to getDefaultExtensionConfiguration
545+
"generateIdempotencyToken", // sometimes called v4
546+
"defaultUserAgent", // renamed to createDefaultUserAgentProvider
547+
"getSigV4AuthPlugin", // legacy auth, getAwsAuthPlugin
548+
"NumberValueImpl", // name of NumberValue
549+
550+
"HostResolver", // alias of NodeDnsLookupHostResolver
551+
"expectInt", // aliased to expectLong
552+
"handleFloat", // aliased to limitedParseDouble
553+
"limitedParseFloat", // aliased to limitedParseDouble
554+
"strictParseFloat", // aliased to strictParseDouble
555+
"strictParseInt", // aliased to strictParseLong
544556
].includes(sym)
545557
) {
546558
return `import { ${sym} } from "${this.pkgJson.name}";`;

0 commit comments

Comments
 (0)