Andrew Bradley
Andrew Bradley
It looks like `consolidate` has support for rendering strings, not just files. ``` consolidate.pug('foo.pug', {}, function(err, output) {/*...*/}); consolidate.pug.render('a string of pug', {}, function(err, output) {/*...*/}); ``` EDIT: I originally...
You can write a custom validator in a couple lines that implements property whitelisting. Usage will look strange since you'll have to associate it with a non-existent property, but it...
I think there's also a performance difference between the two, but that probably doesn't matter for us since object creation isn't happening in any hot code paths. On Thu, Sep...
I hit the same issue with Migaku. A generic stripping mechanism would help here, too. This is an example of the markup. ``` けん 県 ```
I added a test, and it looks like it's working.
I just realized your README says you explicitly avoid using `readlink` and this PR uses `readlink`. However, I think it's ok because we're not using any special flags so it...
That will only work for directories, not files, right? If I have a symlink file at /foo/bar/baz.txt that points to /something/totally/different.txt, and I want `pwd -P` to tell me where...
Thanks for taking a look! The while-continue was laziness on my part; it was the first implementation I thought of. I'm on vacation till Monday but can merge Monday evening....
Interesting, what is the motivation for #12? Is it to leverage incremental compilation or to support project references? Or is it to make sure typechecking output behaves identically to `tsc`...
Correct, today it cannot be done programmatically. I believe that node should add this feature, and hopefully pressure from projects like ours will encourage them to do so.