Jani
Jani
Based on this: > I'd recommend just using Unix line endings. We should be specifying the `newline='\n'` with `open()` calls as per [docs](https://docs.python.org/3.9/library/functions.html#open), [Stack Overflow](https://stackoverflow.com/a/38420824/706690) and line endings used on...
Hooks probably need a little work to support Windows as [the default shell](https://github.com/cupcakearmy/autorestic/blob/78b0db50e042fdcae7004442c01901e939292394/internal/location.go#L180) and [its flags](https://github.com/cupcakearmy/autorestic/blob/78b0db50e042fdcae7004442c01901e939292394/internal/location.go#L140) should be probably at least manually configurable via config, if not auto detected. That...
I had better luck with promises on `5.x` if I append something like this at the end: ``` javascript setInterval(function () {}, 100); ``` It felt too ugly and I...
@moodmosaic > What did you use instead? IIRC some kind of homebrew solution where I directly run `node.exe` via the [Process](https://msdn.microsoft.com/en-us/library/system.diagnostics.process(v=vs.110).aspx) API and parse the [StandardOutput](https://msdn.microsoft.com/en-us/library/system.diagnostics.process.standardoutput(v=vs.110).aspx). Not the most elegant...
@moodmosaic I agree. I'd prefer Edge.js if it worked, since my solution doesn't really scale and it introduces some other pitfalls you need to be aware of. Anyway, in my...
> I get the following warning (node:43589) Warning: To load an ES module, set "type": "module" in the package.json or use the .mjs extension. and the server never loads the...
Renaming the file to end with `.mjs` seems to get rid of the errors. [Here's another one suggesting fixing the extension](https://github.com/sveltejs/kit/issues/7154#issuecomment-1269153189).
Okay, my error seems to be fixed by updating to Vite 4.0.3 released 5 hours ago, heh. I guess [it was this one](https://github.com/vitejs/vite/issues/11385). Anyway, `.mjs` should be used over `.esm.js`,...
@GuillaumeLeclerc If you're okay with using an alternative, you can use the SSPI package provided by the [kerberos](https://www.npmjs.com/package/kerberos) package for this. For more instructions refer to https://github.com/christkv/kerberos/issues/51#issuecomment-256756754.
Here's an implementation copied from [`Stubble.Extensions.JsonNet`](https://github.com/StubbleOrg/Stubble.Extensions.JsonNet/blob/632ab72df72118d0e3dbac048c0fe963d2fc8f79/src/Stubble.Extensions.JsonNet/JsonNet.cs) with the following differences: - It returns `decimal` for all numbers - It will not parse `DateTime`s ```csharp public static class StubbleJson { public...