{"_id":"@alcalzone/esm2cjs","_rev":"15-f1a7530980a998c7eaaa0c5afdffee01","name":"@alcalzone/esm2cjs","dist-tags":{"latest":"1.4.2"},"versions":{"1.0.0":{"name":"@alcalzone/esm2cjs","version":"1.0.0","author":{"name":"Dominic Griesel","email":"d.griesel@gmx.net"},"license":"MIT","_id":"@alcalzone/esm2cjs@1.0.0","maintainers":[{"name":"alcalzone","email":"d.griesel@gmx.net"}],"homepage":"https://github.com/AlCalzone/esm2cjs#readme","bugs":{"url":"https://github.com/AlCalzone/esm2cjs/issues"},"bin":{"esm2cjs":"bin/esm2cjs.js"},"dist":{"shasum":"4b119bf206aa3d1a24e9b9adf28612093b0b276e","tarball":"https://registry.npmjs.org/@alcalzone/esm2cjs/-/esm2cjs-1.0.0.tgz","fileCount":15,"integrity":"sha512-oY7hMZUV7k63GCgfuxbwvGvF77X4LB9QJvsFc4w8qMG1J4NY8cr1//8Ny0IY2uc19SdDotE+FzuVrj8TbIHvTQ==","signatures":[{"sig":"MEYCIQC+2Y4lrSGqo+NNFKgyMU6IldBgEfNa6AW18FvC6Fkr9AIhANykdesnLXKOB8P6pv9xPDrq8Na5DwdVKR5Fe2LQ0WJ7","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":12435,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgyhthCRA9TVsSAnZWagAAYGQP/jJO1Ra+Fmt8uM82Kjpa\nMUoP7rgZ7QNTdY8967iktrliAS4JmCbfkVxGfX0dVScGebIs9M/aPiLEdYuQ\nXy0nqxtRK0sFNSM7izuO7WqSbrqoqZgYzIUhBi0ZWfechXgknPEkIy8EHQKl\nWK7rKNlPiab8Fe3vkT7XrkQyvjJ/cUiHttZTnU943xaTtp+fWlH334GWat/7\ndCoqRs/K9OoQULwYP64F4OCgPbnByh2L2If48cVsQDq396wy1ZWu58yk9Lx4\nXe3QhVUJs0Nba5ss5Yr3uIhEvYfP+3pcVsvbgqTG+bJ5x9gQy9qjMpMDhOCA\nPixQvu/+Rb1OjpUWqJSoSMb+F5D98rP9EwBOULI/y5NFAxlkLRErP7QK2xE+\nyZOtVllWH2BpAojXcRQFQX5NjWVly5m1VOBxPpbsP0pux/GKyKGtxPbbhOLw\n+9SMi+OhPTAaDj14rS7iXi+JVTiOBCvJwVUcs3sq/UhQ/l/SVd4D8e3zqZTe\nib2P0ejkCSARncw6IKdO3SEl1yvQ8DRlsjTqIbmpGPbD7bXp1r/03g1qkVx2\nD47m3CLzXX0wzWBRwCUspofj+CiyToKcByCSPufzfjWiR56h6MIJuWUkgc3G\nxA+npSYRoe7Ix0KmfWmEckpAaPeaYFCHL5aAiX/V0tf6Ux6NrJBPsJ2mrZhx\nfIl0\r\n=EaeR\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/cjs/index.js","types":"build/esm/index.d.ts","module":"build/esm/index.js","exports":{".":{"import":"./build/esm/index.js","require":"./build/cjs/index.js"},"./package.json":"./package.json"},"gitHead":"f26b3cbfac94d9ecfe1c87411bc9e8ae74986a28","scripts":{"test":"jest","build":"tsc -p tsconfig.build.json","release":"release-script","postbuild":"node -r esbuild-register .postbuild.ts","test:reset":"jest --clear-cache","test:watch":"jest --watch"},"_npmUser":{"name":"alcalzone","email":"d.griesel@gmx.net"},"repository":{"url":"git+https://github.com/AlCalzone/esm2cjs.git","type":"git"},"_npmVersion":"6.14.13","description":"Command line utility to compile a JS project from ES modules to CommonJS","directories":{},"_nodeVersion":"14.17.0","dependencies":{"yargs":"^16.2.0","esbuild":"^0.12.9","fs-extra":"^10.0.0","tiny-glob":"^0.2.9"},"publishConfig":{"access":"public"},"typesVersions":{"*":{"build/cjs/index.d.ts":["build/esm/index.d.ts"],"build/esm/index.d.ts":["build/esm/index.d.ts"]}},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.0.4","babel-jest":"^27.0.2","typescript":"^4.3.2","@babel/core":"^7.14.6","@types/jest":"^26.0.23","@types/yargs":"^16.0.3","@types/fs-extra":"^9.0.11","@tsconfig/node14":"^1.0.1","esbuild-register":"^2.6.0","@babel/preset-env":"^7.14.5","@babel/preset-typescript":"^7.14.5","@alcalzone/release-script":"^1.10.0"},"_npmOperationalInternal":{"tmp":"tmp/esm2cjs_1.0.0_1623858017451_0.9872574970244767","host":"s3://npm-registry-packages"}},"1.1.0":{"name":"@alcalzone/esm2cjs","version":"1.1.0","author":{"name":"Dominic Griesel","email":"d.griesel@gmx.net"},"license":"MIT","_id":"@alcalzone/esm2cjs@1.1.0","maintainers":[{"name":"alcalzone","email":"d.griesel@gmx.net"}],"homepage":"https://github.com/AlCalzone/esm2cjs#readme","bugs":{"url":"https://github.com/AlCalzone/esm2cjs/issues"},"bin":{"esm2cjs":"bin/esm2cjs.js"},"dist":{"shasum":"1006aca25c2849367d9e2ae4adb17095fcb2a711","tarball":"https://registry.npmjs.org/@alcalzone/esm2cjs/-/esm2cjs-1.1.0.tgz","fileCount":15,"integrity":"sha512-r9nmhZpZ4SnI721Cpw92m1VEOeTHxLjr14b7th8iwKYiiM3u55kfL3RioeJKpwyXjOhR9VCTSN/084rCTbE0qA==","signatures":[{"sig":"MEUCIDD1chXTcj+n74bXKLLL3eqGVSOA9KdMfN4Mzza7q8w2AiEAg8ZD/NktkdHCw59+Lxjupo2/6VMNzkWFedwrcUjOHWU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13429,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgzcd9CRA9TVsSAnZWagAA9t4P/3ZcpiVwhX/dknILOfMk\noKg1+4RXFjBZCIV6l6ZdUs3wrc/x453dVZtioOaL4232AFz7srngfmM4ZbtW\nCkfuPg1rwx+BfCgf2X6TZVRMiBhhI6HrdTAn4bw0B8aDrtVQRDbQIjSUVmqk\nPqcMUu45UB7vZqgUyJ87fUhW/TU794paiW1rh6jj0H6lHS76ngqYar6Rr70Z\nmVGir+8nQNdx7M9bhm3nB6qxrLGMzTE2YDEqdzll91xE8OKbv6Hd26maR/WL\nF+cAZAQhkuV9kWalxOZQYn2/jh03B96p7slfKHcaifZSSn3pSomnsZBNWQ6s\nz/bSTFhKmUiYTAjZErj7s8LXben8vhSEIgZ4OxH3y8HGJm6N4TnOn4eUlUIa\nmHyFwI4KL7733tS7ds6XIL3AuLW7uzmUiKJ5h8PTV5jKSfep5B/Wbu5Eub5I\n4CncW18KMHeX3UFomr4u6IzBUkcZ58ynWNFx05ZRh/UexTtcgAntq93nBHl5\nCmLerWGAdmWddNyINpq7yX4LwUsVD+Y6PvblhjVwRQoPRJgPfiOcPuMEtY2h\nif6L4E9nKqO9RdLCciL1343/VgyGNbhDbw5MXZ8h8CR963prjN9PTEPJbm/U\nfNaHus2vpDz3XVGpBCfP852kV5wXRatj0AKyp8BCLrU4lEIVu+wJTeCw6ydo\nveiS\r\n=KgOG\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/cjs/index.js","types":"build/esm/index.d.ts","module":"build/esm/index.js","exports":{".":{"import":"./build/esm/index.js","require":"./build/cjs/index.js"},"./package.json":"./package.json"},"gitHead":"0c16853c66b7f18e2adbea8d676257a5bb0d7b1b","scripts":{"test":"jest","build":"tsc -p tsconfig.build.json","release":"release-script","postbuild":"node -r esbuild-register .postbuild.ts","test:reset":"jest --clear-cache","test:watch":"jest --watch"},"_npmUser":{"name":"alcalzone","email":"d.griesel@gmx.net"},"repository":{"url":"git+https://github.com/AlCalzone/esm2cjs.git","type":"git"},"_npmVersion":"6.14.13","description":"Command line utility to compile a JS project from ES modules to CommonJS","directories":{},"_nodeVersion":"14.17.0","dependencies":{"yargs":"^16.2.0","esbuild":"^0.12.9","fs-extra":"^10.0.0","tiny-glob":"^0.2.9"},"publishConfig":{"access":"public"},"typesVersions":{"*":{"build/cjs/index.d.ts":["build/esm/index.d.ts"],"build/esm/index.d.ts":["build/esm/index.d.ts"]}},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.0.4","babel-jest":"^27.0.2","typescript":"^4.3.2","@babel/core":"^7.14.6","@types/jest":"^26.0.23","@types/yargs":"^16.0.3","@types/fs-extra":"^9.0.11","@tsconfig/node14":"^1.0.1","esbuild-register":"^2.6.0","@babel/preset-env":"^7.14.5","@babel/preset-typescript":"^7.14.5","@alcalzone/release-script":"^1.10.0"},"_npmOperationalInternal":{"tmp":"tmp/esm2cjs_1.1.0_1624098684731_0.12719460360272294","host":"s3://npm-registry-packages"}},"1.1.1":{"name":"@alcalzone/esm2cjs","version":"1.1.1","author":{"name":"Dominic Griesel","email":"d.griesel@gmx.net"},"license":"MIT","_id":"@alcalzone/esm2cjs@1.1.1","maintainers":[{"name":"alcalzone","email":"d.griesel@gmx.net"}],"homepage":"https://github.com/AlCalzone/esm2cjs#readme","bugs":{"url":"https://github.com/AlCalzone/esm2cjs/issues"},"bin":{"esm2cjs":"bin/esm2cjs.js"},"dist":{"shasum":"02ca1e331cfa1d93f1e616fd9af556542cccd44e","tarball":"https://registry.npmjs.org/@alcalzone/esm2cjs/-/esm2cjs-1.1.1.tgz","fileCount":15,"integrity":"sha512-+tP357vpW11cJXaRagCkYcYKkrPWd20xhyV79yFJJWjpnt42sWK1V+V1WJGEW8drdrG1k8MZn/6+PtramunRIg==","signatures":[{"sig":"MEYCIQCeAukfks7fadxZyTS0oLEg6nrl4gd2QfiLFUz97wYWvQIhAJJulgahTdYsyizpOwbddkKuaFlIqD26ZxZSXLhnj7Dw","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16685,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhwwXqCRA9TVsSAnZWagAAPHoQAJcqB0VESfpsVF1mhXe2\n9gCvcowoa0NozM5XmFEynv5c0AU8zuAUeSIImGX9RsXkfFZ6odI/CBHWxZOw\nxHVxo+LKCWqzp/X3pxunh9vXy67paBNGjxR9ZEqACL3nolpubTrLfwHPg1NH\noAhKEc9XYOPzYSR8HYzuSMhHIT1hTyoTzqT0nEk285Qrn7M6sTA8IAHSBnj0\nY3G5sgRRv6nJCjeaQgxBA6hgVdez2RqLejPYLLBABGsf4bRdGgLqDnE4/zYt\nY8twB6UTRgaDShhETa6ybpp9KL4YebMl1Dj3e9pHu2lYawj2ACLAmzUQZGpC\nplm+JKOZoaZ0/h2sIo/YHt1/DEfm1mNka/7060QG4yDuFn0rhb7uUShqk1ey\nHV2rTkX0PRtNO0tzilFT9ymK/tTXiEFDRZCo2joOxO6iEaJdEwAh88NI7RR+\nHXI/Nlsyqszu/pNnhmCqW31AA1D6+Hn21U4eRe9MnuHYffgbSR2jp0S7YQoN\nfjt3SlvDbn4onKEgoIsOZVZM9uRP71Cv2PSto3kwngGw7qlqKJmD7XyF4elK\npmr8d0JfF7CpiYuthh92CvqS+wdL4EjjlsGCUsvGBujLZXFWJvrm1gN3Jb5q\niqbSuZbMrth5QHSrbwxlSbvxYYFqUTPDXxuCd+ixJzRP1y1aDPvn45sP25Sl\nbQzo\r\n=FLwy\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/cjs/index.js","types":"build/esm/index.d.ts","module":"build/esm/index.js","exports":{".":{"import":"./build/esm/index.js","require":"./build/cjs/index.js"},"./package.json":"./package.json"},"gitHead":"01566140da74a6fe3c845a79ed989e87e9f4e82a","scripts":{"test":"jest","build":"tsc -p tsconfig.build.json","release":"release-script","postbuild":"node -r esbuild-register .postbuild.ts","test:reset":"jest --clear-cache","test:watch":"jest --watch"},"_npmUser":{"name":"alcalzone","email":"d.griesel@gmx.net"},"repository":{"url":"git+https://github.com/AlCalzone/esm2cjs.git","type":"git"},"_npmVersion":"6.14.15","description":"Command line utility to compile a JS project from ES modules to CommonJS","directories":{},"_nodeVersion":"14.18.0","dependencies":{"yargs":"^17.2.1","esbuild":"^0.13.8","fs-extra":"^10.0.0","tiny-glob":"^0.2.9"},"publishConfig":{"access":"public"},"typesVersions":{"*":{"build/cjs/index.d.ts":["build/esm/index.d.ts"],"build/esm/index.d.ts":["build/esm/index.d.ts"]}},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.0.4","babel-jest":"^27.0.2","typescript":"^4.3.2","@babel/core":"^7.14.6","@types/jest":"^27.0.2","@types/node":"^16.11.1","@types/yargs":"^17.0.4","@types/fs-extra":"^9.0.11","@tsconfig/node14":"^1.0.1","esbuild-register":"^3.0.0","@babel/preset-env":"^7.14.5","@babel/preset-typescript":"^7.14.5","@alcalzone/release-script":"^1.10.0"},"_npmOperationalInternal":{"tmp":"tmp/esm2cjs_1.1.1_1634549152983_0.734540782720412","host":"s3://npm-registry-packages"}},"1.1.2":{"name":"@alcalzone/esm2cjs","version":"1.1.2","author":{"name":"Dominic Griesel","email":"d.griesel@gmx.net"},"license":"MIT","_id":"@alcalzone/esm2cjs@1.1.2","maintainers":[{"name":"alcalzone","email":"d.griesel@gmx.net"}],"homepage":"https://github.com/AlCalzone/esm2cjs#readme","bugs":{"url":"https://github.com/AlCalzone/esm2cjs/issues"},"bin":{"esm2cjs":"bin/esm2cjs.js"},"dist":{"shasum":"d948c6950481f7ca36b115a8d7361ff3f58715c3","tarball":"https://registry.npmjs.org/@alcalzone/esm2cjs/-/esm2cjs-1.1.2.tgz","fileCount":14,"integrity":"sha512-rxl3YvaWp+4RlTLKrs8xjP4ZXA07m0mQTywQMRWmhUhfeqOnymEOwT6WKbR71LJUy0grgbe5T/SCsF6aYoqbig==","signatures":[{"sig":"MEQCIBS+yANEW5PML3LqCqNPMZH3X3bdX88Z6px2KY2TJNLZAiBs6Vk88im8bjOgB2vm5fC939sBiqxQVkn8R2UX0y9uGw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":17572,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi/MzdACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqS6g//dUUxQAeFef7DfXYL2mTkX8yz3ci+RMSGQ231arHCFWxDQeNI\r\nIuPPGZskAYhvNO6JJ/o2t4gOplpl4F9b0w1p4c8V9kDsQdWPrd9zrzvSrL4E\r\nhnuNb5N9hhh2SdB/XQF8gKbpw4SmGnNhZVj58Cks4sPYlRMLRBVBZTaNMi/M\r\nJqTvkOKqx77JsCPOaSK9hZNdfLHukZNaMQmzW5T1g3SRmq7HuT7STxbcuzjF\r\nmhs3vMtEEeVlM2G8Ywh+3HrZ/hQfMZeM3TVGYKXdP/Vik6e2+RhmP0/PrESS\r\nl2cbXsyGJn7GeFaK+TWowlReipj+j5OnhNtRNnYfj/6Z7+nKn+8yuc0nwBi8\r\n+S94uT1smAFZSPNEE/ic6thidvthELnmh98SwvU5aHLYy82D/G+aI/o7Lgnh\r\nS2hDbB97vurbd9lCgknNVpiV/6u2WbkSwkf8Lv+fpmLQvQdRRn9hLdo1TP8q\r\n5CcVKWRsVkzm+UyyhO9YVkGyFbTuHVA2KYrGFoWc1DOy7WWHHvR7VLmGX4CV\r\nzHvAdy1xDgXhsAY9FxyBCmggukGd2klhrUULDpDIbr+AalulSkzcUHd56GXA\r\n/t7s+1kf5GIej3hTK6WaG9on4wdWm5ofJx4aBb0JPissyXHovbFzuepeZFd6\r\nGp3mOH+hom5tS6yHnlPZ+2W4dOZQXpE5+PI=\r\n=UNpg\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/cjs/index.js","types":"build/esm/index.d.ts","module":"build/esm/index.js","exports":{".":{"import":"./build/esm/index.js","require":"./build/cjs/index.js"},"./package.json":"./package.json"},"gitHead":"c9b1151b4d6771743e25bcac4750976f03e7efcd","scripts":{"test":"jest","build":"tsc -p tsconfig.build.json","release":"release-script","postbuild":"node -r esbuild-register .postbuild.ts","test:reset":"jest --clear-cache","test:watch":"jest --watch"},"_npmUser":{"name":"alcalzone","email":"d.griesel@gmx.net"},"repository":{"url":"git+https://github.com/AlCalzone/esm2cjs.git","type":"git"},"_npmVersion":"8.11.0","description":"Command line utility to compile a JS project from ES modules to CommonJS","directories":{},"_nodeVersion":"16.16.0","dependencies":{"yargs":"^17.5.1","esbuild":"^0.15.5","fs-extra":"^10.1.0","tiny-glob":"^0.2.9"},"publishConfig":{"access":"public"},"typesVersions":{"*":{"build/cjs/index.d.ts":["build/esm/index.d.ts"],"build/esm/index.d.ts":["build/esm/index.d.ts"]}},"_hasShrinkwrap":false,"devDependencies":{"jest":"^28.1.3","babel-jest":"^28.1.3","typescript":"^4.7.4","@babel/core":"^7.18.10","@types/jest":"^28.1.7","@types/node":"^14.18.24","@types/yargs":"^17.0.11","@types/fs-extra":"^9.0.13","@tsconfig/node14":"^1.0.3","esbuild-register":"^3.3.3","@babel/preset-env":"^7.18.10","@babel/preset-typescript":"^7.18.6","@alcalzone/release-script":"~3.5.9","@alcalzone/release-script-plugin-license":"~3.5.9"},"_npmOperationalInternal":{"tmp":"tmp/esm2cjs_1.1.2_1660734684799_0.859496937440061","host":"s3://npm-registry-packages"}},"1.2.3":{"name":"@alcalzone/esm2cjs","version":"1.2.3","author":{"name":"Dominic Griesel","email":"d.griesel@gmx.net"},"license":"MIT","_id":"@alcalzone/esm2cjs@1.2.3","maintainers":[{"name":"alcalzone","email":"d.griesel@gmx.net"}],"homepage":"https://github.com/AlCalzone/esm2cjs#readme","bugs":{"url":"https://github.com/AlCalzone/esm2cjs/issues"},"bin":{"esm2cjs":"bin/esm2cjs.cjs"},"dist":{"shasum":"8d7cde06cf985498f5c644c4ec978a053433247e","tarball":"https://registry.npmjs.org/@alcalzone/esm2cjs/-/esm2cjs-1.2.3.tgz","fileCount":20,"integrity":"sha512-IPp65hqZtMby6tLpKRoC9USdSQ5bfJ/7g4Wjz79iNLMSkaRpDxLIx/o4OWptV5QqfAs/W2fsEeHFMYJIrfqD4Q==","signatures":[{"sig":"MEQCIGiuf/iN92v9t2s8UwmFueKJU7oLmHDxbhZ+zSIOBkLxAiBzX9H1Jj2xecg6vY9m3biQkCHesrsbJfyUcIZ1O+TshA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":25318},"main":"build/cjs/index.js","type":"module","types":"build/esm/index.d.ts","module":"build/esm/index.js","exports":{".":{"import":"./build/esm/index.js","require":"./build/cjs/index.js"},"./package.json":"./package.json"},"gitHead":"5ee776379f542e4cbd7d23248243fa36b793e921","scripts":{"test":"vitest","build":"tsc -p tsconfig.build.json","release":"release-script","postbuild":"tsx .postbuild.mts"},"_npmUser":{"name":"alcalzone","email":"d.griesel@gmx.net"},"repository":{"url":"git+https://github.com/AlCalzone/esm2cjs.git","type":"git"},"_npmVersion":"10.9.0","description":"Command line utility to compile a JS project from ES modules to CommonJS","directories":{},"_nodeVersion":"22.11.0","dependencies":{"yargs":"^17.5.1","esbuild":"^0.24.0","fs-extra":"^10.1.0","tiny-glob":"^0.2.9"},"publishConfig":{"access":"public"},"typesVersions":{"*":{"build/cjs/index.d.ts":["build/cjs/index.d.ts"],"build/esm/index.d.ts":["build/esm/index.d.ts"]}},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e","devDependencies":{"tsx":"^4.19.2","vitest":"^2.1.4","typescript":"^5.6.3","@types/node":"^14.18.24","@types/yargs":"^17.0.11","@types/fs-extra":"^9.0.13","@tsconfig/node18":"^18.2.4","@alcalzone/release-script":"~3.5.9","@alcalzone/release-script-plugin-license":"~3.5.9"},"_npmOperationalInternal":{"tmp":"tmp/esm2cjs_1.2.3_1730710331604_0.5157369100951954","host":"s3://npm-registry-packages"}},"1.3.0":{"name":"@alcalzone/esm2cjs","version":"1.3.0","author":{"name":"Dominic Griesel","email":"d.griesel@gmx.net"},"license":"MIT","_id":"@alcalzone/esm2cjs@1.3.0","maintainers":[{"name":"alcalzone","email":"d.griesel@gmx.net"}],"homepage":"https://github.com/AlCalzone/esm2cjs#readme","bugs":{"url":"https://github.com/AlCalzone/esm2cjs/issues"},"bin":{"esm2cjs":"bin/esm2cjs.cjs"},"dist":{"shasum":"308a4d6eca54af8876a8cce9350a234fb88c5512","tarball":"https://registry.npmjs.org/@alcalzone/esm2cjs/-/esm2cjs-1.3.0.tgz","fileCount":20,"integrity":"sha512-frHlHX3LvZj4E6asyR32PSvpiBuLIaCER3ouiCNjq4qJ7gxxAyVYGswsJH4apX46xQI4I1hc29gci+GeaB4hwQ==","signatures":[{"sig":"MEUCIQCTdFrnzQygdJzKsFlL+5+xEPU15NNKC+9baj7LPxqQkQIgUt41Jc1UFmfYH37x20zP3O31a4HZOl1q3oHxmFXQVxc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":29589},"main":"build/cjs/index.js","type":"module","types":"build/esm/index.d.ts","module":"build/esm/index.js","exports":{".":{"import":"./build/esm/index.js","require":"./build/cjs/index.js"},"./package.json":"./package.json"},"gitHead":"0c3d75f300182a48f49fb9164cc4218a9aad5ddd","scripts":{"test":"vitest","build":"tsc -p tsconfig.build.json","release":"release-script","postbuild":"tsx .postbuild.mts"},"_npmUser":{"name":"alcalzone","email":"d.griesel@gmx.net"},"repository":{"url":"git+https://github.com/AlCalzone/esm2cjs.git","type":"git"},"_npmVersion":"10.9.0","description":"Command line utility to compile a JS project from ES modules to CommonJS","directories":{},"_nodeVersion":"22.10.0","dependencies":{"yargs":"^17.5.1","esbuild":"^0.24.0","fs-extra":"^10.1.0","tiny-glob":"^0.2.9"},"publishConfig":{"access":"public"},"typesVersions":{"*":{"build/cjs/index.d.ts":["build/cjs/index.d.ts"],"build/esm/index.d.ts":["build/esm/index.d.ts"]}},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e","devDependencies":{"tsx":"^4.19.2","vitest":"^2.1.4","typescript":"^5.6.3","@types/node":"^14.18.24","@types/yargs":"^17.0.11","@types/fs-extra":"^9.0.13","@tsconfig/node18":"^18.2.4","@alcalzone/release-script":"~3.5.9","@alcalzone/release-script-plugin-license":"~3.5.9"},"_npmOperationalInternal":{"tmp":"tmp/esm2cjs_1.3.0_1730898446299_0.12035510419052398","host":"s3://npm-registry-packages"}},"1.4.0":{"name":"@alcalzone/esm2cjs","version":"1.4.0","author":{"name":"Dominic Griesel","email":"d.griesel@gmx.net"},"license":"MIT","_id":"@alcalzone/esm2cjs@1.4.0","maintainers":[{"name":"alcalzone","email":"d.griesel@gmx.net"}],"homepage":"https://github.com/AlCalzone/esm2cjs#readme","bugs":{"url":"https://github.com/AlCalzone/esm2cjs/issues"},"bin":{"esm2cjs":"bin/esm2cjs.cjs"},"dist":{"shasum":"d057d849d813500f02adc87a2838d933f4ccd55d","tarball":"https://registry.npmjs.org/@alcalzone/esm2cjs/-/esm2cjs-1.4.0.tgz","fileCount":20,"integrity":"sha512-t6MG7T2KZgChePVcJY0Fo3jd59wUxLmwdRxPV7XHXENBZQ70tCdhjhsFGXMRMeypHqrCFTLmv1S4vbPoVD35pw==","signatures":[{"sig":"MEYCIQCodB2rBZD8+BGWvIfLpQN3k8UHu6kLcpy6OAY5LYBwzAIhAM4r6p1JhEldWQYoJzUty1yhJSqVnMflFlrR3SEew57y","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":37872},"main":"build/cjs/index.js","type":"module","types":"build/esm/index.d.ts","module":"build/esm/index.js","exports":{".":{"import":"./build/esm/index.js","require":"./build/cjs/index.js"},"./package.json":"./package.json"},"gitHead":"cec978af231a2e10b06ad52d6d101305132f6498","imports":{"#test3_dep":{"import":"./test/fixtures/esm/test3_dep_esm.js","require":"./test/fixtures/cjs/test3_dep_cjs.js"}},"scripts":{"test":"vitest","build":"tsc -p tsconfig.build.json","release":"release-script","postbuild":"tsx .postbuild.mts"},"_npmUser":{"name":"alcalzone","email":"d.griesel@gmx.net"},"repository":{"url":"git+https://github.com/AlCalzone/esm2cjs.git","type":"git"},"_npmVersion":"10.9.0","description":"Command line utility to compile a JS project from ES modules to CommonJS","directories":{},"_nodeVersion":"22.10.0","dependencies":{"yargs":"^17.5.1","esbuild":"^0.24.0","fs-extra":"^10.1.0","tiny-glob":"^0.2.9"},"publishConfig":{"access":"public"},"typesVersions":{"*":{"build/cjs/index.d.ts":["build/cjs/index.d.ts"],"build/esm/index.d.ts":["build/esm/index.d.ts"]}},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e","devDependencies":{"tsx":"^4.19.2","vitest":"^2.1.4","typescript":"^5.6.3","@types/node":"^14.18.24","@types/yargs":"^17.0.11","@types/fs-extra":"^9.0.13","@tsconfig/node18":"^18.2.4","@alcalzone/release-script":"~3.5.9","@alcalzone/release-script-plugin-license":"~3.5.9"},"_npmOperationalInternal":{"tmp":"tmp/esm2cjs_1.4.0_1731324848697_0.0864463468789125","host":"s3://npm-registry-packages"}},"1.4.1":{"name":"@alcalzone/esm2cjs","version":"1.4.1","author":{"name":"Dominic Griesel","email":"d.griesel@gmx.net"},"license":"MIT","_id":"@alcalzone/esm2cjs@1.4.1","maintainers":[{"name":"alcalzone","email":"d.griesel@gmx.net"}],"homepage":"https://github.com/AlCalzone/esm2cjs#readme","bugs":{"url":"https://github.com/AlCalzone/esm2cjs/issues"},"bin":{"esm2cjs":"bin/esm2cjs.cjs"},"dist":{"shasum":"529c05cb82050f0957d0b82f44ddcfea0c5d7a14","tarball":"https://registry.npmjs.org/@alcalzone/esm2cjs/-/esm2cjs-1.4.1.tgz","fileCount":20,"integrity":"sha512-JKyvyBHLfvtp5xra4nRNun0VDPXRLAFMHFukg8V5UFd4jTDRMMPqsGFQtjsG3L/XhgYG5PPogDrHlcwwwKloGg==","signatures":[{"sig":"MEUCIBTzDOdKJJpSy38mGTezo4oLyafFapCmweJ5SloqMQ6pAiEA5l8q6pg+jj56upLv8XDwVSJ73ozHR0rrcM/rYCcy2ww=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":38378},"main":"build/cjs/index.js","type":"module","types":"build/esm/index.d.ts","module":"build/esm/index.js","exports":{".":{"import":"./build/esm/index.js","require":"./build/cjs/index.js"},"./package.json":"./package.json"},"gitHead":"1abaabd684f3069787cac50ad25ee5f5724f23d6","imports":{"#test3_dep":{"import":"./test/fixtures/esm/test3_dep_esm.js","require":"./test/fixtures/cjs/test3_dep_cjs.js"}},"scripts":{"test":"vitest","build":"tsc -p tsconfig.build.json","release":"release-script","postbuild":"tsx .postbuild.mts"},"_npmUser":{"name":"alcalzone","email":"d.griesel@gmx.net"},"repository":{"url":"git+https://github.com/AlCalzone/esm2cjs.git","type":"git"},"_npmVersion":"10.9.0","description":"Command line utility to compile a JS project from ES modules to CommonJS","directories":{},"_nodeVersion":"22.11.0","dependencies":{"yargs":"^17.5.1","esbuild":"^0.24.0","fs-extra":"^10.1.0","tiny-glob":"^0.2.9"},"publishConfig":{"access":"public"},"typesVersions":{"*":{"build/cjs/index.d.ts":["build/cjs/index.d.ts"],"build/esm/index.d.ts":["build/esm/index.d.ts"]}},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e","devDependencies":{"tsx":"^4.19.2","vitest":"^2.1.4","typescript":"^5.6.3","@types/node":"^14.18.24","@types/yargs":"^17.0.11","@types/fs-extra":"^9.0.13","@tsconfig/node18":"^18.2.4","@alcalzone/release-script":"~3.5.9","@alcalzone/release-script-plugin-license":"~3.5.9"},"_npmOperationalInternal":{"tmp":"tmp/esm2cjs_1.4.1_1732135844681_0.060361699882732545","host":"s3://npm-registry-packages"}},"1.4.2":{"name":"@alcalzone/esm2cjs","publishConfig":{"access":"public"},"description":"Command line utility to compile a JS project from ES modules to CommonJS","version":"1.4.2","bin":{"esm2cjs":"bin/esm2cjs.cjs"},"type":"module","main":"build/cjs/index.js","module":"build/esm/index.js","exports":{".":{"import":"./build/esm/index.js","require":"./build/cjs/index.js"},"./package.json":"./package.json"},"imports":{"#test3_dep":{"import":"./test/fixtures/esm/test3_dep_esm.js","require":"./test/fixtures/cjs/test3_dep_cjs.js"}},"types":"build/esm/index.d.ts","typesVersions":{"*":{"build/esm/index.d.ts":["build/esm/index.d.ts"],"build/cjs/index.d.ts":["build/cjs/index.d.ts"]}},"repository":{"type":"git","url":"git+https://github.com/AlCalzone/esm2cjs.git"},"author":{"name":"Dominic Griesel","email":"d.griesel@gmx.net"},"license":"MIT","scripts":{"build":"tsc -p tsconfig.build.json","postbuild":"tsx .postbuild.mts","test":"vitest","release":"release-script"},"dependencies":{"esbuild":"^0.25.10","tiny-glob":"^0.2.9","yargs":"^17.5.1"},"devDependencies":{"@alcalzone/release-script":"~4.0.0","@alcalzone/release-script-plugin-license":"~4.0.0","@tsconfig/node18":"^18.2.4","@types/node":"^18.19.129","@types/yargs":"^17.0.33","tsx":"^4.19.2","typescript":"^5.9.3","vitest":"^2.1.9"},"packageManager":"yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e","_id":"@alcalzone/esm2cjs@1.4.2","gitHead":"04cad6d6745c49d5c3f80fa6989e8a82f0c2b733","bugs":{"url":"https://github.com/AlCalzone/esm2cjs/issues"},"homepage":"https://github.com/AlCalzone/esm2cjs#readme","_nodeVersion":"22.20.0","_npmVersion":"10.9.3","dist":{"integrity":"sha512-BP4pWdyYzEiAYLSIrmJRZWbk/WowWWdUH325ZMf10aKbKdMG3+GeNiA0M/IWcEfTGHaIisjyfEHpppFQrn2cWA==","shasum":"19d222640d51b9d868c36c94bae488046543af30","tarball":"https://registry.npmjs.org/@alcalzone/esm2cjs/-/esm2cjs-1.4.2.tgz","fileCount":20,"unpackedSize":39453,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCY4BCFCzypxxElIfWyF1nYwf3H4tXQ8HnofnkKsjp6WwIhAPn5viUWQ9/dUllrQmNDFLvw20u/IjPnOqZuywjTySQG"}]},"_npmUser":{"name":"alcalzone","email":"d.griesel@gmx.net"},"directories":{},"maintainers":[{"name":"alcalzone","email":"d.griesel@gmx.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/esm2cjs_1.4.2_1759920784511_0.8071692497357701"},"_hasShrinkwrap":false}},"time":{"created":"2021-06-16T15:40:17.375Z","modified":"2025-10-08T10:53:04.911Z","1.0.0":"2021-06-16T15:40:17.574Z","1.1.0":"2021-06-19T10:31:24.845Z","1.1.1":"2021-10-18T09:25:53.133Z","1.1.2":"2022-08-17T11:11:25.015Z","1.2.0":"2024-11-01T22:37:39.748Z","1.2.1":"2024-11-01T22:44:04.819Z","1.2.3":"2024-11-04T08:52:11.817Z","1.3.0":"2024-11-06T13:07:26.491Z","1.4.0":"2024-11-11T11:34:08.854Z","1.4.1":"2024-11-20T20:50:44.881Z","1.4.2":"2025-10-08T10:53:04.727Z"},"bugs":{"url":"https://github.com/AlCalzone/esm2cjs/issues"},"author":{"name":"Dominic Griesel","email":"d.griesel@gmx.net"},"license":"MIT","homepage":"https://github.com/AlCalzone/esm2cjs#readme","repository":{"type":"git","url":"git+https://github.com/AlCalzone/esm2cjs.git"},"description":"Command line utility to compile a JS project from ES modules to CommonJS","maintainers":[{"name":"alcalzone","email":"d.griesel@gmx.net"}],"readme":"# esm2cjs\n\nCommand line utility to compile a JS project from ES modules to CommonJS. This is handy when building hybrid ESM/CommonJS npm packages.\n\nBuilt on top of the blazing fast [esbuild](https://github.com/evanw/esbuild) and supports all modern JS features.\n\n## Install\n\nEither globally:\n```bash\n# using npm\nnpm i -g @alcalzone/esm2cjs\n# using yarn\nyarn add --global @alcalzone/esm2cjs\n```\n\nOr locally as a `devDependency`:\n```bash\n# using npm\nnpm i -D @alcalzone/esm2cjs\n# using yarn\nyarn add --dev @alcalzone/esm2cjs\n```\n\n## Usage\nUsing the binary outside of `package.json` scripts requires global installation.\n```bash\nesm2cjs --in path/to/input --out path/to/output [options]\n```\n\nDetailed help is shown on the command line using\n\n```bash\nesm2cjs --help\n```\n\n## Example for a TypeScript project\n\n1. Configure `tsconfig.json` to write ESM output into `build/esm`:\n\n    ```jsonc\n    // tsconfig.json\n    {\n    \t// ...\n    \t\"compilerOption\": {\n    \t\t// ...\n    \t\t\"outDir\": \"build/esm\",\n    \t\t\"module\": \"ES2020\" // or some of the new options in TS 4.5 \"node12\", \"nodenext\"\n    \t}\n    }\n    ```\n\n1. Add a `postbuild` script that transforms the ESM output to CommonJS:\n\n    ```jsonc\n    // package.json\n    {\n    \t// ...\n    \t\"scripts\": {\n    \t\t// ...\n    \t\t\"postbuild\": \"esm2cjs --in build/esm --out build/cjs -l error\"\n    \t}\n    }\n    ```\n\n1. Set up the `exports` field in `package.json`. Note that the syntax for `types` might need additional changes when [TypeScript 4.5](https://devblogs.microsoft.com/typescript/announcing-typescript-4-5-beta/#packagejson-exports-imports-and-self-referencing) lands.\n    ```jsonc\n    // package.json\n    {\n    \t\"main\": \"build/cjs/index.js\",\n    \t\"module\": \"build/esm/index.js\",\n    \t\"exports\": {\n    \t\t\".\": {\n    \t\t\t\"import\": \"./build/esm/index.js\",\n    \t\t\t\"require\": \"./build/cjs/index.js\"\n    \t\t},\n    \t\t// This is necessary to require/import `your-library/package.json`\n    \t\t\"./package.json\": \"./package.json\",\n    \t\t// additional subpath exports go here, e.g. your-library/tools\n    \t\t\"./tools\": {\n    \t\t\t\"import\": \"./build/esm/tools.js\",\n    \t\t\t\"require\": \"./build/cjs/tools.js\"\n    \t\t},\n    \t\t// or everything in the source root:\n    \t\t\"./*\": {\n    \t\t\t\"import\": \"./build/esm/*.js\",\n    \t\t\t\"require\": \"./build/cjs/*.js\"\n    \t\t}\n    \t},\n    \t// ...\n    }\n    ```\n\n## Example for a JavaScript project without compilation\n\nThis assumes your ESM modules are located in `lib/` and the cjs output goes to `dist/cjs/`.\n\n1. Add a `build` script that transforms the ESM output to CommonJS:\n\n    ```jsonc\n    // package.json\n    {\n    \t// ...\n    \t\"scripts\": {\n    \t\t// ...\n    \t\t\"build\": \"esm2cjs --in lib --out dist/cjs -l error\"\n    \t}\n    }\n    ```\n\n1. Set up the `exports` field in `package.json`.\n    ```jsonc\n    // package.json\n    {\n    \t\"main\": \"dist/cjs/index.js\",\n    \t\"module\": \"lib/index.js\",\n    \t\"exports\": {\n    \t\t\".\": {\n    \t\t\t\"import\": \"./lib/index.js\",\n    \t\t\t\"require\": \"./dist/cjs/index.js\"\n    \t\t},\n    \t\t// This is necessary to require/import `your-library/package.json`\n    \t\t\"./package.json\": \"./package.json\",\n    \t\t// additional subpath exports go here, e.g. `your-library/tools`\n    \t\t\"./tools\": {\n    \t\t\t\"import\": \"./lib/tools.js\",\n    \t\t\t\"require\": \"./dist/cjs/tools.js\"\n    \t\t},\n    \t\t// or everything in the lib folder:\n    \t\t\"./*\": {\n    \t\t\t\"import\": \"./lib/*.js\",\n    \t\t\t\"require\": \"./dist/cjs/*.js\"\n    \t\t}\n    \t}\n    \t// ...\n    }\n    ```\n\n## Performance\n\n### Test case 1: [`zwave-js`](https://github.com/zwave-js/node-zwave-js)\n\n| No. of input files | total size | time taken |\n| ------------------ | ---------- | ---------- |\n| 141                | 987 KB     | 390 ms     |\n\n## Changelog\n\n<!--\n  Placeholder for the next version:\n  ### **WORK IN PROGRESS**\n-->\n### 1.4.2 (2025-10-08)\nDependency updates\n\n### 1.4.1 (2024-11-20)\n* Set esbuild's `keepNames` option to `true` by default\n\n### 1.4.0 (2024-11-11)\n* Support inheriting and rewriting the `imports` field in `package.json`\n\n### 1.3.0 (2024-11-06)\n* Support specifying `sideEffects` in the generated `package.json` as a hint for bundlers\n\n### 1.2.3 (2024-11-04)\n* Update default target to node18\n* Shim `import.meta.url` by default\n* Update documentation for package.json setup\n\n### 1.1.2 (2022-08-17)\nDependency updates\n\n### 1.1.1 (2021-10-18)\nDependency updates\n\n### 1.1.0 (2021-06-19)\nSupport specifying output target and platform\n\n### 1.0.0 (2021-06-16)\n\nInitial release\n","readmeFilename":"README.md"}