{"_id":"mock-require-lazy","_rev":"40-15af3147cfcc9892359b15f92a85a1aa","name":"mock-require-lazy","dist-tags":{"latest":"3.0.0"},"versions":{"0.1.0":{"name":"mock-require-lazy","version":"0.1.0","keywords":["require","dependency","injection","di","inject","swap","test","mock","stub","mock-require","lazy"],"author":{"name":"Kevin Malakoff","email":"kmalakoff@gmail.com"},"license":"MIT","_id":"mock-require-lazy@0.1.0","maintainers":[{"name":"kmalakoff","email":"kmalakoff@gmail.com"}],"homepage":"https://github.com/kmalakoff/mock-require-lazy","bugs":{"url":"https://github.com/kmalakoff/mock-require-lazy/issues"},"dist":{"shasum":"2d3d5cdda64f143ded607bcec3a89d7138b7cb1f","tarball":"https://registry.npmjs.org/mock-require-lazy/-/mock-require-lazy-0.1.0.tgz","fileCount":5,"integrity":"sha512-yOT+wKIVsZziQu926/5ws8Ho9n0Wc+yQ1bGmCgLq7/ymc9Cflc+pifQfFzAmZg5nRwA20qJHs8gz/XTht26npg==","signatures":[{"sig":"MEYCIQD1DBGh6c9W74QtsIjBzhBQdR7ade2r8oLebu/8drc6RgIhALwKnVLXDp5MOopQYL3pkdEtRNpn0wjiqZmzN5/3lCiZ","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11038,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeybzECRA9TVsSAnZWagAA51cP/RGsI12XWfaoi/xGXfU5\nznvAZqf56nJdMZpqYbUBjnVL9cVIMq3L1Fwq3tLS2aUXOSL4r/rCG6zao9Kt\nc8+2ZwoYsnM+vKu6JJsN8UW30XCMRqXpAbrgep5PuusdX4xo5mFrEA2RoAJA\nUaoBiDznftOcYwCpebYpvuCM50bHFBycYWpiqweiiprpu+T0rj9yqLMyY/vr\n+J3IBul4eXJp/oJMPHmOwi4nLS1TVSbt6sICzh6FKqmqm9tDbbiRxvxx4VYL\nnwEU9Ma8bw6NA5UHOSpM0g3T5aVjXoXJ9WVUwTmve/CC/tENMbyqHHoDEdDo\nCnzjZCeKhQSZT86emF6a0cTvDbl3zcA5S3Kh2XqGRxkHro/ey1fjEiy7m45F\nU0g7yUui1cy3QUxhjKvSAyWy3Lkl/iTcuW4mkyk41m65kKUMIQdapEIGtCJu\nGdb+BM34g2Wqe7Vd+ReeGxfsq0c0FsWQLvgR9R7Ry7B3eb/FdxmdDaeEy79j\nhlljSgkEZsQ8lbQZbOzLJ1/vNDwBCMgFJsG56Kt5Uo3az4Bp2UTWlbV+4iva\nnueH4PFOdFaKrSXZQNnEcIH6/BL8cMPP/1k9NF+Xsk3i41CNY9kbLMG7Ax0T\n1DMUD1Ah7+y+AphDg1+UvVBwsh/zMt0GyuDd32Ort1lNH2QitR1XWonB1PqR\nG2ce\r\n=3GB7\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","engines":{"node":">=0.8"},"gitHead":"e4d5007b2941da84044e9f9f0552d1660162b7e4","scripts":{"lint":"eslint .","test":"cross-env NODE_PATH=test/node-path mocha-compat ./test/runner","format":"eslint . --fix"},"_npmUser":{"name":"kmalakoff","email":"kmalakoff@gmail.com"},"repository":{"url":"git+https://github.com/kmalakoff/mock-require-lazy.git","type":"git"},"_npmVersion":"6.14.5","description":"Simple, intuitive mocking of Node.js modules. Fork of mock-require adding lazy require and is a drop in replacement for mock-require","directories":{"test":"test"},"_nodeVersion":"14.2.0","dependencies":{"normalize-path":"^3.0.0","get-caller-file":"^2.0.5"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^7.1.0","cross-env":"^2.0.1","mocha-compat":"^3.5.5","eslint-plugin-es5":"^1.5.0"},"_npmOperationalInternal":{"tmp":"tmp/mock-require-lazy_0.1.0_1590279364388_0.6096156604637211","host":"s3://npm-registry-packages"}},"1.0.0":{"name":"mock-require-lazy","version":"1.0.0","keywords":["require","dependency","injection","di","inject","swap","test","mock","stub","mock-require","lazy"],"author":{"name":"Kevin Malakoff","email":"kmalakoff@gmail.com"},"license":"MIT","_id":"mock-require-lazy@1.0.0","maintainers":[{"name":"kmalakoff","email":"kmalakoff@gmail.com"}],"homepage":"https://github.com/kmalakoff/mock-require-lazy","bugs":{"url":"https://github.com/kmalakoff/mock-require-lazy/issues"},"dist":{"shasum":"95058621442467b6b168b1b4cfc7213fc6a3e6dc","tarball":"https://registry.npmjs.org/mock-require-lazy/-/mock-require-lazy-1.0.0.tgz","fileCount":4,"integrity":"sha512-PgPWNNLTtmOCA66hb/ak4sZKgty2BwZR5quzvRTXMdItg5gzOFf/+d3sBHk+wvItXioMdIa4dI9L6K/HKL9erg==","signatures":[{"sig":"MEQCICfOmaFP1k/VggRkrv853ODs7yO8Swte6S/CPCfD473pAiBMvJHvIeLmOxrV1aWjP/yPCbjRGxS7uu/i0Q4h/LITxg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10870,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeycFxCRA9TVsSAnZWagAAmCEP/RqEQncPEkE9HIxqZF20\n1OedXu4fNBnC8Jb8S3GD5ISK+SqpWTnsj1WLdH3nxaLKeLSqtQqIj+JEAP5L\nVMuzTHloXbOzfC+DzGcrJje7fG1VnUS7EpPh8owE7Z2g6fIWbVvUmgAk9cs9\nxDn1Ze8ExnGRtki0zYemN9t7IBOfouhb9k4LtI077X2RgSVorJdYa5OvES4H\nltZhCSrln4Updm641AX0EkZPl4biNQ/uYOhS7tzoIm+K2dzjVxslhV7AosiX\npC/lnw8dA8bNNPjBT78bPWhYv47nep6rPCKj+NTPXiSOtKXCzxraGyykQW5b\n9xCeNQ5APUyfQLLcg+EyTmJJm4AiW7CNASF3D8TE+hewRjPMpfrRm0sFO/FS\n7pXbsQMlPxHmjD8i/ck2HWhBHxdEAqEZJCHR0xyx7BHVgSpPIerCZwEq6urL\nNAfq5ZoXoR1OsT/FCc5LuzEWcyaxyCEnzApdQDQmVQ5Fhm72KIia+dHG0XA5\nrZ5CpTcBOrLl9x9u9Undy+GoQrZoQLQrSmnxnB9HQIzCp09y1SgGlhQIBhwc\nh6TELrn1vIOfXCVLawUYB2cDI5u6M0nIEPcubEUal3JwteQJhCIkMui5FWul\nHYQkbpcHHmpbx17NnqkUAARXPOW8eMidCkgvhXri3h6lNSzmbUEZzsorK4Zz\nRJIo\r\n=c2m7\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","engines":{"node":">=0.8"},"gitHead":"97e572ce134268daa10c172af7de40de675c665c","scripts":{"lint":"eslint .","test":"cross-env NODE_PATH=test/node-path mocha-compat ./test/runner","format":"eslint . --fix"},"_npmUser":{"name":"kmalakoff","email":"kmalakoff@gmail.com"},"repository":{"url":"git+https://github.com/kmalakoff/mock-require-lazy.git","type":"git"},"_npmVersion":"6.14.5","description":"Simple, intuitive mocking of Node.js modules. Fork of mock-require adding lazy require and is a drop in replacement for mock-require","directories":{"test":"test"},"_nodeVersion":"14.2.0","dependencies":{"normalize-path":"^3.0.0","get-caller-file":"^2.0.5"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^7.1.0","cross-env":"^2.0.1","mocha-compat":"^3.5.5","eslint-plugin-es5":"^1.5.0"},"_npmOperationalInternal":{"tmp":"tmp/mock-require-lazy_1.0.0_1590280560871_0.4834480000435224","host":"s3://npm-registry-packages"}},"1.0.1":{"name":"mock-require-lazy","version":"1.0.1","keywords":["require","dependency","injection","di","inject","swap","test","mock","stub","mock-require","lazy"],"author":{"name":"Kevin Malakoff","email":"kmalakoff@gmail.com"},"license":"MIT","_id":"mock-require-lazy@1.0.1","maintainers":[{"name":"kmalakoff","email":"kmalakoff@gmail.com"}],"homepage":"https://github.com/kmalakoff/mock-require-lazy","bugs":{"url":"https://github.com/kmalakoff/mock-require-lazy/issues"},"dist":{"shasum":"b0cbc045de125352a45a968ba90ad1ff5ffae88d","tarball":"https://registry.npmjs.org/mock-require-lazy/-/mock-require-lazy-1.0.1.tgz","fileCount":4,"integrity":"sha512-Sv05IW2MuG7C+gVTHirqF8cbqAM8MeMEIKU3MIQDA1pyXKnv0AGa/3l0iwXk/i+81OoFzt+iU0p8DdphV2Ejww==","signatures":[{"sig":"MEYCIQDW8iMphc4lvFLHZtbxXfgKs+1UJ66LriQVhGr35cTTzAIhAJhIy+rb57n3WZLJKdoAexZi8PVLLHRcY3noZ3S4kkqp","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11244,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi2OxLACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqdrQ//WgdMddCeY/WAcWLjabMwc3QwTcv+ZmTQVI37q4uTCvciTTNH\r\nqKRE7gv5RvR/37KmM4pBfa0O2K00Q61RSlYCKfpJJTyYm5LIxhShfAK37SMr\r\nGyjOvpvO6LbSuJpRXDxRB5qDK0iZgFZllBCo69HfguwzWpOImmUA3Soj2/Xm\r\n63lsdL+kd2Sbdqwuk2u6Gl2aPAMRcKPtqeRnYSCFcZyMHsLBs/tQwJG/VY12\r\nmX8biCT2y7sIrPfJHWLl8Cq6SR7MWXclEcxL+EJtkIbTERHc6KP35668pYL9\r\nWd6NefIeeZvOd5rZtnY+c6lFiY8JsKOnXGyTzkhN0qQyWrkGcxZr3vo5sTxN\r\nEu0EUwKnwSRg7AGa7+/AGUDL4a+QrG7aI3Sr8c+1r07cygJwq4OQYHsuRD2M\r\nN0Ogz4eNa1w/1aYRAWQdKzK/ZOP013tlqbuuCgIgV5QbWwe3xHk8BIs0YeuB\r\nhd4cvd5JvYvXMumx556tG1mL7bw30RqIqsAwTtThkFuk+G3S7VHBqRNLsOy9\r\nBDw+s1MdVyFQcSH8fQTgbX1aWzzyKxECF6K68Vhq91jRg9LsxkMNLCvtIQZB\r\n72gg80oeaXTTh16eZUQIlp71LtGL9i0do+RxJrx+Y/2014zVs6hrsuWsivEO\r\nBBIM2QHtAx7IL5R2PcdS2MXmKHGLV5un3h0=\r\n=xGvu\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","engines":{"node":">=0.8"},"gitHead":"7efb9d81059de0948102895d7b315b5d8ff24cd3","scripts":{"lint":"eslint .","test":"cross-env NODE_PATH=test/data/node-path mocha-compat test/spec/**/*.test.js","format":"prettier --write .","test:engines":"nvu engines npm test","prepublishOnly":"npm run lint && depcheck"},"_npmUser":{"name":"kmalakoff","email":"kmalakoff@gmail.com"},"repository":{"url":"git+https://github.com/kmalakoff/mock-require-lazy.git","type":"git"},"_npmVersion":"8.15.0","description":"Simple, intuitive mocking of Node.js modules. Fork of mock-require adding lazy require and is a drop in replacement for mock-require","directories":{},"_nodeVersion":"18.4.0","dependencies":{"normalize-path":"^3.0.0","get-caller-file":"^2.0.5"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.20.0","depcheck":"^1.4.3","prettier":"^2.7.1","cross-env":"^2.0.1","mocha-compat":"^3.5.5","eslint-plugin-n":"^15.2.4","eslint-plugin-import":"^2.26.0","eslint-plugin-promise":"^6.0.0","eslint-config-prettier":"^8.5.0","eslint-config-standard":"^17.0.0","@typescript-eslint/parser":"^5.30.7"},"_npmOperationalInternal":{"tmp":"tmp/mock-require-lazy_1.0.1_1658383435240_0.7939576569867275","host":"s3://npm-registry-packages"}},"1.0.2":{"name":"mock-require-lazy","version":"1.0.2","keywords":["require","dependency","injection","di","inject","swap","test","mock","stub","mock-require","lazy"],"author":{"name":"Kevin Malakoff","email":"kmalakoff@gmail.com"},"license":"MIT","_id":"mock-require-lazy@1.0.2","maintainers":[{"name":"kmalakoff","email":"kmalakoff@gmail.com"}],"homepage":"https://github.com/kmalakoff/mock-require-lazy","bugs":{"url":"https://github.com/kmalakoff/mock-require-lazy/issues"},"dist":{"shasum":"f61b6443d1b6dea7153e240f0914b8909f4971e7","tarball":"https://registry.npmjs.org/mock-require-lazy/-/mock-require-lazy-1.0.2.tgz","fileCount":6,"integrity":"sha512-4ouuW+4ME7BMFlzj08a8PqOEgggZAROJ4uL+VRlCKT0CVgUi3qhBivtrEGAOmRxlirbnWH3NUUk+lUgiqWAKyw==","signatures":[{"sig":"MEYCIQDgdvdIrXA3FCTUXaW3SwG9rCvpVGskod2eida3TYJT3wIhAN9g998/Z7DqgESPfPMDYFakq3yJV+ngtUCM+KMNnyfc","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18577},"main":"dist/cjs/index.cjs","tsds":{"source":"src/index.mjs","targets":["cjs"]},"type":"commonjs","types":"dist/types/index.d.ts","engines":{"node":">=0.8"},"gitHead":"75e78a0ec2003073146c877ddb5772e68cda8235","scripts":{"docs":"tsds docs","test":"mocha-compat --no-timeouts test/spec/**/*.test.js","build":"tsds build","deploy":"tsds deploy","format":"biome check --config-path biome.es5.json --write --unsafe src/ test/","version":"tsds version","test:engines":"nvu engines npm test"},"_npmUser":{"name":"kmalakoff","email":"kmalakoff@gmail.com"},"repository":{"url":"git+https://github.com/kmalakoff/mock-require-lazy.git","type":"git"},"_npmVersion":"10.9.0","description":"Simple, intuitive mocking of Node.js modules. Fork of mock-require adding lazy require and is a drop in replacement for mock-require","directories":{},"_nodeVersion":"22.12.0","dependencies":{"normalize-path":"^3.0.0","get-caller-file":"^2.0.5"},"_hasShrinkwrap":false,"devDependencies":{"@types/node":"^22.10.2","@types/mocha":"^10.0.10","mocha-compat":"^3.6.2","@biomejs/biome":"^1.9.4"},"_npmOperationalInternal":{"tmp":"tmp/mock-require-lazy_1.0.2_1735966434836_0.05642714022737727","host":"s3://npm-registry-packages-npm-production"}},"1.0.3":{"name":"mock-require-lazy","version":"1.0.3","keywords":["require","dependency","injection","di","inject","swap","test","mock","stub","mock-require","lazy"],"author":{"name":"Kevin Malakoff","email":"kmalakoff@gmail.com"},"license":"MIT","_id":"mock-require-lazy@1.0.3","maintainers":[{"name":"kmalakoff","email":"kmalakoff@gmail.com"}],"homepage":"https://github.com/kmalakoff/mock-require-lazy","bugs":{"url":"https://github.com/kmalakoff/mock-require-lazy/issues"},"dist":{"shasum":"af48e9072fb7c0fff5719806d168d09659a56ed8","tarball":"https://registry.npmjs.org/mock-require-lazy/-/mock-require-lazy-1.0.3.tgz","fileCount":6,"integrity":"sha512-wji8mgMN4UBDBdprWd7T7nHjqclkeilJfGx3+TuiXHTn4VhLdB4sFazINNzq5lc8gK/9jdb/7SI13qkz/EczDg==","signatures":[{"sig":"MEUCID/s9lxZBfQfaSG3NzyYLYQZzgRCILjx5b28IP0VYZcwAiEA4KqoQInCJuaZIE49yzH5ZVrAL+eiKNVcAkcH64Rv6wE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18577},"main":"dist/cjs/index.cjs","tsds":{"source":"src/index.mjs","targets":["cjs"]},"type":"commonjs","types":"dist/types/index.d.ts","engines":{"node":">=0.8"},"gitHead":"7d785d3d7ae2e5c06faa36945f5f771de23a41bf","scripts":{"docs":"tsds docs","test":"mocha-compat --no-timeouts test/spec/**/*.test.js","build":"tsds build","deploy":"tsds deploy","format":"biome check --config-path biome.es5.json --write --unsafe src/ test/","version":"tsds version","test:engines":"nvu engines npm test"},"_npmUser":{"name":"kmalakoff","email":"kmalakoff@gmail.com"},"repository":{"url":"git+https://github.com/kmalakoff/mock-require-lazy.git","type":"git"},"_npmVersion":"10.9.0","description":"Simple, intuitive mocking of Node.js modules. Fork of mock-require adding lazy require and is a drop in replacement for mock-require","directories":{},"_nodeVersion":"22.12.0","dependencies":{"normalize-path":"^3.0.0","get-caller-file":"^2.0.5"},"_hasShrinkwrap":false,"devDependencies":{"@types/node":"^22.10.2","@types/mocha":"^10.0.10","mocha-compat":"^3.6.2","@biomejs/biome":"^1.9.4"},"_npmOperationalInternal":{"tmp":"tmp/mock-require-lazy_1.0.3_1735971417681_0.24160694017224138","host":"s3://npm-registry-packages-npm-production"}},"1.0.4":{"name":"mock-require-lazy","version":"1.0.4","keywords":["require","dependency","injection","di","inject","swap","test","mock","stub","mock-require","lazy"],"author":{"name":"Kevin Malakoff","email":"kmalakoff@gmail.com"},"license":"MIT","_id":"mock-require-lazy@1.0.4","maintainers":[{"name":"kmalakoff","email":"kmalakoff@gmail.com"}],"homepage":"https://github.com/kmalakoff/mock-require-lazy","bugs":{"url":"https://github.com/kmalakoff/mock-require-lazy/issues"},"dist":{"shasum":"468932863d23b11c9f8f593c6f2544fb64c3258a","tarball":"https://registry.npmjs.org/mock-require-lazy/-/mock-require-lazy-1.0.4.tgz","fileCount":6,"integrity":"sha512-PWA7KAoqFGOhR6B3rN+5vnpfqHIuqY7d11jkv9448JCNWUUauICWRRBgx7d8OUy9FdAkkTHyVXu0wpqTBJDWFw==","signatures":[{"sig":"MEUCIQDUg+Q7KnKONzYobCTWd2grBAgHlqJ1xM72wjZ/3+HuhAIgXaoRvPVnCmylm9Oj0MKyIC6Z0PDFyXWIIltH64dQOo4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18577},"main":"dist/cjs/index.cjs","tsds":{"source":"src/index.mjs","targets":["cjs"]},"type":"commonjs","types":"dist/types/index.d.ts","engines":{"node":">=0.8"},"gitHead":"7d3c1e9c5ab98b435a726811a3a501cb05a2ad4e","scripts":{"docs":"tsds docs","test":"mocha-compat --no-timeouts test/spec/**/*.test.js","build":"tsds build","deploy":"tsds deploy","format":"biome check --config-path biome.es5.json --write --unsafe src/ test/","version":"tsds version","test:engines":"nvu engines npm test"},"_npmUser":{"name":"kmalakoff","email":"kmalakoff@gmail.com"},"repository":{"url":"git+https://github.com/kmalakoff/mock-require-lazy.git","type":"git"},"_npmVersion":"10.9.0","description":"Simple, intuitive mocking of Node.js modules. Fork of mock-require adding lazy require and is a drop in replacement for mock-require","directories":{},"_nodeVersion":"22.12.0","dependencies":{"normalize-path":"^3.0.0","get-caller-file":"^2.0.5"},"_hasShrinkwrap":false,"devDependencies":{"@types/node":"^22.10.2","@types/mocha":"^10.0.10","mocha-compat":"^3.6.2","@biomejs/biome":"^1.9.4"},"_npmOperationalInternal":{"tmp":"tmp/mock-require-lazy_1.0.4_1735972085491_0.5649302786054098","host":"s3://npm-registry-packages-npm-production"}},"1.0.5":{"name":"mock-require-lazy","version":"1.0.5","keywords":["require","dependency","injection","di","inject","swap","test","mock","stub","mock-require","lazy"],"author":{"name":"Kevin Malakoff","email":"kmalakoff@gmail.com"},"license":"MIT","_id":"mock-require-lazy@1.0.5","maintainers":[{"name":"kmalakoff","email":"kmalakoff@gmail.com"}],"homepage":"https://github.com/kmalakoff/mock-require-lazy","bugs":{"url":"https://github.com/kmalakoff/mock-require-lazy/issues"},"dist":{"shasum":"0add3a71e3708d5dd410e68abddad93a258479c0","tarball":"https://registry.npmjs.org/mock-require-lazy/-/mock-require-lazy-1.0.5.tgz","fileCount":6,"integrity":"sha512-IEIhFT8RWrJ0i52R4T1nbgRVFbwpvMTeXKcxLv5XRlvfxd4FEPwbkzQIJVmNzwAmAFiB3XldjTLmDALCN2s3XQ==","signatures":[{"sig":"MEUCIAj1P0qNspvQE72UbIKDglL/yAyvbObya1/Jon7lVX7OAiEA/UspNb/cQdh84X4FHJFLNhiz72gOWc/kjEvy937DVxg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18577},"main":"dist/cjs/index.cjs","tsds":{"source":"src/index.mjs","targets":["cjs"]},"type":"commonjs","types":"dist/types/index.d.ts","engines":{"node":">=0.8"},"gitHead":"569686ffb1bfcae95471d61ff6b8515f01711e34","scripts":{"docs":"tsds docs","test":"mocha-compat --no-timeouts test/spec/**/*.test.js","build":"tsds build","deploy":"tsds deploy","format":"biome check --config-path biome.es5.json --write --unsafe src/ test/","version":"tsds version","test:engines":"nvu engines npm test"},"_npmUser":{"name":"kmalakoff","email":"kmalakoff@gmail.com"},"repository":{"url":"git+https://github.com/kmalakoff/mock-require-lazy.git","type":"git"},"_npmVersion":"10.9.0","description":"Simple, intuitive mocking of Node.js modules. Fork of mock-require adding lazy require and is a drop in replacement for mock-require","directories":{},"_nodeVersion":"22.12.0","dependencies":{"normalize-path":"^3.0.0","get-caller-file":"^2.0.5"},"_hasShrinkwrap":false,"devDependencies":{"@types/node":"^22.10.2","@types/mocha":"^10.0.10","mocha-compat":"^3.6.2","@biomejs/biome":"^1.9.4"},"_npmOperationalInternal":{"tmp":"tmp/mock-require-lazy_1.0.5_1735976157265_0.6520575450376387","host":"s3://npm-registry-packages-npm-production"}},"1.0.6":{"name":"mock-require-lazy","version":"1.0.6","keywords":["require","dependency","injection","di","inject","swap","test","mock","stub","mock-require","lazy"],"author":{"name":"Kevin Malakoff","email":"kmalakoff@gmail.com"},"license":"MIT","_id":"mock-require-lazy@1.0.6","maintainers":[{"name":"kmalakoff","email":"kmalakoff@gmail.com"}],"homepage":"https://github.com/kmalakoff/mock-require-lazy","bugs":{"url":"https://github.com/kmalakoff/mock-require-lazy/issues"},"dist":{"shasum":"7c612d797a656f3c008d4fa1d9b2ceb772446d1e","tarball":"https://registry.npmjs.org/mock-require-lazy/-/mock-require-lazy-1.0.6.tgz","fileCount":6,"integrity":"sha512-+0sOddS06fxFPJEDulH1Qssavf7D8UWa54Z6LQFuKwWwKwXLIU2JHnNt9Qi449LkqrKtNVa0rHhAzoJCZxvTgg==","signatures":[{"sig":"MEUCICdKg+tc4lf79Kr6D3K2nLwERrJ7tV2CXu4YagDmAa4vAiEAm1Cx5RxNJjMG7TcieRnnWvsHUPynUDhGAN6m0iVv1m4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18577},"main":"dist/cjs/index.cjs","tsds":{"source":"src/index.mjs","targets":["cjs"]},"type":"commonjs","types":"dist/types/index.d.ts","engines":{"node":">=0.8"},"gitHead":"d045b07a390c9613d7f2f423dc1a80ab7f243576","scripts":{"docs":"tsds docs","test":"mocha-compat --no-timeouts test/spec/**/*.test.js","build":"tsds build","deploy":"tsds deploy","format":"biome check --config-path biome.es5.json --write --unsafe src/ test/","version":"tsds version","test:engines":"nvu engines npm test"},"_npmUser":{"name":"kmalakoff","email":"kmalakoff@gmail.com"},"repository":{"url":"git+https://github.com/kmalakoff/mock-require-lazy.git","type":"git"},"_npmVersion":"10.9.0","description":"Simple, intuitive mocking of Node.js modules. Fork of mock-require adding lazy require and is a drop in replacement for mock-require","directories":{},"_nodeVersion":"22.12.0","dependencies":{"normalize-path":"^3.0.0","get-caller-file":"^2.0.5"},"_hasShrinkwrap":false,"devDependencies":{"@types/node":"^22.10.2","@types/mocha":"^10.0.10","mocha-compat":"^3.6.2","@biomejs/biome":"^1.9.4"},"_npmOperationalInternal":{"tmp":"tmp/mock-require-lazy_1.0.6_1735977283472_0.3098734340405016","host":"s3://npm-registry-packages-npm-production"}},"1.0.9":{"name":"mock-require-lazy","version":"1.0.9","keywords":["require","dependency","injection","di","inject","swap","test","mock","stub","mock-require","lazy"],"author":{"name":"Kevin Malakoff","email":"kmalakoff@gmail.com"},"license":"MIT","_id":"mock-require-lazy@1.0.9","maintainers":[{"name":"kmalakoff","email":"kmalakoff@gmail.com"}],"homepage":"https://github.com/kmalakoff/mock-require-lazy","bugs":{"url":"https://github.com/kmalakoff/mock-require-lazy/issues"},"dist":{"shasum":"4f550f97e16e000171bf2cd91732230decb89186","tarball":"https://registry.npmjs.org/mock-require-lazy/-/mock-require-lazy-1.0.9.tgz","fileCount":6,"integrity":"sha512-yAv5FxXwwU6MP6Ib4t/IDoe5SIJQ3Cs13qdI/uJPFJfdA1TVlY4MfhFqcj1sC0ELhBNTyG+qAmuUrjvjsYzXPQ==","signatures":[{"sig":"MEUCIQCAG24fM9c/4t3JWLLoHSGyEFpZ6XOimMt4+JSucBBBagIgTHD9tZWOJJ4r1m0/csCh4jBciqS9uI7y7M/4+/VfdNg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18523},"main":"dist/cjs/index.cjs","tsds":{"source":"src/index.mjs","targets":["cjs"]},"type":"commonjs","types":"dist/types/index.d.ts","engines":{"node":">=0.8"},"gitHead":"dcab06aac7cb1c45f2db49291c1490f251c31533","scripts":{"test":"mocha-compat --no-timeouts test/spec/**/*.test.js","build":"tsds build","format":"biome check --config-path biome.es5.json --write --unsafe src/ test/","version":"tsds version","test:engines":"nvu engines npm test"},"_npmUser":{"name":"kmalakoff","email":"kmalakoff@gmail.com"},"repository":{"url":"git+https://github.com/kmalakoff/mock-require-lazy.git","type":"git"},"_npmVersion":"10.9.0","description":"Simple, intuitive mocking of Node.js modules. Fork of mock-require adding lazy require and is a drop in replacement for mock-require","directories":{},"_nodeVersion":"22.12.0","dependencies":{"normalize-path":"^3.0.0","get-caller-file":"^2.0.5"},"_hasShrinkwrap":false,"devDependencies":{"@types/node":"^22.10.5","@types/mocha":"^10.0.10","mocha-compat":"^3.6.2","@biomejs/biome":"^1.9.4"},"_npmOperationalInternal":{"tmp":"tmp/mock-require-lazy_1.0.9_1736712495784_0.5172876458041449","host":"s3://npm-registry-packages-npm-production"}},"1.0.10":{"name":"mock-require-lazy","version":"1.0.10","keywords":["require","dependency","injection","di","inject","swap","test","mock","stub","mock-require","lazy"],"author":{"name":"Kevin Malakoff","email":"kmalakoff@gmail.com"},"license":"MIT","_id":"mock-require-lazy@1.0.10","maintainers":[{"name":"kmalakoff","email":"kmalakoff@gmail.com"}],"homepage":"https://github.com/kmalakoff/mock-require-lazy","bugs":{"url":"https://github.com/kmalakoff/mock-require-lazy/issues"},"dist":{"shasum":"4b1ee94e68bf332131bd61267639487e64e1d3ad","tarball":"https://registry.npmjs.org/mock-require-lazy/-/mock-require-lazy-1.0.10.tgz","fileCount":6,"integrity":"sha512-JFF9oI3uRyKnzHcabH+htzyn9pZ0LTNWhiTqq/naQDR6b7IjP7QzWJRup5ua7tINp2BWrqmjz8EpFXDOHCWjRA==","signatures":[{"sig":"MEUCIQDP9WWAaoxVmdR3c1ZNziaROb1r+gCPdsg6nil3+M7RbAIgSo/kvEePCusLqn4T1FZZbSEj8bIhx2jP2o6ZbCUJpWc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18473},"main":"dist/cjs/index.cjs","tsds":{"source":"src/index.mjs","targets":["cjs"]},"type":"commonjs","types":"dist/types/index.d.ts","engines":{"node":">=0.8"},"gitHead":"f09f0493a447253b3d0db1720edfcbb9c54e8d08","scripts":{"test":"mocha-compat --no-timeouts test/spec/**/*.test.js","build":"tsds build","format":"biome check --config-path biome.es5.json --write --unsafe src/ test/","version":"tsds version","test:engines":"nvu engines npm test"},"_npmUser":{"name":"kmalakoff","email":"kmalakoff@gmail.com"},"repository":{"url":"git+https://github.com/kmalakoff/mock-require-lazy.git","type":"git"},"_npmVersion":"10.9.0","description":"Simple, intuitive mocking of Node.js modules. Fork of mock-require adding lazy require and is a drop in replacement for mock-require","directories":{},"_nodeVersion":"22.12.0","dependencies":{"normalize-path":"^3.0.0","get-caller-file":"^2.0.5"},"_hasShrinkwrap":false,"devDependencies":{"@types/node":"*","@types/mocha":"*","mocha-compat":"*"},"_npmOperationalInternal":{"tmp":"tmp/mock-require-lazy_1.0.10_1736903896742_0.7637294259015517","host":"s3://npm-registry-packages-npm-production"}},"1.0.11":{"name":"mock-require-lazy","version":"1.0.11","keywords":["require","dependency","injection","di","inject","swap","test","mock","stub","mock-require","lazy"],"author":{"name":"Kevin Malakoff","email":"kmalakoff@gmail.com"},"license":"MIT","_id":"mock-require-lazy@1.0.11","maintainers":[{"name":"kmalakoff","email":"kmalakoff@gmail.com"}],"homepage":"https://github.com/kmalakoff/mock-require-lazy","bugs":{"url":"https://github.com/kmalakoff/mock-require-lazy/issues"},"dist":{"shasum":"376244d0450c3637eeb89d67e1c9af479d6d3b29","tarball":"https://registry.npmjs.org/mock-require-lazy/-/mock-require-lazy-1.0.11.tgz","fileCount":6,"integrity":"sha512-B+o9hdvlLh+d5GEc4BcOEIplg+OrS2VMeVc1dVGBTnaf0H8d1wsOIiDKySaH83DTPZpvX0pGNekeolmv9gHD9w==","signatures":[{"sig":"MEQCIFKyRO9JfO/BMYzqQUAhOUZFE4znFYl2ANHYfjAT0N5zAiANOZV4TPYjL2NdE28I+0JYrrgR3j+lg9dwpoGXrPZ4oQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18473},"main":"dist/cjs/index.cjs","tsds":{"source":"src/index.mjs","targets":["cjs"]},"type":"commonjs","types":"dist/types/index.d.ts","engines":{"node":">=0.8"},"gitHead":"d83e48cef20c02a01997500bc54c9f99b8cf9d2e","scripts":{"test":"mocha-compat --no-timeouts test/spec/**/*.test.js","build":"tsds build","format":"biome check --config-path biome.es5.json --write --unsafe src/ test/","version":"tsds version","test:engines":"nvu engines npm test"},"_npmUser":{"name":"kmalakoff","email":"kmalakoff@gmail.com"},"repository":{"url":"git+https://github.com/kmalakoff/mock-require-lazy.git","type":"git"},"_npmVersion":"10.9.0","description":"Simple, intuitive mocking of Node.js modules. Fork of mock-require adding lazy require and is a drop in replacement for mock-require","directories":{},"_nodeVersion":"22.12.0","dependencies":{"normalize-path":"^3.0.0","get-caller-file":"^2.0.5"},"_hasShrinkwrap":false,"devDependencies":{"@types/node":"*","@types/mocha":"*","mocha-compat":"*"},"_npmOperationalInternal":{"tmp":"tmp/mock-require-lazy_1.0.11_1736905945213_0.34322032971762817","host":"s3://npm-registry-packages-npm-production"}},"1.0.12":{"name":"mock-require-lazy","version":"1.0.12","keywords":["require","dependency","injection","di","inject","swap","test","mock","stub","mock-require","lazy"],"author":{"name":"Kevin Malakoff","email":"kmalakoff@gmail.com"},"license":"MIT","_id":"mock-require-lazy@1.0.12","maintainers":[{"name":"kmalakoff","email":"kmalakoff@gmail.com"}],"homepage":"https://github.com/kmalakoff/mock-require-lazy","bugs":{"url":"https://github.com/kmalakoff/mock-require-lazy/issues"},"dist":{"shasum":"6ed4a014ca40f0fb6536671f2138602f17b9c68d","tarball":"https://registry.npmjs.org/mock-require-lazy/-/mock-require-lazy-1.0.12.tgz","fileCount":6,"integrity":"sha512-+LMocGCUZT26Qj/FDZEFZWnl0txi+hs3DCZaYhxlQnxMxQ550TLk3031o2n9KgcK+aLIlhUC9OFX1FeE/gRQPQ==","signatures":[{"sig":"MEUCIQDx+kF+fbAdY3huviQMgOUOrw3ty7rSnSvHnqKx/cyEkQIgC4xagYHQbJm72gTpPUM4auWTKPPlaNfRAWA0hZpc8Jo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":18473},"main":"dist/cjs/index.cjs","tsds":{"source":"src/index.mjs","targets":["cjs"]},"type":"commonjs","types":"dist/types/index.d.ts","engines":{"node":">=0.8"},"gitHead":"4b309617b85be4907dc66568552d16719652639b","scripts":{"test":"mocha-compat --no-timeouts test/spec/**/*.test.js","build":"tsds build","format":"biome check --config-path biome.es5.json --write --unsafe src/ test/","version":"tsds version","test:engines":"nvu engines npm test"},"_npmUser":{"name":"kmalakoff","email":"kmalakoff@gmail.com"},"repository":{"url":"git+https://github.com/kmalakoff/mock-require-lazy.git","type":"git"},"_npmVersion":"11.0.0","description":"Simple, intuitive mocking of Node.js modules. Fork of mock-require adding lazy require and is a drop in replacement for mock-require","directories":{},"_nodeVersion":"22.13.0","dependencies":{"normalize-path":"^3.0.0","get-caller-file":"^2.0.5"},"_hasShrinkwrap":false,"devDependencies":{"@types/node":"*","@types/mocha":"*","mocha-compat":"*"},"_npmOperationalInternal":{"tmp":"tmp/mock-require-lazy_1.0.12_1737619596693_0.2077666701544314","host":"s3://npm-registry-packages-npm-production"}},"1.0.13":{"name":"mock-require-lazy","version":"1.0.13","keywords":["require","dependency","injection","di","inject","swap","test","mock","stub","mock-require","lazy"],"author":{"name":"Kevin Malakoff","email":"kmalakoff@gmail.com"},"license":"MIT","_id":"mock-require-lazy@1.0.13","maintainers":[{"name":"kmalakoff","email":"kmalakoff@gmail.com"}],"homepage":"https://github.com/kmalakoff/mock-require-lazy","bugs":{"url":"https://github.com/kmalakoff/mock-require-lazy/issues"},"dist":{"shasum":"cf1d152a0f6b39c777fcc2b6ab56ab413410d37e","tarball":"https://registry.npmjs.org/mock-require-lazy/-/mock-require-lazy-1.0.13.tgz","fileCount":6,"integrity":"sha512-SLUP4UJNDv0uXgOCYzASBF+h1aWKbZMVw2TeZnVFG9i+n41LX05zFW7NQy30LfdgYFjBqoAjIT85CA+EMC6ddQ==","signatures":[{"sig":"MEYCIQDPt30QhrQqrN2BgncAcoB+RWhivpfej9IvoTMDRvBuwgIhAK/JUfpxL4Qyocwmexf+f+s63Gv7/W82Lksk5mDAxMvZ","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":18473},"main":"dist/cjs/index.cjs","tsds":{"source":"src/index.mjs","targets":["cjs"]},"type":"commonjs","types":"dist/types/index.d.ts","engines":{"node":">=0.8"},"gitHead":"96b4beba801cc10e16a9cc0c171e450e9343d3c0","scripts":{"test":"mocha-compat --no-timeouts test/spec/**/*.test.js","build":"tsds build","format":"biome check --config-path biome.es5.json --write --unsafe src/ test/","version":"tsds version","test:engines":"nvu engines npm test"},"_npmUser":{"name":"kmalakoff","email":"kmalakoff@gmail.com"},"repository":{"url":"git+https://github.com/kmalakoff/mock-require-lazy.git","type":"git"},"_npmVersion":"11.0.0","description":"Simple, intuitive mocking of Node.js modules. Fork of mock-require adding lazy require and is a drop in replacement for mock-require","directories":{},"_nodeVersion":"22.13.0","dependencies":{"normalize-path":"^3.0.0","get-caller-file":"^2.0.5"},"_hasShrinkwrap":false,"devDependencies":{"@types/node":"*","@types/mocha":"*","mocha-compat":"*"},"_npmOperationalInternal":{"tmp":"tmp/mock-require-lazy_1.0.13_1737643917594_0.8033399062015447","host":"s3://npm-registry-packages-npm-production"}},"1.0.14":{"name":"mock-require-lazy","version":"1.0.14","keywords":["require","dependency","injection","di","inject","swap","test","mock","stub","mock-require","lazy"],"author":{"name":"Kevin Malakoff","email":"kmalakoff@gmail.com"},"license":"MIT","_id":"mock-require-lazy@1.0.14","maintainers":[{"name":"kmalakoff","email":"kmalakoff@gmail.com"}],"homepage":"https://github.com/kmalakoff/mock-require-lazy","bugs":{"url":"https://github.com/kmalakoff/mock-require-lazy/issues"},"dist":{"shasum":"1285db325a8a8bc755c7ba6a12b5dfa72c03eb83","tarball":"https://registry.npmjs.org/mock-require-lazy/-/mock-require-lazy-1.0.14.tgz","fileCount":6,"integrity":"sha512-PNuw/5/+IJLgOSJoXv4DYBu840i2NmhRFgUoB/To/hvL7J8YxjjrvNaAaPotq7Ndff344pDFSqDqGpstdhB8Tg==","signatures":[{"sig":"MEUCIFQwkSpU4tpTGJhQ3WpyvZgP6YDA1oISZ0LEqJzcEt9nAiEAwaLubzb0w02r0mkqDo6aLf+c4SQ1A6iCf64+mNsMyUw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":18473},"main":"dist/cjs/index.cjs","tsds":{"source":"src/index.mjs","targets":["cjs"]},"type":"commonjs","types":"dist/types/index.d.ts","engines":{"node":">=0.8"},"gitHead":"290628ba24752f5c691c76d8468cac3811248b15","scripts":{"test":"mocha-compat --no-timeouts test/spec/**/*.test.js","build":"tsds build","format":"biome check --config-path biome.es5.json --write --unsafe src/ test/","version":"tsds version","test:engines":"nvu engines npm test"},"_npmUser":{"name":"kmalakoff","email":"kmalakoff@gmail.com"},"repository":{"url":"git+https://github.com/kmalakoff/mock-require-lazy.git","type":"git"},"_npmVersion":"11.0.0","description":"Simple, intuitive mocking of Node.js modules. Fork of mock-require adding lazy require and is a drop in replacement for mock-require","directories":{},"_nodeVersion":"22.13.0","dependencies":{"normalize-path":"^3.0.0","get-caller-file":"^2.0.5"},"_hasShrinkwrap":false,"devDependencies":{"@types/node":"*","@types/mocha":"*","mocha-compat":"*"},"_npmOperationalInternal":{"tmp":"tmp/mock-require-lazy_1.0.14_1737644897785_0.8233105032272481","host":"s3://npm-registry-packages-npm-production"}},"1.0.15":{"name":"mock-require-lazy","version":"1.0.15","keywords":["require","dependency","injection","di","inject","swap","test","mock","stub","mock-require","lazy"],"author":{"name":"Kevin Malakoff","email":"kmalakoff@gmail.com"},"license":"MIT","_id":"mock-require-lazy@1.0.15","maintainers":[{"name":"kmalakoff","email":"kmalakoff@gmail.com"}],"homepage":"https://github.com/kmalakoff/mock-require-lazy","bugs":{"url":"https://github.com/kmalakoff/mock-require-lazy/issues"},"dist":{"shasum":"554b0e3b1ec119de559854d48fe64b0d56a02957","tarball":"https://registry.npmjs.org/mock-require-lazy/-/mock-require-lazy-1.0.15.tgz","fileCount":5,"integrity":"sha512-3kAzNxTxVCb95Yqtnd/kSfLMLEI3TNI6Oa7IikkBQdkdAJiAZ5rjSrTx8zc69+rxHkpp9aXqqFsT1sB9nkaNog==","signatures":[{"sig":"MEYCIQDlIb5lHXoItt+qyOc0gQCD9SWF9r2IoXbqNGqZaXOAdwIhAJzef4wTx4jw/eHhgwh8D4VsabL3AIfs3gLSrqCE7g5K","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":18132},"main":"dist/cjs/index.cjs","tsds":{"source":"src/index.mjs","targets":["cjs"]},"type":"commonjs","types":"dist/cjs/index.d.cts","engines":{"node":">=0.8"},"gitHead":"68584d6b0b321eaaa03ab933cdbbc983848c208a","scripts":{"test":"mocha-compat --no-timeouts test/spec/**/*.test.js","build":"tsds build","format":"biome check --config-path biome.es5.json --write --unsafe src/ test/","version":"tsds version","test:engines":"nvu engines npm test"},"_npmUser":{"name":"kmalakoff","email":"kmalakoff@gmail.com"},"repository":{"url":"git+https://github.com/kmalakoff/mock-require-lazy.git","type":"git"},"_npmVersion":"11.3.0","description":"Simple, intuitive mocking of Node.js modules. Fork of mock-require adding lazy require and is a drop in replacement for mock-require","directories":{},"_nodeVersion":"24.0.2","dependencies":{"normalize-path":"^3.0.0","get-caller-file":"^2.0.5"},"_hasShrinkwrap":false,"devDependencies":{"@types/node":"*","@types/mocha":"*","mocha-compat":"*"},"_npmOperationalInternal":{"tmp":"tmp/mock-require-lazy_1.0.15_1747536487156_0.05488593512103157","host":"s3://npm-registry-packages-npm-production"}},"1.0.16":{"name":"mock-require-lazy","version":"1.0.16","keywords":["require","dependency","injection","di","inject","swap","test","mock","stub","mock-require","lazy"],"author":{"name":"Kevin Malakoff","email":"kmalakoff@gmail.com"},"license":"MIT","_id":"mock-require-lazy@1.0.16","maintainers":[{"name":"kmalakoff","email":"kmalakoff@gmail.com"}],"homepage":"https://github.com/kmalakoff/mock-require-lazy","bugs":{"url":"https://github.com/kmalakoff/mock-require-lazy/issues"},"dist":{"shasum":"4e86f7ed764dbea7ba3af2860fbc444916306fe0","tarball":"https://registry.npmjs.org/mock-require-lazy/-/mock-require-lazy-1.0.16.tgz","fileCount":8,"integrity":"sha512-Epx3BrLNh2iFNO49C7Dgz7HbH1Pnvckfyi3ORkTwe4wsUhdKkYfIUS9DovMkWDar79De2MUwPlhs6qT0Dswkhg==","signatures":[{"sig":"MEUCID6X0N3gV2Dj9otvbP2xvpzabSwLwUu0OOJ9T+zLWHXNAiEAw9ymR0kTlcZ940Ib4ZX5/UtrnJ8C7AfDyb6AvRWLUC8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":18690},"main":"dist/cjs/index.js","tsds":{"source":"src/index.ts","targets":["cjs"]},"type":"commonjs","types":"dist/cjs/index.d.cts","engines":{"node":">=0.8"},"gitHead":"f66cebfb560cde6ee57a35016797a5ac2e7f4ee4","scripts":{"test":"mocha-compat --no-timeouts test/spec/**/*.test.js","build":"tsds build","format":"biome check --config-path biome.es5.json --write --unsafe src/ test/","version":"tsds version","test:engines":"nvu engines npm test"},"_npmUser":{"name":"kmalakoff","email":"kmalakoff@gmail.com"},"repository":{"url":"git+https://github.com/kmalakoff/mock-require-lazy.git","type":"git"},"_npmVersion":"11.3.0","description":"Simple, intuitive mocking of Node.js modules. Fork of mock-require adding lazy require and is a drop in replacement for mock-require","directories":{},"_nodeVersion":"24.0.2","dependencies":{"normalize-path":"^3.0.0","get-caller-file":"^2.0.5"},"_hasShrinkwrap":false,"devDependencies":{"@types/node":"*","@types/mocha":"*","mocha-compat":"*"},"_npmOperationalInternal":{"tmp":"tmp/mock-require-lazy_1.0.16_1747685825106_0.8248251351491473","host":"s3://npm-registry-packages-npm-production"}},"1.0.17":{"name":"mock-require-lazy","version":"1.0.17","keywords":["require","dependency","injection","di","inject","swap","test","mock","stub","mock-require","lazy"],"author":{"name":"Kevin Malakoff","email":"kmalakoff@gmail.com"},"license":"MIT","_id":"mock-require-lazy@1.0.17","maintainers":[{"name":"kmalakoff","email":"kmalakoff@gmail.com"}],"homepage":"https://github.com/kmalakoff/mock-require-lazy","bugs":{"url":"https://github.com/kmalakoff/mock-require-lazy/issues"},"dist":{"shasum":"bc7d625161dd391a5e8fbd456a98aab6fd21d0d0","tarball":"https://registry.npmjs.org/mock-require-lazy/-/mock-require-lazy-1.0.17.tgz","fileCount":12,"integrity":"sha512-P8nKtCgmnX9flup2Ywv6eoHIH7qjnpF0nQ8tRIG2qqy7UyeqLH8/VtHhTSP00hgTM/VkHDUS23mFPLacEfnmSQ==","signatures":[{"sig":"MEQCIAjok6xzt1nB4uZVejamrwJN3FuaZUS4khDoHsvjcQx8AiBs371e3mz1GFWWzYCy60riMtZhX76ON9s1c9iG3Z6ICA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":28812},"main":"dist/cjs/index.js","tsds":{"source":"src/index.ts"},"type":"commonjs","types":"dist/cjs/index.d.cts","engines":{"node":">=0.8"},"exports":{".":{"require":"./dist/cjs/index.js"},"./package.json":"./package.json"},"gitHead":"6a83344eb5ae4953f1fe5039551d06477c833e4a","scripts":{"test":"mocha-compat --no-timeouts test/spec/**/*.test.js","build":"tsds build","format":"biome check --config-path biome.es5.json --write --unsafe src/ test/","version":"tsds version","test:engines":"nvu engines npm test"},"_npmUser":{"name":"kmalakoff","email":"kmalakoff@gmail.com"},"repository":{"url":"git+https://github.com/kmalakoff/mock-require-lazy.git","type":"git"},"_npmVersion":"11.3.0","description":"Simple, intuitive mocking of Node.js modules. Fork of mock-require adding lazy require and is a drop in replacement for mock-require","directories":{},"_nodeVersion":"24.0.2","dependencies":{"normalize-path":"^3.0.0","get-caller-file":"^2.0.5"},"_hasShrinkwrap":false,"devDependencies":{"@types/node":"*","@types/mocha":"*","mocha-compat":"*"},"_npmOperationalInternal":{"tmp":"tmp/mock-require-lazy_1.0.17_1747711823076_0.9033022545516565","host":"s3://npm-registry-packages-npm-production"}},"1.0.18":{"name":"mock-require-lazy","version":"1.0.18","keywords":["require","dependency","injection","di","inject","swap","test","mock","stub","mock-require","lazy"],"author":{"name":"Kevin Malakoff","email":"kmalakoff@gmail.com"},"license":"MIT","_id":"mock-require-lazy@1.0.18","maintainers":[{"name":"kmalakoff","email":"kmalakoff@gmail.com"}],"homepage":"https://github.com/kmalakoff/mock-require-lazy","bugs":{"url":"https://github.com/kmalakoff/mock-require-lazy/issues"},"dist":{"shasum":"08dbeadea4f08a2ff9402652e4fecbe24d5ef86f","tarball":"https://registry.npmjs.org/mock-require-lazy/-/mock-require-lazy-1.0.18.tgz","fileCount":12,"integrity":"sha512-qMFm+N68zvc3ES+g9csomBZvP+c1cytKM2Oz6wzLTanslEYtoZ8ENCUbErPvE72eianUq6zkLvJLYa9Fb2ghsQ==","signatures":[{"sig":"MEUCIQDXS+LX2br73+2JzUUe9EhnwWN5yHLZUODh8TsUtI1eDQIgdULcW9fFdf6r2ORgY7PXZ5PcO/rDuYEZymrvxohpspc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":28802},"main":"dist/cjs/index.js","tsds":{"source":"src/index.ts"},"type":"commonjs","types":"dist/cjs/index.d.cts","engines":{"node":">=0.8"},"exports":{".":{"require":"./dist/cjs/index.js"},"./package.json":"./package.json"},"gitHead":"ccbb7c8e2f01edafe327f05340cb6c4e3aee149b","scripts":{"test":"mocha-compat --no-timeouts test/spec/**/*.test.js","build":"tsds build","format":"biome check --config-path biome.es5.json --write --unsafe src/ test/","version":"tsds version","test:engines":"nvu engines npm test"},"_npmUser":{"name":"kmalakoff","email":"kmalakoff@gmail.com"},"repository":{"url":"git+https://github.com/kmalakoff/mock-require-lazy.git","type":"git"},"_npmVersion":"11.4.0","description":"Simple, intuitive mocking of Node.js modules. Fork of mock-require adding lazy require and is a drop in replacement for mock-require","directories":{},"_nodeVersion":"24.0.2","dependencies":{"normalize-path":"^3.0.0","get-caller-file":"^2.0.5"},"_hasShrinkwrap":false,"devDependencies":{"@types/node":"*","@types/mocha":"*","mocha-compat":"*"},"_npmOperationalInternal":{"tmp":"tmp/mock-require-lazy_1.0.18_1748115572186_0.18041776004258558","host":"s3://npm-registry-packages-npm-production"}},"1.0.19":{"name":"mock-require-lazy","version":"1.0.19","keywords":["require","dependency","injection","di","inject","swap","test","mock","stub","mock-require","lazy"],"author":{"name":"Kevin Malakoff","email":"kmalakoff@gmail.com"},"license":"MIT","_id":"mock-require-lazy@1.0.19","maintainers":[{"name":"kmalakoff","email":"kmalakoff@gmail.com"}],"homepage":"https://github.com/kmalakoff/mock-require-lazy","bugs":{"url":"https://github.com/kmalakoff/mock-require-lazy/issues"},"dist":{"shasum":"6bbc977502d13cdfb24419dc3cfed0a593b18eea","tarball":"https://registry.npmjs.org/mock-require-lazy/-/mock-require-lazy-1.0.19.tgz","fileCount":12,"integrity":"sha512-+sDDK1VRCKXaoSiGJWs9YT8g3NSpaZWB5U00DnsbigWSVy/cHDCWrMDPLE2lAwUL8IoyCAk6oX7pZPma7w8grA==","signatures":[{"sig":"MEYCIQCLEHsOl7Y+thndM6f3huWne2ybzoPgUQ1YjrXrbbPckQIhALlsieYf8NXJf61a4dh2oBOA9GPk9uxkJddhvmeHbHVE","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":28829},"main":"dist/cjs/index.js","tsds":{"source":"src/index.ts"},"type":"commonjs","types":"dist/cjs/index.d.cts","engines":{"node":">=0.8"},"exports":{".":{"require":"./dist/cjs/index.js"},"./package.json":"./package.json"},"gitHead":"360a54ebaa8684c79cedfb885fdfd2a17cfbfb3c","scripts":{"test":"mocha-compat --no-timeouts test/spec/**/*.test.js","build":"tsds build","format":"biome check --config-path biome.es5.json --write --unsafe src/ test/","version":"tsds version","test:engines":"nvu engines npm test"},"_npmUser":{"name":"kmalakoff","actor":{"name":"kmalakoff","type":"user","email":"kmalakoff@gmail.com"},"email":"kmalakoff@gmail.com"},"repository":{"url":"git+https://github.com/kmalakoff/mock-require-lazy.git","type":"git"},"_npmVersion":"11.3.0","description":"Simple, intuitive mocking of Node.js modules. Fork of mock-require adding lazy require and is a drop in replacement for mock-require","directories":{},"_nodeVersion":"24.2.0","dependencies":{"normalize-path":"^3.0.0","get-caller-file":"^2.0.5"},"_hasShrinkwrap":false,"devDependencies":{"@types/node":"*","@types/mocha":"*","mocha-compat":"*"},"_npmOperationalInternal":{"tmp":"tmp/mock-require-lazy_1.0.19_1750235602586_0.2562458658056015","host":"s3://npm-registry-packages-npm-production"}},"1.0.20":{"name":"mock-require-lazy","version":"1.0.20","keywords":["require","dependency","injection","di","inject","swap","test","mock","stub","mock-require","lazy"],"author":{"name":"Kevin Malakoff","email":"kmalakoff@gmail.com"},"license":"MIT","_id":"mock-require-lazy@1.0.20","maintainers":[{"name":"kmalakoff","email":"kmalakoff@gmail.com"}],"homepage":"https://github.com/kmalakoff/mock-require-lazy","bugs":{"url":"https://github.com/kmalakoff/mock-require-lazy/issues"},"dist":{"shasum":"4f70486fa358bdbafb6a68972b28f6babe8de0b2","tarball":"https://registry.npmjs.org/mock-require-lazy/-/mock-require-lazy-1.0.20.tgz","fileCount":12,"integrity":"sha512-BTQS6i0sQeTBWS9p14pk91TreXrwNcnfefsj/0eVByv23oYvlKVp7FuzduKMjB9w1DrTp0THiuFggOLQubKLzw==","signatures":[{"sig":"MEUCIA17gSW2Jg2priAX/wOIgww8R3lwxt8kXKc7/OH2gGtBAiEAmqRJxNJlsKVhQZMrwSFCzVIDN9hDHU2YvP2QHudAMG8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":28833},"main":"dist/cjs/index.js","tsds":{"source":"src/index.ts"},"type":"commonjs","types":"dist/cjs/index.d.cts","engines":{"node":">=0.8"},"exports":{".":{"require":"./dist/cjs/index.js"},"./package.json":"./package.json"},"gitHead":"3b9a95474916bb90c7ca6473a77afecc229dc9b5","scripts":{"test":"mocha-compat --no-timeouts test/spec/**/*.test.js","build":"tsds build","format":"biome check --config-path biome.es5.json --write --unsafe src/ test/","version":"tsds version","test:engines":"nvu engines npm test"},"_npmUser":{"name":"kmalakoff","actor":{"name":"kmalakoff","type":"user","email":"kmalakoff@gmail.com"},"email":"kmalakoff@gmail.com"},"repository":{"url":"git+https://github.com/kmalakoff/mock-require-lazy.git","type":"git"},"_npmVersion":"11.3.0","description":"Simple, intuitive mocking of Node.js modules. Fork of mock-require adding lazy require and is a drop in replacement for mock-require","directories":{},"_nodeVersion":"24.2.0","dependencies":{"normalize-path":"^3.0.0","get-caller-file":"^2.0.5"},"_hasShrinkwrap":false,"devDependencies":{"@types/node":"*","@types/mocha":"*","mocha-compat":"*"},"_npmOperationalInternal":{"tmp":"tmp/mock-require-lazy_1.0.20_1750487774990_0.893734391464035","host":"s3://npm-registry-packages-npm-production"}},"1.0.21":{"name":"mock-require-lazy","version":"1.0.21","keywords":["require","dependency","injection","di","inject","swap","test","mock","stub","mock-require","lazy"],"author":{"name":"Kevin Malakoff","email":"kmalakoff@gmail.com"},"license":"MIT","_id":"mock-require-lazy@1.0.21","maintainers":[{"name":"kmalakoff","email":"kmalakoff@gmail.com"}],"homepage":"https://github.com/kmalakoff/mock-require-lazy","bugs":{"url":"https://github.com/kmalakoff/mock-require-lazy/issues"},"dist":{"shasum":"77d8785f913dbd430928e62bff1eeac86c583e87","tarball":"https://registry.npmjs.org/mock-require-lazy/-/mock-require-lazy-1.0.21.tgz","fileCount":12,"integrity":"sha512-rrF9mDsZDmZZlcT+2luxT6Eb0cW4J1zYMiB9oCXzeIAg3d/jpUr2vAI+ZOMZijcIV/s4kpRWHqvHjokmZqDJqA==","signatures":[{"sig":"MEYCIQCQ2cPBoMVHKSsRHzh3vlGvlUHhIBWRyKaNebhM0dAuHQIhAIKZJUDu8KIIxDCwCKAc7qBHeXhkFrO+C8gTE/JssuKa","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":28833},"main":"dist/cjs/index.js","tsds":{"source":"src/index.ts"},"type":"commonjs","types":"dist/cjs/index.d.cts","engines":{"node":">=0.8"},"exports":{".":{"require":"./dist/cjs/index.js"},"./package.json":"./package.json"},"gitHead":"4b15f76d0791d87f6dba6cac399ebdacbddb2ca8","scripts":{"test":"mocha-compat --no-timeouts test/unit/**/*.test.js","build":"tsds build","format":"biome check --config-path biome.es5.json --write --unsafe src/ test/","version":"tsds version","test:engines":"nvu engines npm test"},"_npmUser":{"name":"kmalakoff","actor":{"name":"kmalakoff","type":"user","email":"kmalakoff@gmail.com"},"email":"kmalakoff@gmail.com"},"repository":{"url":"git+https://github.com/kmalakoff/mock-require-lazy.git","type":"git"},"_npmVersion":"11.3.0","description":"Simple, intuitive mocking of Node.js modules. Fork of mock-require adding lazy require and is a drop in replacement for mock-require","directories":{},"_nodeVersion":"24.2.0","dependencies":{"normalize-path":"^3.0.0","get-caller-file":"^2.0.5"},"_hasShrinkwrap":false,"devDependencies":{"@types/node":"*","@types/mocha":"*","mocha-compat":"*"},"_npmOperationalInternal":{"tmp":"tmp/mock-require-lazy_1.0.21_1750564351959_0.4224752316741984","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"mock-require-lazy","version":"1.1.0","keywords":["require","dependency","injection","di","inject","swap","test","mock","stub","mock-require","lazy"],"author":{"name":"Kevin Malakoff","email":"kmalakoff@gmail.com"},"license":"MIT","_id":"mock-require-lazy@1.1.0","maintainers":[{"name":"kmalakoff","email":"kmalakoff@gmail.com"}],"homepage":"https://github.com/kmalakoff/mock-require-lazy","bugs":{"url":"https://github.com/kmalakoff/mock-require-lazy/issues"},"dist":{"shasum":"22c7153652f92038344879606d7c3592d5b1934c","tarball":"https://registry.npmjs.org/mock-require-lazy/-/mock-require-lazy-1.1.0.tgz","fileCount":12,"integrity":"sha512-2Fp0SP2rRl0CJFDAryfn09wgwJTdEimoYjbvvYcebErhi4KKPNpMSv/pEq8ozoboyqCvTHa1SOt+8nAd44MjQw==","signatures":[{"sig":"MEUCIFR0sjM4cbrukUnwd5P+h6U8a4WjrkSs/xk+yxnzuXK2AiEAxiFDb4zhQYg08x6NPgwfjzw4BE4mfT/B7B+zrDv/fcI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":28832},"main":"dist/cjs/index.js","tsds":{"source":"src/index.ts"},"type":"commonjs","types":"dist/cjs/index.d.cts","engines":{"node":">=0.8"},"exports":{".":{"require":"./dist/cjs/index.js"},"./package.json":"./package.json"},"gitHead":"640759a32d6e73a7e0473f470f25e3fb44e3382b","scripts":{"test":"mocha-compat --no-timeouts test/unit/**/*.test.js","build":"tsds build","format":"biome check --config-path biome.es5.json --write --unsafe src/ test/","version":"tsds version","test:engines":"nvu engines npm test"},"_npmUser":{"name":"kmalakoff","actor":{"name":"kmalakoff","type":"user","email":"kmalakoff@gmail.com"},"email":"kmalakoff@gmail.com"},"repository":{"url":"git+https://github.com/kmalakoff/mock-require-lazy.git","type":"git"},"_npmVersion":"11.4.2","description":"Simple, intuitive mocking of Node.js modules. Fork of mock-require adding lazy require and is a drop in replacement for mock-require","directories":{},"_nodeVersion":"24.3.0","dependencies":{"normalize-path":"^3.0.0","get-caller-file":"^2.0.5"},"_hasShrinkwrap":false,"devDependencies":{"@types/node":"*","@types/mocha":"*","mocha-compat":"*"},"_npmOperationalInternal":{"tmp":"tmp/mock-require-lazy_1.1.0_1751222005722_0.13358820970145646","host":"s3://npm-registry-packages-npm-production"}},"1.1.1":{"name":"mock-require-lazy","version":"1.1.1","keywords":["require","dependency","injection","di","inject","swap","test","mock","stub","mock-require","lazy"],"author":{"name":"Kevin Malakoff","email":"kmalakoff@gmail.com"},"license":"MIT","_id":"mock-require-lazy@1.1.1","maintainers":[{"name":"kmalakoff","email":"kmalakoff@gmail.com"}],"homepage":"https://github.com/kmalakoff/mock-require-lazy","bugs":{"url":"https://github.com/kmalakoff/mock-require-lazy/issues"},"dist":{"shasum":"8ec87111e6218a61a50fec8bc9991c5452d7ed11","tarball":"https://registry.npmjs.org/mock-require-lazy/-/mock-require-lazy-1.1.1.tgz","fileCount":12,"integrity":"sha512-7htLuNzGebOmIDA3cVyIavUhSk+4dWWLRtuc/3huLEdqmu1CDYKVyFGtMHPKXTf2tjbFetpY5LWEEnNv01O9Pw==","signatures":[{"sig":"MEQCIDKDu55N/BPKo1Y6AdqTA3mMV5haZsRXxAoCPLDmocKeAiAo2HCWeoPgpJt0Mu+SqXiHvZgr29gMLJrTMU7xtJL8Pg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":29318},"main":"dist/cjs/index.js","tsds":{"source":"src/index.ts"},"type":"commonjs","types":"dist/cjs/index.d.cts","engines":{"node":">=0.8"},"exports":{".":{"require":"./dist/cjs/index.js"},"./package.json":"./package.json"},"gitHead":"d5175e12599a7a7bd867df38c9d27b739a401235","scripts":{"test":"mocha-compat --no-timeouts test/unit/**/*.test.js","build":"tsds build","format":"biome check --config-path biome.es5.json --write --unsafe src/ test/","version":"tsds version","test:engines":"nvu engines npm test"},"_npmUser":{"name":"kmalakoff","actor":{"name":"kmalakoff","type":"user","email":"kmalakoff@gmail.com"},"email":"kmalakoff@gmail.com"},"repository":{"url":"git+https://github.com/kmalakoff/mock-require-lazy.git","type":"git"},"_npmVersion":"11.4.2","description":"Simple, intuitive mocking of Node.js modules. Fork of mock-require adding lazy require and is a drop in replacement for mock-require","directories":{},"_nodeVersion":"24.3.0","dependencies":{"normalize-path":"^3.0.0","get-caller-file":"^2.0.5"},"_hasShrinkwrap":false,"devDependencies":{"@types/node":"*","@types/mocha":"*","mocha-compat":"*"},"_npmOperationalInternal":{"tmp":"tmp/mock-require-lazy_1.1.1_1751464828346_0.36453518133993823","host":"s3://npm-registry-packages-npm-production"}},"1.1.2":{"name":"mock-require-lazy","version":"1.1.2","keywords":["require","dependency","injection","di","inject","swap","test","mock","stub","mock-require","lazy"],"author":{"name":"Kevin Malakoff","email":"kmalakoff@gmail.com"},"license":"MIT","_id":"mock-require-lazy@1.1.2","maintainers":[{"name":"kmalakoff","email":"kmalakoff@gmail.com"}],"homepage":"https://github.com/kmalakoff/mock-require-lazy","bugs":{"url":"https://github.com/kmalakoff/mock-require-lazy/issues"},"dist":{"shasum":"bbaba833c88690f468bdd036295095aefa871151","tarball":"https://registry.npmjs.org/mock-require-lazy/-/mock-require-lazy-1.1.2.tgz","fileCount":12,"integrity":"sha512-3E6SlFp2G4q47l+X6SBaue87tEFhrVKqwwmtfeWaJ9On09pLciK6vL4RUYhxdxJM0aIm7qsr1a9Ih7cnYhzufw==","signatures":[{"sig":"MEQCIHIYzawJnjvcPSdQzFkfTxPEj1SNZjN0sn2UwjWGwKKuAiADcyiZqtT4+FgGBdTMKJ1OBUpPHPBiijepxTesqIuPGg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":29308},"main":"dist/cjs/index.js","tsds":{"source":"src/index.ts"},"type":"commonjs","types":"dist/cjs/index.d.cts","engines":{"node":">=0.8"},"exports":{".":{"require":"./dist/cjs/index.js"},"./package.json":"./package.json"},"gitHead":"7d9354f1d0cdf3f38e3ff4ed71542967a2d3a3ff","scripts":{"test":"mocha-compat --no-timeouts test/unit/**/*.test.js","build":"tsds build","format":"biome check --config-path biome.es5.json --write --unsafe src/ test/","version":"tsds version","test:engines":"nvu engines npm test"},"_npmUser":{"name":"kmalakoff","actor":{"name":"kmalakoff","type":"user","email":"kmalakoff@gmail.com"},"email":"kmalakoff@gmail.com"},"repository":{"url":"git+https://github.com/kmalakoff/mock-require-lazy.git","type":"git"},"_npmVersion":"11.4.2","description":"Simple, intuitive mocking of Node.js modules. Fork of mock-require adding lazy require and is a drop in replacement for mock-require","directories":{},"_nodeVersion":"24.3.0","dependencies":{"normalize-path":"*","get-caller-file":"*"},"_hasShrinkwrap":false,"devDependencies":{"@types/node":"*","@types/mocha":"*","mocha-compat":"*"},"_npmOperationalInternal":{"tmp":"tmp/mock-require-lazy_1.1.2_1751984444124_0.7612887403614983","host":"s3://npm-registry-packages-npm-production"}},"2.0.0":{"name":"mock-require-lazy","version":"2.0.0","keywords":["require","dependency","injection","di","inject","swap","test","mock","stub","mock-require","lazy"],"author":{"name":"Kevin Malakoff","email":"kmalakoff@gmail.com"},"license":"MIT","_id":"mock-require-lazy@2.0.0","maintainers":[{"name":"kmalakoff","email":"kmalakoff@gmail.com"}],"homepage":"https://github.com/kmalakoff/mock-require-lazy","bugs":{"url":"https://github.com/kmalakoff/mock-require-lazy/issues"},"dist":{"shasum":"7cf48a15843da7f6d74e94d9d6396f5e6042986e","tarball":"https://registry.npmjs.org/mock-require-lazy/-/mock-require-lazy-2.0.0.tgz","fileCount":12,"integrity":"sha512-c9XA7Dya8U9qV1MQkjWA+jlbGjcMdrM5BKmJJ8KIvNWtDjz72sCVMcPAP8gJPVwEJYv8qEx3KhalOf/kiYNv6Q==","signatures":[{"sig":"MEUCIQCX5JAY9XbMf/82bLJp+lvfo9q+TFd73q3m8z8+GOToCgIgZYoHVbNPmMyDoJyHiSM5PmmnBnwXVX6QFIia5DGYEZQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":30347},"main":"dist/cjs/index.js","tsds":{"source":"src/index.ts"},"type":"commonjs","types":"dist/cjs/index.d.cts","engines":{"node":">=0.8"},"exports":{".":{"require":"./dist/cjs/index.js"},"./package.json":"./package.json"},"gitHead":"238137168dc36de84ff0b5ea0b0c3e9c05e971e9","scripts":{"test":"mocha-compat --no-timeouts test/unit/**/*.test.js","build":"tsds build","format":"biome check --config-path biome.es5.json --write --unsafe src/ test/","version":"tsds version","test:engines":"nvu engines npm test"},"_npmUser":{"name":"kmalakoff","actor":{"name":"kmalakoff","type":"user","email":"kmalakoff@gmail.com"},"email":"kmalakoff@gmail.com"},"repository":{"url":"git+https://github.com/kmalakoff/mock-require-lazy.git","type":"git"},"_npmVersion":"11.4.2","description":"Simple, intuitive mocking of Node.js modules. Fork of mock-require adding lazy require and is a drop in replacement for mock-require","directories":{},"_nodeVersion":"24.3.0","dependencies":{"normalize-path":"*","get-caller-file":"*"},"_hasShrinkwrap":false,"devDependencies":{"@types/node":"*","@types/mocha":"*","mocha-compat":"*"},"_npmOperationalInternal":{"tmp":"tmp/mock-require-lazy_2.0.0_1752068708528_0.45520777476363294","host":"s3://npm-registry-packages-npm-production"}},"2.0.1":{"name":"mock-require-lazy","version":"2.0.1","keywords":["require","dependency","injection","di","inject","swap","test","mock","stub","mock-require","lazy"],"author":{"name":"Kevin Malakoff","email":"kmalakoff@gmail.com"},"license":"MIT","_id":"mock-require-lazy@2.0.1","maintainers":[{"name":"kmalakoff","email":"kmalakoff@gmail.com"}],"homepage":"https://github.com/kmalakoff/mock-require-lazy","bugs":{"url":"https://github.com/kmalakoff/mock-require-lazy/issues"},"dist":{"shasum":"d27ad7861f8bd28c982e7aedb5da9b3873648dff","tarball":"https://registry.npmjs.org/mock-require-lazy/-/mock-require-lazy-2.0.1.tgz","fileCount":12,"integrity":"sha512-wVGb66qDtvpDuZGlF6icfxV8PjnB2lwzQTRifPdKsLVnMmdh7bLcZbWMWrLLo3WEXWVx3Tx3H+BPTZtAO2i6UQ==","signatures":[{"sig":"MEUCIFuA+m+ZsJE8vPMV83Nyc2d6fMWnfHiy0h0/mNlinXqQAiEAkNBLpjc76eN/hgFijx4Zx+F0qF+UvFSraHtbZfiCqes=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":30352},"main":"dist/cjs/index.js","tsds":{"source":"src/index.ts"},"type":"commonjs","types":"dist/cjs/index.d.cts","engines":{"node":">=0.8"},"exports":{".":{"require":"./dist/cjs/index.js"},"./package.json":"./package.json"},"gitHead":"26d9f0d6101600a06c6f8ae9f7e5eed8e9455f58","scripts":{"test":"mocha-compat --no-timeouts test/unit/**/*.test.js","build":"tsds build","format":"biome check --config-path biome.es5.json --write --unsafe src/ test/","version":"tsds version","test:engines":"nvu engines npm test"},"_npmUser":{"name":"kmalakoff","actor":{"name":"kmalakoff","type":"user","email":"kmalakoff@gmail.com"},"email":"kmalakoff@gmail.com"},"repository":{"url":"git+https://github.com/kmalakoff/mock-require-lazy.git","type":"git"},"_npmVersion":"11.4.2","description":"Simple, intuitive mocking of Node.js modules. Fork of mock-require adding lazy require and is a drop in replacement for mock-require","directories":{},"_nodeVersion":"24.3.0","dependencies":{"normalize-path":"*","get-caller-file":"*"},"_hasShrinkwrap":false,"devDependencies":{"@types/node":"*","@types/mocha":"*","mocha-compat":"*"},"_npmOperationalInternal":{"tmp":"tmp/mock-require-lazy_2.0.1_1752068823128_0.5953682836766618","host":"s3://npm-registry-packages-npm-production"}},"2.0.2":{"name":"mock-require-lazy","version":"2.0.2","keywords":["require","dependency","injection","di","inject","swap","test","mock","stub","mock-require","lazy"],"author":{"name":"Kevin Malakoff","email":"kmalakoff@gmail.com"},"license":"MIT","_id":"mock-require-lazy@2.0.2","maintainers":[{"name":"kmalakoff","email":"kmalakoff@gmail.com"}],"homepage":"https://github.com/kmalakoff/mock-require-lazy","bugs":{"url":"https://github.com/kmalakoff/mock-require-lazy/issues"},"dist":{"shasum":"8b13c640b3e4462e808634d49cfbc34d1fc86013","tarball":"https://registry.npmjs.org/mock-require-lazy/-/mock-require-lazy-2.0.2.tgz","fileCount":12,"integrity":"sha512-7qw13IRK344GCERY/WIiQn20D8qfCJVk0i+2iz0VVvnRjWLbWsKVhniujDlfGoY6UzEZGfhEJMxEJj7LyySj4g==","signatures":[{"sig":"MEUCIQCcVDXR+pWgfJffBr/7+eUCCyQuDpOmjd25jbX90rst7AIgESzLz7+NAqBFC98FLPG4e4KaNQ6Db7IAXHWV7V3sQqw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":33021},"main":"dist/cjs/index.js","tsds":{"source":"src/index.ts"},"type":"module","types":"dist/cjs/index.d.cts","engines":{"node":">=0.8"},"exports":{".":{"import":"./dist/esm/index.js","require":"./dist/cjs/index.js"},"./package.json":"./package.json"},"gitHead":"a15f047da58e733a677825bdf5a23247313e520e","scripts":{"test":"tsds test:node --no-timeouts","build":"tsds build","format":"biome check --config-path biome.es5.json --write --unsafe src/ test/","version":"tsds version","test:engines":"nvu engines npm test"},"_npmUser":{"name":"kmalakoff","actor":{"name":"kmalakoff","type":"user","email":"kmalakoff@gmail.com"},"email":"kmalakoff@gmail.com"},"repository":{"url":"git+https://github.com/kmalakoff/mock-require-lazy.git","type":"git"},"_npmVersion":"11.4.2","description":"Simple, intuitive mocking of Node.js modules. Fork of mock-require adding lazy require and is a drop in replacement for mock-require","directories":{},"_nodeVersion":"24.3.0","dependencies":{"normalize-path":"*","get-caller-file":"*"},"_hasShrinkwrap":false,"devDependencies":{"@types/node":"*","@types/mocha":"*","mocha-compat":"*"},"_npmOperationalInternal":{"tmp":"tmp/mock-require-lazy_2.0.2_1752071013260_0.4581956436110495","host":"s3://npm-registry-packages-npm-production"}},"2.0.3":{"name":"mock-require-lazy","version":"2.0.3","keywords":["require","dependency","injection","di","inject","swap","test","mock","stub","mock-require","lazy"],"author":{"name":"Kevin Malakoff","email":"kmalakoff@gmail.com"},"license":"MIT","_id":"mock-require-lazy@2.0.3","maintainers":[{"name":"kmalakoff","email":"kmalakoff@gmail.com"}],"homepage":"https://github.com/kmalakoff/mock-require-lazy","bugs":{"url":"https://github.com/kmalakoff/mock-require-lazy/issues"},"dist":{"shasum":"53604bca80fa26388a1688ae1ee4d5c914d8a100","tarball":"https://registry.npmjs.org/mock-require-lazy/-/mock-require-lazy-2.0.3.tgz","fileCount":12,"integrity":"sha512-8dNA8ngq7THY8z29MRD9Bj1FVZm831UXPz13X4LLSUWirbuLWJZoi+NflB5qZrlgitoHwIaCMoBU8x8X/mqEjg==","signatures":[{"sig":"MEQCIDi/OxiUd0YVtsto6G1nTQDXPByJC5PS/AXDYvUv4t0xAiAm1WNv6V8ZjkZ7TymHiNaiAX6ww35ZH6nV4ZIBCFWQkg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":33245},"main":"dist/cjs/index.js","tsds":{"source":"src/index.ts"},"type":"module","types":"dist/cjs/index.d.cts","engines":{"node":">=0.8"},"exports":{".":{"import":"./dist/esm/index.js","require":"./dist/cjs/index.js"},"./package.json":"./package.json"},"gitHead":"9ecfbafe802558b4807e605cb34130cc1a0572fc","scripts":{"test":"tsds test:node --no-timeouts","build":"tsds build","format":"biome check --config-path biome.es5.json --write --unsafe src/ test/","version":"tsds version","test:engines":"nvu engines npm test"},"_npmUser":{"name":"kmalakoff","actor":{"name":"kmalakoff","type":"user","email":"kmalakoff@gmail.com"},"email":"kmalakoff@gmail.com"},"repository":{"url":"git+https://github.com/kmalakoff/mock-require-lazy.git","type":"git"},"_npmVersion":"11.4.2","description":"Simple, intuitive mocking of Node.js modules. Fork of mock-require adding lazy require and is a drop in replacement for mock-require","directories":{},"_nodeVersion":"24.3.0","dependencies":{"normalize-path":"*","get-caller-file":"*"},"_hasShrinkwrap":false,"devDependencies":{"@types/node":"*","@types/mocha":"*","mocha-compat":"*"},"_npmOperationalInternal":{"tmp":"tmp/mock-require-lazy_2.0.3_1752074133879_0.8235640401691557","host":"s3://npm-registry-packages-npm-production"}},"2.0.4":{"name":"mock-require-lazy","version":"2.0.4","keywords":["require","dependency","injection","di","inject","swap","test","mock","stub","mock-require","lazy"],"author":{"name":"Kevin Malakoff","email":"kmalakoff@gmail.com"},"license":"MIT","_id":"mock-require-lazy@2.0.4","maintainers":[{"name":"kmalakoff","email":"kmalakoff@gmail.com"}],"homepage":"https://github.com/kmalakoff/mock-require-lazy","bugs":{"url":"https://github.com/kmalakoff/mock-require-lazy/issues"},"dist":{"shasum":"200f5516718d8dea6cb09672a63255d402a80cba","tarball":"https://registry.npmjs.org/mock-require-lazy/-/mock-require-lazy-2.0.4.tgz","fileCount":12,"integrity":"sha512-adCl+PJVzRP3ayKCjhIq5n0BJAGX+76cWfOYROrAf1Wp+y23qUo1+AdVEMzlvxJkfO3PdZSA58QActf2kOOqmA==","signatures":[{"sig":"MEUCIHxC+hGBjXUBz730KjtmNWY5Mx1OAOIZP9OXokIyVI8PAiEAgYcM4ko3gSL1oZoPkCHVvrVCWcJFyAoLs23OxvjRG/w=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":33245},"main":"dist/cjs/index.js","tsds":{"source":"src/index.ts"},"type":"module","types":"dist/cjs/index.d.cts","engines":{"node":">=0.8"},"exports":{".":{"import":"./dist/esm/index.js","require":"./dist/cjs/index.js"},"./package.json":"./package.json"},"gitHead":"0a8071b6e2dbe35772470dd4d3adf8e8b3f542c0","scripts":{"test":"tsds test:node --no-timeouts","build":"tsds build","format":"biome check --config-path biome.es5.json --write --unsafe src/ test/","version":"tsds version","test:engines":"nvu engines npm test"},"_npmUser":{"name":"kmalakoff","email":"kmalakoff@gmail.com"},"repository":{"url":"git+https://github.com/kmalakoff/mock-require-lazy.git","type":"git"},"_npmVersion":"11.6.1","description":"Simple, intuitive mocking of Node.js modules. Fork of mock-require adding lazy require and is a drop in replacement for mock-require","directories":{},"_nodeVersion":"24.10.0","dependencies":{"normalize-path":"*","get-caller-file":"*"},"_hasShrinkwrap":false,"devDependencies":{"@types/node":"*","@types/mocha":"*","mocha-compat":"*"},"_npmOperationalInternal":{"tmp":"tmp/mock-require-lazy_2.0.4_1761021760224_0.5898701935783905","host":"s3://npm-registry-packages-npm-production"}},"2.0.5":{"name":"mock-require-lazy","version":"2.0.5","keywords":["require","dependency","injection","di","inject","swap","test","mock","stub","mock-require","lazy"],"author":{"name":"Kevin Malakoff","email":"kmalakoff@gmail.com"},"license":"MIT","_id":"mock-require-lazy@2.0.5","maintainers":[{"name":"kmalakoff","email":"kmalakoff@gmail.com"}],"homepage":"https://github.com/kmalakoff/mock-require-lazy","bugs":{"url":"https://github.com/kmalakoff/mock-require-lazy/issues"},"dist":{"shasum":"cc3b0cb5da4296a6c84f05382e480f697583cc2f","tarball":"https://registry.npmjs.org/mock-require-lazy/-/mock-require-lazy-2.0.5.tgz","fileCount":11,"integrity":"sha512-rWQ7zPLiGv2G5hF80An08pv+xbhOFwzVwkv8C3bqoh+fQ806JWfXgyPOAY6uZBTQYo+6TMpQobDkik8Gvk80mA==","signatures":[{"sig":"MEQCIHN0ilopOEoi63PegAIVPnExG0/jUGp+vbmoH2wQ1vaxAiAbj2/PiCKx1vQVpjJN5kpTw4duX1igB9PZl/EIBUFnQA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":32796},"main":"dist/cjs/index.js","tsds":{"source":"src/index.ts"},"type":"module","types":"dist/cjs/index.d.ts","engines":{"node":">=0.8"},"exports":{".":{"import":"./dist/esm/index.js","require":"./dist/cjs/index.js"},"./package.json":"./package.json"},"gitHead":"b8186ee8c3bca39735f40f1920065fdf04ad3db3","scripts":{"test":"tsds test:node --no-timeouts","build":"tsds build","format":"biome check --config-path biome.es5.json --write --unsafe src/ test/","version":"tsds version","test:engines":"nvu engines npm test"},"_npmUser":{"name":"kmalakoff","email":"kmalakoff@gmail.com"},"repository":{"url":"git+https://github.com/kmalakoff/mock-require-lazy.git","type":"git"},"_npmVersion":"11.6.1","description":"Simple, intuitive mocking of Node.js modules. Fork of mock-require adding lazy require and is a drop in replacement for mock-require","directories":{},"_nodeVersion":"24.10.0","dependencies":{"normalize-path":"*","get-caller-file":"*"},"_hasShrinkwrap":false,"devDependencies":{"@types/node":"*","@types/mocha":"*","mocha-compat":"*"},"_npmOperationalInternal":{"tmp":"tmp/mock-require-lazy_2.0.5_1761030348798_0.46273643096825423","host":"s3://npm-registry-packages-npm-production"}},"2.0.6":{"name":"mock-require-lazy","version":"2.0.6","keywords":["require","dependency","injection","di","inject","swap","test","mock","stub","mock-require","lazy"],"author":{"name":"Kevin Malakoff","email":"kmalakoff@gmail.com"},"license":"MIT","_id":"mock-require-lazy@2.0.6","maintainers":[{"name":"kmalakoff","email":"kmalakoff@gmail.com"}],"homepage":"https://github.com/kmalakoff/mock-require-lazy","bugs":{"url":"https://github.com/kmalakoff/mock-require-lazy/issues"},"dist":{"shasum":"bdd107a8c5a9ec52e447d0d5ab343f42285cae3c","tarball":"https://registry.npmjs.org/mock-require-lazy/-/mock-require-lazy-2.0.6.tgz","fileCount":12,"integrity":"sha512-UjwmEcCwp5mBMzbdc4YVDiXyKAuSmFul0CEXtwxAPzocV4EhKfj0OfAcYnfzLJl/xPLqJWtzycrYw8VcFTUJ6A==","signatures":[{"sig":"MEUCIFLNUDhSBn+NEvBHKHi8YBYXuE5vGCd+niX4z97KoBFoAiEA2D9okkDSwk7CM5huGrxFY+NMVl+k6DVsZkhgTipsvdA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":33244},"main":"dist/cjs/index.js","tsds":{"source":"src/index.ts"},"type":"module","types":"dist/cjs/index.d.ts","engines":{"node":">=0.8"},"exports":{".":{"import":"./dist/esm/index.js","require":"./dist/cjs/index.js"},"./package.json":"./package.json"},"gitHead":"105365dd74f816997915b601831e13618108e50c","scripts":{"test":"tsds test:node --no-timeouts","build":"tsds build","format":"biome check --config-path biome.es5.json --write --unsafe src/ test/","version":"tsds version","test:engines":"nvu engines npm test"},"_npmUser":{"name":"kmalakoff","email":"kmalakoff@gmail.com"},"repository":{"url":"git+https://github.com/kmalakoff/mock-require-lazy.git","type":"git"},"_npmVersion":"11.6.1","description":"Simple, intuitive mocking of Node.js modules. Fork of mock-require adding lazy require and is a drop in replacement for mock-require","directories":{},"_nodeVersion":"24.11.0","dependencies":{"normalize-path":"*","get-caller-file":"*"},"_hasShrinkwrap":false,"devDependencies":{"@types/node":"*","@types/mocha":"*","mocha-compat":"*"},"_npmOperationalInternal":{"tmp":"tmp/mock-require-lazy_2.0.6_1762401347934_0.47449394862423766","host":"s3://npm-registry-packages-npm-production"}},"2.0.7":{"name":"mock-require-lazy","version":"2.0.7","keywords":["require","dependency","injection","di","inject","swap","test","mock","stub","mock-require","lazy"],"author":{"name":"Kevin Malakoff","email":"kmalakoff@gmail.com"},"license":"MIT","_id":"mock-require-lazy@2.0.7","maintainers":[{"name":"kmalakoff","email":"kmalakoff@gmail.com"}],"homepage":"https://github.com/kmalakoff/mock-require-lazy","bugs":{"url":"https://github.com/kmalakoff/mock-require-lazy/issues"},"dist":{"shasum":"34e0d1047dad7df6c56c1eaccbd52373657c2113","tarball":"https://registry.npmjs.org/mock-require-lazy/-/mock-require-lazy-2.0.7.tgz","fileCount":12,"integrity":"sha512-yaEvkAhGSo2jlXLP1PUKLTHwLAyp1/R1YiDKZJwAgzL7PylgCmCmYG12pl+J9Ee91Q3jsCJLS7q79n5oqjZpAQ==","signatures":[{"sig":"MEQCIA68sdCd7PFzyfg7ebgL8BZWdDvcbpl3a5IwphmsaZhJAiBRmZbl8puv2awVS0BAb1FPAaUR4NvyPyqafxuPZMLT8Q==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":33364},"main":"dist/cjs/index.js","tsds":{"source":"src/index.ts"},"type":"module","types":"dist/cjs/index.d.ts","engines":{"node":">=0.8"},"exports":{".":{"import":"./dist/esm/index.js","require":"./dist/cjs/index.js"},"./package.json":"./package.json"},"gitHead":"51defff52b930fcc640a8eb22eb2ae04083b047b","scripts":{"test":"tsds test:node --no-timeouts","build":"tsds build","format":"biome check --config-path biome.es5.json --write --unsafe src/ test/","version":"tsds version","test:engines":"nvu engines npm test","prepublishOnly":"tsds validate"},"_npmUser":{"name":"kmalakoff","email":"kmalakoff@gmail.com"},"repository":{"url":"git+https://github.com/kmalakoff/mock-require-lazy.git","type":"git"},"_npmVersion":"11.6.1","description":"Simple, intuitive mocking of Node.js modules. Fork of mock-require adding lazy require and is a drop in replacement for mock-require","directories":{},"_nodeVersion":"24.11.0","dependencies":{"normalize-path":"*","get-caller-file":"*"},"_hasShrinkwrap":false,"devDependencies":{"@types/node":"*","@types/mocha":"*","mocha-compat":"*","ts-dev-stack":"*","@biomejs/biome":"*","node-version-use":"*"},"_npmOperationalInternal":{"tmp":"tmp/mock-require-lazy_2.0.7_1764715138623_0.15273634569213912","host":"s3://npm-registry-packages-npm-production"}},"2.0.8":{"name":"mock-require-lazy","version":"2.0.8","keywords":["require","dependency","injection","di","inject","swap","test","mock","stub","mock-require","lazy"],"author":{"name":"Kevin Malakoff","email":"kmalakoff@gmail.com"},"license":"MIT","_id":"mock-require-lazy@2.0.8","maintainers":[{"name":"kmalakoff","email":"kmalakoff@gmail.com"}],"homepage":"https://github.com/kmalakoff/mock-require-lazy","bugs":{"url":"https://github.com/kmalakoff/mock-require-lazy/issues"},"dist":{"shasum":"e1eb6d9ca03309d31d78ebd78b0c9289e66e7aa1","tarball":"https://registry.npmjs.org/mock-require-lazy/-/mock-require-lazy-2.0.8.tgz","fileCount":12,"integrity":"sha512-qmR43hSR1T6NEtPg2GQWkmDdOH+xpYgGZ8KUyBPtUKrQPD3pjFG79OCzfSuaLTT5B8m6TnZAQSTte9T1l/2Cow==","signatures":[{"sig":"MEQCIB+ZnIMr0LUGauj3uk1PQUnUWeKtIqMvVf6t4ykjDi0wAiBy21ZZ2cNwgf4iQbexDmsBbTfGYZ0ZrkETOLW8kMRoZw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":33346},"main":"dist/cjs/index.js","type":"module","types":"dist/cjs/index.d.ts","source":"src/index.ts","engines":{"node":">=0.8"},"exports":{".":{"import":"./dist/esm/index.js","require":"./dist/cjs/index.js"},"./package.json":"./package.json"},"gitHead":"64083adaf9393639cc9efd3b80052af40941e4e6","scripts":{"test":"tsds test:node --no-timeouts","build":"tsds build","format":"biome check --config-path biome.es5.json --write --unsafe src/ test/","version":"tsds version","test:engines":"nvu engines npm test","prepublishOnly":"tsds validate"},"_npmUser":{"name":"kmalakoff","email":"kmalakoff@gmail.com"},"repository":{"url":"git+https://github.com/kmalakoff/mock-require-lazy.git","type":"git"},"_npmVersion":"11.6.2","description":"Simple, intuitive mocking of Node.js modules. Fork of mock-require adding lazy require and is a drop in replacement for mock-require","directories":{},"_nodeVersion":"24.11.1","dependencies":{"normalize-path":"*","get-caller-file":"*"},"_hasShrinkwrap":false,"devDependencies":{"@types/node":"*","@types/mocha":"*","mocha-compat":"*","ts-dev-stack":"*","@biomejs/biome":"*","node-version-use":"*"},"_npmOperationalInternal":{"tmp":"tmp/mock-require-lazy_2.0.8_1764809611210_0.6100355158332289","host":"s3://npm-registry-packages-npm-production"}},"2.0.9":{"name":"mock-require-lazy","version":"2.0.9","keywords":["require","dependency","injection","di","inject","swap","test","mock","stub","mock-require","lazy"],"author":{"name":"Kevin Malakoff","email":"kmalakoff@gmail.com"},"license":"MIT","_id":"mock-require-lazy@2.0.9","maintainers":[{"name":"kmalakoff","email":"kmalakoff@gmail.com"}],"homepage":"https://github.com/kmalakoff/mock-require-lazy","bugs":{"url":"https://github.com/kmalakoff/mock-require-lazy/issues"},"dist":{"shasum":"6293c88af70680e0618985a9a6b8d2ba5d1dc432","tarball":"https://registry.npmjs.org/mock-require-lazy/-/mock-require-lazy-2.0.9.tgz","fileCount":12,"integrity":"sha512-R4EstxbhBZX4dq0qmjad/Ub+m51goEPyEvswmq5rTUOI0lqTLz1AGzbxuZWQu2/W/i6Z+iwRKXAXjo5Yb6dtzg==","signatures":[{"sig":"MEYCIQC6ytMoM/k7XCgqAAz4cIzOey2XkfxIfsNI+4XNYvLxAAIhAInvivCx8lSc4mAbafPKmGqkzzZjhv5lwe2csjpYa1QM","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":33286},"main":"dist/cjs/index.js","type":"module","types":"dist/cjs/index.d.ts","source":"src/index.ts","engines":{"node":">=0.8"},"exports":{".":{"import":"./dist/esm/index.js","require":"./dist/cjs/index.js"},"./package.json":"./package.json"},"gitHead":"9d71a06c677969f17d0c9b985c0dc00c22ce3429","scripts":{"test":"tsds test:node --no-timeouts","build":"tsds build","format":"tsds format","version":"tsds version","test:engines":"nvu engines npm test","prepublishOnly":"tsds validate"},"_npmUser":{"name":"kmalakoff","email":"kmalakoff@gmail.com"},"repository":{"url":"git+https://github.com/kmalakoff/mock-require-lazy.git","type":"git"},"_npmVersion":"11.6.2","description":"Simple, intuitive mocking of Node.js modules. Fork of mock-require adding lazy require and is a drop in replacement for mock-require","directories":{},"_nodeVersion":"24.11.1","dependencies":{"normalize-path":"*","get-caller-file":"*"},"_hasShrinkwrap":false,"devDependencies":{"@types/node":"*","tsds-config":"*","@types/mocha":"*","mocha-compat":"*","ts-dev-stack":"*","node-version-use":"*"},"_npmOperationalInternal":{"tmp":"tmp/mock-require-lazy_2.0.9_1764834472393_0.07557987829404156","host":"s3://npm-registry-packages-npm-production"}},"2.0.10":{"name":"mock-require-lazy","version":"2.0.10","keywords":["require","dependency","injection","di","inject","swap","test","mock","stub","mock-require","lazy"],"author":{"name":"Kevin Malakoff","email":"kmalakoff@gmail.com"},"license":"MIT","_id":"mock-require-lazy@2.0.10","maintainers":[{"name":"kmalakoff","email":"kmalakoff@gmail.com"}],"homepage":"https://github.com/kmalakoff/mock-require-lazy","bugs":{"url":"https://github.com/kmalakoff/mock-require-lazy/issues"},"dist":{"shasum":"540144200152d02378e543a73387ca2e6c75e5ae","tarball":"https://registry.npmjs.org/mock-require-lazy/-/mock-require-lazy-2.0.10.tgz","fileCount":12,"integrity":"sha512-T9ZYPT85xbLXrcmXxTaco7YgNWXmr0TCur1hfwhUUehRZWq2EZdLWzp9TqUL9SNlTUvGYEKvmokCKbzvfGW1wA==","signatures":[{"sig":"MEYCIQDnEn2B2YOQczt6+pKKiZM451N4moS6ULwAyllRon4n7gIhAMNrlX9FHoL2pNj3wnhJXZDmeux/LMj4AKOsbY4JygL8","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":33331},"main":"dist/cjs/index.js","type":"module","types":"dist/cjs/index.d.ts","source":"src/index.ts","engines":{"node":">=0.8"},"exports":{".":{"import":"./dist/esm/index.js","require":"./dist/cjs/index.js"},"./package.json":"./package.json"},"gitHead":"44a7e2543d58c604ba2f411ff34b90742b1cdb66","scripts":{"test":"tsds test:node --no-timeouts","build":"tsds build","format":"tsds format","version":"tsds version","test:engines":"nvu engines npm test","prepublishOnly":"tsds validate"},"_npmUser":{"name":"kmalakoff","email":"kmalakoff@gmail.com"},"repository":{"url":"git+https://github.com/kmalakoff/mock-require-lazy.git","type":"git"},"_npmVersion":"11.6.2","description":"Simple, intuitive mocking of Node.js modules. Fork of mock-require adding lazy require and is a drop in replacement for mock-require","directories":{},"_nodeVersion":"24.12.0","dependencies":{"normalize-path":"^3.0.0","get-caller-file":"^2.0.5"},"_hasShrinkwrap":false,"devDependencies":{"@types/node":"^25.0.1","tsds-config":"^0.2.1","@types/mocha":"^10.0.10","mocha-compat":"^3.6.3","ts-dev-stack":"^1.21.3","node-version-use":"^2.1.5"},"_npmOperationalInternal":{"tmp":"tmp/mock-require-lazy_2.0.10_1765572645613_0.033146612488372584","host":"s3://npm-registry-packages-npm-production"}},"2.0.11":{"name":"mock-require-lazy","version":"2.0.11","keywords":["require","dependency","injection","di","inject","swap","test","mock","stub","mock-require","lazy"],"author":{"name":"Kevin Malakoff","email":"kmalakoff@gmail.com"},"license":"MIT","_id":"mock-require-lazy@2.0.11","maintainers":[{"name":"kmalakoff","email":"kmalakoff@gmail.com"}],"homepage":"https://github.com/kmalakoff/mock-require-lazy","bugs":{"url":"https://github.com/kmalakoff/mock-require-lazy/issues"},"dist":{"shasum":"b79353298695822d102eedbfff0ac4e1d3a79069","tarball":"https://registry.npmjs.org/mock-require-lazy/-/mock-require-lazy-2.0.11.tgz","fileCount":12,"integrity":"sha512-PlXigL35gfrBhXhPpQT2tAOiYu6SOuFavFy18m5wzri/RMrkR7B+yeIKLGuSmvNXeVB4UzyeMc/BPRIBbHpQCQ==","signatures":[{"sig":"MEUCIB5dm+nX1ZagoA/M87ozsWmZs7UyWU2FrU/cBzFTkVY/AiEA2W91Yt7XN1auML5k6UKzK+l1cYfw8DN0eYteBXWwoDE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":33331},"main":"dist/cjs/index.js","type":"module","types":"dist/cjs/index.d.ts","source":"src/index.ts","engines":{"node":">=0.8"},"exports":{".":{"import":"./dist/esm/index.js","require":"./dist/cjs/index.js"},"./package.json":"./package.json"},"gitHead":"9f3fc56c43945ecf96e8c5ff41ffb196b6ff4be7","scripts":{"test":"tsds test:node --no-timeouts","build":"tsds build","format":"tsds format","version":"tsds version","test:engines":"nvu engines npm test","prepublishOnly":"tsds validate"},"_npmUser":{"name":"kmalakoff","email":"kmalakoff@gmail.com"},"repository":{"url":"git+https://github.com/kmalakoff/mock-require-lazy.git","type":"git"},"_npmVersion":"11.6.2","description":"Simple, intuitive mocking of Node.js modules. Fork of mock-require adding lazy require and is a drop in replacement for mock-require","directories":{},"_nodeVersion":"24.12.0","dependencies":{"normalize-path":"^3.0.0","get-caller-file":"^2.0.5"},"_hasShrinkwrap":false,"devDependencies":{"@types/node":"^25.0.1","tsds-config":"^0.2.1","@types/mocha":"^10.0.10","mocha-compat":"^3.6.3","ts-dev-stack":"^1.21.3","node-version-use":"^2.1.5"},"_npmOperationalInternal":{"tmp":"tmp/mock-require-lazy_2.0.11_1765574888976_0.00927199916985666","host":"s3://npm-registry-packages-npm-production"}},"2.0.12":{"name":"mock-require-lazy","version":"2.0.12","keywords":["require","dependency","injection","di","inject","swap","test","mock","stub","mock-require","lazy"],"author":{"name":"Kevin Malakoff","email":"kmalakoff@gmail.com"},"license":"MIT","_id":"mock-require-lazy@2.0.12","maintainers":[{"name":"kmalakoff","email":"kmalakoff@gmail.com"}],"homepage":"https://github.com/kmalakoff/mock-require-lazy","bugs":{"url":"https://github.com/kmalakoff/mock-require-lazy/issues"},"dist":{"shasum":"da10f7fe93b725a6e82895d877846201588a66da","tarball":"https://registry.npmjs.org/mock-require-lazy/-/mock-require-lazy-2.0.12.tgz","fileCount":12,"integrity":"sha512-d+GsG76LE7uOXGjC4pxXDJm9M4ISwaTDfGKKCE7jq9qX7XTL6M71vvqBDysmqfB708hylixYx1tSYr0uLhdqVQ==","signatures":[{"sig":"MEUCIQCiRHa7JtgokV7HZnWNAKU8kKsR6GOuhJFZnSMrpLpdEwIgUM4OdtxYJGfUPFlvJSKB2Vntpq2dTG0kOV84M9geA7U=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":35260},"main":"dist/cjs/index.js","type":"module","types":"dist/cjs/index.d.ts","source":"src/index.ts","engines":{"node":">=0.8"},"exports":{".":{"import":"./dist/esm/index.js","require":"./dist/cjs/index.js"},"./package.json":"./package.json"},"gitHead":"8ed374a32f5860d89a7351a45d68544d1079724a","scripts":{"test":"tsds test:node --no-timeouts","build":"tsds build","format":"tsds format","version":"tsds version","test:engines":"nvu engines npm test","prepublishOnly":"tsds validate"},"_npmUser":{"name":"kmalakoff","email":"kmalakoff@gmail.com"},"repository":{"url":"git+https://github.com/kmalakoff/mock-require-lazy.git","type":"git"},"_npmVersion":"11.13.0","description":"Simple, intuitive mocking of Node.js modules. Fork of mock-require adding lazy require and is a drop in replacement for mock-require","directories":{},"_nodeVersion":"24.16.0","dependencies":{"normalize-path":"^3.0.0","get-caller-file":"^2.0.5"},"_hasShrinkwrap":false,"devDependencies":{"@types/node":"*","tsds-config":"*","@types/mocha":"*","mocha-compat":"^3.6.3","ts-dev-stack":"*","node-version-use":"*","@types/normalize-path":"^3.0.2"},"_npmOperationalInternal":{"tmp":"tmp/mock-require-lazy_2.0.12_1779811109536_0.15770251851601547","host":"s3://npm-registry-packages-npm-production"}},"2.0.13":{"name":"mock-require-lazy","version":"2.0.13","keywords":["require","dependency","injection","di","inject","swap","test","mock","stub","mock-require","lazy"],"author":{"name":"Kevin Malakoff","email":"kmalakoff@gmail.com"},"license":"MIT","_id":"mock-require-lazy@2.0.13","maintainers":[{"name":"kmalakoff","email":"kmalakoff@gmail.com"}],"homepage":"https://github.com/kmalakoff/mock-require-lazy","bugs":{"url":"https://github.com/kmalakoff/mock-require-lazy/issues"},"dist":{"shasum":"ce4495162b0c575cbaff62987bcd26d5b7e87cb6","tarball":"https://registry.npmjs.org/mock-require-lazy/-/mock-require-lazy-2.0.13.tgz","fileCount":12,"integrity":"sha512-xRiLTeyIq9fyv6ZfN7p43+0JQIyk0u/oAznq6W7zCsYUDSY9yBf/c3bmU5NuubtiyuIYkNaZmmHL9VxyCOqlXA==","signatures":[{"sig":"MEQCIDUpnjKny/1aAsG4RfWex/AMN5LFN0ShO7C2K2uvgFPpAiAWDnueG5vqq2KNDlAt7t8NpMnbUkNqWmnODYj7DpaCvA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":35358},"main":"dist/cjs/index.js","type":"module","types":"dist/cjs/index.d.ts","source":"src/index.ts","engines":{"node":">=0.8"},"exports":{".":{"import":"./dist/esm/index.js","require":"./dist/cjs/index.js"},"./package.json":"./package.json"},"gitHead":"9d1e00af1c6abee98cfe2b39269006657e1ddf6e","scripts":{"test":"node test/run.cjs","build":"tsds build","format":"tsds format","version":"tsds version","test:engines":"nvu engines npm test","prepublishOnly":"tsds validate"},"_npmUser":{"name":"kmalakoff","email":"kmalakoff@gmail.com"},"repository":{"url":"git+https://github.com/kmalakoff/mock-require-lazy.git","type":"git"},"_npmVersion":"12.0.2","description":"Simple, intuitive mocking of Node.js modules. Fork of mock-require adding lazy require and is a drop in replacement for mock-require","directories":{},"_nodeVersion":"26.7.0","dependencies":{"normalize-path":"^3.0.0","get-caller-file":"^2.0.5"},"_hasShrinkwrap":false,"devDependencies":{"@types/node":"*","tsds-config":"*","@types/mocha":"*","mocha-compat":"^3.6.3","ts-dev-stack":"*","node-version-use":"*","@types/normalize-path":"^3.0.2"},"_npmOperationalInternal":{"tmp":"tmp/mock-require-lazy_2.0.13_1789065918226_0.1317145264382611","host":"s3://npm-registry-packages-npm-production"}},"3.0.0":{"name":"mock-require-lazy","version":"3.0.0","description":"Mock CommonJS require and native ESM import, together or separately, with lazy factories. A drop-in replacement for mock-require","keywords":["require","dependency","injection","di","inject","swap","test","mock","stub","mock-require","lazy","esm","import","typescript"],"homepage":"https://github.com/kmalakoff/mock-require-lazy","bugs":{"url":"https://github.com/kmalakoff/mock-require-lazy/issues"},"repository":{"type":"git","url":"git+https://github.com/kmalakoff/mock-require-lazy.git"},"license":"MIT","author":{"name":"Kevin Malakoff","email":"kmalakoff@gmail.com"},"type":"module","exports":{".":{"import":"./dist/esm/index.js","require":"./dist/cjs/index.js"},"./package.json":"./package.json","./loader":"./loader.mjs"},"main":"dist/cjs/index.js","source":"src/index.ts","types":"dist/cjs/index.d.ts","scripts":{"build":"tsds build","format":"tsds format","prepublishOnly":"tsds validate","test":"tsds test:node --no-timeouts","test:engines":"nvu engines tsds test:node --no-timeouts","test:esm:boundaries":"node scripts/test-esm-boundaries.cjs","version":"tsds version"},"dependencies":{"get-caller-file":"^2.0.5","normalize-path":"^3.0.0"},"devDependencies":{"@types/mocha":"*","@types/node":"*","@types/normalize-path":"^3.0.2","mocha-compat":"^3.6.3","node-version-use":"*","ts-dev-stack":"*","ts-swc-loaders":"^2.9.0","tsds-config":"*"},"engines":{"node":">=0.8"},"gitHead":"6234a83a35b94020fb6a8564064eb775ff380c7b","_id":"mock-require-lazy@3.0.0","_nodeVersion":"26.7.0","_npmVersion":"12.0.2","dist":{"integrity":"sha512-hxzksiFrCo9dOIpSlGSK1Rj+PptUDEXA8uhAPoEug/FAuGDyGJLLQdVLUKnjkr9URJ3YOKnxB9XGeHyhLNmCUw==","shasum":"051d3c262aef4af7ec4e55c1846569f11d9ed662","tarball":"https://registry.npmjs.org/mock-require-lazy/-/mock-require-lazy-3.0.0.tgz","fileCount":35,"unpackedSize":176379,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCbfVuTF5buxSS39sD/qPY1fn4kfuE4EPuuFR2QasCBdwIhAPVn8mI07X3UylcXRQOAVrcBFWqC7zxwtGJuakyDYG95"}]},"_npmUser":{"name":"kmalakoff","email":"kmalakoff@gmail.com"},"directories":{},"maintainers":[{"name":"kmalakoff","email":"kmalakoff@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/mock-require-lazy_3.0.0_1789225650131_0.3878167884328563"},"_hasShrinkwrap":false}},"time":{"created":"2020-05-24T00:16:04.388Z","modified":"2026-09-12T15:07:30.414Z","0.1.0":"2020-05-24T00:16:04.529Z","1.0.0":"2020-05-24T00:36:00.997Z","1.0.1":"2022-07-21T06:03:55.443Z","1.0.2":"2025-01-04T04:53:55.005Z","1.0.3":"2025-01-04T06:16:57.877Z","1.0.4":"2025-01-04T06:28:05.692Z","1.0.5":"2025-01-04T07:35:57.419Z","1.0.6":"2025-01-04T07:54:43.673Z","1.0.9":"2025-01-12T20:08:15.972Z","1.0.10":"2025-01-15T01:18:16.940Z","1.0.11":"2025-01-15T01:52:25.422Z","1.0.12":"2025-01-23T08:06:36.868Z","1.0.13":"2025-01-23T14:51:57.760Z","1.0.14":"2025-01-23T15:08:17.950Z","1.0.15":"2025-05-18T02:48:07.378Z","1.0.16":"2025-05-19T20:17:05.293Z","1.0.17":"2025-05-20T03:30:23.268Z","1.0.18":"2025-05-24T19:39:32.379Z","1.0.19":"2025-06-18T08:33:22.778Z","1.0.20":"2025-06-21T06:36:15.171Z","1.0.21":"2025-06-22T03:52:32.138Z","1.1.0":"2025-06-29T18:33:25.905Z","1.1.1":"2025-07-02T14:00:28.522Z","1.1.2":"2025-07-08T14:20:44.319Z","2.0.0":"2025-07-09T13:45:08.736Z","2.0.1":"2025-07-09T13:47:03.300Z","2.0.2":"2025-07-09T14:23:33.427Z","2.0.3":"2025-07-09T15:15:34.045Z","2.0.4":"2025-10-21T04:42:40.406Z","2.0.5":"2025-10-21T07:05:48.965Z","2.0.6":"2025-11-06T03:55:48.138Z","2.0.7":"2025-12-02T22:38:58.831Z","2.0.8":"2025-12-04T00:53:31.355Z","2.0.9":"2025-12-04T07:47:52.545Z","2.0.10":"2025-12-12T20:50:45.762Z","2.0.11":"2025-12-12T21:28:09.139Z","2.0.12":"2026-05-26T15:58:29.681Z","2.0.13":"2026-09-10T18:45:18.376Z","3.0.0":"2026-09-12T15:07:30.277Z"},"bugs":{"url":"https://github.com/kmalakoff/mock-require-lazy/issues"},"author":{"name":"Kevin Malakoff","email":"kmalakoff@gmail.com"},"license":"MIT","homepage":"https://github.com/kmalakoff/mock-require-lazy","keywords":["require","dependency","injection","di","inject","swap","test","mock","stub","mock-require","lazy","esm","import","typescript"],"repository":{"type":"git","url":"git+https://github.com/kmalakoff/mock-require-lazy.git"},"description":"Mock CommonJS require and native ESM import, together or separately, with lazy factories. A drop-in replacement for mock-require","maintainers":[{"name":"kmalakoff","email":"kmalakoff@gmail.com"}],"readme":"# mock-require-lazy\n\nReplace dependencies loaded through `require()` or native ESM imports, with immediate values or lazy factories.\n\n## About\n\nThis is a fork of mock-require that adds lazy loading and keeps its CommonJS API. The import and require package entries share one registry and cleanup API.\n\n## Installation\n\n```sh\nnpm install mock-require-lazy\n```\n\n## Usage\n\n```javascript\nvar mock = require(\"mock-require-lazy\");\n\nmock(\"http\", {\n  request: function () {\n    console.log(\"http.request called\");\n  },\n});\n\nvar http = require(\"http\");\nhttp.request(); // 'http.request called'\n\n// lazy\nmock(\"path\", function () {\n  return {\n    join: function () {\n      console.log(\"path.join called\");\n    }\n  };\n}, true);\n\nvar path = require(\"path\");\npath.join(); // 'path.join called'\n```\n\n`mock.require(path, replacement, { lazy: true })` is the explicit require form; the existing `mock(path, factory, true)` remains valid. A function without lazy mode is a replacement value, not a factory.\n\n## Native ESM\n\nRegister mocks before importing the subject. Static imports inside a subsequently loaded subject are intercepted; an already evaluated module's bindings do not change.\n\n```javascript\nimport mock from 'mock-require-lazy';\n\nasync function test() {\n  await mock.import('fs', () => ({ readFileSync: () => 'mocked' }), {\n    lazy: true,\n    exports: ['readFileSync'],\n  });\n  try {\n    const fs = await import('fs');\n    console.log(fs.readFileSync()); // mocked\n  } finally {\n    mock.stopAll();\n  }\n}\ntest();\n```\n\n`mock.import(path, namespace)` accepts an object containing named exports and, when needed, a `default` property. Use `{ default: fn }` for a function-valued default. Lazy factories require `{ lazy: true, exports: ['default', 'name'] }` so Node can link export names without running the factory. Factories are synchronous; promise-valued exports inside the returned object are allowed.\n\n`await mock.import('./dependency.mjs', './replacement.mjs')` redirects to another module and preserves its actual namespace. Both paths resolve from the registration caller. The named exports `mockImport`, `mockRequire`, `reImport`, `reRequire`, `stop`, and `stopAll` expose the same functions as the attached methods.\n\n### Mocking require and import together\n\n`mock(path, replacement, { mode: 'both' })` registers one replacement for both CommonJS `require()` and native ESM `import()`. Unlike the plain synchronous form, this call is asynchronous and returns a promise:\n\n```javascript\nimport mock from 'mock-require-lazy';\nimport Module from 'module';\n\nconst require = Module.createRequire(import.meta.url);\n\nawait mock('./fs-wrapper.js', { readFileSync: () => 'mocked' }, { mode: 'both' });\nrequire('./fs-wrapper.js').readFileSync(); // 'mocked'\n(await import('./fs-wrapper.js')).readFileSync(); // 'mocked'\nmock.stop('./fs-wrapper.js');\n```\n\n`replacement` is one of:\n\n- a namespace object, used as-is for `require()`'s `module.exports` and as the source of `import()`'s named exports;\n- a module redirect string, resolved from the registration caller under each loader's own conditions;\n- with `lazy: true`, a synchronous factory returning a namespace object. `exports` is required alongside `lazy`, exactly as for `mock.import`, so native import can link export names before the factory runs.\n\nA lazy factory evaluates once, shared across whichever loader reaches it first; a later load from the other loader reuses that result. A throw is not cached. The next load, from either loader, retries the factory.\n\nA callable replacement meant to be invoked directly, rather than a namespace, cannot share an ESM namespace, so `mode: 'both'` rejects it with a `TypeError`. Mock a callable value with `mock.require`, and separately with `mock.import` if the subject is also imported. `mock.require` never accepts `mode` and stays synchronous and require-only; `mock.import` stays import-only.\n\n### Runtime and loader setup\n\nCommonJS mocking retains Node 0.8 support, including `createRequire()` calls made from ESM on newer Node. Native import mocking requires Node 12.22 or newer and Node's loader hooks.\n\n- Node 12/14/16 and Node 18 before 18.19 need startup registration: `node --loader=mock-require-lazy/loader test.mjs`.\n- Node 20 before 20.6 also needs startup registration.\n- Node 18.19+, 20.6+, and newer releases register hooks when the import API is first used.\n- Native `require(esm)` only participates in import mocking when synchronous hooks are available and reliable: Node 22.22.3+ and later applicable branches. On async-hook runtimes, use native `import()` for ESM subjects. Ordinary CommonJS require mocking is unaffected. Node still rejects synchronously requiring a top-level-await graph.\n\nOlder startup loaders emit Node's experimental warning. Mocks are process-global, not isolated between parallel tests; use separate processes or workers with their own setup for independent mock state.\n\n### Extensions and TypeScript\n\nThe library follows the active resolver. CommonJS keeps its implicit-extension lookup. Native ESM requires explicit relative extensions unless the installed loader supplies a different policy. Alternate requests match when the resolver identifies the same module. Distinct `.ts` and `.js` files are not automatically aliases; ESM queries and fragments retain their identities. Bare packages resolve from the caller using the operation's import or require conditions.\n\nCompatibility change: bare CommonJS registrations now resolve from the registration caller, rather than this library's directory. Separate copies of the same package no longer accidentally share a mock. Register each resolved copy when both should be replaced. The callable API and boolean lazy argument remain supported.\n\nThe library does not transpile TypeScript. Install a loader such as `ts-swc-loaders`, or compile first. `.cts` forces CommonJS and `.mts` forces ESM; `.ts` follows the package and loader configuration. Tests exercise typed subjects and real dependencies, not merely mocks registered against typed filenames.\n\nWith ts-swc-loaders 2.9.0, load imported CommonJS TypeScript subjects through `await mock.reImport('./subject.cts')` after registering `require('ts-swc-loaders')`, or precompile them. This uses the CJS transform before creating the imported namespace. A plain native `.cts` import can bypass that transform on newer Node. Native type stripping also does not turn `import` statements into `require`.\n\nThe tested composite loader supports native TypeScript on Node 12.22, 14, and Node 16.12 onward. On Node 16.0–16.11, ts-swc-loaders lacks the legacy ESM hook; compile ESM TypeScript first. CommonJS TypeScript still works there.\n\nFor CommonJS TypeScript, register the CJS loader before loading subjects: `require('ts-swc-loaders')`. For native ESM on chaining-capable Node, launch with `ts-swc node test.mjs` and use the import API. Before native loader chaining, use a composite loader or precompile; the [tested composite example](test/data/typed/loader.mjs) shows how the hooks compose. The fixture's tsconfig defines which source files are transpiled.\n\n### Refresh and cleanup\n\n`await mock.reImport('./subject.mjs')` refreshes only that subject. Cached dependencies retain their identity unless explicitly refreshed or replaced. For a chain A → B → C, changing C and refreshing A does not rebuild cached B; refresh B, then A, if both need updating. Imported CJS subjects also have their own CJS cache entry cleared.\n\nSuccessful lazy values are reused for their registration. If a factory throws, the error propagates and a later fresh load can retry. Re-registering starts a new lazy lifecycle.\n\n`stop(path)` and `stopAll()` synchronously remove registrations for future loads and cancel pending registrations. Loads that already selected a mock finish with that registration. Cleanup does not mutate existing module objects or namespaces. ESM refresh creates new Node module instances; Node does not provide a general ESM-cache purge, so repeated refreshes consume memory for the process lifetime.\n\nWrappers can supply `{ parentURL: import.meta.url }` or an absolute caller filename to the require, import, stop, and refresh APIs. Without that option, each call resolves relative paths from its own caller. A wrapper passes the same `parentURL` to later operations that address its registration.\n\nMissing bare names use one global virtual identity, as in the legacy require API. Existing package copies remain distinct when they resolve to different files. Export names must be JavaScript identifiers, including `default`; string-named exports such as `'a-b'` are not supported across the old ESM runtimes.\n\n`NODE_PATH` is not required. Node's legacy CommonJS search path remains supported through normal resolved-file matching; it is not added to ESM resolution.\n\n## API\n\n### `mock(path, mockExport, lazyOrOptions?)`\n\n**path**: `String`\n\nThe module that you want to mock. This is the same string you would pass in if you wanted to `require` the module.\n\nThis path should be relative to the current file, just as it would be if you were to `require` the module from the current file. mock-require-lazy also matches this module when another file requires it using a different relative path.\n\n**mockExport** : `object/function`\n\nThe function or object you want to be returned from `require`, instead of the `path` module's exports.\n\n**mockExport** : `string`\n\nThe module you want to be returned from `require`, instead of the `path` module's export. This allows you to replace modules with other modules. For example, if you wanted to replace the `fs` module with the `path` module (you probably wouldn't, but if you did):\n\n**lazy** : `boolean`\n\nWhen true, `mockExport` must be a factory. The factory runs when the mocked module is first required.\n\nPass `{ lazy: true }` instead of the boolean for the equivalent explicit form. Pass `{ mode: 'both' }` to register the namespace or redirect for both module loaders; that form returns `Promise<void>` and must be awaited.\n\n```javascript\nmock('fs', 'path');\nrequire('fs') === require('path'); // true\n```\n\nThis is useful if you have a mock library that you want to use in multiple places. For example:\n\n`test/spy.js`:\n\n```javascript\nmodule.exports = function () {\n  return 'this was mocked';\n};\n```\n\n`test/a_spec.js`:\n\n```javascript\nvar mock = require('mock-require-lazy');\nmock('../some/dependency', './spy');\n...\n```\n\n`test/b_spec.js`:\n\n```javascript\nvar mock = require('mock-require-lazy');\nmock('../some/other/dependency', './spy');\n...\n```\n\n### `mock.import(path, replacement, options?)`\n\nRegisters an ESM namespace object or module redirect and returns `Promise<void>`. With `{ lazy: true, exports: [...] }`, `replacement` is a synchronous factory and `exports` declares the names Node must link before evaluating it. See [Native ESM](#native-esm) for loader requirements.\n\n### `mock.stop(path, options?)`\n\n**path**: `String`\n\nThe module you that you want to stop mocking. This is the same string you would pass in if you wanted to `require` the module.\n\nThis will only modify variables used after `mock.stop` is called. For example:\n\n```javascript\nvar mock = require('mock-require-lazy');\nmock('fs', { mockedFS: true });\n\nvar fs1 = require('fs');\n\nmock.stop('fs');\n\nvar fs2 = require('fs');\n\nfs1 === fs2; // false\n```\n\n### `mock.stopAll()`\n\nThis function can be used to remove all registered mocks without the need to remove them individually using `mock.stop()`.\n\n```javascript\nmock('fs', {});\nmock('path', {});\n\nvar fs1 = require('fs');\nvar path1 = require('path');\n\nmock.stopAll();\n\nvar fs2 = require('fs');\nvar path2 = require('path');\n\nfs1 === fs2; // false\npath1 === path2; // false\n```\n\n### `mock.reRequire(path, options?)`\n\n**path**: `String`\n\nThe file whose cache you want to refresh. This is useful if you're trying to mock a dependency for a file that has already been required elsewhere (possibly in another test file). Normally, Node.js will cache this file, so any mocks that you apply afterwards will have no effect. `reRequire` clears the cache and allows your mock to work.\n\n```javascript\nvar fs = require('fs');\nvar fileToTest = require('./fileToTest');\nmock('fs', {}); // fileToTest is still using the unmocked fs module\n\nfileToTest = mock.reRequire('./fileToTest'); // fileToTest is now using your mock\n```\n\nNote that if the file you are testing requires dependencies that in turn require the mock, those dependencies will still have the unmocked version. You may want to `reRequire` all of your dependencies to ensure that your mock is always being used.\n\n```javascript\nvar fs = require('fs');\nvar otherDep = require('./otherDep'); // requires fs as a dependency\nvar fileToTest = require('./fileToTest'); // requires fs and otherDep as a dependency\nmock('fs', {}); // fileToTest and otherDep are still using the unmocked fs module\n\notherDep = mock.reRequire('./otherDep'); // do this to make sure fs is being mocked consistently\nfileToTest = mock.reRequire('./fileToTest');\n```\n\n### `mock.reImport(path, options?)`\n\nReturns a promise for a fresh instance of one file module or builtin. It does not refresh the dependency graph. Both refresh methods accept `{ parentURL }` when a wrapper must resolve the request on behalf of another module.\n\n## Test\n\n```\nnpm test\nnpm run test:engines\nnpm run test:esm:boundaries\n```\n","readmeFilename":"README.md"}