{ "_args": [ [ "socket.io-client@4.5.1", "/home/sigonasr2/SnakeBot" ] ], "_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": [ "/" ], "_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 }, "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", "@babel/preset-env": "^7.15.0", "@rollup/plugin-alias": "^3.1.5", "@rollup/plugin-babel": "^5.3.0", "@rollup/plugin-commonjs": "^21.0.0", "@rollup/plugin-node-resolve": "^13.0.5", "@sinonjs/fake-timers": "^7.1.2", "@types/mocha": "^9.0.0", "@types/node": "^16.7.6", "@types/sinonjs__fake-timers": "^6.0.3", "babel-eslint": "^10.1.0", "babel-loader": "^8.1.0", "babel-preset-es2015": "6.24.1", "base64-arraybuffer": "^0.1.5", "expect.js": "0.3.1", "has-cors": "^1.1.0", "istanbul": "^0.4.5", "mocha": "^3.3.0", "prettier": "^2.3.2", "rimraf": "^3.0.2", "rollup": "^2.58.0", "rollup-plugin-terser": "^7.0.2", "socket.io": "3.0.0", "socket.io-browsers": "^1.0.0", "socket.io-msgpack-parser": "^3.0.0", "text-blob-builder": "0.0.1", "ts-loader": "^8.3.0", "ts-node": "^10.2.1", "tsd": "^0.17.0", "typescript": "^4.4.2", "webpack": "^4.44.2", "webpack-cli": "^3.3.12", "webpack-remove-debug": "^0.1.0", "zuul": "~3.11.1", "zuul-builder-webpack": "^1.2.0", "zuul-ngrok": "4.0.0" }, "engines": { "node": ">=10.0.0" }, "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": "git+https://github.com/socketio/socket.io-client.git" }, "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" }, "type": "commonjs", "types": "./build/esm/index.d.ts", "version": "4.5.1" }