timocov / ts-transformer-minify-privates

A TypeScript custom transformer which renames private class members
MIT License
52 stars 5 forks source link

Deprecated API warning: 'createIdentifier' has been deprecated since v4.0.0 #19

Closed noname0310 closed 1 year ago

noname0310 commented 2 years ago
DeprecationWarning: 'createIdentifier' has been deprecated since v4.0.0. Use the appropriate method on 'ts.factory' or the 'factory' supplied by your transformation context instead.

DeprecationWarning: '' has been deprecated since v4.0.0. Use the appropriate method on 'ts.factory' or the 'factory' supplied by your transformation context instead.

There's a deprecation warning Please solve it

timocov commented 2 years ago

@noname0310 this was done intentionally to support previous versions of the compiler. I think once the compiler reaches v5 we can upgrade the minimal supported version to 4 and replace this usage. Thanks for reporting!

noname0310 commented 2 years ago

Thank you for your answer I'm using it really well. I hope this Transformer will continue to be available in the future.

timocov commented 1 year ago

Fixed in https://github.com/timocov/ts-transformer-minify-privates/releases/tag/v1.0.0