{"_id":"@bangbang93/nestjs-geetest","_rev":"4-da9d89b1fe2f3891d8d87e424a3bc2e4","name":"@bangbang93/nestjs-geetest","dist-tags":{"latest":"2.2.1"},"versions":{"1.1.12":{"name":"@bangbang93/nestjs-geetest","version":"1.1.12","description":"NestJs library for GeeTest integration.","main":"build/main/index.js","typings":"build/main/index.d.ts","module":"build/module/index.js","repository":{"type":"git","url":"git+https://github.com/bangbang93/nestjs-geetest.git"},"license":"MIT","keywords":[],"scripts":{"build":"run-p build:*","build:main":"tsc -p tsconfig.json","build:module":"tsc -p tsconfig.module.json","fix":"run-s fix:*","fix:prettier":"prettier \"src/**/*.ts\" --write","fix:lint":"eslint src --ext .ts --fix","test":"run-s build test:*","test:lint":"eslint src --ext .ts","test:prettier":"prettier \"src/**/*.ts\" --list-different","test:spelling":"cspell \"{README.md,.github/*.md,src/**/*.ts}\"","test:unit":"nyc --silent ava","check-cli":"run-s test diff-integration-tests check-integration-tests","check-integration-tests":"run-s check-integration-test:*","diff-integration-tests":"mkdir -p diff && rm -rf diff/test && cp -r test diff/test && rm -rf diff/test/test-*/.git && cd diff && git init --quiet && git add -A && git commit --quiet --no-verify --allow-empty -m 'WIP' && echo '\\n\\nCommitted most recent integration test output in the \"diff\" directory. Review the changes with \"cd diff && git diff HEAD\" or your preferred git diff viewer.'","watch:build":"tsc -p tsconfig.json -w","watch:test":"nyc --silent ava --watch","cov":"run-s build test:unit cov:html cov:lcov && open-cli coverage/index.html","cov:html":"nyc report --reporter=html","cov:lcov":"nyc report --reporter=lcov","cov:send":"run-s cov:lcov && codecov","cov:check":"nyc report && nyc check-coverage --lines 100 --functions 100 --branches 100","doc":"run-s doc:html && open-cli build/docs/index.html","doc:html":"typedoc src/ --exclude **/*.spec.ts --target ES6 --mode file --out build/docs","doc:json":"typedoc src/ --exclude **/*.spec.ts --target ES6 --mode file --json build/docs/typedoc.json","doc:publish":"gh-pages -m \"[ci skip] Updates\" -d build/docs","version":"standard-version","reset-hard":"git clean -dfx && git reset --hard && yarn","prepare-release":"run-s test cov:check doc:html version doc:publish","prepare":"husky install"},"engines":{"node":">=10"},"dependencies":{"@bitauth/libauth":"^1.17.1","axios":"^0.27.2","class-transformer":"^0.4.0","geetest":"^4.1.2","gt3-sdk":"^2.0.0","qs":"^6.10.1","reflect-metadata":"^0.1.13","rxjs":"^7.2.0"},"devDependencies":{"@ava/typescript":"^1.1.1","@commitlint/cli":"^13.1.0","@commitlint/config-conventional":"^13.1.0","@istanbuljs/nyc-config-typescript":"^1.0.1","@nestjs/testing":"^8.0.6","@types/geetest":"^4.1.1","@types/node":"^16.4.0","@types/qs":"^6.9.7","@typescript-eslint/eslint-plugin":"^4.0.1","@typescript-eslint/parser":"^4.0.1","@nestjs/axios":"^0.1.0","@nestjs/common":"^9.0.5","@nestjs/core":"^9.0.5","ava":"^3.12.1","codecov":"^3.5.0","cspell":"^4.1.0","cz-conventional-changelog":"^3.3.0","eslint":"^7.8.0","eslint-config-prettier":"^6.11.0","eslint-plugin-eslint-comments":"^3.2.0","eslint-plugin-functional":"^3.0.2","eslint-plugin-import":"^2.22.0","gh-pages":"^3.1.0","husky":"^7.0.0","npm-run-all":"^4.1.5","nyc":"^15.1.0","open-cli":"^6.0.1","prettier":"^2.1.1","standard-version":"^9.0.0","ts-node":"^9.0.0","typedoc":"^0.19.0","typescript":"^4.0.2"},"peerDependencies":{"@nestjs/axios":"^0.0.1 || ^0.1.0","@nestjs/common":"^8.0.4 || ^9.0.5","@nestjs/core":"^8.0.4 || ^9.0.5"},"ava":{"failFast":true,"timeout":"60s","typescript":{"rewritePaths":{"src/":"build/main/"}},"files":["!build/module/**"]},"config":{"commitizen":{"path":"cz-conventional-changelog"}},"prettier":{"singleQuote":true},"nyc":{"extends":"@istanbuljs/nyc-config-typescript","exclude":["**/*.spec.js"]},"gitHead":"d1dd35bb2cefbff6cd8a4418ec459f44f425b7a0","bugs":{"url":"https://github.com/bangbang93/nestjs-geetest/issues"},"homepage":"https://github.com/bangbang93/nestjs-geetest#readme","_id":"@bangbang93/nestjs-geetest@1.1.12","_nodeVersion":"19.3.0","_npmVersion":"9.2.0","dist":{"integrity":"sha512-nL9xxWwkz1U7dsZLulba9s1iTXHtHkn1HtUALBH88r5v7rmB1ZXG5mZQNulGtdKhopTg3IDEeMOyTr2o0Jslog==","shasum":"dbfca494bf296da61cba9251a30425b6b9546949","tarball":"https://registry.npmjs.org/@bangbang93/nestjs-geetest/-/nestjs-geetest-1.1.12.tgz","fileCount":4,"unpackedSize":11632,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFn24ZK2Fy3tHCGmW7dgawfWQObGmyKAIkGnF2SEq2d2AiA3j51kV2wTqYUuInXe1HNbXyK6kDCh4a8fuC82kIXIdg=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkL5B7ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmozbRAAoFLK8jdYnUnnZ16I4WmJHjmTmCJ45YgwTpHrmcrseOdH/Y+V\r\nUOxgQKIM65yXJV7XGvMb1eEk+3GRRpNVv5FyW30svxl9jc6W+o739G7eGa5b\r\nDBFP95pLO66h+wJi0E9Ni/XiSqnySkf2bfIUcIvHD9TKSsAhbVWLwANfcY37\r\nSfccwFXDQ8vpwHpeBruwWS2O/xE5jZxnxHdT3k+Jlt4m9iEEy7kJ4bzhKRpA\r\nXIux+ydcnJvcraZNwlxuoIInX2yZxcuVLoExn+3U1MrEkP6ypU7TOUgGLsbZ\r\nR4098AnbWSRTS2yJ8ANKM0mi5A6V4R6R5CMFtyvj9Z+4y+a/OzYYQNzeDxU0\r\n7VcXTgdIk5SBFHA5i7UpcGp9mrq11DzX1+QQKXC6FwoiI1/v5RxrjqVqnytZ\r\nPlLbrIJ/BhyrUBuOed41WoYrrYFm5pIyuF8PRadyoEB0ORACdccB1WarAs2k\r\n8gaoMY22aAEiV0ZmlSNuSga7pn76RxPInIzlRNz6yCJlI8DSsPEcP3sS06A8\r\nunQpnPMcG76BxxEeftX/d92WKb/FE0bkH1E1wl2PxN70KzLyteOyskKZ5Bti\r\nxwEXjSjDPv56CM/ERRP7cBOeXOlbvGoYoBTwhvrz/ZWnTqVdBHs8lQsY3GZh\r\n4EYEheUs8IPdlZMhJeBE5HU35fyyPHp/XOA=\r\n=qtbl\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"bangbang93","email":"bangbang93@163.com"},"directories":{},"maintainers":[{"name":"bangbang93","email":"bangbang93@163.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nestjs-geetest_1.1.12_1680838778894_0.7618232545819201"},"_hasShrinkwrap":false},"2.0.0":{"name":"@bangbang93/nestjs-geetest","version":"2.0.0","description":"NestJs library for GeeTest integration.","main":"build/main/index.js","typings":"build/main/index.d.ts","module":"build/module/index.js","repository":{"type":"git","url":"git+https://github.com/bangbang93/nestjs-geetest.git"},"license":"MIT","keywords":[],"scripts":{"build":"run-p build:*","build:main":"tsc -p tsconfig.json","build:module":"tsc -p tsconfig.module.json","fix":"run-s fix:*","fix:prettier":"prettier \"src/**/*.ts\" --write","fix:lint":"eslint src --ext .ts --fix","test":"run-s build test:*","test:lint":"eslint src --ext .ts","test:prettier":"prettier \"src/**/*.ts\" --list-different","test:spelling":"cspell \"{README.md,.github/*.md,src/**/*.ts}\"","test:unit":"nyc --silent ava","check-cli":"run-s test diff-integration-tests check-integration-tests","check-integration-tests":"run-s check-integration-test:*","diff-integration-tests":"mkdir -p diff && rm -rf diff/test && cp -r test diff/test && rm -rf diff/test/test-*/.git && cd diff && git init --quiet && git add -A && git commit --quiet --no-verify --allow-empty -m 'WIP' && echo '\\n\\nCommitted most recent integration test output in the \"diff\" directory. Review the changes with \"cd diff && git diff HEAD\" or your preferred git diff viewer.'","watch:build":"tsc -p tsconfig.json -w","watch:test":"nyc --silent ava --watch","cov":"run-s build test:unit cov:html cov:lcov && open-cli coverage/index.html","cov:html":"nyc report --reporter=html","cov:lcov":"nyc report --reporter=lcov","cov:send":"run-s cov:lcov && codecov","cov:check":"nyc report && nyc check-coverage --lines 100 --functions 100 --branches 100","doc":"run-s doc:html && open-cli build/docs/index.html","doc:html":"typedoc src/ --exclude **/*.spec.ts --target ES6 --mode file --out build/docs","doc:json":"typedoc src/ --exclude **/*.spec.ts --target ES6 --mode file --json build/docs/typedoc.json","doc:publish":"gh-pages -m \"[ci skip] Updates\" -d build/docs","version":"standard-version","reset-hard":"git clean -dfx && git reset --hard && yarn","prepare-release":"run-s test cov:check doc:html version doc:publish","prepare":"husky install","prepublishOnly":"npm run build"},"engines":{"node":">=10"},"dependencies":{"@bitauth/libauth":"^1.17.1","axios":"^0.27.2","class-transformer":"^0.4.0","geetest":"^4.1.2","gt3-sdk":"^2.0.0","qs":"^6.10.1","reflect-metadata":"^0.1.13","rxjs":"^7.2.0"},"devDependencies":{"@ava/typescript":"^1.1.1","@commitlint/cli":"^13.1.0","@commitlint/config-conventional":"^13.1.0","@istanbuljs/nyc-config-typescript":"^1.0.1","@nestjs/testing":"^8.0.6","@types/geetest":"^4.1.1","@types/node":"^16.4.0","@types/qs":"^6.9.7","@typescript-eslint/eslint-plugin":"^4.0.1","@typescript-eslint/parser":"^4.0.1","@nestjs/axios":"^0.1.0","@nestjs/common":"^9.0.5","@nestjs/core":"^9.0.5","ava":"^3.12.1","codecov":"^3.5.0","cspell":"^4.1.0","cz-conventional-changelog":"^3.3.0","eslint":"^7.8.0","eslint-config-prettier":"^6.11.0","eslint-plugin-eslint-comments":"^3.2.0","eslint-plugin-functional":"^3.0.2","eslint-plugin-import":"^2.22.0","gh-pages":"^3.1.0","husky":"^7.0.0","npm-run-all":"^4.1.5","nyc":"^15.1.0","open-cli":"^6.0.1","prettier":"^2.1.1","standard-version":"^9.0.0","ts-node":"^9.0.0","typedoc":"^0.19.0","typescript":"^4.0.2"},"peerDependencies":{"@nestjs/axios":"^0.0.1 || ^0.1.0","@nestjs/common":"^8.0.4 || ^9.0.5","@nestjs/core":"^8.0.4 || ^9.0.5"},"ava":{"failFast":true,"timeout":"60s","typescript":{"rewritePaths":{"src/":"build/main/"}},"files":["!build/module/**"]},"config":{"commitizen":{"path":"cz-conventional-changelog"}},"prettier":{"singleQuote":true},"nyc":{"extends":"@istanbuljs/nyc-config-typescript","exclude":["**/*.spec.js"]},"gitHead":"d1dd35bb2cefbff6cd8a4418ec459f44f425b7a0","bugs":{"url":"https://github.com/bangbang93/nestjs-geetest/issues"},"homepage":"https://github.com/bangbang93/nestjs-geetest#readme","_id":"@bangbang93/nestjs-geetest@2.0.0","_nodeVersion":"19.3.0","_npmVersion":"9.2.0","dist":{"integrity":"sha512-z/3V6NPJdLDcnZUwVFjrB2rqTo8KF37VG0MUPtFQr/n5eKo22N/3pwyyh4ehstzNNK2WsC0I4hGYnX3n1KwWuw==","shasum":"3de04ea563a5988b2e547763a1160e49cf19110b","tarball":"https://registry.npmjs.org/@bangbang93/nestjs-geetest/-/nestjs-geetest-2.0.0.tgz","fileCount":84,"unpackedSize":127316,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCEGl09ynZjt9Ce9oZEjVQf57xNZAwtSRid2zr1MUejZQIhAMlVRaG4Nou0nkStF65WL+Ibs2B4CZhtZwl0QpKxWZYV"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkL5EMACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrqpxAAg77ygA8affV77+PHVw6elwNBdjVK9iQELbkQuo3w9ojLstfB\r\nwDbuiMXIqYs75npjtQ1tKo4VLcSe/s1A8gDS56knZVZZK0MYmMvGroA3uMnQ\r\ndcxFoTnho0ITUUnesPWhOpqNesAAJd050eA0dmLU2No+IEVkbPjg3SeB3fDx\r\nSSiX/3XqBJCwSFuGzv6PkazpSRQeXAa0eiqlqWH+Wk36GhD5rjLJHFQGAZi5\r\nUtTabJLZEpbNvkXV9K87+E/JpLn/aCEskbe6Rn/0hjVEdbKFKHLekcd4LoAD\r\ntGj5qIQx34KQ4iUFvHQ9k3a6L84c6Y8/52fNXYgM8k/j6+KPZZ0Jk6PDoAyV\r\nmCtsqRV3hZK6dVzkUhv/7oN7BG3BT3B1PpV36dSYMXdKh6nkzF+2IpG4uvJC\r\nO9xl2k0JhaHEKNAEan4waSIIxdwxvzbFOPzQBOMJd4iAYG8bpjmmBiDDaRrv\r\nHDCQ1x42662A7a3xTpQj0Bbj3XeEUrog2P9g1Er/8342K6ZIP+s2GB92oL5n\r\nJy3xEyvbPeQnKlo0frXHLIgd13syg3wCkIBGSISOYkub0PrBIYHJ8sgTiMIG\r\n7lxIe7KsxIEqtrKvJr1BMMs5maNitxCW9K7Ej9iXybR1Vn6WSj3sXCVx1DO+\r\nqJ5AEhffbBdulXQ0lbH/WLn+SCokgps1HO4=\r\n=Usux\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"bangbang93","email":"bangbang93@163.com"},"directories":{},"maintainers":[{"name":"bangbang93","email":"bangbang93@163.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nestjs-geetest_2.0.0_1680838924684_0.5349985662128558"},"_hasShrinkwrap":false},"2.0.2":{"name":"@bangbang93/nestjs-geetest","version":"2.0.2","description":"NestJs library for GeeTest integration.","main":"build/main/index.js","typings":"build/main/index.d.ts","module":"build/module/index.js","repository":{"type":"git","url":"git+https://github.com/bangbang93/nestjs-geetest.git"},"license":"MIT","keywords":[],"scripts":{"build":"run-p build:*","build:main":"tsc -p tsconfig.json","build:module":"tsc -p tsconfig.module.json","fix":"run-s fix:*","fix:prettier":"prettier \"src/**/*.ts\" --write","fix:lint":"eslint src --ext .ts --fix","test":"run-s build test:*","test:lint":"eslint src --ext .ts","test:prettier":"prettier \"src/**/*.ts\" --list-different","test:spelling":"cspell \"{README.md,.github/*.md,src/**/*.ts}\"","test:unit":"nyc --silent ava","check-cli":"run-s test diff-integration-tests check-integration-tests","check-integration-tests":"run-s check-integration-test:*","diff-integration-tests":"mkdir -p diff && rm -rf diff/test && cp -r test diff/test && rm -rf diff/test/test-*/.git && cd diff && git init --quiet && git add -A && git commit --quiet --no-verify --allow-empty -m 'WIP' && echo '\\n\\nCommitted most recent integration test output in the \"diff\" directory. Review the changes with \"cd diff && git diff HEAD\" or your preferred git diff viewer.'","watch:build":"tsc -p tsconfig.json -w","watch:test":"nyc --silent ava --watch","cov":"run-s build test:unit cov:html cov:lcov && open-cli coverage/index.html","cov:html":"nyc report --reporter=html","cov:lcov":"nyc report --reporter=lcov","cov:send":"run-s cov:lcov && codecov","cov:check":"nyc report && nyc check-coverage --lines 100 --functions 100 --branches 100","doc":"run-s doc:html && open-cli build/docs/index.html","doc:html":"typedoc src/ --exclude **/*.spec.ts --target ES6 --mode file --out build/docs","doc:json":"typedoc src/ --exclude **/*.spec.ts --target ES6 --mode file --json build/docs/typedoc.json","doc:publish":"gh-pages -m \"[ci skip] Updates\" -d build/docs","version":"standard-version","reset-hard":"git clean -dfx && git reset --hard && yarn","prepare-release":"run-s test cov:check doc:html version doc:publish","prepare":"husky install","prepublishOnly":"npm run build"},"engines":{"node":">=10"},"dependencies":{"@bitauth/libauth":"^1.17.1","@nestjs/axios":"^2.0.0","axios":"^1.3.5","class-transformer":"^0.4.0","geetest":"^4.1.2","gt3-sdk":"^2.0.0","qs":"^6.10.1","reflect-metadata":"^0.1.13","rxjs":"^7.2.0"},"devDependencies":{"@ava/typescript":"^1.1.1","@commitlint/cli":"^13.1.0","@commitlint/config-conventional":"^13.1.0","@istanbuljs/nyc-config-typescript":"^1.0.1","@nestjs/common":"^9.0.5","@nestjs/core":"^9.0.5","@nestjs/testing":"^9.0.6","@types/geetest":"^4.1.1","@types/node":"^16.4.0","@types/qs":"^6.9.7","@typescript-eslint/eslint-plugin":"^4.0.1","@typescript-eslint/parser":"^4.0.1","ava":"^3.12.1","codecov":"^3.5.0","cspell":"^4.1.0","cz-conventional-changelog":"^3.3.0","eslint":"^7.8.0","eslint-config-prettier":"^6.11.0","eslint-plugin-eslint-comments":"^3.2.0","eslint-plugin-functional":"^3.0.2","eslint-plugin-import":"^2.22.0","gh-pages":"^3.1.0","husky":"^7.0.0","npm-run-all":"^4.1.5","nyc":"^15.1.0","open-cli":"^6.0.1","prettier":"^2.1.1","standard-version":"^9.0.0","ts-node":"^9.0.0","typedoc":"^0.19.0","typescript":"^4.0.2"},"peerDependencies":{"@nestjs/common":"^8.0.4 || ^9.0.5","@nestjs/core":"^8.0.4 || ^9.0.5"},"ava":{"failFast":true,"timeout":"60s","typescript":{"rewritePaths":{"src/":"build/main/"}},"files":["!build/module/**"]},"config":{"commitizen":{"path":"cz-conventional-changelog"}},"prettier":{"singleQuote":true},"nyc":{"extends":"@istanbuljs/nyc-config-typescript","exclude":["**/*.spec.js"]},"gitHead":"65cf9cc969ac5df785e383c120684155cb31db8d","bugs":{"url":"https://github.com/bangbang93/nestjs-geetest/issues"},"homepage":"https://github.com/bangbang93/nestjs-geetest#readme","_id":"@bangbang93/nestjs-geetest@2.0.2","_nodeVersion":"19.3.0","_npmVersion":"9.2.0","dist":{"integrity":"sha512-5lIySlmFdOLpIHP/in1BrgV8cP290+PzzkhJwbL1GOoy0RGfTl0diW2lCFD0xsmQzn14b825O8PaAi+Iy6HFkg==","shasum":"c747318207141fe76acc249f59d7edbd76b98041","tarball":"https://registry.npmjs.org/@bangbang93/nestjs-geetest/-/nestjs-geetest-2.0.2.tgz","fileCount":84,"unpackedSize":127510,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDXzKcibPr271zaWZjYF3mIPraMq1AbkKyYQClM2uhCbAiEAuoF6xaXgMTAzULWA3D4+YorFgwy6xHdXGyq0WSRI+CY="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkM5w1ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrJAQ//RHiIb6BM/IeYwAmRbeQVltSjzqKIIozegUTAXxnsrA0HAu8Z\r\nNj3U2xF/UwtqrecyugtMPJtqTPZ94axgUnfOxbUrOT2pGtYjfzkJMZ/tI9W1\r\n69cfNpxcqtUJ/GvAC9XCENjdl0FRj3xbd5x0opx7qfEmMiwX06C+Xh+x0AsM\r\nNmEiaTjhi6H4ES2LxZt/Z2ElQKmdZKZXH2NhYm8qhHI0DJFW4A+9RU7DCaed\r\nfqAZpGTgF2YngKbxo2s/n3ac/2+fq3QZKxiD+Z6FSHXcGSE3Gq2Oe9Txz1qg\r\ne6Ap6jmoROedPmEluLRwzMpc6/Zz7scAc+LLO+fXFTUfB4mqpmQxM+GVBsUZ\r\npLSIzdWL0/vzAqCRd4XSysPYls+y/mWiPdke0QCrf22hB7ycJrkoNVIkjqNH\r\nIUAdOksEDneBQFOTLl2kOtvObdA7hDjW1RJOCotA2j74PSbJ+6JD6Tfwe64R\r\n8FFfeHD+bbDxYHGdTm4YdEHa6pE0QNOFj6A8/KjbggnbwZZZCmP9uylu4t2f\r\nH004X/IYaAIyXJMgCesqcsrJ6Pbr2DW0UrnWdp9DRb2WYOe+GwCd+d4HLdTk\r\nf7X77rXRaXlCS5/i5pvNyBbvZbF18twj+FuN+zFY5rFLYNs82cdNRCwV2NnF\r\nFMh/5vzQyItp1IMWIICfzkk6ruvRufKMng0=\r\n=YNMS\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"bangbang93","email":"bangbang93@163.com"},"directories":{},"maintainers":[{"name":"bangbang93","email":"bangbang93@163.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nestjs-geetest_2.0.2_1681103924768_0.03526366584633012"},"_hasShrinkwrap":false},"2.0.4":{"name":"@bangbang93/nestjs-geetest","version":"2.0.4","description":"NestJs library for GeeTest integration.","main":"build/main/index.js","typings":"build/main/index.d.ts","module":"build/module/index.js","repository":{"type":"git","url":"git+https://github.com/bangbang93/nestjs-geetest.git"},"license":"MIT","keywords":[],"scripts":{"build":"run-p build:*","build:main":"tsc -p tsconfig.json","build:module":"tsc -p tsconfig.module.json","fix":"run-s fix:*","fix:prettier":"prettier \"src/**/*.ts\" --write","fix:lint":"eslint src --ext .ts --fix","test":"run-s build test:*","test:lint":"eslint src --ext .ts","test:prettier":"prettier \"src/**/*.ts\" --list-different","test:spelling":"cspell \"{README.md,.github/*.md,src/**/*.ts}\"","test:unit":"nyc --silent ava","check-cli":"run-s test diff-integration-tests check-integration-tests","check-integration-tests":"run-s check-integration-test:*","diff-integration-tests":"mkdir -p diff && rm -rf diff/test && cp -r test diff/test && rm -rf diff/test/test-*/.git && cd diff && git init --quiet && git add -A && git commit --quiet --no-verify --allow-empty -m 'WIP' && echo '\\n\\nCommitted most recent integration test output in the \"diff\" directory. Review the changes with \"cd diff && git diff HEAD\" or your preferred git diff viewer.'","watch:build":"tsc -p tsconfig.json -w","watch:test":"nyc --silent ava --watch","cov":"run-s build test:unit cov:html cov:lcov && open-cli coverage/index.html","cov:html":"nyc report --reporter=html","cov:lcov":"nyc report --reporter=lcov","cov:send":"run-s cov:lcov && codecov","cov:check":"nyc report && nyc check-coverage --lines 100 --functions 100 --branches 100","doc":"run-s doc:html && open-cli build/docs/index.html","doc:html":"typedoc src/ --exclude **/*.spec.ts --target ES6 --mode file --out build/docs","doc:json":"typedoc src/ --exclude **/*.spec.ts --target ES6 --mode file --json build/docs/typedoc.json","doc:publish":"gh-pages -m \"[ci skip] Updates\" -d build/docs","version":"standard-version","reset-hard":"git clean -dfx && git reset --hard && yarn","prepare-release":"run-s test cov:check doc:html version doc:publish","prepare":"husky install","prepublishOnly":"npm run build"},"engines":{"node":">=10"},"dependencies":{"@bitauth/libauth":"^1.17.1","@nestjs/axios":"^2.0.0","axios":"^1.3.5","class-transformer":"^0.4.0","geetest":"^4.1.2","gt3-sdk":"^2.0.0","qs":"^6.10.1","reflect-metadata":"^0.1.13","rxjs":"^7.2.0"},"devDependencies":{"@ava/typescript":"^1.1.1","@commitlint/cli":"^13.1.0","@commitlint/config-conventional":"^13.1.0","@istanbuljs/nyc-config-typescript":"^1.0.1","@nestjs/common":"^9.0.5","@nestjs/core":"^9.0.5","@nestjs/testing":"^9.0.6","@types/geetest":"^4.1.1","@types/node":"^16.4.0","@types/qs":"^6.9.7","@typescript-eslint/eslint-plugin":"^4.0.1","@typescript-eslint/parser":"^4.0.1","ava":"^3.12.1","codecov":"^3.5.0","cspell":"^4.1.0","cz-conventional-changelog":"^3.3.0","eslint":"^7.8.0","eslint-config-prettier":"^6.11.0","eslint-plugin-eslint-comments":"^3.2.0","eslint-plugin-functional":"^3.0.2","eslint-plugin-import":"^2.22.0","gh-pages":"^3.1.0","husky":"^7.0.0","npm-run-all":"^4.1.5","nyc":"^15.1.0","open-cli":"^6.0.1","prettier":"^2.1.1","standard-version":"^9.0.0","ts-node":"^9.0.0","typedoc":"^0.19.0","typescript":"^4.0.2"},"peerDependencies":{"@nestjs/common":">=8.0.4 < 11.0.0","@nestjs/core":">=8.0.4 < 11.0.0"},"ava":{"failFast":true,"timeout":"60s","typescript":{"rewritePaths":{"src/":"build/main/"}},"files":["!build/module/**"]},"config":{"commitizen":{"path":"cz-conventional-changelog"}},"prettier":{"singleQuote":true},"nyc":{"extends":"@istanbuljs/nyc-config-typescript","exclude":["**/*.spec.js"]},"gitHead":"63cf6c925d51481c5c2de1d1ef28259a986121de","bugs":{"url":"https://github.com/bangbang93/nestjs-geetest/issues"},"homepage":"https://github.com/bangbang93/nestjs-geetest#readme","_id":"@bangbang93/nestjs-geetest@2.0.4","_nodeVersion":"20.4.0","_npmVersion":"9.7.2","dist":{"integrity":"sha512-v4VSqDEqCSd1mimbAQ8PJ/+MyxlDzDD7vp/iVKCVI0tZneeZnd0avDbJTUq0UP6lhnLqyOBPjaVbjG0yoGFgXw==","shasum":"bfd63ea1324af0f9babda685979741fd76520aa3","tarball":"https://registry.npmjs.org/@bangbang93/nestjs-geetest/-/nestjs-geetest-2.0.4.tgz","fileCount":84,"unpackedSize":127606,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHYT4QI9Uf6OTo849tqZtcFl4ZGm/o0UksFLPsTF9WfcAiEA+zxLv/9cy++4csB+bOB4bwKDlKCrJASrV1ioP+SSYh4="}]},"_npmUser":{"name":"bangbang93","email":"bangbang93@163.com"},"directories":{},"maintainers":[{"name":"bangbang93","email":"bangbang93@163.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nestjs-geetest_2.0.4_1691391091810_0.20475934523005423"},"_hasShrinkwrap":false},"2.2.1":{"name":"@bangbang93/nestjs-geetest","version":"2.2.1","description":"NestJs library for GeeTest integration.","main":"build/main/index.js","typings":"build/main/index.d.ts","module":"build/module/index.js","repository":{"type":"git","url":"git+https://github.com/bangbang93/nestjs-geetest.git"},"license":"MIT","keywords":[],"scripts":{"build":"run-p build:*","build:main":"tsc -p tsconfig.json","build:module":"tsc -p tsconfig.module.json","fix":"run-s fix:*","fix:prettier":"prettier \"src/**/*.ts\" --write","fix:lint":"eslint src --ext .ts --fix","test":"run-s build test:*","test:lint":"eslint src --ext .ts","test:prettier":"prettier \"src/**/*.ts\" --list-different","test:spelling":"cspell \"{README.md,.github/*.md,src/**/*.ts}\"","test:unit":"nyc --silent ava","check-cli":"run-s test diff-integration-tests check-integration-tests","check-integration-tests":"run-s check-integration-test:*","diff-integration-tests":"mkdir -p diff && rm -rf diff/test && cp -r test diff/test && rm -rf diff/test/test-*/.git && cd diff && git init --quiet && git add -A && git commit --quiet --no-verify --allow-empty -m 'WIP' && echo '\\n\\nCommitted most recent integration test output in the \"diff\" directory. Review the changes with \"cd diff && git diff HEAD\" or your preferred git diff viewer.'","watch:build":"tsc -p tsconfig.json -w","watch:test":"nyc --silent ava --watch","cov":"run-s build test:unit cov:html cov:lcov && open-cli coverage/index.html","cov:html":"nyc report --reporter=html","cov:lcov":"nyc report --reporter=lcov","cov:send":"run-s cov:lcov && codecov","cov:check":"nyc report && nyc check-coverage --lines 100 --functions 100 --branches 100","doc":"run-s doc:html && open-cli build/docs/index.html","doc:html":"typedoc src/ --exclude **/*.spec.ts --target ES6 --mode file --out build/docs","doc:json":"typedoc src/ --exclude **/*.spec.ts --target ES6 --mode file --json build/docs/typedoc.json","doc:publish":"gh-pages -m \"[ci skip] Updates\" -d build/docs","version":"standard-version","reset-hard":"git clean -dfx && git reset --hard && yarn","prepare-release":"run-s test cov:check doc:html version doc:publish","prepare":"husky install","prepublishOnly":"npm run build"},"engines":{"node":">=10"},"dependencies":{"@bitauth/libauth":"^1.19.1","@nestjs/axios":"^3.0.0","axios":"^1.4.0","class-transformer":"^0.5.1","geetest":"^4.1.2","gt3-sdk":"^2.0.0","qs":"^6.11.2","reflect-metadata":"^0.1.13","rxjs":"^7.8.1"},"devDependencies":{"@ava/typescript":"^4.1.0","@commitlint/cli":"^17.6.7","@commitlint/config-conventional":"^17.6.7","@istanbuljs/nyc-config-typescript":"^1.0.2","@nestjs/common":"^10.1.3","@nestjs/core":"^10.1.3","@nestjs/testing":"^10.1.3","@types/geetest":"^4.1.1","@types/node":"^20.4.8","@types/qs":"^6.9.7","@typescript-eslint/eslint-plugin":"^6.2.1","@typescript-eslint/parser":"^6.2.1","ava":"^5.3.1","codecov":"^3.8.2","cspell":"^6.31.2","cz-conventional-changelog":"^3.3.0","eslint":"^8.46.0","eslint-config-prettier":"^9.0.0","eslint-plugin-eslint-comments":"^3.2.0","eslint-plugin-functional":"^6.0.0","eslint-plugin-import":"^2.28.0","gh-pages":"^5.0.0","husky":"^8.0.3","npm-run-all":"^4.1.5","nyc":"^15.1.0","open-cli":"^7.2.0","prettier":"^3.0.1","standard-version":"^9.5.0","ts-node":"^10.9.1","typedoc":"^0.24.8","typescript":"5.1"},"peerDependencies":{"@nestjs/common":">=8.0.4 < 11.0.0","@nestjs/core":">=8.0.4 < 11.0.0"},"ava":{"failFast":true,"timeout":"60s","typescript":{"rewritePaths":{"src/":"build/main/"},"compile":false},"files":["!build/module/**"]},"config":{"commitizen":{"path":"cz-conventional-changelog"}},"prettier":{"singleQuote":true},"nyc":{"extends":"@istanbuljs/nyc-config-typescript","exclude":["**/*.spec.js"]},"gitHead":"d13a4d58cc0c55ada20b307dd2df5558a76d1f23","bugs":{"url":"https://github.com/bangbang93/nestjs-geetest/issues"},"homepage":"https://github.com/bangbang93/nestjs-geetest#readme","_id":"@bangbang93/nestjs-geetest@2.2.1","_nodeVersion":"20.4.0","_npmVersion":"9.7.2","dist":{"integrity":"sha512-TejAqk7dE6fOhERAsHrI9NZGIFIqY4X1qX7C5k88yIDfP5ux8pPAAl6ZrG0IUPng94bU6uCTdzwq00cXqIEcKw==","shasum":"a8257c90f21d77501b6ac91cb23b21a6a8b548a9","tarball":"https://registry.npmjs.org/@bangbang93/nestjs-geetest/-/nestjs-geetest-2.2.1.tgz","fileCount":84,"unpackedSize":128475,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCID+zewhCioi3wFmMABEwr6Kh7qen2iGq6oZtUaIDICGEAiBZZCNSEcY+G4gVgZPFfGNHfLOsq5uMrVk168LFHtk+VQ=="}]},"_npmUser":{"name":"bangbang93","email":"bangbang93@163.com"},"directories":{},"maintainers":[{"name":"bangbang93","email":"bangbang93@163.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nestjs-geetest_2.2.1_1691393199538_0.4205083805750669"},"_hasShrinkwrap":false}},"time":{"created":"2023-04-07T03:39:38.838Z","1.1.12":"2023-04-07T03:39:39.068Z","modified":"2023-08-07T07:26:39.819Z","2.0.0":"2023-04-07T03:42:04.871Z","2.0.2":"2023-04-10T05:18:45.068Z","2.0.4":"2023-08-07T06:51:31.958Z","2.2.1":"2023-08-07T07:26:39.724Z"},"maintainers":[{"name":"bangbang93","email":"bangbang93@163.com"}],"description":"NestJs library for GeeTest integration.","homepage":"https://github.com/bangbang93/nestjs-geetest#readme","keywords":[],"repository":{"type":"git","url":"git+https://github.com/bangbang93/nestjs-geetest.git"},"bugs":{"url":"https://github.com/bangbang93/nestjs-geetest/issues"},"license":"MIT","readme":"# nestjs-geetest\nNestJs library for [Geetest](https://docs.geetest.com/captcha/overview/start/) integration.\n# Installation\nTo install just run\n```shell\nyarn add nestjs-geetest\n```\nor if you are using `npm`\n```shell\nnpm install --save nestjs-geetest\n```\n# Usage\nImport `GeetestModule` in your module and pass [configuration options](#Installation).\n```typescript\n// captcha.module.ts\nimport { GeetestModule } from 'nestjs-geetest';\n\n@Module({\n  imports: [\n    GeetestModule.forRoot({\n      geetestId: 'GEETEST_ID',\n      geetestKey: 'GEETEST_KEY',\n    }),\n  ],\n  controllers: [CaptchaController],\n})\nexport class CaptchaModule {}\n```\nOr asynchronous usage:\n```typescript\n// captcha.module.ts\nimport { GeetestModule } from 'nestjs-geetest';\n\n\n@Module({\n  imports: [\n    GeetestModule.forRootAsync({\n      imports: [ConfigModule],\n      inject: [ConfigService],\n      useFactory: (configService: ConfigService) => ({\n        geetestId: configService.get<string>('GEETEST_ID', ''),\n        geetestKey: configService.get<string>('GEETEST_KEY', ''),\n      }),\n    }),\n  ],\n  controllers: [CaptchaController],\n})\nexport class CaptchaModule {}\n```\nThen use `register` method from `GeetestService` and `GeetestVerifyGuard`  in controller\n\n```typescript\n// captcha.controller.ts\n\nimport { Post } from '@nestjs/common';\n\n@Controller('captcha')\nexport class CaptchaController {\n  constructor(private readonly geetestService: GeetestService) {\n  }\n\n  @Post('/register')\n  register() {\n    return this.geetestService.register();\n  }\n  \n  @Post('/verify')\n  @UseGuards(GeetestVerifyGuard)\n\n  verify() {\n    // do something\n  }\n}\n```\n","readmeFilename":"README.md"}