1
0
Fork 0
mirror of https://github.com/mat-1/matdoesdev.git synced 2025-08-02 06:36:04 +00:00

upgrade deps

This commit is contained in:
mat 2024-09-08 00:27:33 +00:00
parent 8d92991f44
commit c0d203274e
7 changed files with 725 additions and 668 deletions

Binary file not shown.

View file

@ -1,15 +0,0 @@
diff --git a/dist/main.cjs.js b/dist/main.cjs.js
index 7c8cdc59fc04d05308d2799d283b01c934d6c46f..d68acf75b3382d38c6286a00ec71d9bd0e98a8af 100644
--- a/dist/main.cjs.js
+++ b/dist/main.cjs.js
@@ -6428,6 +6428,10 @@ function parse$6(value, settings) {
namedEntity = type === name$1 ? decodeEntity(characters) : false;
+ // QUICKFIX https://github.com/pngwn/MDsveX/issues/296
+ if (namedEntity == '<') namedEntity = '&lt;';
+ if (namedEntity == '>') namedEntity = '&gt;';
+
if (namedEntity) {
entityCharacters = characters;
entity = namedEntity;

View file

@ -0,0 +1,30 @@
diff --git a/dist/main.cjs b/dist/main.cjs
index b62811839cec4195e00e32bbedc3ae737f93e558..c7405c089034edb708ebf46028c9fbd62fc7dbf5 100644
--- a/dist/main.cjs
+++ b/dist/main.cjs
@@ -6423,6 +6423,10 @@ function parse$6(value, settings) {
namedEntity = type === name$1 ? decodeEntity(characters) : false;
+ // QUICKFIX https://github.com/pngwn/MDsveX/issues/296
+ if (namedEntity == '<') namedEntity = '&lt;';
+ if (namedEntity == '>') namedEntity = '&gt;';
+
if (namedEntity) {
entityCharacters = characters;
entity = namedEntity;
diff --git a/dist/main.mjs b/dist/main.mjs
index eff3198639f55dd9f1dec8909a79aa04994c87f3..03aa401ba6ce32c20432c11314a3ff50d3f37e25 100644
--- a/dist/main.mjs
+++ b/dist/main.mjs
@@ -6402,6 +6402,11 @@ function parse$6(value, settings) {
namedEntity = type === name$1 ? decodeEntity(characters) : false;
+ // QUICKFIX https://github.com/pngwn/MDsveX/issues/296
+ if (namedEntity == '<') namedEntity = '&lt;';
+ if (namedEntity == '>') namedEntity = '&gt;';
+
if (namedEntity) {
entityCharacters = characters;
entity = namedEntity;

View file

@ -13,41 +13,41 @@
"format": "prettier --ignore-path .gitignore --write --plugin-search-dir=. ."
},
"devDependencies": {
"@img/sharp-linux-x64": "^0.33.3",
"@sveltejs/vite-plugin-svelte": "^3.1.0",
"@img/sharp-linux-x64": "^0.33.5",
"@sveltejs/vite-plugin-svelte": "^3.1.2",
"@types/cookie": "^0.6.0",
"@types/html-minifier": "^4.0.5",
"@types/matter-js": "^0.19.6",
"@types/turndown": "^5.0.4",
"@typescript-eslint/eslint-plugin": "^7.6.0",
"@typescript-eslint/parser": "^7.6.0",
"eslint": "^9.0.0",
"@types/matter-js": "^0.19.7",
"@types/turndown": "^5.0.5",
"@typescript-eslint/eslint-plugin": "^8.4.0",
"@typescript-eslint/parser": "^8.4.0",
"eslint": "^9.10.0",
"eslint-config-prettier": "^9.1.0",
"mdsvex": "patch:mdsvex@npm%3A0.11.2#~/.yarn/patches/mdsvex-npm-0.11.2-d4006d9b92.patch",
"prettier": "^3.2.5",
"prettier-plugin-svelte": "^3.2.3",
"sharp": "^0.33.3",
"svelte": "4.2.14",
"svelte-check": "^3.6.9",
"svelte-preprocess": "^5.1.3",
"tslib": "^2.6.2",
"typescript": "^5.4.5"
"mdsvex": "patch:mdsvex@npm%3A0.12.3#~/.yarn/patches/mdsvex-npm-0.12.3-11596b7ddc.patch",
"prettier": "^3.3.3",
"prettier-plugin-svelte": "^3.2.6",
"sharp": "^0.33.5",
"svelte": "4.2.19",
"svelte-check": "^4.0.1",
"svelte-preprocess": "^6.0.2",
"tslib": "^2.7.0",
"typescript": "^5.5.4"
},
"type": "module",
"dependencies": {
"@lukeed/uuid": "^2.0.1",
"@sveltejs/adapter-node": "^5.0.1",
"@sveltejs/adapter-static": "^3.0.1",
"@sveltejs/kit": "^2.5.5",
"@sveltejs/adapter-node": "^5.2.2",
"@sveltejs/adapter-static": "^3.0.4",
"@sveltejs/kit": "^2.5.26",
"@types/js-yaml": "^4.0.9",
"cbor-x": "^1.5.9",
"cbor-x": "^1.6.0",
"cookie": "^0.6.0",
"html-minifier": "^4.0.0",
"matter-js": "^0.19.0",
"matter-js": "^0.20.0",
"postinstall-postinstall": "^2.1.0",
"svelte-body": "^1.4.0",
"turndown": "^7.2.0",
"vite": "5.2.8"
"vite": "5.4.3"
},
"engines": {
"node": ">=16"

View file

@ -25,7 +25,7 @@ I got jealous of how everyone in the server had their own scanner and I cheated
I already had a VPS on Oracle Cloud, which gives you a free "forever" powerful server, so I ran the masscan fork on it. There were several issues. First, it took several hours to scan as opposed to the 5 minutes I was led to believe it would take. Second, it was missing most servers which I expected to be there. Third, when I searched for my honeypot in the results, there were several servers that looked like they had the same MOTD as my honeypot but had different IP addresses.
For the first issue, I learned that the "millions of packets per second" advertised by masscan only applies to dedicated machines that weren't virtualized. I also tried installing PF_RING, but that doesn't work on virtualized machines either. Oh well, several hours isn't *that* bad but it wasn't what I had hoped for.
For the first issue, I learned that the "millions of packets per second" advertised by masscan only applies to dedicated machines that weren't virtualized. I also tried installing PF_RING, but that doesn't work on virtualized machines either. Oh well, several hours isn't <i>that</i> bad but it wasn't what I had hoped for.
The second issue was a much bigger deal: Oracle Cloud was dropping packets. When I scanned at lower rates, I got less dropped servers, but also I didn't want to scan at lower rates. I found I could get Oracle to drop less packets by making the firewall rules stateless, but the amount of dropped packets continued to be unacceptable. I'd have to switch to a different host.
@ -51,7 +51,6 @@ So remember that underground potato farm I made on LiveOverflow's server? I coul
I also decided to make the bot bridge in-game chat to a channel in the Discord, so we could easily talk to players on the server. For a while, my bot was the only bot on the server. A bit later, my friend [SushiPython](https://sushipython.us) set up his own bot that stayed near the servers spawn-point to monitor events near the server's spawn, so if someone attempted to grief we would know who it was. For a while these were the only bots, but after LiveOverflow leaked the IP several times many more players started joining and making their own bots. First, it was uptime_check; every 5 minutes they joined and sent "chat test". Then, it was EmmaIsSad, who made a bot that joined after uptime_check joined and sent "cat test &lt;3". This became a meme. There were also a few other people who made bots that linked chat to their own servers, and bots that added custom commands to chat. Funnily enough one of these people was Shrecknt, the person who mentioned LiveOverflow in TheMisterEpic's Discord and made me want to check on it and basically the reason I ended up doing all this.
## Honeypots
![Screenshot of a Discord channel showing several pingers](honeypot.jpg)
@ -65,6 +64,7 @@ I also gave the source code for my honeypot to some friends, and they modified i
## Conclusion
There were some other fun things that happened, such as:
- Me realizing that [Docker Minecraft Server](https://github.com/itzg/docker-minecraft-server) has "minecraft" as the default [RCON](https://wiki.vg/RCON) password (though I only found a few hundred servers with the port open with that password)
- Me making a Minecraft server for exploring servers in my database by entering doors in an infinite hallway.
- SushiPython and I confusing a lot of random Minecrafters by joining their servers.

View file

@ -23,7 +23,8 @@ function pngToGifForRetro() {
enforce: 'post',
apply: 'build',
closeBundle: async () => {
const baseDirectory = '.svelte-kit/output/client/retro'
// const baseDirectory = '.svelte-kit/output/client/retro'
const baseDirectory = 'build/retro'
const allFiles = await fs.promises.readdir(baseDirectory, {
recursive: true,

1297
yarn.lock

File diff suppressed because it is too large Load diff