fix: js/ts dependency inference with file suffix (Cherry-pick of #22041) (#22056) 2.25.x: add note about updating pantsbuild/actions/init-pants for py3.11 support (Cherry-pick of #22054) (#22055)