Martin Poelstra

Results 15 comments of Martin Poelstra

I looked at both, they seem close (especially VError), but indeed do more than we need. I also had another look at the existing BaseError, and I think it actually...

Yeah, I know about that performance difference. As I mentioned, I made [something similar](https://github.com/poelstra/ts-promise/blob/master/src/lib/Stack.ts) before. But it's exactly that property getter stuff for Error.stack that's making things tricky. For example,...

Hi Marc, thanks for chiming in! I'm not entirely sure what you're trying to achieve exactly, your example seems a bit too contrived for me to grasp. Can you clarify?

As commented in #47: > True. This is tricky, and I don't have a direct answer/solution here. It's always going to be a heuristic of course (like Node's eventEmitter.emit("error") stuff...

Updated the test code to: ```js const mm = require("micromatch"); const match = mm.matcher("/foo/**", { strictSlashes: true }); console.log(match("/foo")); // expect false console.log(match("/foo/")); // expect true ``` This still yields...