If you’ve concerns about pets/children etc* then Borax is the safest thing to use – safe enough that it’s been used as a food preservative up until recently – a bit like salt for slugs really. Not really considered ideal to eat in any great quantities anymore (although you probably have eaten it at some point, in something). It’s also odorless / fumeless so good for treating stuff you can’t take outside.
If theres flight holes in the item you want to treat then theres a chance they’ve moved onto other surrounding timbers so given the borax is cheap and fairly innocuous to use (studies suggest exposure can increases male fertility so take precautions… so to speak) its worth giving garage and anything in it a bit of squirt too.
*concerns for their welfare I mean, not concerns about being infested by them