Alt
Alt
Why https://github.com/nodejs/node/issues/48673 still was not fixed in LTS? It was fixed more than a month ago in Current.
Related `fs` issues: - https://github.com/oven-sh/bun/issues/8246 - https://github.com/oven-sh/bun/issues/8836 - https://github.com/oven-sh/bun/issues/8245 - https://github.com/oven-sh/bun/issues/8244 - https://github.com/oven-sh/bun/issues/8273 - https://github.com/oven-sh/bun/issues/8247 - https://github.com/oven-sh/bun/issues/8248 - https://github.com/oven-sh/bun/issues/8255 Also: - https://github.com/oven-sh/bun/issues/8249 BTW: - [Add a test for ADS (Alternate...
By the way, I expected that it will not support ADS (Alternate Data Streams) too, but it works fine. ```js import fs from "node:fs/promises"; await fs.writeFile("ads.txt", `data:ads.txt`); await fs.writeFile("ads.txt:metadata", `metadata:ads.txt`);...
It's strange, but adding `\\?\` does not help. While it should help. https://learn.microsoft.com/en-us/dotnet/standard/io/file-path-formats#skip-normalization > Unless the path starts exactly with `\\?\` _(note the use of the canonical backslash)_, it is...
Well, _this_ works _in Bun_: ```js import fs from "node:fs/promises"; import path from "node:path"; for (const filename of [" spaces.txt ", ".dots.txt."]) { try { await fs.writeFile(filename, `data:"${filename}"`); } catch...
`fs.writeFile` works without `"\\\\?\\"`, but with the prefix it stops to work. Other functions begin to work after adding of this prefix. All examples above works in Node.js (regardless of...
Alternatively, I would like to have an ability to get the result zip's CRC hash of the data inside it. I assume `archiver` computes this, but just not exposes.
Oh, fuck, the video downloading do not work. ``` https://twitter.com/i/api/2/timeline/conversation/${tweetId}.json?tweet_mode=extended ``` returns 404 now ``` {"errors":[{"message":"Sorry, that page does not exist","code":34}]} ```
Yeah, I curently figure out how to parse the data from `https://twitter.com/i/api/graphql/${API.queryId}/TweetDetail?...`. For example, mp4 url for a tweet with a single video: ``` data.threaded_conversation_with_injections_v2.instructions[0].entries[0] .content.itemContent.tweet_results.result.legacy .extended_entities.media ... ``` ---...
https://github.com/AlttiRi/twitter-click-and-save/commit/42b3daab30649db9f585ae61548f9a36853adc19 ```js const instruction = json.data.threaded_conversation_with_injections_v2.instructions.find(ins => ins.type === "TimelineAddEntries"); const tweetObject = instruction.entries.find(ins => ins.entryId === "tweet-" + tweetId) const tweetData = tweetObject.content.itemContent.tweet_results.result.legacy; ``` --- Possibly, fixed, but I...