{"versions":{"0.1.0":{"name":"@fal-works/esbuild-plugin-global-externals","description":"esbuild plugin for replacing imports with global variables.","version":"0.1.0","license":"MIT","author":{"name":"FAL"},"keywords":["esbuild"],"homepage":"https://github.com/fal-works/esbuild-plugin-global-externals#readme","bugs":{"url":"https://github.com/fal-works/esbuild-plugin-global-externals/issues"},"main":"lib/index.js","module":"lib/index.js","exports":"./lib/index.js","type":"module","directories":{"lib":"lib"},"dependencies":{"esbuild":"^0.8.34","fast-glob":"^3.2.5"},"devDependencies":{"@typescript-eslint/eslint-plugin":"4.14.0","@typescript-eslint/parser":"^4.14.0","eslint":"7.18.0","eslint-config-prettier":"^7.2.0","prettier":"^2.2.1","typescript":"^4.1.3"},"scripts":{"build":"tsc && npm run format:lib","preformat:lib":"eslint --fix --no-ignore lib/**/*.js","format:lib":"prettier --write lib/**/*.js"},"gitHead":"cdf90207375bead1cfb4af9a3de8fade2b225a1e","_id":"@fal-works/esbuild-plugin-global-externals@0.1.0","_nodeVersion":"14.15.4","_npmVersion":"6.14.10","dist":{"integrity":"sha512-GM89cILg1SltKqG803UwtFNA9KvdIxHsBz7dekXy1w/XZE4vP9dNlfCbj1Co7zrPgneYMO7voSMpRfACdPaGzA==","shasum":"6f3abb7fc29e75efe70ddbfa1370ff376fb50ad2","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@fal-works/esbuild-plugin-global-externals/-/esbuild-plugin-global-externals-0.1.0.tgz","fileCount":7,"unpackedSize":4891,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgDYFPCRA9TVsSAnZWagAAz8MP/jefIHzX7ym1SDDu04Ir\nYYirRN5MN6r/KKFQQrVgKkc7/5AWoFvExF2SbR57P0vifdu64eMVJufGao55\nT443BhgdqKiCSLDy2mOr+B3uajIXe/8Ryas5gWr3CmpmzXKWE99DlNYiWeJD\nFV4cGbvKqFi0zcSu3DY2r1oa1Ki3Mi09aOLYAt33Lj2J+QOvk4AhagVUQo5T\nug1K4q/fq9vG/xlyHL26V4oaEF6mN2YHHJWd4AS9QpmINzLS2+A7rPJqPT6p\nnSei82Y33nF59iKOwrWx3JfSf4mv/9ppaL4dlzoSdtupTwFMBBfzFSo+PypP\ndNAdlemKj1onJzpMcc2mfiVDr7hJEM/zA4ICKevU4YSrziC2GDcH9AJ7OOKX\nb/zDEQvxqNE2HF442/URLsRKqZ4yqIFFnT/T6jdEsJDGumNYRM+PiAcbfZVN\n+sK4XZ4oCicNwOI3KjIDmWBDpUOp1zQRNW8ZoXjWf8vgS+z40BF92SG2Mi+l\nF4eyERsCwtHRHF8VZrPmhwg7997yWSFdjrn2qHCMTqPtBcRrhKPcP0LdTWaP\n8aNFvkMcYmOLg0DqD343qL/kyaIftn4mzgbS6CX+6YYrY5v0MgJ6GXDR0Eyr\nLM9GdIp2IXH9YfsbFq4hQd3p9h5rrJURatm+s8G+Daip7taCNM/Nd/1GPkmr\nOl8H\r\n=WJaU\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIC100OI4TCdC/qo9V+wdrQ6FwIHByVk/O0ZkicF2ITHwAiEA6wYc0whl9wtLxC2A+IhjMmUi8r5QTCU1GToHWVrl1Qs="}]},"_npmUser":{"name":"anonymous","email":"falworks.contact@gmail.com"},"maintainers":[{"name":"anonymous","email":"falworks.contact@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/esbuild-plugin-global-externals_0.1.0_1611497806829_0.5824475293938192"},"_hasShrinkwrap":false,"contributors":[]},"1.0.0":{"name":"@fal-works/esbuild-plugin-global-externals","description":"esbuild plugin for replacing imports with global variables.","version":"1.0.0","license":"MIT","author":{"name":"FAL"},"keywords":["esbuild"],"homepage":"https://github.com/fal-works/esbuild-plugin-global-externals#readme","bugs":{"url":"https://github.com/fal-works/esbuild-plugin-global-externals/issues"},"main":"lib/index.js","module":"lib/index.js","exports":"./lib/index.js","type":"module","directories":{"lib":"lib"},"dependencies":{"esbuild":"^0.8.36"},"devDependencies":{"@typescript-eslint/eslint-plugin":"4.14.1","@typescript-eslint/parser":"^4.14.1","eslint":"7.18.0","eslint-config-prettier":"^7.2.0","prettier":"^2.2.1","rimraf":"^3.0.2","typescript":"^4.1.3"},"scripts":{"prebuild":"rimraf lib","build":"tsc && npm run format:lib","preformat:lib":"eslint --fix --no-ignore lib/**/*.{js,ts}","format:lib":"prettier --write lib/**/*.{js,ts}"},"gitHead":"b217e20b8a21161f5757a89b8bc59e2fa49d5777","_id":"@fal-works/esbuild-plugin-global-externals@1.0.0","_nodeVersion":"14.15.4","_npmVersion":"6.14.10","dist":{"integrity":"sha512-cVonXQcmHalYcW35AE58V1InVeiiEpdChHSO0GFRkABJg9+gTlSvH6uskZkCU7Q4Hvn2+kqSzwhPv/usvgV21Q==","shasum":"d40211b3c5185c902dd8e62d00160c66fa0fa8b0","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@fal-works/esbuild-plugin-global-externals/-/esbuild-plugin-global-externals-1.0.0.tgz","fileCount":7,"unpackedSize":7734,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgEsZaCRA9TVsSAnZWagAAvpUP/ixAZfAmsvWhfQ+3EJeX\nJUUmlOZQZ3in2sk/2d0r2SLnpTF+pzIoZEuH6sUFTXnEcXZqH79X3Lk7ED3S\nuF8SnTeMUR8Qf0gXEff0oAVoBLIjw1qfhmNXfKuljvWpvqtd5jcNrxPYBEcQ\n0aoo7aH7q7ywiDBKyvGxMBTNxItSvSCEKZH3d5pz4AFg01+qThQPsbeYzroT\nweXVW9LSL6Ky4ck4bzf+xG+mO49kqf3FQB3K+2Y/oGzsHqhU2XATs3/ZQATf\n+YdZhM/ZWpG2yi1eXn7BmLBlavAsCmItjTSeqCDQC93SlD+17wrqrAlqv1mC\nPpp4TDNVNxU0hDE1WrfbYO325MlR+PG1StIil5IVzirO+VnWGdIUrsdUGxVR\nGUXtPXX4QyjBQf862d3mcDvf1uLbrsFZ9CNu8oiPI9sAK/u/3Ykax6POymdY\n1N6LLywRSNmeAlegKuLg9xJkXpsr2e5vdtt9ln4u5MSSJMz/trGTGiVIjsy8\n3TSZ/j06RTz1Q7uYlpyUMhfm4JaWJpOCIfjPCIIQd9Scu75Da6S+4YbGLOZ1\n9D5HanfYn9guPRjJLQHqI2PI/H0OwPzqtZ/CZq60RdGplnmVZzAW6SvaVZdQ\n4uNfX4A1B4V1SDqoNXEG4e+9d1KpnUbtfmfZ7juyFFTI4xVd+/NuFsS1eWeI\nOZRS\r\n=B/YV\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCa3OK8g2j54AoZsOIsxbsdd0wqT7rwEUs9bXRNk1vMDQIhANJ+Qi7z1l1Rtb3BmZeoKl4GytuLod2pkXtqDCZbiGTM"}]},"_npmUser":{"name":"anonymous","email":"falworks.contact@gmail.com"},"maintainers":[{"name":"anonymous","email":"falworks.contact@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/esbuild-plugin-global-externals_1.0.0_1611843162206_0.6410648721515002"},"_hasShrinkwrap":false,"contributors":[]},"1.1.0":{"name":"@fal-works/esbuild-plugin-global-externals","description":"esbuild plugin for replacing imports with global variables.","version":"1.1.0","license":"MIT","author":{"name":"FAL"},"keywords":["esbuild"],"homepage":"https://github.com/fal-works/esbuild-plugin-global-externals#readme","bugs":{"url":"https://github.com/fal-works/esbuild-plugin-global-externals/issues"},"main":"lib/index.js","module":"lib/index.js","exports":"./lib/index.js","type":"module","directories":{"lib":"lib"},"dependencies":{"esbuild":"^0.8.36"},"devDependencies":{"@typescript-eslint/eslint-plugin":"4.14.1","@typescript-eslint/parser":"^4.14.1","eslint":"7.18.0","eslint-config-prettier":"^7.2.0","eslint-plugin-total-functions":"^4.7.2","prettier":"^2.2.1","rimraf":"^3.0.2","typescript":"^4.1.3"},"scripts":{"prebuild":"rimraf lib","build":"tsc && npm run format:lib","preformat:lib":"eslint --fix --no-ignore lib/**/*.{js,ts}","format:lib":"prettier --write lib/**/*.{js,ts}"},"gitHead":"44bad86be8beddc08255a135304f5bb7b4c2d6f1","_id":"@fal-works/esbuild-plugin-global-externals@1.1.0","_nodeVersion":"14.15.4","_npmVersion":"6.14.10","dist":{"integrity":"sha512-XC7PtZ5zR9DbOebHF7WjwHtPLMRnvD77EZggsHaSpsD4x58gIi05El1WNOZhEHjVw01EveljIVtIEhcu27XajA==","shasum":"4a00c3ade1a4d352101b0370806c687fc64016eb","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@fal-works/esbuild-plugin-global-externals/-/esbuild-plugin-global-externals-1.1.0.tgz","fileCount":11,"unpackedSize":11506,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgGKd1CRA9TVsSAnZWagAAhHIP+gMlhJIWVwOXNx0lWWQK\natTpNzoks5q99UfXvLvyttGb2BeVBhhBkap8AAIQ7hDh8IH2xa7HGoMAzp8H\nutVY52tmVwRLJ/K8SFqTsJVih4Lt9vtqgw3HWMwvmq8JY8WQRdxQn+wpTc8n\nS+sP04GSLFG1dfWM/Q4rSjyWiqzIsSfAwhOON5uuk6dtvFmjvgMaN8kEvvKR\nItJUUuM0ERJhbQYjMacT+0STLkMaMvgxCHC3ZoT4O+M0r1f6WbxkuytRzFKB\nrNSg+kO2X32uc95oK3xdjPfE185pZuNXlv/48s0PjJIyN10bIT6UCCE6djpS\nFynCB3CZKct9BRUG7C+Wc4wZPy9fL2MQkrGI8ntNlBBCaQkJjNR1XZ6Iuow6\novfA3CWwjx+djUcm69MRLjCSpxvnp7wocM08Y9gIsh72jVpMti9dYIgNFTQg\nE2Pf+La+wAwzrZAWhocGbevrFGlO3dDKVzX0m5r4Sn29gJwhd0RQdKnZFIZO\nrMdRJY0puwDu5thVsGez7LRLup00beyuaqsYoow8lBIUxLWcodx6VpLumfxW\nT5gLjcQNfy5/dAEwryW9NI1fjEjFvL6SKJxyKO+aoaNQtzlX3SZb/cyAjZtN\n9uFTcjwfskxNDOGxVwH75mYPIq16/qRIJqBKqfzwjqwgqqqHmUx6mX7ZhcXt\nV9Pw\r\n=WuTI\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQClN/jlAKf/ronhP+i+BEtcXSpx1Wh8ed8eGpXE8Ids+gIgGpBB4O1kMZZEWZ13+KBFF6dTBxutFRDTjr8I9Jkl0l4="}]},"_npmUser":{"name":"anonymous","email":"falworks.contact@gmail.com"},"maintainers":[{"name":"anonymous","email":"falworks.contact@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/esbuild-plugin-global-externals_1.1.0_1612228468483_0.10247093194391033"},"_hasShrinkwrap":false,"contributors":[]},"1.2.0":{"name":"@fal-works/esbuild-plugin-global-externals","description":"esbuild plugin for replacing imports with global variables.","version":"1.2.0","license":"MIT","author":{"name":"FAL"},"keywords":["esbuild"],"homepage":"https://github.com/fal-works/esbuild-plugin-global-externals#readme","bugs":{"url":"https://github.com/fal-works/esbuild-plugin-global-externals/issues"},"main":"lib/index.js","module":"lib/index.js","exports":"./lib/index.js","type":"module","directories":{"lib":"lib"},"dependencies":{"esbuild":"^0.8.39"},"devDependencies":{"@typescript-eslint/eslint-plugin":"4.14.2","@typescript-eslint/parser":"^4.14.2","eslint":"7.19.0","eslint-config-prettier":"^7.2.0","eslint-plugin-total-functions":"^4.7.2","prettier":"^2.2.1","rimraf":"^3.0.2","typescript":"^4.1.3"},"scripts":{"prebuild":"rimraf lib","build":"tsc && npm run format:lib","preformat:lib":"eslint --fix --no-ignore lib/**/*.{js,ts}","format:lib":"prettier --write lib/**/*.{js,ts}","lint":"eslint src/"},"gitHead":"18537b2b2074d633f22d3c096ece74b9b54d5334","_id":"@fal-works/esbuild-plugin-global-externals@1.2.0","_nodeVersion":"14.15.4","_npmVersion":"6.14.10","dist":{"integrity":"sha512-zqpR7TLiwUisj72k62T5HLh2AcNs7uHE34y48up+U9S9Rh+l5B7yhpxCzVax/Et+RT6pmyS3zV6gFuJ6Z8QDgg==","shasum":"61224e31e7e29f61603e985792058eeac50e89fe","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@fal-works/esbuild-plugin-global-externals/-/esbuild-plugin-global-externals-1.2.0.tgz","fileCount":19,"unpackedSize":17790,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgGmRpCRA9TVsSAnZWagAAp1kP+gKprUHwQkexfy6+LaB3\n+Nn+Rox/ptgD5jvj9PhQUDYq5yK0ay6xfR7k27715hy2FDAd9LtyP6ywTLNI\n+kUD+zDv9/arWkMl6PPjIuEB6g7ubv9nRY519bBng3Hh4UyRGw12SkpW/UDw\ngS8lX9zR/r1S9IjfzShdCRtABunTj/NHU9RCtHZngC6DBL5JGhEkhL9WxGmX\nBMEBjNNua5gDH+B29DZxdvSikd+837smDwIqtEpSzBu/cLwBHmScG4oWzlUz\n6ZYlIh46iHO5aja/tDIW1xjMwF/5atM6lNXOO8iH4KJhhvsIXTk67x4LuYWg\nMsThShhCvmDtKlBebKLRhfG93NJfPPml6abCTfAnCxu2Ep1/Gp5sp2m1nMEB\nK/AsZtY9XiTQsXQOziTX28syKbM9+/eLowb5xKXa5lgVUEjb1r315WDJ79fm\n7dmrHW/yZAa9it+XoGPCTD/5TlvKbede1qudU07EFQ7Gf9VinVVBYj8LqIEv\nmwDAXPjCqejh8WIiIvSpnqJBVeyNU83qqE1pBpDpNZ7UUkYFMMZtDE9JCpQY\nSFb7fDESkX/5AnsF7rTWgk1OoBc++rydSP/zRYnmv3udMVW6NHtcgtyQivCt\nQtK4QsOGbU8vONfbHpcH3oe+63Lk1SewCEG2zYRgQJJI2okNE1CeUxhekjXb\nFAQ7\r\n=+dws\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICIL37DWfE8HUA0VfFPRUwKICGzcYliTI6go/On2IcNVAiAQ/zirHA0oxcsKyncCJKP1b1kpThjWf8AoK0C8JEG7kA=="}]},"_npmUser":{"name":"anonymous","email":"falworks.contact@gmail.com"},"maintainers":[{"name":"anonymous","email":"falworks.contact@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/esbuild-plugin-global-externals_1.2.0_1612342376666_0.25858266774830185"},"_hasShrinkwrap":false,"contributors":[]},"2.0.0":{"name":"@fal-works/esbuild-plugin-global-externals","description":"esbuild plugin for replacing imports with global variables.","version":"2.0.0","license":"MIT","author":{"name":"FAL"},"keywords":["esbuild"],"homepage":"https://github.com/fal-works/esbuild-plugin-global-externals#readme","bugs":{"url":"https://github.com/fal-works/esbuild-plugin-global-externals/issues"},"main":"lib/index.js","module":"lib/index.js","exports":"./lib/index.js","type":"module","directories":{"lib":"lib"},"dependencies":{"esbuild":"^0.8.39"},"devDependencies":{"@typescript-eslint/eslint-plugin":"4.14.2","@typescript-eslint/parser":"^4.14.2","eslint":"7.19.0","eslint-config-prettier":"^7.2.0","eslint-plugin-total-functions":"^4.7.2","prettier":"^2.2.1","rimraf":"^3.0.2","typescript":"^4.1.3"},"scripts":{"prebuild":"rimraf lib","build":"tsc && npm run format:lib","preformat:lib":"eslint --fix --no-ignore lib/**/*.{js,ts}","format:lib":"prettier --write lib/**/*.{js,ts}","lint":"eslint src/"},"gitHead":"750b4cfb01c250b2fbedb300890d802ac1617770","_id":"@fal-works/esbuild-plugin-global-externals@2.0.0","_nodeVersion":"14.15.4","_npmVersion":"6.14.10","dist":{"integrity":"sha512-wX1hPzBkQiPwrWYhVIsm3KUnuMOMHrbwqYnSLV8rqWNJCy4yfQTHOcq0XuoYUZ78iQoJ9eWc9DVZIJ7ASIBOKg==","shasum":"6da65715977bd52bf91ab4f53fc323c51a6ced91","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@fal-works/esbuild-plugin-global-externals/-/esbuild-plugin-global-externals-2.0.0.tgz","fileCount":23,"unpackedSize":17953,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgGp+MCRA9TVsSAnZWagAATY8P/i/WIgAThbJS33kFLFSs\nCCFIhVO6Xm/8DgM8lDu2NQSCNTYNnghMQVkNtOj4XLx98R/d1sA4EaiAZmf8\n/c/XMQFsws+sZnzyGqJjffl1Pfdx31YqR5L2LjkuKNsBCQYvlmuYmG3C3WMM\nvsICA5VSDVX0Mm50epTyblHTf5ICIz8XC2ce0yClUbW5qjaCuPYAbEFnBfx5\nSssID4t+jtt9uoLhR3LFVDIzEltdO8cJKz9ZlTDllKQa+IIDLXV5iKLoXV2y\ntxALlht78RaiJFAxdCMMZDmq9U/RCSQyaYqrSiJi17rJ+jObRpBr0/SftUPM\n0zQNSBTa2JiN+XkeisSrfafwfqJxkJVBvLfoNud+Re9sLMrbLSwSwqiXTzHj\nJz2WQC5cqc8wRr8/0o+sSn5u3FaBR66mGSQg7t6NOPU2FJrIf+jHZoCHd8tJ\nsEtCahPeCVWXQydp9HgSdWOk8JVojml6MX4THCMAem4xv6OsGAVKwzIwRVom\nsOZRzmPUEf23GSVxCK4jJcgpgZyxsI8f6pXdqsscA7eA1tkMtWP3kSxCVQ3M\nRO+Bln79bzPBwq8g9InaLKBAw8D08bV3PQsEsL8lgq5TkdA83sQAuxcBwONi\nDst6OnFPx0Ydx0dVMzT26X6p/9ofjMmI7MwNyCWj5iYeGKgXpp1llEeD9JL0\nLRLX\r\n=+7J7\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCfT4AfL20hMTo77AikaXg7TYvypn6Ui2p5eyQJkmNMFQIgMo1QFpTpEz0/p/oYPnmT70hhVcTMQsg5e1IjOmvWujY="}]},"_npmUser":{"name":"anonymous","email":"falworks.contact@gmail.com"},"maintainers":[{"name":"anonymous","email":"falworks.contact@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/esbuild-plugin-global-externals_2.0.0_1612357513772_0.5370065898278917"},"_hasShrinkwrap":false,"contributors":[]},"2.1.0":{"name":"@fal-works/esbuild-plugin-global-externals","description":"esbuild plugin for replacing imports with global variables.","version":"2.1.0","license":"MIT","author":{"name":"FAL"},"keywords":["esbuild"],"homepage":"https://github.com/fal-works/esbuild-plugin-global-externals#readme","bugs":{"url":"https://github.com/fal-works/esbuild-plugin-global-externals/issues"},"main":"lib/index.cjs","module":"lib/index.js","exports":{"import":"./lib/index.js","require":"./lib/index.cjs"},"type":"module","directories":{"lib":"lib"},"dependencies":{"esbuild":"^0.8.40"},"devDependencies":{"@typescript-eslint/eslint-plugin":"4.14.2","@typescript-eslint/parser":"^4.14.2","eslint":"7.19.0","eslint-config-prettier":"^7.2.0","eslint-plugin-total-functions":"^4.7.2","prettier":"^2.2.1","rimraf":"^3.0.2","typescript":"^4.1.3"},"scripts":{"prebuild":"rimraf lib","build":"npm run build:esm & npm run build:cjs","build:esm":"tsc && npm run format:lib:esm","preformat:lib:esm":"eslint --fix --no-ignore lib/**/*.{js,ts}","format:lib:esm":"prettier --write lib/**/*.{js,ts}","build:cjs":"esbuild src/index.ts --outfile=lib/index.cjs --format=cjs --platform=node --bundle --minify","lint":"eslint src/","test":"node test/test.js"},"gitHead":"3b45a15c63a736197df78be47be77052d1a04fe2","_id":"@fal-works/esbuild-plugin-global-externals@2.1.0","_nodeVersion":"14.15.4","_npmVersion":"6.14.10","dist":{"integrity":"sha512-jNHCkClAci69+ho0S3nElcTZMIICMJzvqOvs6MQ35uM0Fjsp3IErk3c/wTxpAYxPVMpM0oW03Vt8LGlS+0FAtw==","shasum":"0bcb441c5dbea88175fdf9512bf7595cdf0a936e","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@fal-works/esbuild-plugin-global-externals/-/esbuild-plugin-global-externals-2.1.0.tgz","fileCount":24,"unpackedSize":19303,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgG37+CRA9TVsSAnZWagAA/ZQP/iPZJhhxyDqa17TgeYaD\njbjDr78RQQHjxKaP66ImVGeueHkgi/5AzYsI+mbY+/YE2Kf9+obTo6XsBwRd\nH4uqeDeQM1NOL2GnTitR/1R6p9x9/NqXE1RnXysE/3/o4D2wHRD3gHj7tgj7\n7J1YhNxoIm8x1BtgMWPiXgiR6rn+STI/x8MfgZzFiBDpbuzNQd7Y8O/+B4Xs\nO2Ix7o4KqQH+DI2pLt2F+Mo1oKt5SPQ1hl8NUzp9Ohc3L0HfEeuw0tsjMYbb\njXFvDHUkZS00u4QGtpjIRtpFLRTcYtWsCxdMSA/Aw3M46QG63ZxrhOhNRefG\nQa0q5BwgKldhc3vj55LoKXKxBKvZByk+6quhyblxSRBzfyD7L/VR8lUpta1X\nKC7+DNVWuwVq6KuxCIOW0UGdM3pv4g8ppQlSDJKyVPdBImv302g8dmAFmEX9\nFUANIogLVInIIoHj6gVtc8/C9tFkxeqhd8HQFwFcDU6dJ06UabneCj5lzdhG\nQoeFMfoglAALD9T0itef0/9ZOISUkY+iS6I8eCx7No3hLjUxkXYgBk8da3ju\nOP8tXR0qfFyXEewiLg5SdA0RVBBX1FdhFJL+bpFFADlNKGpp1Tus1CsS6clL\nbF7W68AYdqqcGZMPpI2vPcdTHrHzMNXClKRz5taQKADmStAyO6ArTMjaaPMW\na+eW\r\n=KPAW\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDT5PzhanC9bMP/8Z4VvpTig+h5FTWmFTlJNhDEnMaoiAiEAmh7y3+m1gygzrGPETy5Uijo3hAizbe66p/urCxn8epo="}]},"_npmUser":{"name":"anonymous","email":"falworks.contact@gmail.com"},"maintainers":[{"name":"anonymous","email":"falworks.contact@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/esbuild-plugin-global-externals_2.1.0_1612414717955_0.07640079652496601"},"_hasShrinkwrap":false,"contributors":[]},"2.1.1":{"name":"@fal-works/esbuild-plugin-global-externals","description":"esbuild plugin for replacing imports with global variables.","version":"2.1.1","license":"MIT","author":{"name":"FAL"},"keywords":["esbuild"],"homepage":"https://github.com/fal-works/esbuild-plugin-global-externals#readme","bugs":{"url":"https://github.com/fal-works/esbuild-plugin-global-externals/issues"},"type":"module","main":"lib/index.cjs","module":"lib/index.js","exports":{"import":"./lib/index.js","require":"./lib/index.cjs"},"types":"lib/index.d.ts","directories":{"lib":"lib"},"dependencies":{"esbuild":"^0.8.40"},"devDependencies":{"@typescript-eslint/eslint-plugin":"4.14.2","@typescript-eslint/parser":"^4.14.2","eslint":"7.19.0","eslint-config-prettier":"^7.2.0","eslint-plugin-total-functions":"^4.7.2","prettier":"^2.2.1","rimraf":"^3.0.2","typescript":"^4.1.3"},"scripts":{"prebuild":"rimraf lib","build":"npm run build:esm & npm run build:cjs","build:esm":"tsc && npm run format:lib:esm","preformat:lib:esm":"eslint --fix --no-ignore lib/**/*.{js,ts}","format:lib:esm":"prettier --write lib/**/*.{js,ts}","build:cjs":"esbuild src/index.ts --outfile=lib/index.cjs --format=cjs --platform=node --bundle --minify","lint":"eslint src/","test":"node test/test.js"},"gitHead":"630c84ee2cd09e31e8b9c869640b9156bba258e8","_id":"@fal-works/esbuild-plugin-global-externals@2.1.1","_nodeVersion":"14.15.4","_npmVersion":"6.14.10","dist":{"integrity":"sha512-SAv3TqnXXETaqUNp+3B5JHIgDSAWw74iXlnRHZ+me1vzkfjJnG88xOnhmXE0Q/9OBOJFSONYcIgox5YKcv9rcA==","shasum":"1cef79df7a897c98cdec9b8e72f89459c0f740e9","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@fal-works/esbuild-plugin-global-externals/-/esbuild-plugin-global-externals-2.1.1.tgz","fileCount":24,"unpackedSize":19332,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgG4NnCRA9TVsSAnZWagAArmgQAI/sjxBZFYiSJbhDIFLO\nbsrLbr6Cy+6o4ZwSfNP6SGKiaUP0T3e482d9BwaM0Z+syoy9LCiD772ZcvAa\noPVR+Tttke0p3EharOViMtCG+ovNj5wl00B67qgvbvg+ZRfKyD+FNmkr7VBz\nSCiZZ0xh4gobjrFjDitUT/voJVzIX8BbZAGq/4G/EzECidtGumP58ekVzAPD\nkRNlUn2+GqKwTrjoK4rn3Uv55UCfjUiejekz/DkDUzBz+ep/S6WNBZRB06Up\nJm0A/58A4uRj6LqCDtb0Ll00KLxtdbC9AIni0Oz90RexUtXeQKhyfqjCqDnf\n69JjXoxDtdpv62b204VnYQdJtz43famxz8soYIbXr2H41oQ3UrPjXcoLsAhw\nghRxVPHsQyE0ei7soIuuSA2KlGOy3WQSO4XLO4/X/cz2SLokEGfVhlJS1oDf\n8Tw8PdFM10OIfDZMlj2Ixc/F5EIQtBJYCY3OCvwxc+Ku2cYq6qcwKJ/Lf5Sw\nT9qHsxMwRojHlO7sW6zz+cQUh2EytY7DyJ4Jf7d8YSJOy7B8qx95ASjq51Lo\n6F/CZjDpwFGDNEXabYROuLON/oZ7Z4C8rRqi6CnGzd+ZWcjWggsTCXOBWvvY\nySLiAPH/onh77yOd7lpPxxgtaXMzV+1nIKo0DMg29VZFX6EkJYbAVxRNkx+m\nmbrD\r\n=ux/W\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCetszTsI+CnLKWNWGyIiJyShTPdcbQMpVghVsjmfysnwIgdn/KvgVEhZYLFjoK9BraEBVpOCc/cC5t8EQSLBI5BnM="}]},"_npmUser":{"name":"anonymous","email":"falworks.contact@gmail.com"},"maintainers":[{"name":"anonymous","email":"falworks.contact@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/esbuild-plugin-global-externals_2.1.1_1612415846715_0.513090401210855"},"_hasShrinkwrap":false,"contributors":[]},"2.1.2":{"name":"@fal-works/esbuild-plugin-global-externals","description":"esbuild plugin for replacing imports with global variables.","version":"2.1.2","license":"MIT","author":{"name":"FAL"},"keywords":["esbuild"],"homepage":"https://github.com/fal-works/esbuild-plugin-global-externals#readme","bugs":{"url":"https://github.com/fal-works/esbuild-plugin-global-externals/issues"},"type":"module","main":"lib/index.cjs","module":"lib/index.js","exports":{"import":"./lib/index.js","require":"./lib/index.cjs"},"types":"lib/index.d.ts","directories":{"lib":"lib"},"devDependencies":{"@typescript-eslint/eslint-plugin":"4.28.3","@typescript-eslint/parser":"^4.28.3","esbuild":"^0.12.15","eslint":"7.31.0","eslint-config-prettier":"^8.3.0","eslint-plugin-total-functions":"^4.9.0","prettier":"^2.3.2","rimraf":"^3.0.2","typescript":"^4.3.5"},"scripts":{"prebuild":"rimraf lib","build":"npm run build:esm & npm run build:cjs","build:esm":"tsc && npm run format:lib:esm","preformat:lib:esm":"eslint --fix --no-ignore lib/**/*.{js,ts}","format:lib:esm":"prettier --write lib/**/*.{js,ts}","build:cjs":"esbuild src/index.ts --outfile=lib/index.cjs --format=cjs --platform=node --bundle --minify","lint":"eslint src/","test":"node test/test.js"},"gitHead":"5060147a2fbc8f9bea55085864c981469afaed2a","_id":"@fal-works/esbuild-plugin-global-externals@2.1.2","_nodeVersion":"14.17.3","_npmVersion":"6.14.13","dist":{"integrity":"sha512-cEee/Z+I12mZcFJshKcCqC8tuX5hG3s+d+9nZ3LabqKF1vKdF41B92pJVCBggjAGORAeOzyyDDKrZwIkLffeOQ==","shasum":"c05ed35ad82df8e6ac616c68b92c2282bd083ba4","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@fal-works/esbuild-plugin-global-externals/-/esbuild-plugin-global-externals-2.1.2.tgz","fileCount":24,"unpackedSize":19462,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg9ZK9CRA9TVsSAnZWagAAkPsP/3WBlfX8sh6jczCqFf/3\nnjDMdEf2Fpo8otxP8Uas0+IGKSK5b+EbAd/mAjqw4U+Iiw3JwyyN4xpXeFWw\nq2giq5YtX45/vuFrMI0sSVukk7SWa8AYMMp9GVynmCowo7vd3C+GqezifUUu\n5Qo00QNW7VZtX9nfEvGjn6Zbfv3oOGzI3GwkAlhkov9PmKGZK6l2y1RY82je\ni02nRbeksO3s8exdTZkWNVHhg3LADmdH7uxP65G41l1IAgaf+XnUKif72uf+\nafe7/yU/aUO8CFlQ1QAsRhgerC4N26oNaNRhVO1TXLM0Vyw8wW5E7pwWINVo\nw/Tp/gBRvLF6KHum8ncP94RlErh/mmDffvZkipsVVinObClzzsW4xcLpuzlW\nEJyy2V2MvLN9AoZ3kzhB9gyLLLr2eEHQF/+4a4P0YCQz+KqUZh+R2YWziCvN\nqZTwpzcKlTqJM6LhZbXEz1CijppUisd/F9SO+Yds8oaYWtrRd3b0LBrm1nKI\nWimzoeHnDhjVymtx35apbRlBTn8clElKiYElMwLDVmlZ4+Z11g8FVPOp1dcE\ne/tw6p2c0aVnt8EzkizkIWoMTOUv+P8mTrJMyyTtEo2ecjtecq1iyMG5bMoJ\nB5b2P9ymdx0IeIKRekhlob7M8lZWSN4/pKiUIwDwcXx1Eo3tS3XYEFuqOiWa\nZy/l\r\n=fYCg\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAhaU9zY6niB+4DiWuiUfdOBlSQvdEzHExkrNneucsHDAiBW82aFLWSmW9k/HJ12pWQ3y7fQDv5go33lKfXYYFp7Ew=="}]},"_npmUser":{"name":"anonymous","email":"falworks.contact@gmail.com"},"maintainers":[{"name":"anonymous","email":"falworks.contact@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/esbuild-plugin-global-externals_2.1.2_1626706621245_0.7878668364151904"},"_hasShrinkwrap":false,"contributors":[]}},"dist-tags":{"latest":"2.1.2"},"name":"@fal-works/esbuild-plugin-global-externals","time":{"created":"2022-01-27T10:58:51.046Z","0.1.0":"2021-01-24T14:16:46.971Z","modified":"2023-06-29T10:25:43.898Z","1.0.0":"2021-01-28T14:12:42.417Z","1.1.0":"2021-02-02T01:14:28.618Z","1.2.0":"2021-02-03T08:52:56.826Z","2.0.0":"2021-02-03T13:05:13.914Z","2.1.0":"2021-02-04T04:58:38.085Z","2.1.1":"2021-02-04T05:17:26.850Z","2.1.2":"2021-07-19T14:57:01.362Z"},"readme":"# esbuild-plugin-global-externals\n\n[esbuild](https://esbuild.github.io/) plugin for replacing imports with global variables.\n\nSimilar to (but not the same as) `output.globals` option of [Rollup](https://rollupjs.org/). See also: [evanw/esbuild#337](https://github.com/evanw/esbuild/issues/337)\n\nOriginally developed with esbuild v0.8.40, and should work with higher versions as well.\n\n\n## TL;DR\n\nThis:\n\n```js\nimport p5 from \"p5\";\nnew p5();\n```\n\ntranspiles to:\n\n```js\n// Here a variable `p5` should be defined globally (typically via UMD)\nvar p5_default = p5;\nnew p5_default();\n```\n\n\n## Usage example\n\n```js\nimport { globalExternals } from \"@fal-works/esbuild-plugin-global-externals\";\n\n/** Mapping from module paths to global variables */\nconst globals = {\n  jquery: \"$\"\n};\n\nesbuild.build({\n  entryPoints: [\"src/main.js\"],\n  outfile: \"dist/bundle.js\",\n  bundle: true,\n  plugins: [globalExternals(globals)],\n});\n```\n\nIf you prefer `RegExp` use `globalExternalsWithRegExp()` instead, however note that the `RegExp` you'll pass should be valid in Go language as well.\n\n\n## Configuration\n\nInstead of simply providing variable names only, you can pass `ModuleInfo` objects to configure the loading behavior for each module.\n\n### Module type\n\nEither `\"esm\"` (default) or `\"cjs\"`.\n\nThis determines the internal behavior of this plugin when loading modules (which affects the code after bundling as well).\n\n```js\nglobalExternals({\n  \"someModulePath\": {\n    varName: \"someGlobalVar\",\n    type: \"cjs\"\n  }\n})\n```\n\n### Named/default export\n\nIf `type: \"esm\"` and also if you're doing named import with some modules in question, you have to tell which variables from each module should be importable.\n\nAdditionally, if you don't do default import/export, you can prevent emitting code for this with `defaultExport: false`.\n\nBoth have no effects if `type: \"cjs\"` (which should work fine with named imports as well).\n\n```js\nglobalExternals({\n  \"someModulePath\": {\n    varName: \"someGlobalVar\",\n    namedExports: [\"someExportedVar\"],\n    defaultExport: false\n  }\n})\n```\n\nThe example above enables the following even if `type: \"esm\"`:\n\n```js\nimport { someExportedVar } from \"someModulePath\";\n```\n\nwhich transpiles to:\n\n```js\nvar someExportedVar = someGlobalVar.someExportedVar;\n```","users":{}}