DataDog / dd-native-iast-rewriter-js

Apache License 2.0
3 stars 1 forks source link

Rewrite template literals as template literals #98

Closed iunanua closed 1 month ago

iunanua commented 2 months ago

What does this PR do?

// original
const a = `Hello ${b}`

// rewritten
const a = (__datadog_test_0 = b, _ddiast.tplOperator(`Hello ${__datadog_test_0}`, __datadog_test_0))

Motivation

Additional Notes

Describe how to test your changes

Checklist