{"_id":"mock-typeorm","_rev":"5-6dd0a0961022b95690bf4462cbc7cc6a","name":"mock-typeorm","dist-tags":{"latest":"1.0.4"},"versions":{"1.0.0":{"name":"mock-typeorm","version":"1.0.0","keywords":["typeorm","mocking","mock typeorm","mock-typeorm","typescript","nodejs"],"author":{"name":"Jazim Abbas"},"license":"MIT","_id":"mock-typeorm@1.0.0","homepage":"https://mock-typeorm-docs.vercel.app","bugs":{"url":"https://github.com/jazimabbas/mock-typeorm/issues"},"dist":{"shasum":"5ec4b35b792b52bfd2092c5bcb63fe8aca1454b9","tarball":"https://registry.npmjs.org/mock-typeorm/-/mock-typeorm-1.0.0.tgz","fileCount":18,"integrity":"sha512-+MtFX5uf082pgpjbl0nmXQG2nNIyt2wupnEg7rqrzg7N1xi5qWAKrCvi/VMKiuNZ5ujI4W5UjVqXXwwgDA3teA==","signatures":[{"sig":"MEUCIA+jkw9pRCTM/84rkosbG7GwxMhjaY8WCIznaGPgyXnkAiEAlm0G50LhZAbfGfsPCbyQCmOkMXG6axflMi7Ua61rzhA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":37442},"main":"./dist/cjs/index.js","types":"./dist/types/index.d.ts","module":"./dist/esm/index.js","exports":{".":{"import":"./dist/esm/index.js","require":"./dist/cjs/index.js"}},"gitHead":"3db1f12f167e1d5827f9eafa140751ef6f19a6d8","scripts":{"lint":"eslint 'src/**/*.{js,ts}'","test":"vitest","build":"rimraf ./dist && npm run build:types && rollup -c","test:ui":"vitest --ui","build:types":"tsc -p tsconfig.package.json --emitDeclarationOnly","test:coverage":"vitest run --coverage.enabled=true","prepublishOnly":"npm run build"},"_npmUser":{"name":"jazim","email":"jazimabbas87@gmail.com"},"repository":{"url":"git+https://github.com/jazimabbas/mock-typeorm.git"},"_npmVersion":"10.2.3","description":"Never hit the database again while testing","directories":{},"_nodeVersion":"18.19.0","_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.51.0","mysql2":"^3.10.1","rimraf":"^5.0.7","rollup":"^4.18.0","vitest":"^1.6.0","prettier":"^3.3.2","@vitest/ui":"^1.6.0","typescript":"^5.4.5","@types/node":"^20.14.2","@types/sinon":"^17.0.3","rollup-plugin-swc":"^0.2.1","eslint-config-prettier":"^9.1.0","eslint-plugin-prettier":"^5.1.3","@rollup/plugin-typescript":"^11.1.6","@typescript-eslint/parser":"^7.13.1","@vitest/coverage-istanbul":"^1.6.0","@typescript-eslint/eslint-plugin":"^7.13.1"},"peerDependencies":{"sinon":">=18.x","typeorm":">=0.1.x"},"_npmOperationalInternal":{"tmp":"tmp/mock-typeorm_1.0.0_1719326639401_0.32009581433354595","host":"s3://npm-registry-packages"}},"1.0.1":{"name":"mock-typeorm","version":"1.0.1","keywords":["typeorm","mocking","mock typeorm","mock-typeorm","typescript","nodejs"],"author":{"name":"Jazim Abbas"},"license":"MIT","_id":"mock-typeorm@1.0.1","maintainers":[{"name":"jazim","email":"jazimabbas87@gmail.com"}],"homepage":"https://mock-typeorm-docs.vercel.app","bugs":{"url":"https://github.com/jazimabbas/mock-typeorm/issues"},"dist":{"shasum":"b64d8462f391c37282c1924361fd10e13c1b0c5a","tarball":"https://registry.npmjs.org/mock-typeorm/-/mock-typeorm-1.0.1.tgz","fileCount":18,"integrity":"sha512-06ol5Lhvfpz4vaoYgak2oIR1TgJAId01AmDH+Y5ysKdGweDQzPA+LmUOgFzERKlJqxmiSIjywKP25hQpOzoGgA==","signatures":[{"sig":"MEQCIEGvY9HVOFnfpikxQ9DzZBQyqSaEOEmTzWZyLAN4ux4NAiAaKk791gmDXouG5WOVXoU2MWBclEPx9pBJCEFkb4fyaQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":37418},"main":"./dist/cjs/index.js","types":"./dist/types/index.d.ts","module":"./dist/esm/index.js","exports":{".":{"import":"./dist/esm/index.js","require":"./dist/cjs/index.js"}},"gitHead":"24860f8cb45397a5db5a894e6e4ee324dcdf173b","scripts":{"lint":"eslint 'src/**/*.{js,ts}'","test":"vitest","build":"rimraf ./dist && npm run build:types && rollup -c","test:ui":"vitest --ui","build:types":"tsc -p tsconfig.package.json --emitDeclarationOnly","test:coverage":"vitest run --coverage.enabled=true","prepublishOnly":"npm run build"},"_npmUser":{"name":"jazim","email":"jazimabbas87@gmail.com"},"repository":{"url":"git+https://github.com/jazimabbas/mock-typeorm.git"},"_npmVersion":"10.7.0","description":"Never hit the database again while testing","directories":{},"_nodeVersion":"18.20.4","_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.51.0","mysql2":"^3.10.1","rimraf":"^5.0.7","rollup":"^4.18.0","vitest":"^1.6.0","prettier":"^3.3.2","@vitest/ui":"^1.6.0","typescript":"^5.4.5","@types/node":"^20.14.2","@types/sinon":"^17.0.3","rollup-plugin-swc":"^0.2.1","eslint-config-prettier":"^9.1.0","eslint-plugin-prettier":"^5.1.3","@rollup/plugin-typescript":"^11.1.6","@typescript-eslint/parser":"^7.13.1","@vitest/coverage-istanbul":"^1.6.0","@typescript-eslint/eslint-plugin":"^7.13.1"},"peerDependencies":{"sinon":">=18.x","typeorm":">=0.1.x"},"_npmOperationalInternal":{"tmp":"tmp/mock-typeorm_1.0.1_1723878944084_0.9128781520363844","host":"s3://npm-registry-packages"}},"1.0.2":{"name":"mock-typeorm","version":"1.0.2","keywords":["typeorm","mocking","mock typeorm","mock-typeorm","typescript","nodejs"],"author":{"name":"Jazim Abbas"},"license":"MIT","_id":"mock-typeorm@1.0.2","maintainers":[{"name":"jazim","email":"jazimabbas87@gmail.com"}],"homepage":"https://mock-typeorm-docs.vercel.app","bugs":{"url":"https://github.com/jazimabbas/mock-typeorm/issues"},"dist":{"shasum":"df2a029b14bbb683cf7e5f6934519c292fd1699e","tarball":"https://registry.npmjs.org/mock-typeorm/-/mock-typeorm-1.0.2.tgz","fileCount":18,"integrity":"sha512-ibRs/2v/PDbsRY1LNg+HbmKx9red4cNQ8yCh4WngiA1p6PH5OiFQ+e/t9KW6pTvvUb9IaqZniIUl1on80S9j+A==","signatures":[{"sig":"MEUCIQC1F7/StHDcF+sPLN3YUegI2ZVPCKwo14w5oE2p0F6rYwIgcQbFer0L1oX0j6OJqq1+CNBy5hNY5zzn6KPkfX1fnqc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":37446},"main":"./dist/cjs/index.js","types":"./dist/types/index.d.ts","module":"./dist/esm/index.js","exports":{".":{"import":"./dist/esm/index.js","require":"./dist/cjs/index.js"}},"gitHead":"e2ffba9e94fb2400234ca022a3f116bc52012549","scripts":{"lint":"eslint 'src/**/*.{js,ts}'","test":"vitest","build":"rimraf ./dist && npm run build:types && rollup -c","test:ui":"vitest --ui","build:types":"tsc -p tsconfig.package.json --emitDeclarationOnly","test:coverage":"vitest run --coverage.enabled=true","prepublishOnly":"npm run build"},"_npmUser":{"name":"jazim","email":"jazimabbas87@gmail.com"},"repository":{"url":"git+https://github.com/jazimabbas/mock-typeorm.git"},"_npmVersion":"10.8.2","description":"Never hit the database again while testing","directories":{},"_nodeVersion":"18.20.5","_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.51.0","mysql2":"^3.10.1","rimraf":"^5.0.7","rollup":"^4.18.0","vitest":"^1.6.0","prettier":"^3.3.2","@vitest/ui":"^1.6.0","typescript":"^5.4.5","@types/node":"^20.14.2","@types/sinon":"^17.0.3","rollup-plugin-swc":"^0.2.1","eslint-config-prettier":"^9.1.0","eslint-plugin-prettier":"^5.1.3","@rollup/plugin-typescript":"^11.1.6","@typescript-eslint/parser":"^7.13.1","@vitest/coverage-istanbul":"^1.6.0","@typescript-eslint/eslint-plugin":"^7.13.1"},"peerDependencies":{"sinon":">=18.x","typeorm":">=0.1.x"},"_npmOperationalInternal":{"tmp":"tmp/mock-typeorm_1.0.2_1733984543471_0.23223678973500195","host":"s3://npm-registry-packages-npm-production"}},"1.0.3":{"name":"mock-typeorm","version":"1.0.3","keywords":["typeorm","mocking","mock typeorm","mock-typeorm","typescript","nodejs"],"author":{"name":"Jazim Abbas"},"license":"MIT","_id":"mock-typeorm@1.0.3","maintainers":[{"name":"jazim","email":"jazimabbas87@gmail.com"}],"homepage":"https://mock-typeorm-docs.vercel.app","bugs":{"url":"https://github.com/jazimabbas/mock-typeorm/issues"},"dist":{"shasum":"ab7c8535100120a031fd83ff6d3dd33891a864e6","tarball":"https://registry.npmjs.org/mock-typeorm/-/mock-typeorm-1.0.3.tgz","fileCount":9,"integrity":"sha512-NcxSEVd+3TCsBJf6laBgo6oc5ZRR8+3GOSYPmrNJxCAEKt7H8xDiQGBq5weVKI5wn6HKZtdzuZ0kaZYs29Ymvw==","signatures":[{"sig":"MEUCIQCN8W1fpdkGETR9fkCeNK+XMXt10GqlXrdU0lB3TQk7UgIgZqQGmYifVfCrMBv1VGjzRnk+zXfT85dAHya1fgwSgRo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":42152},"main":"./dist/cjs/index.js","types":"./dist/index.d.ts","module":"./dist/esm/index.js","engines":{"node":">=18.x"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/esm/index.js","require":"./dist/cjs/index.js"}},"gitHead":"71300e76728c5306bb45bca59bc348f5603ba9af","scripts":{"lint":"eslint 'src/**/*.{js,ts}'","test":"vitest","build":"npm run lint && rimraf ./dist && npm run build:types && rollup -c && rimraf ./dist/types","test:ui":"vitest --ui","build:types":"tsc -p tsconfig.package.json --emitDeclarationOnly","test:coverage":"vitest run --coverage.enabled=true","prepublishOnly":"npm run build"},"_npmUser":{"name":"jazim","email":"jazimabbas87@gmail.com"},"repository":{"url":"git+https://github.com/jazimabbas/mock-typeorm.git"},"_npmVersion":"10.8.2","description":"Never hit the database again while testing","directories":{},"_nodeVersion":"18.20.5","_hasShrinkwrap":false,"devDependencies":{"eslint":"^9.19.0","mysql2":"^3.10.1","rimraf":"^6.0.1","rollup":"^4.32.0","vitest":"^3.0.4","globals":"^15.14.0","prettier":"^3.3.2","@swc/core":"^1.10.11","@eslint/js":"^9.19.0","@vitest/ui":"^3.0.4","typescript":"^5.7.3","@types/node":"^22.10.10","@types/sinon":"^17.0.3","@eslint/eslintrc":"^3.2.0","rollup-plugin-dts":"^6.1.1","@rollup/plugin-swc":"^0.4.0","eslint-config-prettier":"^10.0.0","eslint-plugin-prettier":"^5.2.3","@rollup/plugin-typescript":"^12.1.2","@typescript-eslint/parser":"^8.22.0","@vitest/coverage-istanbul":"^3.0.4","@typescript-eslint/eslint-plugin":"^8.22.0"},"peerDependencies":{"sinon":">=18.x","typeorm":">=0.1.x"},"_npmOperationalInternal":{"tmp":"tmp/mock-typeorm_1.0.3_1742176043843_0.8391306499315119","host":"s3://npm-registry-packages-npm-production"}},"1.0.4":{"name":"mock-typeorm","version":"1.0.4","description":"Never hit the database again while testing","main":"./dist/cjs/index.js","module":"./dist/esm/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","require":"./dist/cjs/index.js","import":"./dist/esm/index.js"}},"homepage":"https://mock-typeorm-docs.vercel.app","repository":{"url":"git+https://github.com/jazimabbas/mock-typeorm.git"},"engines":{"node":">=18.x"},"scripts":{"build:types":"tsc -p tsconfig.package.json --emitDeclarationOnly","build":"pnpm run lint && rimraf ./dist && pnpm run build:types && rollup -c && rimraf ./dist/types","prepublishOnly":"pnpm run build","test":"vitest","test:ui":"vitest --ui","test:coverage":"vitest run --coverage.enabled=true","lint":"eslint 'src/**/*.{js,ts}'"},"keywords":["typeorm","mocking","mock typeorm","mock-typeorm","typescript","nodejs"],"author":{"name":"Jazim Abbas"},"license":"MIT","peerDependencies":{"sinon":">=18.x","typeorm":">=0.1.x"},"devDependencies":{"@eslint/eslintrc":"^3.2.0","@eslint/js":"^9.19.0","@rollup/plugin-swc":"^0.4.0","@rollup/plugin-typescript":"^12.1.2","@swc/core":"^1.10.11","@types/node":"^22.10.10","@types/sinon":"^17.0.3","@typescript-eslint/eslint-plugin":"^8.22.0","@typescript-eslint/parser":"^8.22.0","@vitest/coverage-istanbul":"^3.0.4","@vitest/ui":"^3.0.4","eslint":"^9.19.0","eslint-config-prettier":"^10.0.0","eslint-plugin-prettier":"^5.2.3","globals":"^15.14.0","mysql2":"^3.10.1","prettier":"^3.3.2","rimraf":"^6.0.1","rollup":"^4.32.0","rollup-plugin-dts":"^6.1.1","typescript":"^5.7.3","vitest":"^3.0.4"},"packageManager":"pnpm@10.11.0+sha256.a69e9cb077da419d47d18f1dd52e207245b29cac6e076acedbeb8be3b1a67bd7","_id":"mock-typeorm@1.0.4","gitHead":"28665945d111b272b48eb616314bb57ee57b95c4","bugs":{"url":"https://github.com/jazimabbas/mock-typeorm/issues"},"_nodeVersion":"20.19.1","_npmVersion":"10.8.2","dist":{"integrity":"sha512-CE9481rlC8SMSCurFg8+XRRiG4NNsk8FO1Uf+LiJzOsr2THfQOkMaP/JerFRq8v/OIqVRmknMjPgFqgIoZ56jg==","shasum":"42f5dd22111cbf1233b486ac3d7851256c104191","tarball":"https://registry.npmjs.org/mock-typeorm/-/mock-typeorm-1.0.4.tgz","fileCount":9,"unpackedSize":42510,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDEb2hQa/JqDkKh3dyfdjjbRBefCWozBUSzwItfI5YnbwIgZS9wLMiAq0CgPbEU4N+7LUTTdErGLmtygPlt6flzChM="}]},"_npmUser":{"name":"jazim","email":"jazimabbas87@gmail.com"},"directories":{},"maintainers":[{"name":"jazim","email":"jazimabbas87@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/mock-typeorm_1.0.4_1747636518204_0.1091173109089445"},"_hasShrinkwrap":false}},"time":{"created":"2024-06-25T14:43:59.401Z","modified":"2025-05-19T06:35:18.556Z","1.0.0":"2024-06-25T14:43:59.623Z","1.0.1":"2024-08-17T07:15:44.316Z","1.0.2":"2024-12-12T06:22:23.723Z","1.0.3":"2025-03-17T01:47:24.008Z","1.0.4":"2025-05-19T06:35:18.372Z"},"bugs":{"url":"https://github.com/jazimabbas/mock-typeorm/issues"},"author":{"name":"Jazim Abbas"},"license":"MIT","homepage":"https://mock-typeorm-docs.vercel.app","keywords":["typeorm","mocking","mock typeorm","mock-typeorm","typescript","nodejs"],"repository":{"url":"git+https://github.com/jazimabbas/mock-typeorm.git"},"description":"Never hit the database again while testing","maintainers":[{"name":"jazim","email":"jazimabbas87@gmail.com"}],"readme":"# Mock TypeORM [![Test Status](https://github.com/jazimabbas/mock-typeorm/actions/workflows/nodejs.yml/badge.svg?branch=master)](https://github.com/jazimabbas/mock-typeorm/actions/workflows/nodejs.yml)\n\n> Never hit the database again while testing.\n\nA package for mocking TypeORM that can be utilized with any node.js testing library e.g. Jest, Mocha, Vitest etc..\n\n## Installation\n\nTo install this package, use the following command:\n\n```bash\nnpm install --save-dev mock-typeorm sinon @types/sinon\n```\n\nNote that Sinon is added as a peer dependency, so you need to install it as well.\n\n## Documentation\n\nYou can find the MockTypeORM documentation [on the website](https://mock-typeorm-docs.vercel.app).\n\n## Development\n\nTo install the dependencies, run the following command:\n\n```bash\npnpm install\n```\n\nTo run the linting, run the following command:\n\n```bash\npnpm run lint\n```\n\nTo run the tests, run the following command:\n\n```bash\npnpm run test\n```\n","readmeFilename":"README.md"}