From 3e890c5a27ef36ab8c690cdaa527673d1a42eb0b Mon Sep 17 00:00:00 2001 From: sigonasr2 Date: Tue, 16 Aug 2022 15:23:32 -0500 Subject: [PATCH] Now we try a much larger apple depth --- data | 10 +- index.js | 2 +- .../@socket.io/component-emitter/package.json | 65 ++- node_modules/@types/node/package.json | 437 +++++++++--------- node_modules/data-uri-to-buffer/package.json | 98 ++-- node_modules/debug/package.json | 111 +++-- node_modules/dotenv/package.json | 95 ++-- node_modules/engine.io-client/package.json | 117 +++-- node_modules/engine.io-parser/package.json | 91 ++-- node_modules/fetch-blob/package.json | 138 ++++-- node_modules/formdata-polyfill/package.json | 82 ++-- node_modules/heap/package.json | 88 +++- node_modules/ms/package.json | 73 ++- node_modules/node-domexception/package.json | 56 ++- node_modules/node-fetch/package.json | 136 +++--- node_modules/pathfinding/package.json | 87 +++- node_modules/socket.io-client/package.json | 156 ++++--- node_modules/socket.io-parser/package.json | 82 +++- .../web-streams-polyfill/package.json | 132 ++++-- node_modules/ws/package.json | 107 +++-- node_modules/xmlhttprequest-ssl/package.json | 57 ++- package-lock.json | 229 +-------- 22 files changed, 1437 insertions(+), 1012 deletions(-) diff --git a/data b/data index a5f7c81..b03f659 100644 --- a/data +++ b/data @@ -1,7 +1,7 @@ Hit self - 886 - 39 - 9333 - 886 - sigonasr2 + 887 + 91 + 23930 + 887 + sigonasr2 \ No newline at end of file diff --git a/index.js b/index.js index b28e585..2141090 100644 --- a/index.js +++ b/index.js @@ -208,7 +208,7 @@ snake.onTick = function(obj) { // When the game updates return true; } - function findPath(dir, x, y,appleDepth=5) { + function findPath(dir, x, y,appleDepth=11) { if (spotIsFree(dir, x, y)) { TEST_REGIONS = [[x, y], ...TEST_REGIONS] diff_x = x - targetApp.x diff --git a/node_modules/@socket.io/component-emitter/package.json b/node_modules/@socket.io/component-emitter/package.json index c73c23d..e0f5af0 100644 --- a/node_modules/@socket.io/component-emitter/package.json +++ b/node_modules/@socket.io/component-emitter/package.json @@ -1,31 +1,66 @@ { - "name": "@socket.io/component-emitter", - "description": "Event emitter", - "version": "3.1.0", - "license": "MIT", - "devDependencies": { - "mocha": "*", - "should": "*" + "_args": [ + [ + "@socket.io/component-emitter@3.1.0", + "/home/sigonasr2/SnakeBot" + ] + ], + "_from": "@socket.io/component-emitter@3.1.0", + "_id": "@socket.io/component-emitter@3.1.0", + "_inBundle": false, + "_integrity": "sha512-+9jVqKhRSpsc591z5vX+X5Yyw+he/HCB4iQ/RYxw35CEPaY1gnsNE43nf9n9AaYjAQrTiI/mOwKUKdUs9vf7Xg==", + "_location": "/@socket.io/component-emitter", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "@socket.io/component-emitter@3.1.0", + "name": "@socket.io/component-emitter", + "escapedName": "@socket.io%2fcomponent-emitter", + "scope": "@socket.io", + "rawSpec": "3.1.0", + "saveSpec": null, + "fetchSpec": "3.1.0" + }, + "_requiredBy": [ + "/engine.io-client", + "/socket.io-client", + "/socket.io-parser" + ], + "_resolved": "https://registry.npmjs.org/@socket.io/component-emitter/-/component-emitter-3.1.0.tgz", + "_spec": "3.1.0", + "_where": "/home/sigonasr2/SnakeBot", + "bugs": { + "url": "https://github.com/socketio/emitter/issues" }, "component": { "scripts": { "emitter/index.js": "index.js" } }, + "description": "Event emitter", + "devDependencies": { + "mocha": "*", + "should": "*" + }, + "files": [ + "index.js", + "index.mjs", + "index.d.ts", + "LICENSE" + ], + "homepage": "https://github.com/socketio/emitter#readme", + "license": "MIT", "main": "index.js", "module": "index.mjs", - "types": "index.d.ts", + "name": "@socket.io/component-emitter", "repository": { "type": "git", - "url": "https://github.com/socketio/emitter.git" + "url": "git+https://github.com/socketio/emitter.git" }, "scripts": { "test": "make test" }, - "files": [ - "index.js", - "index.mjs", - "index.d.ts", - "LICENSE" - ] + "types": "index.d.ts", + "version": "3.1.0" } diff --git a/node_modules/@types/node/package.json b/node_modules/@types/node/package.json index 072c8ae..393d150 100755 --- a/node_modules/@types/node/package.json +++ b/node_modules/@types/node/package.json @@ -1,225 +1,216 @@ { + "_args": [ + [ + "@types/node@18.7.5", + "/home/sigonasr2/SnakeBot" + ] + ], + "_from": "@types/node@18.7.5", + "_id": "@types/node@18.7.5", + "_inBundle": false, + "_integrity": "sha512-NcKK6Ts+9LqdHJaW6HQmgr7dT/i3GOHG+pt6BiWv++5SnjtRd4NXeiuN2kA153SjhXPR/AhHIPHPbrsbpUVOww==", + "_location": "/@types/node", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "@types/node@18.7.5", "name": "@types/node", - "version": "18.7.5", - "description": "TypeScript definitions for Node.js", - "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node", - "license": "MIT", - "contributors": [ - { - "name": "Microsoft TypeScript", - "url": "https://github.com/Microsoft", - "githubUsername": "Microsoft" - }, - { - "name": "DefinitelyTyped", - "url": "https://github.com/DefinitelyTyped", - "githubUsername": "DefinitelyTyped" - }, - { - "name": "Alberto Schiabel", - "url": "https://github.com/jkomyno", - "githubUsername": "jkomyno" - }, - { - "name": "Alvis HT Tang", - "url": "https://github.com/alvis", - "githubUsername": "alvis" - }, - { - "name": "Andrew Makarov", - "url": "https://github.com/r3nya", - "githubUsername": "r3nya" - }, - { - "name": "Benjamin Toueg", - "url": "https://github.com/btoueg", - "githubUsername": "btoueg" - }, - { - "name": "Chigozirim C.", - "url": "https://github.com/smac89", - "githubUsername": "smac89" - }, - { - "name": "David Junger", - "url": "https://github.com/touffy", - "githubUsername": "touffy" - }, - { - "name": "Deividas Bakanas", - "url": "https://github.com/DeividasBakanas", - "githubUsername": "DeividasBakanas" - }, - { - "name": "Eugene Y. Q. Shen", - "url": "https://github.com/eyqs", - "githubUsername": "eyqs" - }, - { - "name": "Hannes Magnusson", - "url": "https://github.com/Hannes-Magnusson-CK", - "githubUsername": "Hannes-Magnusson-CK" - }, - { - "name": "Huw", - "url": "https://github.com/hoo29", - "githubUsername": "hoo29" - }, - { - "name": "Kelvin Jin", - "url": "https://github.com/kjin", - "githubUsername": "kjin" - }, - { - "name": "Klaus Meinhardt", - "url": "https://github.com/ajafff", - "githubUsername": "ajafff" - }, - { - "name": "Lishude", - "url": "https://github.com/islishude", - "githubUsername": "islishude" - }, - { - "name": "Mariusz Wiktorczyk", - "url": "https://github.com/mwiktorczyk", - "githubUsername": "mwiktorczyk" - }, - { - "name": "Mohsen Azimi", - "url": "https://github.com/mohsen1", - "githubUsername": "mohsen1" - }, - { - "name": "Nicolas Even", - "url": "https://github.com/n-e", - "githubUsername": "n-e" - }, - { - "name": "Nikita Galkin", - "url": "https://github.com/galkin", - "githubUsername": "galkin" - }, - { - "name": "Parambir Singh", - "url": "https://github.com/parambirs", - "githubUsername": "parambirs" - }, - { - "name": "Sebastian Silbermann", - "url": "https://github.com/eps1lon", - "githubUsername": "eps1lon" - }, - { - "name": "Simon Schick", - "url": "https://github.com/SimonSchick", - "githubUsername": "SimonSchick" - }, - { - "name": "Thomas den Hollander", - "url": "https://github.com/ThomasdenH", - "githubUsername": "ThomasdenH" - }, - { - "name": "Wilco Bakker", - "url": "https://github.com/WilcoBakker", - "githubUsername": "WilcoBakker" - }, - { - "name": "wwwy3y3", - "url": "https://github.com/wwwy3y3", - "githubUsername": "wwwy3y3" - }, - { - "name": "Samuel Ainsworth", - "url": "https://github.com/samuela", - "githubUsername": "samuela" - }, - { - "name": "Kyle Uehlein", - "url": "https://github.com/kuehlein", - "githubUsername": "kuehlein" - }, - { - "name": "Thanik Bhongbhibhat", - "url": "https://github.com/bhongy", - "githubUsername": "bhongy" - }, - { - "name": "Marcin Kopacz", - "url": "https://github.com/chyzwar", - "githubUsername": "chyzwar" - }, - { - "name": "Trivikram Kamat", - "url": "https://github.com/trivikr", - "githubUsername": "trivikr" - }, - { - "name": "Junxiao Shi", - "url": "https://github.com/yoursunny", - "githubUsername": "yoursunny" - }, - { - "name": "Ilia Baryshnikov", - "url": "https://github.com/qwelias", - "githubUsername": "qwelias" - }, - { - "name": "ExE Boss", - "url": "https://github.com/ExE-Boss", - "githubUsername": "ExE-Boss" - }, - { - "name": "Piotr Błażejewicz", - "url": "https://github.com/peterblazejewicz", - "githubUsername": "peterblazejewicz" - }, - { - "name": "Anna Henningsen", - "url": "https://github.com/addaleax", - "githubUsername": "addaleax" - }, - { - "name": "Victor Perin", - "url": "https://github.com/victorperin", - "githubUsername": "victorperin" - }, - { - "name": "Yongsheng Zhang", - "url": "https://github.com/ZYSzys", - "githubUsername": "ZYSzys" - }, - { - "name": "NodeJS Contributors", - "url": "https://github.com/NodeJS", - "githubUsername": "NodeJS" - }, - { - "name": "Linus Unnebäck", - "url": "https://github.com/LinusU", - "githubUsername": "LinusU" - }, - { - "name": "wafuwafu13", - "url": "https://github.com/wafuwafu13", - "githubUsername": "wafuwafu13" - }, - { - "name": "Matteo Collina", - "url": "https://github.com/mcollina", - "githubUsername": "mcollina" - } - ], - "main": "", - "types": "index.d.ts", - "repository": { - "type": "git", - "url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git", - "directory": "types/node" - }, - "scripts": {}, - "dependencies": {}, - "typesPublisherContentHash": "b3d2ce548d64952af2585c97148879dfa054b7a7ea087a095c93ddd158dbb37b", - "typeScriptVersion": "4.0" -} \ No newline at end of file + "escapedName": "@types%2fnode", + "scope": "@types", + "rawSpec": "18.7.5", + "saveSpec": null, + "fetchSpec": "18.7.5" + }, + "_requiredBy": [ + "/" + ], + "_resolved": "https://registry.npmjs.org/@types/node/-/node-18.7.5.tgz", + "_spec": "18.7.5", + "_where": "/home/sigonasr2/SnakeBot", + "bugs": { + "url": "https://github.com/DefinitelyTyped/DefinitelyTyped/issues" + }, + "contributors": [ + { + "name": "Microsoft TypeScript", + "url": "https://github.com/Microsoft" + }, + { + "name": "DefinitelyTyped", + "url": "https://github.com/DefinitelyTyped" + }, + { + "name": "Alberto Schiabel", + "url": "https://github.com/jkomyno" + }, + { + "name": "Alvis HT Tang", + "url": "https://github.com/alvis" + }, + { + "name": "Andrew Makarov", + "url": "https://github.com/r3nya" + }, + { + "name": "Benjamin Toueg", + "url": "https://github.com/btoueg" + }, + { + "name": "Chigozirim C.", + "url": "https://github.com/smac89" + }, + { + "name": "David Junger", + "url": "https://github.com/touffy" + }, + { + "name": "Deividas Bakanas", + "url": "https://github.com/DeividasBakanas" + }, + { + "name": "Eugene Y. Q. Shen", + "url": "https://github.com/eyqs" + }, + { + "name": "Hannes Magnusson", + "url": "https://github.com/Hannes-Magnusson-CK" + }, + { + "name": "Huw", + "url": "https://github.com/hoo29" + }, + { + "name": "Kelvin Jin", + "url": "https://github.com/kjin" + }, + { + "name": "Klaus Meinhardt", + "url": "https://github.com/ajafff" + }, + { + "name": "Lishude", + "url": "https://github.com/islishude" + }, + { + "name": "Mariusz Wiktorczyk", + "url": "https://github.com/mwiktorczyk" + }, + { + "name": "Mohsen Azimi", + "url": "https://github.com/mohsen1" + }, + { + "name": "Nicolas Even", + "url": "https://github.com/n-e" + }, + { + "name": "Nikita Galkin", + "url": "https://github.com/galkin" + }, + { + "name": "Parambir Singh", + "url": "https://github.com/parambirs" + }, + { + "name": "Sebastian Silbermann", + "url": "https://github.com/eps1lon" + }, + { + "name": "Simon Schick", + "url": "https://github.com/SimonSchick" + }, + { + "name": "Thomas den Hollander", + "url": "https://github.com/ThomasdenH" + }, + { + "name": "Wilco Bakker", + "url": "https://github.com/WilcoBakker" + }, + { + "name": "wwwy3y3", + "url": "https://github.com/wwwy3y3" + }, + { + "name": "Samuel Ainsworth", + "url": "https://github.com/samuela" + }, + { + "name": "Kyle Uehlein", + "url": "https://github.com/kuehlein" + }, + { + "name": "Thanik Bhongbhibhat", + "url": "https://github.com/bhongy" + }, + { + "name": "Marcin Kopacz", + "url": "https://github.com/chyzwar" + }, + { + "name": "Trivikram Kamat", + "url": "https://github.com/trivikr" + }, + { + "name": "Junxiao Shi", + "url": "https://github.com/yoursunny" + }, + { + "name": "Ilia Baryshnikov", + "url": "https://github.com/qwelias" + }, + { + "name": "ExE Boss", + "url": "https://github.com/ExE-Boss" + }, + { + "name": "Piotr Błażejewicz", + "url": "https://github.com/peterblazejewicz" + }, + { + "name": "Anna Henningsen", + "url": "https://github.com/addaleax" + }, + { + "name": "Victor Perin", + "url": "https://github.com/victorperin" + }, + { + "name": "Yongsheng Zhang", + "url": "https://github.com/ZYSzys" + }, + { + "name": "NodeJS Contributors", + "url": "https://github.com/NodeJS" + }, + { + "name": "Linus Unnebäck", + "url": "https://github.com/LinusU" + }, + { + "name": "wafuwafu13", + "url": "https://github.com/wafuwafu13" + }, + { + "name": "Matteo Collina", + "url": "https://github.com/mcollina" + } + ], + "dependencies": {}, + "description": "TypeScript definitions for Node.js", + "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node", + "license": "MIT", + "main": "", + "name": "@types/node", + "repository": { + "type": "git", + "url": "git+https://github.com/DefinitelyTyped/DefinitelyTyped.git", + "directory": "types/node" + }, + "scripts": {}, + "typeScriptVersion": "4.0", + "types": "index.d.ts", + "typesPublisherContentHash": "b3d2ce548d64952af2585c97148879dfa054b7a7ea087a095c93ddd158dbb37b", + "version": "18.7.5" +} diff --git a/node_modules/data-uri-to-buffer/package.json b/node_modules/data-uri-to-buffer/package.json index e4f7357..497b97d 100644 --- a/node_modules/data-uri-to-buffer/package.json +++ b/node_modules/data-uri-to-buffer/package.json @@ -1,42 +1,41 @@ { - "name": "data-uri-to-buffer", - "version": "4.0.0", - "description": "Generate a Buffer instance from a Data URI string", - "type": "module", - "main": "dist/index.js", - "types": "dist/index.d.ts", - "files": [ - "dist", - "src" + "_args": [ + [ + "data-uri-to-buffer@4.0.0", + "/home/sigonasr2/SnakeBot" + ] ], - "scripts": { - "build": "tsc", - "test": "jest", - "prepublishOnly": "npm run build" - }, - "repository": { - "type": "git", - "url": "git://github.com/TooTallNate/node-data-uri-to-buffer.git" + "_from": "data-uri-to-buffer@4.0.0", + "_id": "data-uri-to-buffer@4.0.0", + "_inBundle": false, + "_integrity": "sha512-Vr3mLBA8qWmcuschSLAOogKgQ/Jwxulv3RNE4FXnYWRGujzrRWQI4m12fQqRkwX06C0KanhLr4hK+GydchZsaA==", + "_location": "/data-uri-to-buffer", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "data-uri-to-buffer@4.0.0", + "name": "data-uri-to-buffer", + "escapedName": "data-uri-to-buffer", + "rawSpec": "4.0.0", + "saveSpec": null, + "fetchSpec": "4.0.0" }, - "engines": { - "node": ">= 12" - }, - "keywords": [ - "data", - "uri", - "datauri", - "data-uri", - "buffer", - "convert", - "rfc2397", - "2397" + "_requiredBy": [ + "/node-fetch" ], - "author": "Nathan Rajlich (http://n8.io/)", - "license": "MIT", + "_resolved": "https://registry.npmjs.org/data-uri-to-buffer/-/data-uri-to-buffer-4.0.0.tgz", + "_spec": "4.0.0", + "_where": "/home/sigonasr2/SnakeBot", + "author": { + "name": "Nathan Rajlich", + "email": "nathan@tootallnate.net", + "url": "http://n8.io/" + }, "bugs": { "url": "https://github.com/TooTallNate/node-data-uri-to-buffer/issues" }, - "homepage": "https://github.com/TooTallNate/node-data-uri-to-buffer", + "description": "Generate a Buffer instance from a Data URI string", "devDependencies": { "@types/es6-promisify": "^5.0.0", "@types/mocha": "^9.0.0", @@ -45,6 +44,14 @@ "ts-jest": "^27.0.5", "typescript": "^4.4.3" }, + "engines": { + "node": ">= 12" + }, + "files": [ + "dist", + "src" + ], + "homepage": "https://github.com/TooTallNate/node-data-uri-to-buffer", "jest": { "preset": "ts-jest", "globals": { @@ -58,5 +65,30 @@ "testMatch": [ "/test/**/*.test.ts" ] - } + }, + "keywords": [ + "data", + "uri", + "datauri", + "data-uri", + "buffer", + "convert", + "rfc2397", + "2397" + ], + "license": "MIT", + "main": "dist/index.js", + "name": "data-uri-to-buffer", + "repository": { + "type": "git", + "url": "git://github.com/TooTallNate/node-data-uri-to-buffer.git" + }, + "scripts": { + "build": "tsc", + "prepublishOnly": "npm run build", + "test": "jest" + }, + "type": "module", + "types": "dist/index.d.ts", + "version": "4.0.0" } diff --git a/node_modules/debug/package.json b/node_modules/debug/package.json index 3bcdc24..64ea4d6 100644 --- a/node_modules/debug/package.json +++ b/node_modules/debug/package.json @@ -1,38 +1,61 @@ { - "name": "debug", - "version": "4.3.4", - "repository": { - "type": "git", - "url": "git://github.com/debug-js/debug.git" - }, - "description": "Lightweight debugging utility for Node.js and the browser", - "keywords": [ - "debug", - "log", - "debugger" + "_args": [ + [ + "debug@4.3.4", + "/home/sigonasr2/SnakeBot" + ] ], - "files": [ - "src", - "LICENSE", - "README.md" + "_from": "debug@4.3.4", + "_id": "debug@4.3.4", + "_inBundle": false, + "_integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", + "_location": "/debug", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "debug@4.3.4", + "name": "debug", + "escapedName": "debug", + "rawSpec": "4.3.4", + "saveSpec": null, + "fetchSpec": "4.3.4" + }, + "_requiredBy": [ + "/engine.io-client", + "/socket.io-client", + "/socket.io-parser" ], - "author": "Josh Junon ", + "_resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", + "_spec": "4.3.4", + "_where": "/home/sigonasr2/SnakeBot", + "author": { + "name": "Josh Junon", + "email": "josh.junon@protonmail.com" + }, + "browser": "./src/browser.js", + "bugs": { + "url": "https://github.com/debug-js/debug/issues" + }, "contributors": [ - "TJ Holowaychuk ", - "Nathan Rajlich (http://n8.io)", - "Andrew Rhyne " + { + "name": "TJ Holowaychuk", + "email": "tj@vision-media.ca" + }, + { + "name": "Nathan Rajlich", + "email": "nathan@tootallnate.net", + "url": "http://n8.io" + }, + { + "name": "Andrew Rhyne", + "email": "rhyneandrew@gmail.com" + } ], - "license": "MIT", - "scripts": { - "lint": "xo", - "test": "npm run test:node && npm run test:browser && npm run lint", - "test:node": "istanbul cover _mocha -- test.js", - "test:browser": "karma start --single-run", - "test:coverage": "cat ./coverage/lcov.info | coveralls" - }, "dependencies": { "ms": "2.1.2" }, + "description": "Lightweight debugging utility for Node.js and the browser", "devDependencies": { "brfs": "^2.0.1", "browserify": "^16.2.3", @@ -46,14 +69,38 @@ "mocha-lcov-reporter": "^1.2.0", "xo": "^0.23.0" }, + "engines": { + "node": ">=6.0" + }, + "files": [ + "src", + "LICENSE", + "README.md" + ], + "homepage": "https://github.com/debug-js/debug#readme", + "keywords": [ + "debug", + "log", + "debugger" + ], + "license": "MIT", + "main": "./src/index.js", + "name": "debug", "peerDependenciesMeta": { "supports-color": { "optional": true } }, - "main": "./src/index.js", - "browser": "./src/browser.js", - "engines": { - "node": ">=6.0" - } + "repository": { + "type": "git", + "url": "git://github.com/debug-js/debug.git" + }, + "scripts": { + "lint": "xo", + "test": "npm run test:node && npm run test:browser && npm run lint", + "test:browser": "karma start --single-run", + "test:coverage": "cat ./coverage/lcov.info | coveralls", + "test:node": "istanbul cover _mocha -- test.js" + }, + "version": "4.3.4" } diff --git a/node_modules/dotenv/package.json b/node_modules/dotenv/package.json index d09ae8e..3a68ca8 100644 --- a/node_modules/dotenv/package.json +++ b/node_modules/dotenv/package.json @@ -1,9 +1,51 @@ { - "name": "dotenv", - "version": "16.0.1", + "_args": [ + [ + "dotenv@16.0.1", + "/home/sigonasr2/SnakeBot" + ] + ], + "_from": "dotenv@16.0.1", + "_id": "dotenv@16.0.1", + "_inBundle": false, + "_integrity": "sha512-1K6hR6wtk2FviQ4kEiSjFiH5rpzEVi8WW0x96aztHVMhEspNpc4DVOUTEHtEva5VThQ8IaBX1Pe4gSzpVVUsKQ==", + "_location": "/dotenv", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "dotenv@16.0.1", + "name": "dotenv", + "escapedName": "dotenv", + "rawSpec": "16.0.1", + "saveSpec": null, + "fetchSpec": "16.0.1" + }, + "_requiredBy": [ + "/" + ], + "_resolved": "https://registry.npmjs.org/dotenv/-/dotenv-16.0.1.tgz", + "_spec": "16.0.1", + "_where": "/home/sigonasr2/SnakeBot", + "bugs": { + "url": "https://github.com/motdotla/dotenv/issues" + }, "description": "Loads environment variables from .env file", - "main": "lib/main.js", - "types": "lib/main.d.ts", + "devDependencies": { + "@types/node": "^17.0.9", + "decache": "^4.6.1", + "dtslint": "^3.7.0", + "sinon": "^12.0.1", + "standard": "^16.0.4", + "standard-markdown": "^7.1.0", + "standard-version": "^9.3.2", + "tap": "^15.1.6", + "tar": "^6.1.11", + "typescript": "^4.5.4" + }, + "engines": { + "node": ">=12" + }, "exports": { ".": { "require": "./lib/main.js", @@ -14,19 +56,7 @@ "./config.js": "./config.js", "./package.json": "./package.json" }, - "scripts": { - "dts-check": "tsc --project tests/types/tsconfig.json", - "lint": "standard", - "lint-readme": "standard-markdown", - "pretest": "npm run lint && npm run dts-check", - "test": "tap tests/*.js --100 -Rspec", - "prerelease": "npm test", - "release": "standard-version" - }, - "repository": { - "type": "git", - "url": "git://github.com/motdotla/dotenv.git" - }, + "homepage": "https://github.com/motdotla/dotenv#readme", "keywords": [ "dotenv", "env", @@ -36,21 +66,22 @@ "config", "settings" ], - "readmeFilename": "README.md", "license": "BSD-2-Clause", - "devDependencies": { - "@types/node": "^17.0.9", - "decache": "^4.6.1", - "dtslint": "^3.7.0", - "sinon": "^12.0.1", - "standard": "^16.0.4", - "standard-markdown": "^7.1.0", - "standard-version": "^9.3.2", - "tap": "^15.1.6", - "tar": "^6.1.11", - "typescript": "^4.5.4" + "main": "lib/main.js", + "name": "dotenv", + "repository": { + "type": "git", + "url": "git://github.com/motdotla/dotenv.git" }, - "engines": { - "node": ">=12" - } + "scripts": { + "dts-check": "tsc --project tests/types/tsconfig.json", + "lint": "standard", + "lint-readme": "standard-markdown", + "prerelease": "npm test", + "pretest": "npm run lint && npm run dts-check", + "release": "standard-version", + "test": "tap tests/*.js --100 -Rspec" + }, + "types": "lib/main.d.ts", + "version": "16.0.1" } diff --git a/node_modules/engine.io-client/package.json b/node_modules/engine.io-client/package.json index 3136e1a..16e1bbe 100644 --- a/node_modules/engine.io-client/package.json +++ b/node_modules/engine.io-client/package.json @@ -1,25 +1,44 @@ { - "name": "engine.io-client", - "description": "Client for the realtime Engine", - "license": "MIT", - "version": "6.2.2", - "main": "./build/cjs/index.js", - "module": "./build/esm/index.js", - "exports": { - "./package.json": "./package.json", - "./dist/engine.io.esm.min.js": "./dist/engine.io.esm.min.js", - "./dist/engine.io.js": "./dist/engine.io.js", - "./dist/engine.io.min.js": "./dist/engine.io.min.js", - ".": { - "import": { - "node": "./build/esm-debug/index.js", - "default": "./build/esm/index.js" - }, - "require": "./build/cjs/index.js" - } + "_args": [ + [ + "engine.io-client@6.2.2", + "/home/sigonasr2/SnakeBot" + ] + ], + "_from": "engine.io-client@6.2.2", + "_id": "engine.io-client@6.2.2", + "_inBundle": false, + "_integrity": "sha512-8ZQmx0LQGRTYkHuogVZuGSpDqYZtCM/nv8zQ68VZ+JkOpazJ7ICdsSpaO6iXwvaU30oFg5QJOJWj8zWqhbKjkQ==", + "_location": "/engine.io-client", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "engine.io-client@6.2.2", + "name": "engine.io-client", + "escapedName": "engine.io-client", + "rawSpec": "6.2.2", + "saveSpec": null, + "fetchSpec": "6.2.2" + }, + "_requiredBy": [ + "/socket.io-client" + ], + "_resolved": "https://registry.npmjs.org/engine.io-client/-/engine.io-client-6.2.2.tgz", + "_spec": "6.2.2", + "_where": "/home/sigonasr2/SnakeBot", + "browser": { + "./test/node.js": false, + "./build/esm/transports/xmlhttprequest.js": "./build/esm/transports/xmlhttprequest.browser.js", + "./build/esm/transports/websocket-constructor.js": "./build/esm/transports/websocket-constructor.browser.js", + "./build/esm/globalThis.js": "./build/esm/globalThis.browser.js", + "./build/cjs/transports/xmlhttprequest.js": "./build/cjs/transports/xmlhttprequest.browser.js", + "./build/cjs/transports/websocket-constructor.js": "./build/cjs/transports/websocket-constructor.browser.js", + "./build/cjs/globalThis.js": "./build/cjs/globalThis.browser.js" + }, + "bugs": { + "url": "https://github.com/socketio/engine.io-client/issues" }, - "types": "build/esm/index.d.ts", - "homepage": "https://github.com/socketio/engine.io-client", "contributors": [ { "name": "Guillermo Rauch", @@ -31,7 +50,7 @@ }, { "name": "Christoph Dorn", - "web": "https://github.com/cadorn" + "url": "https://github.com/cadorn" }, { "name": "Mark Mokryn", @@ -45,6 +64,7 @@ "ws": "~8.2.3", "xmlhttprequest-ssl": "~2.0.0" }, + "description": "Client for the realtime Engine", "devDependencies": { "@babel/core": "^7.12.9", "@babel/plugin-transform-object-assign": "^7.12.1", @@ -74,31 +94,42 @@ "zuul-builder-webpack": "^1.2.0", "zuul-ngrok": "4.0.0" }, + "exports": { + "./package.json": "./package.json", + "./dist/engine.io.esm.min.js": "./dist/engine.io.esm.min.js", + "./dist/engine.io.js": "./dist/engine.io.js", + "./dist/engine.io.min.js": "./dist/engine.io.min.js", + ".": { + "import": { + "node": "./build/esm-debug/index.js", + "default": "./build/esm/index.js" + }, + "require": "./build/cjs/index.js" + } + }, + "files": [ + "build/", + "dist/" + ], + "homepage": "https://github.com/socketio/engine.io-client", + "license": "MIT", + "main": "./build/cjs/index.js", + "module": "./build/esm/index.js", + "name": "engine.io-client", + "repository": { + "type": "git", + "url": "git+https://github.com/socketio/engine.io-client.git" + }, "scripts": { - "compile": "rimraf ./build && tsc && tsc -p tsconfig.esm.json && ./postcompile.sh", - "test": "npm run format:check && npm run compile && if test \"$BROWSERS\" = \"1\" ; then npm run test:browser; else npm run test:node; fi", - "test:node": "mocha --bail --reporter dot --require test/support/server.js test/index.js", - "test:browser": "zuul test/index.js", "build": "rollup -c support/rollup.config.umd.js && rollup -c support/rollup.config.esm.js", + "compile": "rimraf ./build && tsc && tsc -p tsconfig.esm.json && ./postcompile.sh", "format:check": "prettier --check 'lib/**/*.ts' 'test/**/*.js' 'support/**/*.js'", "format:fix": "prettier --write 'lib/**/*.ts' 'test/**/*.js' 'support/**/*.js'", - "prepack": "npm run compile" - }, - "browser": { - "./test/node.js": false, - "./build/esm/transports/xmlhttprequest.js": "./build/esm/transports/xmlhttprequest.browser.js", - "./build/esm/transports/websocket-constructor.js": "./build/esm/transports/websocket-constructor.browser.js", - "./build/esm/globalThis.js": "./build/esm/globalThis.browser.js", - "./build/cjs/transports/xmlhttprequest.js": "./build/cjs/transports/xmlhttprequest.browser.js", - "./build/cjs/transports/websocket-constructor.js": "./build/cjs/transports/websocket-constructor.browser.js", - "./build/cjs/globalThis.js": "./build/cjs/globalThis.browser.js" - }, - "repository": { - "type": "git", - "url": "https://github.com/socketio/engine.io-client.git" + "prepack": "npm run compile", + "test": "npm run format:check && npm run compile && if test \"$BROWSERS\" = \"1\" ; then npm run test:browser; else npm run test:node; fi", + "test:browser": "zuul test/index.js", + "test:node": "mocha --bail --reporter dot --require test/support/server.js test/index.js" }, - "files": [ - "build/", - "dist/" - ] + "types": "build/esm/index.d.ts", + "version": "6.2.2" } diff --git a/node_modules/engine.io-parser/package.json b/node_modules/engine.io-parser/package.json index 76f7db7..b99920e 100644 --- a/node_modules/engine.io-parser/package.json +++ b/node_modules/engine.io-parser/package.json @@ -1,16 +1,43 @@ { - "name": "engine.io-parser", - "description": "Parser for the client for the realtime Engine", - "license": "MIT", - "version": "5.0.4", - "main": "./build/cjs/index.js", - "module": "./build/esm/index.js", - "exports": { - "import": "./build/esm/index.js", - "require": "./build/cjs/index.js" + "_args": [ + [ + "engine.io-parser@5.0.4", + "/home/sigonasr2/SnakeBot" + ] + ], + "_from": "engine.io-parser@5.0.4", + "_id": "engine.io-parser@5.0.4", + "_inBundle": false, + "_integrity": "sha512-+nVFp+5z1E3HcToEnO7ZIj3g+3k9389DvWtvJZz0T6/eOCPIyyxehFcedoYrZQrp0LgQbD9pPXhpMBKMd5QURg==", + "_location": "/engine.io-parser", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "engine.io-parser@5.0.4", + "name": "engine.io-parser", + "escapedName": "engine.io-parser", + "rawSpec": "5.0.4", + "saveSpec": null, + "fetchSpec": "5.0.4" }, - "types": "build/esm/index.d.ts", - "homepage": "https://github.com/socketio/engine.io-parser", + "_requiredBy": [ + "/engine.io-client" + ], + "_resolved": "https://registry.npmjs.org/engine.io-parser/-/engine.io-parser-5.0.4.tgz", + "_spec": "5.0.4", + "_where": "/home/sigonasr2/SnakeBot", + "browser": { + "./test/node": "./test/browser", + "./build/esm/encodePacket.js": "./build/esm/encodePacket.browser.js", + "./build/esm/decodePacket.js": "./build/esm/decodePacket.browser.js", + "./build/cjs/encodePacket.js": "./build/cjs/encodePacket.browser.js", + "./build/cjs/decodePacket.js": "./build/cjs/decodePacket.browser.js" + }, + "bugs": { + "url": "https://github.com/socketio/engine.io-parser/issues" + }, + "description": "Parser for the client for the realtime Engine", "devDependencies": { "@babel/core": "~7.9.6", "@babel/preset-env": "~7.9.6", @@ -30,29 +57,33 @@ "zuul": "3.11.1", "zuul-ngrok": "4.0.0" }, - "scripts": { - "compile": "rimraf ./build && tsc && tsc -p tsconfig.esm.json && ./postcompile.sh", - "test": "npm run format:check && npm run compile && if test \"$BROWSERS\" = \"1\" ; then npm run test:browser; else npm run test:node; fi", - "test:node": "nyc mocha -r ts-node/register test/index.ts", - "test:browser": "zuul test/index.ts --no-coverage", - "format:check": "prettier --check 'lib/**/*.ts' 'test/**/*.ts'", - "format:fix": "prettier --write 'lib/**/*.ts' 'test/**/*.ts'" + "engines": { + "node": ">=10.0.0" }, - "repository": { - "type": "git", - "url": "git@github.com:socketio/engine.io-parser.git" + "exports": { + "import": "./build/esm/index.js", + "require": "./build/cjs/index.js" }, "files": [ "build/" ], - "browser": { - "./test/node": "./test/browser", - "./build/esm/encodePacket.js": "./build/esm/encodePacket.browser.js", - "./build/esm/decodePacket.js": "./build/esm/decodePacket.browser.js", - "./build/cjs/encodePacket.js": "./build/cjs/encodePacket.browser.js", - "./build/cjs/decodePacket.js": "./build/cjs/decodePacket.browser.js" + "homepage": "https://github.com/socketio/engine.io-parser", + "license": "MIT", + "main": "./build/cjs/index.js", + "module": "./build/esm/index.js", + "name": "engine.io-parser", + "repository": { + "type": "git", + "url": "git+ssh://git@github.com/socketio/engine.io-parser.git" }, - "engines": { - "node": ">=10.0.0" - } + "scripts": { + "compile": "rimraf ./build && tsc && tsc -p tsconfig.esm.json && ./postcompile.sh", + "format:check": "prettier --check 'lib/**/*.ts' 'test/**/*.ts'", + "format:fix": "prettier --write 'lib/**/*.ts' 'test/**/*.ts'", + "test": "npm run format:check && npm run compile && if test \"$BROWSERS\" = \"1\" ; then npm run test:browser; else npm run test:node; fi", + "test:browser": "zuul test/index.ts --no-coverage", + "test:node": "nyc mocha -r ts-node/register test/index.ts" + }, + "types": "build/esm/index.d.ts", + "version": "5.0.4" } diff --git a/node_modules/fetch-blob/package.json b/node_modules/fetch-blob/package.json index 9d07f39..ccd7119 100644 --- a/node_modules/fetch-blob/package.json +++ b/node_modules/fetch-blob/package.json @@ -1,56 +1,92 @@ { + "_args": [ + [ + "fetch-blob@3.2.0", + "/home/sigonasr2/SnakeBot" + ] + ], + "_from": "fetch-blob@3.2.0", + "_id": "fetch-blob@3.2.0", + "_inBundle": false, + "_integrity": "sha512-7yAQpD2UMJzLi1Dqv7qFYnPbaPx7ZfFK6PiIxQ4PfkGPyNyl2Ugx+a/umUonmKqjhM4DnfbMvdX6otXq83soQQ==", + "_location": "/fetch-blob", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "fetch-blob@3.2.0", "name": "fetch-blob", - "version": "3.2.0", - "description": "Blob & File implementation in Node.js, originally from node-fetch.", - "main": "index.js", - "type": "module", - "files": [ - "from.js", - "file.js", - "file.d.ts", - "index.js", - "index.d.ts", - "from.d.ts", - "streams.cjs" - ], - "scripts": { - "test": "node --experimental-loader ./test/http-loader.js ./test/test-wpt-in-node.js", - "report": "c8 --reporter json --reporter text npm run test", - "coverage": "npm run report && codecov -f coverage/coverage-final.json", - "prepublishOnly": "tsc --declaration --emitDeclarationOnly --allowJs index.js from.js" + "escapedName": "fetch-blob", + "rawSpec": "3.2.0", + "saveSpec": null, + "fetchSpec": "3.2.0" + }, + "_requiredBy": [ + "/formdata-polyfill", + "/node-fetch" + ], + "_resolved": "https://registry.npmjs.org/fetch-blob/-/fetch-blob-3.2.0.tgz", + "_spec": "3.2.0", + "_where": "/home/sigonasr2/SnakeBot", + "author": { + "name": "Jimmy Wärting", + "email": "jimmy@warting.se", + "url": "https://jimmy.warting.se" + }, + "bugs": { + "url": "https://github.com/node-fetch/fetch-blob/issues" + }, + "dependencies": { + "node-domexception": "^1.0.0", + "web-streams-polyfill": "^3.0.3" + }, + "description": "Blob & File implementation in Node.js, originally from node-fetch.", + "devDependencies": { + "@types/node": "^17.0.9", + "c8": "^7.11.0", + "typescript": "^4.5.4" + }, + "engines": { + "node": "^12.20 || >= 14.13" + }, + "files": [ + "from.js", + "file.js", + "file.d.ts", + "index.js", + "index.d.ts", + "from.d.ts", + "streams.cjs" + ], + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/jimmywarting" }, - "repository": "https://github.com/node-fetch/fetch-blob.git", - "keywords": [ - "blob", - "file", - "node-fetch" - ], - "engines": { - "node": "^12.20 || >= 14.13" - }, - "author": "Jimmy Wärting (https://jimmy.warting.se)", - "license": "MIT", - "bugs": { - "url": "https://github.com/node-fetch/fetch-blob/issues" - }, - "homepage": "https://github.com/node-fetch/fetch-blob#readme", - "devDependencies": { - "@types/node": "^17.0.9", - "c8": "^7.11.0", - "typescript": "^4.5.4" - }, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/jimmywarting" - }, - { - "type": "paypal", - "url": "https://paypal.me/jimmywarting" - } - ], - "dependencies": { - "node-domexception": "^1.0.0", - "web-streams-polyfill": "^3.0.3" + { + "type": "paypal", + "url": "https://paypal.me/jimmywarting" } + ], + "homepage": "https://github.com/node-fetch/fetch-blob#readme", + "keywords": [ + "blob", + "file", + "node-fetch" + ], + "license": "MIT", + "main": "index.js", + "name": "fetch-blob", + "repository": { + "type": "git", + "url": "git+https://github.com/node-fetch/fetch-blob.git" + }, + "scripts": { + "coverage": "npm run report && codecov -f coverage/coverage-final.json", + "prepublishOnly": "tsc --declaration --emitDeclarationOnly --allowJs index.js from.js", + "report": "c8 --reporter json --reporter text npm run test", + "test": "node --experimental-loader ./test/http-loader.js ./test/test-wpt-in-node.js" + }, + "type": "module", + "version": "3.2.0" } diff --git a/node_modules/formdata-polyfill/package.json b/node_modules/formdata-polyfill/package.json index 501a064..7692b08 100644 --- a/node_modules/formdata-polyfill/package.json +++ b/node_modules/formdata-polyfill/package.json @@ -1,18 +1,49 @@ { - "name": "formdata-polyfill", - "version": "4.0.10", + "_args": [ + [ + "formdata-polyfill@4.0.10", + "/home/sigonasr2/SnakeBot" + ] + ], + "_from": "formdata-polyfill@4.0.10", + "_id": "formdata-polyfill@4.0.10", + "_inBundle": false, + "_integrity": "sha512-buewHzMvYL29jdeQTVILecSaZKnt/RJWjoZCF5OW60Z67/GmSLBkOFM7qh1PI3zFNtJbaZL5eQu1vLfazOwj4g==", + "_location": "/formdata-polyfill", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "formdata-polyfill@4.0.10", + "name": "formdata-polyfill", + "escapedName": "formdata-polyfill", + "rawSpec": "4.0.10", + "saveSpec": null, + "fetchSpec": "4.0.10" + }, + "_requiredBy": [ + "/node-fetch" + ], + "_resolved": "https://registry.npmjs.org/formdata-polyfill/-/formdata-polyfill-4.0.10.tgz", + "_spec": "4.0.10", + "_where": "/home/sigonasr2/SnakeBot", + "author": { + "name": "Jimmy Wärting" + }, + "bugs": { + "url": "https://github.com/jimmywarting/FormData/issues" + }, + "dependencies": { + "fetch-blob": "^3.1.2" + }, "description": "HTML5 `FormData` for Browsers and Node.", - "type": "module", - "main": "formdata.min.js", - "scripts": { - "build": "node build.js", - "test": "node test/test-esm.js", - "test-wpt": "node --experimental-loader ./test/http-loader.js ./test/test-wpt-in-node.js", - "test-polyfill": "php -S localhost:4445 & open http://localhost:4445/test/test-polyfill.html" + "devDependencies": { + "@types/google-closure-compiler": "^0.0.19", + "@types/node": "^16.7.10", + "google-closure-compiler": "^20210808.0.0" }, - "repository": { - "type": "git", - "url": "git+https://jimmywarting@github.com/jimmywarting/FormData.git" + "engines": { + "node": ">=12.20.0" }, "files": [ "esm.min.js", @@ -22,9 +53,7 @@ "formdata.min.js", "README.md" ], - "engines": { - "node": ">=12.20.0" - }, + "homepage": "https://github.com/jimmywarting/FormData#readme", "keywords": [ "formdata", "fetch", @@ -33,18 +62,19 @@ "browser", "polyfill" ], - "author": "Jimmy Wärting", "license": "MIT", - "bugs": { - "url": "https://github.com/jimmywarting/FormData/issues" + "main": "formdata.min.js", + "name": "formdata-polyfill", + "repository": { + "type": "git", + "url": "git+https://jimmywarting@github.com/jimmywarting/FormData.git" }, - "homepage": "https://github.com/jimmywarting/FormData#readme", - "dependencies": { - "fetch-blob": "^3.1.2" + "scripts": { + "build": "node build.js", + "test": "node test/test-esm.js", + "test-polyfill": "php -S localhost:4445 & open http://localhost:4445/test/test-polyfill.html", + "test-wpt": "node --experimental-loader ./test/http-loader.js ./test/test-wpt-in-node.js" }, - "devDependencies": { - "@types/google-closure-compiler": "^0.0.19", - "@types/node": "^16.7.10", - "google-closure-compiler": "^20210808.0.0" - } + "type": "module", + "version": "4.0.10" } diff --git a/node_modules/heap/package.json b/node_modules/heap/package.json index 0c799dc..3b8d8ca 100644 --- a/node_modules/heap/package.json +++ b/node_modules/heap/package.json @@ -1,26 +1,66 @@ { - "name" : "heap" - , "version" : "0.2.5" - , "description" : "binary heap (priority queue) algorithms (ported from Python's heapq module)" - , "homepage" : "https://github.com/qiao/heap.js" - , "keywords" : ["algorithm", "data structure", "heap"] - , "author" : "Xueqiao Xu " - , "main" : "./index.js" - , "dependencies" : {} - , "devDependencies" : { - "coffee-script" : "1.3.x" - , "mocha" : "1.0.x" - , "should" : "0.6.x" - } - , "scripts" : { - "test" : "make test" - } - , "repository" : { - "type" : "git" - , "url" : "git://github.com/qiao/heap.js.git" - } - , "licenses" : [{ - "type" : "PSF" - , "url" : "http://docs.python.org/license.html" - }] + "_args": [ + [ + "heap@0.2.5", + "/home/sigonasr2/SnakeBot" + ] + ], + "_from": "heap@0.2.5", + "_id": "heap@0.2.5", + "_inBundle": false, + "_integrity": "sha512-G7HLD+WKcrOyJP5VQwYZNC3Z6FcQ7YYjEFiFoIj8PfEr73mu421o8B1N5DKUcc8K37EsJ2XXWA8DtrDz/2dReg==", + "_location": "/heap", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "heap@0.2.5", + "name": "heap", + "escapedName": "heap", + "rawSpec": "0.2.5", + "saveSpec": null, + "fetchSpec": "0.2.5" + }, + "_requiredBy": [ + "/pathfinding" + ], + "_resolved": "https://registry.npmjs.org/heap/-/heap-0.2.5.tgz", + "_spec": "0.2.5", + "_where": "/home/sigonasr2/SnakeBot", + "author": { + "name": "Xueqiao Xu", + "email": "xueqiaoxu@gmail.com" + }, + "bugs": { + "url": "https://github.com/qiao/heap.js/issues" + }, + "dependencies": {}, + "description": "binary heap (priority queue) algorithms (ported from Python's heapq module)", + "devDependencies": { + "coffee-script": "1.3.x", + "mocha": "1.0.x", + "should": "0.6.x" + }, + "homepage": "https://github.com/qiao/heap.js", + "keywords": [ + "algorithm", + "data structure", + "heap" + ], + "licenses": [ + { + "type": "PSF", + "url": "http://docs.python.org/license.html" + } + ], + "main": "./index.js", + "name": "heap", + "repository": { + "type": "git", + "url": "git://github.com/qiao/heap.js.git" + }, + "scripts": { + "test": "make test" + }, + "version": "0.2.5" } diff --git a/node_modules/ms/package.json b/node_modules/ms/package.json index eea666e..a09ce60 100644 --- a/node_modules/ms/package.json +++ b/node_modules/ms/package.json @@ -1,16 +1,42 @@ { - "name": "ms", - "version": "2.1.2", - "description": "Tiny millisecond conversion utility", - "repository": "zeit/ms", - "main": "./index", - "files": [ - "index.js" + "_args": [ + [ + "ms@2.1.2", + "/home/sigonasr2/SnakeBot" + ] ], - "scripts": { - "precommit": "lint-staged", - "lint": "eslint lib/* bin/*", - "test": "mocha tests.js" + "_from": "ms@2.1.2", + "_id": "ms@2.1.2", + "_inBundle": false, + "_integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", + "_location": "/ms", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "ms@2.1.2", + "name": "ms", + "escapedName": "ms", + "rawSpec": "2.1.2", + "saveSpec": null, + "fetchSpec": "2.1.2" + }, + "_requiredBy": [ + "/debug" + ], + "_resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", + "_spec": "2.1.2", + "_where": "/home/sigonasr2/SnakeBot", + "bugs": { + "url": "https://github.com/zeit/ms/issues" + }, + "description": "Tiny millisecond conversion utility", + "devDependencies": { + "eslint": "4.12.1", + "expect.js": "0.3.1", + "husky": "0.14.3", + "lint-staged": "5.0.0", + "mocha": "4.0.1" }, "eslintConfig": { "extends": "eslint:recommended", @@ -19,6 +45,11 @@ "es6": true } }, + "files": [ + "index.js" + ], + "homepage": "https://github.com/zeit/ms#readme", + "license": "MIT", "lint-staged": { "*.js": [ "npm run lint", @@ -26,12 +57,16 @@ "git add" ] }, - "license": "MIT", - "devDependencies": { - "eslint": "4.12.1", - "expect.js": "0.3.1", - "husky": "0.14.3", - "lint-staged": "5.0.0", - "mocha": "4.0.1" - } + "main": "./index", + "name": "ms", + "repository": { + "type": "git", + "url": "git+https://github.com/zeit/ms.git" + }, + "scripts": { + "lint": "eslint lib/* bin/*", + "precommit": "lint-staged", + "test": "mocha tests.js" + }, + "version": "2.1.2" } diff --git a/node_modules/node-domexception/package.json b/node_modules/node-domexception/package.json index cd08e70..1497b36 100644 --- a/node_modules/node-domexception/package.json +++ b/node_modules/node-domexception/package.json @@ -1,21 +1,42 @@ { - "name": "node-domexception", - "version": "1.0.0", - "description": "An implementation of the DOMException class from NodeJS", - "main": "index.js", - "repository": { - "type": "git", - "url": "git+https://github.com/jimmywarting/node-domexception.git" + "_args": [ + [ + "node-domexception@1.0.0", + "/home/sigonasr2/SnakeBot" + ] + ], + "_from": "node-domexception@1.0.0", + "_id": "node-domexception@1.0.0", + "_inBundle": false, + "_integrity": "sha512-/jKZoMpw0F8GRwl4/eLROPA3cfcXtLApP0QzLmUT/HuPCZWyB7IY9ZrMeKw2O/nFIqPQB3PVM9aYm0F312AXDQ==", + "_location": "/node-domexception", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "node-domexception@1.0.0", + "name": "node-domexception", + "escapedName": "node-domexception", + "rawSpec": "1.0.0", + "saveSpec": null, + "fetchSpec": "1.0.0" }, - "engines": { - "node": ">=10.5.0" + "_requiredBy": [ + "/fetch-blob" + ], + "_resolved": "https://registry.npmjs.org/node-domexception/-/node-domexception-1.0.0.tgz", + "_spec": "1.0.0", + "_where": "/home/sigonasr2/SnakeBot", + "author": { + "name": "Jimmy Wärting" }, - "author": "Jimmy Wärting", - "license": "MIT", "bugs": { "url": "https://github.com/jimmywarting/node-domexception/issues" }, - "homepage": "https://github.com/jimmywarting/node-domexception#readme", + "description": "An implementation of the DOMException class from NodeJS", + "engines": { + "node": ">=10.5.0" + }, "funding": [ { "type": "github", @@ -25,5 +46,14 @@ "type": "github", "url": "https://paypal.me/jimmywarting" } - ] + ], + "homepage": "https://github.com/jimmywarting/node-domexception#readme", + "license": "MIT", + "main": "index.js", + "name": "node-domexception", + "repository": { + "type": "git", + "url": "git+https://github.com/jimmywarting/node-domexception.git" + }, + "version": "1.0.0" } diff --git a/node_modules/node-fetch/package.json b/node_modules/node-fetch/package.json index 65dd37e..d28b423 100644 --- a/node_modules/node-fetch/package.json +++ b/node_modules/node-fetch/package.json @@ -1,48 +1,44 @@ { - "name": "node-fetch", - "version": "3.2.10", - "description": "A light-weight module that brings Fetch API to node.js", - "main": "./src/index.js", - "sideEffects": false, - "type": "module", - "files": [ - "src", - "@types/index.d.ts" + "_args": [ + [ + "node-fetch@3.2.10", + "/home/sigonasr2/SnakeBot" + ] ], - "types": "./@types/index.d.ts", - "engines": { - "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + "_from": "node-fetch@3.2.10", + "_id": "node-fetch@3.2.10", + "_inBundle": false, + "_integrity": "sha512-MhuzNwdURnZ1Cp4XTazr69K0BTizsBroX7Zx3UgDSVcZYKF/6p0CBe4EUb/hLqmzVhl0UpYfgRljQ4yxE+iCxA==", + "_location": "/node-fetch", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "node-fetch@3.2.10", + "name": "node-fetch", + "escapedName": "node-fetch", + "rawSpec": "3.2.10", + "saveSpec": null, + "fetchSpec": "3.2.10" }, - "scripts": { - "test": "mocha", - "coverage": "c8 report --reporter=text-lcov | coveralls", - "test-types": "tsd", - "lint": "xo" - }, - "repository": { - "type": "git", - "url": "https://github.com/node-fetch/node-fetch.git" - }, - "keywords": [ - "fetch", - "http", - "promise", - "request", - "curl", - "wget", - "xhr", - "whatwg" + "_requiredBy": [ + "/" ], - "author": "David Frank", - "license": "MIT", + "_resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-3.2.10.tgz", + "_spec": "3.2.10", + "_where": "/home/sigonasr2/SnakeBot", + "author": { + "name": "David Frank" + }, "bugs": { "url": "https://github.com/node-fetch/node-fetch/issues" }, - "homepage": "https://github.com/node-fetch/node-fetch", - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/node-fetch" + "dependencies": { + "data-uri-to-buffer": "^4.0.0", + "fetch-blob": "^3.1.4", + "formdata-polyfill": "^4.0.10" }, + "description": "A light-weight module that brings Fetch API to node.js", "devDependencies": { "abort-controller": "^3.0.0", "abortcontroller-polyfill": "^1.7.1", @@ -61,17 +57,63 @@ "tsd": "^0.14.0", "xo": "^0.39.1" }, - "dependencies": { - "data-uri-to-buffer": "^4.0.0", - "fetch-blob": "^3.1.4", - "formdata-polyfill": "^4.0.10" + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" }, + "files": [ + "src", + "@types/index.d.ts" + ], + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/node-fetch" + }, + "homepage": "https://github.com/node-fetch/node-fetch", + "keywords": [ + "fetch", + "http", + "promise", + "request", + "curl", + "wget", + "xhr", + "whatwg" + ], + "license": "MIT", + "main": "./src/index.js", + "name": "node-fetch", + "release": { + "branches": [ + "+([0-9]).x", + "main", + "next", + { + "name": "beta", + "prerelease": true + } + ] + }, + "repository": { + "type": "git", + "url": "git+https://github.com/node-fetch/node-fetch.git" + }, + "runkitExampleFilename": "example.js", + "scripts": { + "coverage": "c8 report --reporter=text-lcov | coveralls", + "lint": "xo", + "test": "mocha", + "test-types": "tsd" + }, + "sideEffects": false, "tsd": { "cwd": "@types", "compilerOptions": { "esModuleInterop": true } }, + "type": "module", + "types": "./@types/index.d.ts", + "version": "3.2.10", "xo": { "envs": [ "node", @@ -115,17 +157,5 @@ } } ] - }, - "runkitExampleFilename": "example.js", - "release": { - "branches": [ - "+([0-9]).x", - "main", - "next", - { - "name": "beta", - "prerelease": true - } - ] } } diff --git a/node_modules/pathfinding/package.json b/node_modules/pathfinding/package.json index 9477e46..ba8d8cf 100644 --- a/node_modules/pathfinding/package.json +++ b/node_modules/pathfinding/package.json @@ -1 +1,86 @@ -{"name":"pathfinding","version":"0.4.18","description":"Comprehensive pathfinding library for grid based games","homepage":"https://github.com/qiao/PathFinding.js","keywords":["pathfinding","astar","dijkstra","game","algorithm","jumppoint","depthfirst","breadthfirst"],"author":"Xueqiao Xu ","main":"./index.js","dependencies":{"heap":"0.2.5"},"devDependencies":{"colors":"^1.0.3","del":"^0.1.3","gulp":"^3.8.10","gulp-browserify":"^0.5.0","gulp-concat":"^2.4.1","gulp-jshint":"^1.9.0","gulp-mocha":"^2.0.0","gulp-rename":"^1.2.0","gulp-uglify":"^1.0.1","inquirer":"^0.8.0","jshint-stylish":"^1.0.0","jsonfile":"^2.0.0","mocha":"2.0.x","semver":"^4.2.0","shelljs":"^0.3.0","should":"4.3.x"},"scripts":{"test":"gulp test"},"repository":{"type":"git","url":"git://github.com/qiao/PathFinding.js.git"},"licenses":[{"type":"MIT","url":"http://opensource.org/licenses/mit-license.php"}]} +{ + "_args": [ + [ + "pathfinding@0.4.18", + "/home/sigonasr2/SnakeBot" + ] + ], + "_from": "pathfinding@0.4.18", + "_id": "pathfinding@0.4.18", + "_inBundle": false, + "_integrity": "sha512-R0TGEQ9GRcFCDvAWlJAWC+KGJ9SLbW4c0nuZRcioVlXVTlw+F5RvXQ8SQgSqI9KXWC1ew95vgmIiyaWTlCe9Ag==", + "_location": "/pathfinding", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "pathfinding@0.4.18", + "name": "pathfinding", + "escapedName": "pathfinding", + "rawSpec": "0.4.18", + "saveSpec": null, + "fetchSpec": "0.4.18" + }, + "_requiredBy": [ + "/" + ], + "_resolved": "https://registry.npmjs.org/pathfinding/-/pathfinding-0.4.18.tgz", + "_spec": "0.4.18", + "_where": "/home/sigonasr2/SnakeBot", + "author": { + "name": "Xueqiao Xu", + "email": "xueqiaoxu@gmail.com" + }, + "bugs": { + "url": "https://github.com/qiao/PathFinding.js/issues" + }, + "dependencies": { + "heap": "0.2.5" + }, + "description": "Comprehensive pathfinding library for grid based games", + "devDependencies": { + "colors": "^1.0.3", + "del": "^0.1.3", + "gulp": "^3.8.10", + "gulp-browserify": "^0.5.0", + "gulp-concat": "^2.4.1", + "gulp-jshint": "^1.9.0", + "gulp-mocha": "^2.0.0", + "gulp-rename": "^1.2.0", + "gulp-uglify": "^1.0.1", + "inquirer": "^0.8.0", + "jshint-stylish": "^1.0.0", + "jsonfile": "^2.0.0", + "mocha": "2.0.x", + "semver": "^4.2.0", + "shelljs": "^0.3.0", + "should": "4.3.x" + }, + "homepage": "https://github.com/qiao/PathFinding.js", + "keywords": [ + "pathfinding", + "astar", + "dijkstra", + "game", + "algorithm", + "jumppoint", + "depthfirst", + "breadthfirst" + ], + "licenses": [ + { + "type": "MIT", + "url": "http://opensource.org/licenses/mit-license.php" + } + ], + "main": "./index.js", + "name": "pathfinding", + "repository": { + "type": "git", + "url": "git://github.com/qiao/PathFinding.js.git" + }, + "scripts": { + "test": "gulp test" + }, + "version": "0.4.18" +} diff --git a/node_modules/socket.io-client/package.json b/node_modules/socket.io-client/package.json index 806973b..cf8e550 100644 --- a/node_modules/socket.io-client/package.json +++ b/node_modules/socket.io-client/package.json @@ -1,42 +1,63 @@ { - "name": "socket.io-client", - "version": "4.5.1", - "description": "Realtime application framework client", - "keywords": [ - "realtime", - "framework", - "websocket", - "tcp", - "events", - "client" + "_args": [ + [ + "socket.io-client@4.5.1", + "/home/sigonasr2/SnakeBot" + ] ], - "files": [ - "dist/", - "build/" + "_from": "socket.io-client@4.5.1", + "_id": "socket.io-client@4.5.1", + "_inBundle": false, + "_integrity": "sha512-e6nLVgiRYatS+AHXnOnGi4ocOpubvOUCGhyWw8v+/FxW8saHkinG6Dfhi9TU0Kt/8mwJIAASxvw6eujQmjdZVA==", + "_location": "/socket.io-client", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "socket.io-client@4.5.1", + "name": "socket.io-client", + "escapedName": "socket.io-client", + "rawSpec": "4.5.1", + "saveSpec": null, + "fetchSpec": "4.5.1" + }, + "_requiredBy": [ + "/" ], - "type": "commonjs", - "main": "./build/cjs/index.js", - "module": "./build/esm/index.js", - "exports": { - "./package.json": "./package.json", - "./dist/socket.io.js": "./dist/socket.io.js", - "./dist/socket.io.js.map": "./dist/socket.io.js.map", - ".": { - "import": { - "node": "./build/esm-debug/index.js", - "default": "./build/esm/index.js" - }, - "require": "./build/cjs/index.js", - "types": "./build/esm/index.d.ts" - } + "_resolved": "https://registry.npmjs.org/socket.io-client/-/socket.io-client-4.5.1.tgz", + "_spec": "4.5.1", + "_where": "/home/sigonasr2/SnakeBot", + "browser": { + "./test/node.ts": false }, - "types": "./build/esm/index.d.ts", + "bugs": { + "url": "https://github.com/socketio/socket.io-client/issues" + }, + "contributors": [ + { + "name": "Guillermo Rauch", + "email": "rauchg@gmail.com" + }, + { + "name": "Arnout Kazemier", + "email": "info@3rd-eden.com" + }, + { + "name": "Vladimir Dronnikov", + "email": "dronnikov@gmail.com" + }, + { + "name": "Einar Otto Stangvik", + "email": "einaros@gmail.com" + } + ], "dependencies": { "@socket.io/component-emitter": "~3.1.0", "debug": "~4.3.2", "engine.io-client": "~6.2.1", "socket.io-parser": "~4.2.0" }, + "description": "Realtime application framework client", "devDependencies": { "@babel/core": "^7.15.0", "@babel/plugin-transform-object-assign": "^7.14.5", @@ -76,47 +97,58 @@ "zuul-builder-webpack": "^1.2.0", "zuul-ngrok": "4.0.0" }, - "scripts": { - "compile": "rimraf ./build && tsc && tsc -p tsconfig.esm.json && ./postcompile.sh", - "test": "npm run format:check && npm run compile && if test \"$BROWSERS\" = \"1\" ; then npm run test:browser; else npm run test:node; fi", - "test:node": "mocha --require ts-node/register --reporter dot --require test/support/server.js test/index.js", - "test:browser": "zuul test/index.js", - "test:types": "tsd", - "build": "rollup -c support/rollup.config.umd.js && rollup -c support/rollup.config.esm.js && rollup -c support/rollup.config.umd.msgpack.js", - "format:check": "prettier --check \"lib/**/*.ts\" \"test/**/*.js\" \"test/**/*.ts\" \"support/**/*.js\"", - "format:fix": "prettier --write \"lib/**/*.ts\" \"test/**/*.js\" \"test/**/*.ts\" \"support/**/*.js\"", - "prepack": "npm run compile" + "engines": { + "node": ">=10.0.0" }, - "contributors": [ - { - "name": "Guillermo Rauch", - "email": "rauchg@gmail.com" - }, - { - "name": "Arnout Kazemier", - "email": "info@3rd-eden.com" - }, - { - "name": "Vladimir Dronnikov", - "email": "dronnikov@gmail.com" - }, - { - "name": "Einar Otto Stangvik", - "email": "einaros@gmail.com" + "exports": { + "./package.json": "./package.json", + "./dist/socket.io.js": "./dist/socket.io.js", + "./dist/socket.io.js.map": "./dist/socket.io.js.map", + ".": { + "import": { + "node": "./build/esm-debug/index.js", + "default": "./build/esm/index.js" + }, + "require": "./build/cjs/index.js", + "types": "./build/esm/index.d.ts" } + }, + "files": [ + "dist/", + "build/" ], + "homepage": "https://github.com/socketio/socket.io-client#readme", + "keywords": [ + "realtime", + "framework", + "websocket", + "tcp", + "events", + "client" + ], + "license": "MIT", + "main": "./build/cjs/index.js", + "module": "./build/esm/index.js", + "name": "socket.io-client", "repository": { "type": "git", - "url": "https://github.com/socketio/socket.io-client.git" + "url": "git+https://github.com/socketio/socket.io-client.git" }, - "license": "MIT", - "engines": { - "node": ">=10.0.0" + "scripts": { + "build": "rollup -c support/rollup.config.umd.js && rollup -c support/rollup.config.esm.js && rollup -c support/rollup.config.umd.msgpack.js", + "compile": "rimraf ./build && tsc && tsc -p tsconfig.esm.json && ./postcompile.sh", + "format:check": "prettier --check \"lib/**/*.ts\" \"test/**/*.js\" \"test/**/*.ts\" \"support/**/*.js\"", + "format:fix": "prettier --write \"lib/**/*.ts\" \"test/**/*.js\" \"test/**/*.ts\" \"support/**/*.js\"", + "prepack": "npm run compile", + "test": "npm run format:check && npm run compile && if test \"$BROWSERS\" = \"1\" ; then npm run test:browser; else npm run test:node; fi", + "test:browser": "zuul test/index.js", + "test:node": "mocha --require ts-node/register --reporter dot --require test/support/server.js test/index.js", + "test:types": "tsd" }, "tsd": { "directory": "test" }, - "browser": { - "./test/node.ts": false - } + "type": "commonjs", + "types": "./build/esm/index.d.ts", + "version": "4.5.1" } diff --git a/node_modules/socket.io-parser/package.json b/node_modules/socket.io-parser/package.json index 0d83dc1..eff9a2d 100644 --- a/node_modules/socket.io-parser/package.json +++ b/node_modules/socket.io-parser/package.json @@ -1,28 +1,40 @@ { - "name": "socket.io-parser", - "version": "4.2.1", - "description": "socket.io protocol parser", - "repository": { - "type": "git", - "url": "https://github.com/socketio/socket.io-parser.git" + "_args": [ + [ + "socket.io-parser@4.2.1", + "/home/sigonasr2/SnakeBot" + ] + ], + "_from": "socket.io-parser@4.2.1", + "_id": "socket.io-parser@4.2.1", + "_inBundle": false, + "_integrity": "sha512-V4GrkLy+HeF1F/en3SpUaM+7XxYXpuMUWLGde1kSSh5nQMN4hLrbPIkD+otwh6q9R6NOQBN4AMaOZ2zVjui82g==", + "_location": "/socket.io-parser", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "socket.io-parser@4.2.1", + "name": "socket.io-parser", + "escapedName": "socket.io-parser", + "rawSpec": "4.2.1", + "saveSpec": null, + "fetchSpec": "4.2.1" }, - "files": [ - "build/" + "_requiredBy": [ + "/socket.io-client" ], - "main": "./build/cjs/index.js", - "module": "./build/esm/index.js", - "types": "./build/esm/index.d.ts", - "exports": { - "import": { - "node": "./build/esm-debug/index.js", - "default": "./build/esm/index.js" - }, - "require": "./build/cjs/index.js" + "_resolved": "https://registry.npmjs.org/socket.io-parser/-/socket.io-parser-4.2.1.tgz", + "_spec": "4.2.1", + "_where": "/home/sigonasr2/SnakeBot", + "bugs": { + "url": "https://github.com/socketio/socket.io-parser/issues" }, "dependencies": { "@socket.io/component-emitter": "~3.1.0", "debug": "~4.3.1" }, + "description": "socket.io protocol parser", "devDependencies": { "@babel/core": "~7.9.6", "@babel/preset-env": "~7.9.6", @@ -39,17 +51,37 @@ "zuul": "3.11.1", "zuul-ngrok": "4.0.0" }, + "engines": { + "node": ">=10.0.0" + }, + "exports": { + "import": { + "node": "./build/esm-debug/index.js", + "default": "./build/esm/index.js" + }, + "require": "./build/cjs/index.js" + }, + "files": [ + "build/" + ], + "homepage": "https://github.com/socketio/socket.io-parser#readme", + "license": "MIT", + "main": "./build/cjs/index.js", + "module": "./build/esm/index.js", + "name": "socket.io-parser", + "repository": { + "type": "git", + "url": "git+https://github.com/socketio/socket.io-parser.git" + }, "scripts": { "compile": "rimraf ./build && tsc && tsc -p tsconfig.esm.json && ./postcompile.sh", + "format:check": "prettier --check --parser typescript 'lib/**/*.ts' 'test/**/*.js'", + "format:fix": "prettier --write --parser typescript 'lib/**/*.ts' 'test/**/*.js'", + "prepack": "npm run compile", "test": "npm run format:check && npm run compile && if test \"$BROWSERS\" = \"1\" ; then npm run test:browser; else npm run test:node; fi", - "test:node": "mocha --reporter dot --bail test/index.js", "test:browser": "zuul test/index.js --no-coverage", - "format:fix": "prettier --write --parser typescript 'lib/**/*.ts' 'test/**/*.js'", - "format:check": "prettier --check --parser typescript 'lib/**/*.ts' 'test/**/*.js'", - "prepack": "npm run compile" + "test:node": "mocha --reporter dot --bail test/index.js" }, - "license": "MIT", - "engines": { - "node": ">=10.0.0" - } + "types": "./build/esm/index.d.ts", + "version": "4.2.1" } diff --git a/node_modules/web-streams-polyfill/package.json b/node_modules/web-streams-polyfill/package.json index af3208a..61f6f70 100644 --- a/node_modules/web-streams-polyfill/package.json +++ b/node_modules/web-streams-polyfill/package.json @@ -1,58 +1,47 @@ { - "name": "web-streams-polyfill", - "version": "3.2.1", - "description": "Web Streams, based on the WHATWG spec reference implementation", - "main": "dist/polyfill", - "browser": "dist/polyfill.min.js", - "module": "dist/polyfill.mjs", - "types": "dist/types/polyfill.d.ts", - "typesVersions": { - ">=3.6": { - "dist/types/*": [ - "dist/types/ts3.6/*" - ] - } - }, - "scripts": { - "test": "npm run test:types && npm run test:unit && npm run test:wpt", - "test:wpt": "node --expose_gc ./test/run-web-platform-tests.js", - "pretest:wpt": "git submodule update --init --recursive", - "test:types": "tsc -p ./test/types/tsconfig.json", - "test:unit": "jasmine --config=test/unit/jasmine.json", - "lint": "eslint \"src/**/*.ts\"", - "build": "npm run build:bundle && npm run build:types", - "build:bundle": "rollup -c", - "build:types": "tsc --project . --emitDeclarationOnly --declarationDir ./lib && api-extractor run && node ./build/downlevel-dts.js", - "accept:types": "tsc --project . --emitDeclarationOnly --declarationDir ./lib && api-extractor run --local && node ./build/downlevel-dts.js", - "prepare": "npm run build" - }, - "files": [ - "dist", - "es6", - "es2018", - "ponyfill" + "_args": [ + [ + "web-streams-polyfill@3.2.1", + "/home/sigonasr2/SnakeBot" + ] ], - "engines": { - "node": ">= 8" - }, - "repository": { - "type": "git", - "url": "git+https://github.com/MattiasBuelens/web-streams-polyfill.git" + "_from": "web-streams-polyfill@3.2.1", + "_id": "web-streams-polyfill@3.2.1", + "_inBundle": false, + "_integrity": "sha512-e0MO3wdXWKrLbL0DgGnUV7WHVuw9OUvL4hjgnPkIeEvESk74gAITi5G606JtZPp39cd8HA9VQzCIvA49LpPN5Q==", + "_location": "/web-streams-polyfill", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "web-streams-polyfill@3.2.1", + "name": "web-streams-polyfill", + "escapedName": "web-streams-polyfill", + "rawSpec": "3.2.1", + "saveSpec": null, + "fetchSpec": "3.2.1" }, - "keywords": [ - "streams", - "whatwg", - "polyfill" - ], - "author": "Mattias Buelens ", - "contributors": [ - "Diwank Singh " + "_requiredBy": [ + "/fetch-blob" ], - "license": "MIT", + "_resolved": "https://registry.npmjs.org/web-streams-polyfill/-/web-streams-polyfill-3.2.1.tgz", + "_spec": "3.2.1", + "_where": "/home/sigonasr2/SnakeBot", + "author": { + "name": "Mattias Buelens", + "email": "mattias@buelens.com" + }, + "browser": "dist/polyfill.min.js", "bugs": { "url": "https://github.com/MattiasBuelens/web-streams-polyfill/issues" }, - "homepage": "https://github.com/MattiasBuelens/web-streams-polyfill#readme", + "contributors": [ + { + "name": "Diwank Singh", + "email": "diwank.singh@gmail.com" + } + ], + "description": "Web Streams, based on the WHATWG spec reference implementation", "devDependencies": { "@microsoft/api-extractor": "^7.13.4", "@rollup/plugin-inject": "^4.0.2", @@ -72,5 +61,50 @@ "tslib": "^2.2.0", "typescript": "^4.2.4", "wpt-runner": "^3.2.1" - } + }, + "engines": { + "node": ">= 8" + }, + "files": [ + "dist", + "es6", + "es2018", + "ponyfill" + ], + "homepage": "https://github.com/MattiasBuelens/web-streams-polyfill#readme", + "keywords": [ + "streams", + "whatwg", + "polyfill" + ], + "license": "MIT", + "main": "dist/polyfill", + "module": "dist/polyfill.mjs", + "name": "web-streams-polyfill", + "repository": { + "type": "git", + "url": "git+https://github.com/MattiasBuelens/web-streams-polyfill.git" + }, + "scripts": { + "accept:types": "tsc --project . --emitDeclarationOnly --declarationDir ./lib && api-extractor run --local && node ./build/downlevel-dts.js", + "build": "npm run build:bundle && npm run build:types", + "build:bundle": "rollup -c", + "build:types": "tsc --project . --emitDeclarationOnly --declarationDir ./lib && api-extractor run && node ./build/downlevel-dts.js", + "lint": "eslint \"src/**/*.ts\"", + "prepare": "npm run build", + "pretest:wpt": "git submodule update --init --recursive", + "test": "npm run test:types && npm run test:unit && npm run test:wpt", + "test:types": "tsc -p ./test/types/tsconfig.json", + "test:unit": "jasmine --config=test/unit/jasmine.json", + "test:wpt": "node --expose_gc ./test/run-web-platform-tests.js" + }, + "types": "dist/types/polyfill.d.ts", + "typesVersions": { + ">=3.6": { + "dist/types/*": [ + "dist/types/ts3.6/*" + ] + } + }, + "version": "3.2.1" } diff --git a/node_modules/ws/package.json b/node_modules/ws/package.json index 8afdd2e..67c620c 100644 --- a/node_modules/ws/package.json +++ b/node_modules/ws/package.json @@ -1,40 +1,78 @@ { - "name": "ws", - "version": "8.2.3", - "description": "Simple to use, blazing fast and thoroughly tested websocket client and server for Node.js", - "keywords": [ - "HyBi", - "Push", - "RFC-6455", - "WebSocket", - "WebSockets", - "real-time" + "_args": [ + [ + "ws@8.2.3", + "/home/sigonasr2/SnakeBot" + ] ], - "homepage": "https://github.com/websockets/ws", - "bugs": "https://github.com/websockets/ws/issues", - "repository": "websockets/ws", - "author": "Einar Otto Stangvik (http://2x.io)", - "license": "MIT", - "main": "index.js", - "exports": { - "import": "./wrapper.mjs", - "require": "./index.js" + "_from": "ws@8.2.3", + "_id": "ws@8.2.3", + "_inBundle": false, + "_integrity": "sha512-wBuoj1BDpC6ZQ1B7DWQBYVLphPWkm8i9Y0/3YdHjHKHiohOJ1ws+3OccDWtH+PoC9DZD5WOTrJvNbWvjS6JWaA==", + "_location": "/ws", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "ws@8.2.3", + "name": "ws", + "escapedName": "ws", + "rawSpec": "8.2.3", + "saveSpec": null, + "fetchSpec": "8.2.3" + }, + "_requiredBy": [ + "/engine.io-client" + ], + "_resolved": "https://registry.npmjs.org/ws/-/ws-8.2.3.tgz", + "_spec": "8.2.3", + "_where": "/home/sigonasr2/SnakeBot", + "author": { + "name": "Einar Otto Stangvik", + "email": "einaros@gmail.com", + "url": "http://2x.io" }, "browser": "browser.js", + "bugs": { + "url": "https://github.com/websockets/ws/issues" + }, + "description": "Simple to use, blazing fast and thoroughly tested websocket client and server for Node.js", + "devDependencies": { + "benchmark": "^2.1.4", + "bufferutil": "^4.0.1", + "eslint": "^7.2.0", + "eslint-config-prettier": "^8.1.0", + "eslint-plugin-prettier": "^4.0.0", + "mocha": "^8.4.0", + "nyc": "^15.0.0", + "prettier": "^2.0.5", + "utf-8-validate": "^5.0.2" + }, "engines": { "node": ">=10.0.0" }, + "exports": { + "import": "./wrapper.mjs", + "require": "./index.js" + }, "files": [ "browser.js", "index.js", "lib/*.js", "wrapper.mjs" ], - "scripts": { - "test": "nyc --reporter=lcov --reporter=text mocha --throw-deprecation test/*.test.js", - "integration": "mocha --throw-deprecation test/*.integration.js", - "lint": "eslint --ignore-path .gitignore . && prettier --check --ignore-path .gitignore \"**/*.{json,md,yaml,yml}\"" - }, + "homepage": "https://github.com/websockets/ws", + "keywords": [ + "HyBi", + "Push", + "RFC-6455", + "WebSocket", + "WebSockets", + "real-time" + ], + "license": "MIT", + "main": "index.js", + "name": "ws", "peerDependencies": { "bufferutil": "^4.0.1", "utf-8-validate": "^5.0.2" @@ -47,15 +85,14 @@ "optional": true } }, - "devDependencies": { - "benchmark": "^2.1.4", - "bufferutil": "^4.0.1", - "eslint": "^7.2.0", - "eslint-config-prettier": "^8.1.0", - "eslint-plugin-prettier": "^4.0.0", - "mocha": "^8.4.0", - "nyc": "^15.0.0", - "prettier": "^2.0.5", - "utf-8-validate": "^5.0.2" - } + "repository": { + "type": "git", + "url": "git+https://github.com/websockets/ws.git" + }, + "scripts": { + "integration": "mocha --throw-deprecation test/*.integration.js", + "lint": "eslint --ignore-path .gitignore . && prettier --check --ignore-path .gitignore \"**/*.{json,md,yaml,yml}\"", + "test": "nyc --reporter=lcov --reporter=text mocha --throw-deprecation test/*.test.js" + }, + "version": "8.2.3" } diff --git a/node_modules/xmlhttprequest-ssl/package.json b/node_modules/xmlhttprequest-ssl/package.json index ba87b85..2d41a02 100644 --- a/node_modules/xmlhttprequest-ssl/package.json +++ b/node_modules/xmlhttprequest-ssl/package.json @@ -1,10 +1,48 @@ { - "name": "xmlhttprequest-ssl", - "description": "XMLHttpRequest for Node", - "version": "2.0.0", + "_args": [ + [ + "xmlhttprequest-ssl@2.0.0", + "/home/sigonasr2/SnakeBot" + ] + ], + "_from": "xmlhttprequest-ssl@2.0.0", + "_id": "xmlhttprequest-ssl@2.0.0", + "_inBundle": false, + "_integrity": "sha512-QKxVRxiRACQcVuQEYFsI1hhkrMlrXHPegbbd1yn9UHOmRxY+si12nQYzri3vbzt8VdTTRviqcKxcyllFas5z2A==", + "_location": "/xmlhttprequest-ssl", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "xmlhttprequest-ssl@2.0.0", + "name": "xmlhttprequest-ssl", + "escapedName": "xmlhttprequest-ssl", + "rawSpec": "2.0.0", + "saveSpec": null, + "fetchSpec": "2.0.0" + }, + "_requiredBy": [ + "/engine.io-client" + ], + "_resolved": "https://registry.npmjs.org/xmlhttprequest-ssl/-/xmlhttprequest-ssl-2.0.0.tgz", + "_spec": "2.0.0", + "_where": "/home/sigonasr2/SnakeBot", "author": { "name": "Michael de Wit" }, + "bugs": { + "url": "http://github.com/mjwwit/node-XMLHttpRequest/issues" + }, + "dependencies": {}, + "description": "XMLHttpRequest for Node", + "directories": { + "lib": "./lib", + "example": "./example" + }, + "engines": { + "node": ">=0.4.0" + }, + "homepage": "https://github.com/mjwwit/node-XMLHttpRequest#readme", "keywords": [ "xhr", "ajax" @@ -15,21 +53,14 @@ "url": "http://creativecommons.org/licenses/MIT/" } ], + "main": "./lib/XMLHttpRequest.js", + "name": "xmlhttprequest-ssl", "repository": { "type": "git", "url": "git://github.com/mjwwit/node-XMLHttpRequest.git" }, - "bugs": "http://github.com/mjwwit/node-XMLHttpRequest/issues", - "engines": { - "node": ">=0.4.0" - }, "scripts": { "test": "cd ./tests && node test-constants.js && node test-events.js && node test-exceptions.js && node test-headers.js && node test-redirect-302.js && node test-redirect-303.js && node test-redirect-307.js && node test-request-methods.js && node test-request-protocols.js" }, - "directories": { - "lib": "./lib", - "example": "./example" - }, - "main": "./lib/XMLHttpRequest.js", - "dependencies": {} + "version": "2.0.0" } diff --git a/package-lock.json b/package-lock.json index 9f8bac3..6adc190 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,232 +1,8 @@ { "name": "nodejs", "version": "1.0.0", - "lockfileVersion": 2, + "lockfileVersion": 1, "requires": true, - "packages": { - "": { - "name": "nodejs", - "version": "1.0.0", - "license": "ISC", - "dependencies": { - "@types/node": "^18.0.6", - "dotenv": "^16.0.1", - "node-fetch": "^3.2.6", - "pathfinding": "^0.4.18", - "socket.io-client": "^4.5.1" - } - }, - "node_modules/@socket.io/component-emitter": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/@socket.io/component-emitter/-/component-emitter-3.1.0.tgz", - "integrity": "sha512-+9jVqKhRSpsc591z5vX+X5Yyw+he/HCB4iQ/RYxw35CEPaY1gnsNE43nf9n9AaYjAQrTiI/mOwKUKdUs9vf7Xg==" - }, - "node_modules/@types/node": { - "version": "18.7.5", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.7.5.tgz", - "integrity": "sha512-NcKK6Ts+9LqdHJaW6HQmgr7dT/i3GOHG+pt6BiWv++5SnjtRd4NXeiuN2kA153SjhXPR/AhHIPHPbrsbpUVOww==" - }, - "node_modules/data-uri-to-buffer": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/data-uri-to-buffer/-/data-uri-to-buffer-4.0.0.tgz", - "integrity": "sha512-Vr3mLBA8qWmcuschSLAOogKgQ/Jwxulv3RNE4FXnYWRGujzrRWQI4m12fQqRkwX06C0KanhLr4hK+GydchZsaA==", - "engines": { - "node": ">= 12" - } - }, - "node_modules/debug": { - "version": "4.3.4", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", - "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", - "dependencies": { - "ms": "2.1.2" - }, - "engines": { - "node": ">=6.0" - }, - "peerDependenciesMeta": { - "supports-color": { - "optional": true - } - } - }, - "node_modules/dotenv": { - "version": "16.0.1", - "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-16.0.1.tgz", - "integrity": "sha512-1K6hR6wtk2FviQ4kEiSjFiH5rpzEVi8WW0x96aztHVMhEspNpc4DVOUTEHtEva5VThQ8IaBX1Pe4gSzpVVUsKQ==", - "engines": { - "node": ">=12" - } - }, - "node_modules/engine.io-client": { - "version": "6.2.2", - "resolved": "https://registry.npmjs.org/engine.io-client/-/engine.io-client-6.2.2.tgz", - "integrity": "sha512-8ZQmx0LQGRTYkHuogVZuGSpDqYZtCM/nv8zQ68VZ+JkOpazJ7ICdsSpaO6iXwvaU30oFg5QJOJWj8zWqhbKjkQ==", - "dependencies": { - "@socket.io/component-emitter": "~3.1.0", - "debug": "~4.3.1", - "engine.io-parser": "~5.0.3", - "ws": "~8.2.3", - "xmlhttprequest-ssl": "~2.0.0" - } - }, - "node_modules/engine.io-parser": { - "version": "5.0.4", - "resolved": "https://registry.npmjs.org/engine.io-parser/-/engine.io-parser-5.0.4.tgz", - "integrity": "sha512-+nVFp+5z1E3HcToEnO7ZIj3g+3k9389DvWtvJZz0T6/eOCPIyyxehFcedoYrZQrp0LgQbD9pPXhpMBKMd5QURg==", - "engines": { - "node": ">=10.0.0" - } - }, - "node_modules/fetch-blob": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/fetch-blob/-/fetch-blob-3.2.0.tgz", - "integrity": "sha512-7yAQpD2UMJzLi1Dqv7qFYnPbaPx7ZfFK6PiIxQ4PfkGPyNyl2Ugx+a/umUonmKqjhM4DnfbMvdX6otXq83soQQ==", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/jimmywarting" - }, - { - "type": "paypal", - "url": "https://paypal.me/jimmywarting" - } - ], - "dependencies": { - "node-domexception": "^1.0.0", - "web-streams-polyfill": "^3.0.3" - }, - "engines": { - "node": "^12.20 || >= 14.13" - } - }, - "node_modules/formdata-polyfill": { - "version": "4.0.10", - "resolved": "https://registry.npmjs.org/formdata-polyfill/-/formdata-polyfill-4.0.10.tgz", - "integrity": "sha512-buewHzMvYL29jdeQTVILecSaZKnt/RJWjoZCF5OW60Z67/GmSLBkOFM7qh1PI3zFNtJbaZL5eQu1vLfazOwj4g==", - "dependencies": { - "fetch-blob": "^3.1.2" - }, - "engines": { - "node": ">=12.20.0" - } - }, - "node_modules/heap": { - "version": "0.2.5", - "resolved": "https://registry.npmjs.org/heap/-/heap-0.2.5.tgz", - "integrity": "sha512-G7HLD+WKcrOyJP5VQwYZNC3Z6FcQ7YYjEFiFoIj8PfEr73mu421o8B1N5DKUcc8K37EsJ2XXWA8DtrDz/2dReg==" - }, - "node_modules/ms": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", - "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" - }, - "node_modules/node-domexception": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/node-domexception/-/node-domexception-1.0.0.tgz", - "integrity": "sha512-/jKZoMpw0F8GRwl4/eLROPA3cfcXtLApP0QzLmUT/HuPCZWyB7IY9ZrMeKw2O/nFIqPQB3PVM9aYm0F312AXDQ==", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/jimmywarting" - }, - { - "type": "github", - "url": "https://paypal.me/jimmywarting" - } - ], - "engines": { - "node": ">=10.5.0" - } - }, - "node_modules/node-fetch": { - "version": "3.2.10", - "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-3.2.10.tgz", - "integrity": "sha512-MhuzNwdURnZ1Cp4XTazr69K0BTizsBroX7Zx3UgDSVcZYKF/6p0CBe4EUb/hLqmzVhl0UpYfgRljQ4yxE+iCxA==", - "dependencies": { - "data-uri-to-buffer": "^4.0.0", - "fetch-blob": "^3.1.4", - "formdata-polyfill": "^4.0.10" - }, - "engines": { - "node": "^12.20.0 || ^14.13.1 || >=16.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/node-fetch" - } - }, - "node_modules/pathfinding": { - "version": "0.4.18", - "resolved": "https://registry.npmjs.org/pathfinding/-/pathfinding-0.4.18.tgz", - "integrity": "sha512-R0TGEQ9GRcFCDvAWlJAWC+KGJ9SLbW4c0nuZRcioVlXVTlw+F5RvXQ8SQgSqI9KXWC1ew95vgmIiyaWTlCe9Ag==", - "dependencies": { - "heap": "0.2.5" - } - }, - "node_modules/socket.io-client": { - "version": "4.5.1", - "resolved": "https://registry.npmjs.org/socket.io-client/-/socket.io-client-4.5.1.tgz", - "integrity": "sha512-e6nLVgiRYatS+AHXnOnGi4ocOpubvOUCGhyWw8v+/FxW8saHkinG6Dfhi9TU0Kt/8mwJIAASxvw6eujQmjdZVA==", - "dependencies": { - "@socket.io/component-emitter": "~3.1.0", - "debug": "~4.3.2", - "engine.io-client": "~6.2.1", - "socket.io-parser": "~4.2.0" - }, - "engines": { - "node": ">=10.0.0" - } - }, - "node_modules/socket.io-parser": { - "version": "4.2.1", - "resolved": "https://registry.npmjs.org/socket.io-parser/-/socket.io-parser-4.2.1.tgz", - "integrity": "sha512-V4GrkLy+HeF1F/en3SpUaM+7XxYXpuMUWLGde1kSSh5nQMN4hLrbPIkD+otwh6q9R6NOQBN4AMaOZ2zVjui82g==", - "dependencies": { - "@socket.io/component-emitter": "~3.1.0", - "debug": "~4.3.1" - }, - "engines": { - "node": ">=10.0.0" - } - }, - "node_modules/web-streams-polyfill": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/web-streams-polyfill/-/web-streams-polyfill-3.2.1.tgz", - "integrity": "sha512-e0MO3wdXWKrLbL0DgGnUV7WHVuw9OUvL4hjgnPkIeEvESk74gAITi5G606JtZPp39cd8HA9VQzCIvA49LpPN5Q==", - "engines": { - "node": ">= 8" - } - }, - "node_modules/ws": { - "version": "8.2.3", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.2.3.tgz", - "integrity": "sha512-wBuoj1BDpC6ZQ1B7DWQBYVLphPWkm8i9Y0/3YdHjHKHiohOJ1ws+3OccDWtH+PoC9DZD5WOTrJvNbWvjS6JWaA==", - "engines": { - "node": ">=10.0.0" - }, - "peerDependencies": { - "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" - }, - "peerDependenciesMeta": { - "bufferutil": { - "optional": true - }, - "utf-8-validate": { - "optional": true - } - } - }, - "node_modules/xmlhttprequest-ssl": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/xmlhttprequest-ssl/-/xmlhttprequest-ssl-2.0.0.tgz", - "integrity": "sha512-QKxVRxiRACQcVuQEYFsI1hhkrMlrXHPegbbd1yn9UHOmRxY+si12nQYzri3vbzt8VdTTRviqcKxcyllFas5z2A==", - "engines": { - "node": ">=0.4.0" - } - } - }, "dependencies": { "@socket.io/component-emitter": { "version": "3.1.0", @@ -351,8 +127,7 @@ "ws": { "version": "8.2.3", "resolved": "https://registry.npmjs.org/ws/-/ws-8.2.3.tgz", - "integrity": "sha512-wBuoj1BDpC6ZQ1B7DWQBYVLphPWkm8i9Y0/3YdHjHKHiohOJ1ws+3OccDWtH+PoC9DZD5WOTrJvNbWvjS6JWaA==", - "requires": {} + "integrity": "sha512-wBuoj1BDpC6ZQ1B7DWQBYVLphPWkm8i9Y0/3YdHjHKHiohOJ1ws+3OccDWtH+PoC9DZD5WOTrJvNbWvjS6JWaA==" }, "xmlhttprequest-ssl": { "version": "2.0.0",