{"_id":"isolated-externals-plugin","_rev":"68-317cc15aeac08f047a08a62717cfe05c","name":"isolated-externals-plugin","description":"![Build Status](https://github.com/im-open/isolated-externals-plugin/actions/workflows/main.yml/badge.svg) [![npm version](https://badge.fury.io/js/isolated-externals-plugin.svg)](https://badge.fury.io/js/isolated-externals-plugin)","dist-tags":{"development":"2.0.0-webpack-5-integration.1","webpack-5-integration":"2.0.0-webpack-5-integration-8db7536.3","refactor-externals":"2.1.0-refactor-externals-ee5e344.4","global-url-modifier":"2.3.0-global-url-modifier-c83fba1.1","timeout-external-cache-open":"2.3.1-timeout-external-cache-open-5d4b190.1","preload-non-esm":"2.4.0-preload-non-esm-e559461.16","fix-parent-updates":"2.4.1-fix-parent-updates-a33dc0e.1","fix-module-resolution":"2.4.2-fix-module-resolution-0ccaa07.1","latest":"2.5.0","fix-safari-private-cache":"2.5.0-fix-safari-private-cache-4eb6444.1"},"versions":{"1.0.0":{"name":"isolated-externals-plugin","version":"1.0.0","keywords":["Web Components","webpack","webpack4","webpack-plugin","isolated","externals","embedded"],"author":{"name":"Steve Matney"},"license":"ISC","_id":"isolated-externals-plugin@1.0.0","maintainers":[{"name":"aabenoja","email":"abenojaalex@gmail.com"}],"homepage":"https://github.com/WTW-IM/isolated-externals-plugin#readme","bugs":{"url":"https://github.com/WTW-IM/isolated-externals-plugin/issues"},"dist":{"shasum":"65aca8278f2e2e45f83fcaa265fdaae7f9b9c473","tarball":"https://registry.npmjs.org/isolated-externals-plugin/-/isolated-externals-plugin-1.0.0.tgz","fileCount":9,"integrity":"sha512-wJnEhZVnBOrLYnBT0xxiqKrAJZi/K5QkDbVgXKZmM0AqwqrZpZb4VhU/pBJL0jNybnY2HCAFG4blTgiRM+Wnpg==","signatures":[{"sig":"MEQCIBUZWktc9sicWDtp//5vpRoJpX0h5T8r8sq5YiHaK+d9AiB4NFHzUQPY3pTqjq957EdWwq6g5X7tGa8hzGBE7Bsc5Q==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":22503,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJelJCpCRA9TVsSAnZWagAAVncQAJHzRcJMABBnebllkw3X\nZb/kcJjnWQfBiENoVfD5UEg8oZuxx/fGpJt5q79pa/6HtRxTQkj0pNCu8w5e\n69WzNULKiBa1QL3O5VUU9mELBwyNO/+fg6M361TpQacKXF9TO58gJvaLr6eU\ncDbvIQcmq/z8YcMYVmIJuBjkmMThtTfQUeiLglhoOJc9HP5zqnr3Wq+0I1oH\n06j4fOgWTBHjAU2HyQiqnosogTyPpBIhmP+O00bC/lyNzNfxyyhi1ce2gArI\nOl/yDUt7DUJnEtcAkjiOebp0/KhNhfWTH/ZXdRccluS7n+n3FyhJKJPOGoO+\n3EGGozZrojDFTvRPnRFjQETRSWbzzQ3eSZJzbZirIpOTwPtIBFRA9GX7mGEF\nRVVXheKLb5m0cUJZfMoM/NugJrfTIjvhpoY2gm/hUNAg0Jqj307iJ6MEpdFH\nyYJMpSfx0yGTc/L15Eg2/1+LtKIJONFP/6dDJzQmkD/rzyKIVS1/g5XUgWY5\nbUEyA+PJcL8MBa3kkewbJclp296i8bSrA5MnweHhUx0VBCvuQO2TELtDdBEC\nRbmhu8fNuw4Orh8M3XPynBnUvQfn7jJl/ltYYJyUFXKp8XlN413SrXm6NhYP\nxSgAw4J8CK5N8///dubBRRiY/RR7P+PxA/OUxGdTAW73JDi9BT8IpAln+YHi\nqkg9\r\n=Y+rq\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","husky":{"hooks":{"commit-msg":"commitlint -E HUSKY_GIT_PARAMS","pre-commit":"lint-staged"}},"types":"dist/index.d.ts","gitHead":"da020000d5296d923af2869a4ab7ffbfa713871e","scripts":{"lint":"eslint --ext .js,.jsx,.ts,.tsx ./src","test":"npm run lint && npm run build","build":"tsc && cd src/util && tsc","prepublishOnly":"npm run build"},"_npmUser":{"name":"aabenoja","email":"abenojaalex@gmail.com"},"repository":{"url":"git+https://github.com/WTW-IM/isolated-externals-plugin.git","type":"git"},"_npmVersion":"6.14.4","description":"[![Build Status](https://travis-ci.com/WTW-IM/isolated-externals-plugin.svg?branch=master)](https://travis-ci.com/github/WTW-IM/isolated-externals-plugin) [![npm version](https://badge.fury.io/js/isolated-externals-plugin.svg)](https://badge.fury.io/js/is","directories":{},"lint-staged":{"*.md":["prettier --write --parser markdown"],"src/**/*.(j|t)s?(x)":["prettier --write","eslint --fix"]},"_nodeVersion":"13.12.0","dependencies":{"randomstring":"^1.1.5","webpack-sources":"^1.4.3"},"_hasShrinkwrap":false,"devDependencies":{"husky":"^4.2.5","eslint":"^6.5.1","webpack":"^4.42.1","depcheck":"^0.9.2","prettier":"1.19.1","typescript":"^3.8.3","lint-staged":"^10.0.8","@types/webpack":"^4.41.10","@commitlint/cli":"^8.3.5","semantic-release":"^17.0.4","@types/randomstring":"^1.1.6","html-webpack-plugin":"^4.0.3","@semantic-release/git":"^9.0.0","@types/webpack-sources":"^0.1.7","eslint-config-prettier":"^6.10.0","@typescript-eslint/parser":"^2.24.0","@semantic-release/changelog":"^5.0.1","conventional-changelog-eslint":"^3.0.4","@commitlint/config-conventional":"^8.3.4","@typescript-eslint/eslint-plugin":"^2.24.0"},"peerDependencies":{"webpack":"^4.0.0","html-webpack-plugin":"^3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/isolated-externals-plugin_1.0.0_1586794664903_0.8001508885445268","host":"s3://npm-registry-packages"}},"1.1.0":{"name":"isolated-externals-plugin","version":"1.1.0","keywords":["Web Components","webpack","webpack4","webpack-plugin","isolated","externals","embedded"],"author":{"name":"Steve Matney"},"license":"ISC","_id":"isolated-externals-plugin@1.1.0","maintainers":[{"name":"aabenoja","email":"abenojaalex@gmail.com"},{"name":"darrken","email":"ken.james.adams+npm@gmail.com"},{"name":"jrios","email":"jacobrios@fastmail.com"},{"name":"kstclaire","email":"kelseystclaire@gmail.com"},{"name":"stevematney","email":"steve.matney@gmail.com"}],"homepage":"https://github.com/WTW-IM/isolated-externals-plugin#readme","bugs":{"url":"https://github.com/WTW-IM/isolated-externals-plugin/issues"},"dist":{"shasum":"d252f9808f296d41723328f28dd9fde5883322fc","tarball":"https://registry.npmjs.org/isolated-externals-plugin/-/isolated-externals-plugin-1.1.0.tgz","fileCount":9,"integrity":"sha512-QvHw3KD2DALNNyYEDg2339IKEb/5Xeqla6/vFh9x/QDHr7/2Sw49jbVsLncB3xamY8P83QMGLDl9ZPQg5RaewA==","signatures":[{"sig":"MEQCIGJ+nBkJzrrRUISZ5KQ/S69IyZJevsBjoG0/3+2wyW1IAiB41lNXAKuyQcWBGlY5MXhiMLzRo36tkzSkrr62b620Qg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":24077,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeoHxdCRA9TVsSAnZWagAA5XAP/i0gWKFAmrQci4kjMABK\nvkfj/UpAjftWgwE3bu+hAxv47X4+OwNr28KuvXrF9+18mkT2sGV8CpOlmWGo\nrTpcysVUemRrZQjrszuI23/4g73xdFyNym4KRloCr02Z3BCYNMqcVbAXxxa7\nm3rl0aSSt8yNpvw/qOspGPUSTFX5UrZAvxIjGl1se+grAZDNMg/vpw5Vv2m1\ndQfWz0mV9nk65L3u+MkXpclzBXtS2PkiFFGG0e1bzcQBj2+p8b8YKvIKNh32\nXgX1aaryVeV3Qn1ILSMQJBeKij2NuTulWhQHXR2aoWx5eoMulisDC2KtHuhw\nbF8V+lxkD7OrZ8Nnasq57s3T68tCyEl9Lho5w7wARnKwZLdZQww1nf4faVBt\nn/EGnq8tiXoBRneL7Ht1TqJ/SpykC7lqS9a/TbRoXp0UYwpglV0PiHt7dASD\n7lplIpGzg2tjl9oIASXYtfpJ/mJpSKFiJIhJlTJF2/noalWJhrUZ3T8ysDtD\npevLtudpT8gakJUHPP8I9L9Bt6bWpFUeTm2sZ8Qoxlkf45nVI8TVicAH2Aik\n1UVWI5vwpw5jK2gqbAGykCP43p4pF7xpUvSqT/XI2ihw3VDq554kdNyyJsKk\ns2lEB8bIIMaGE8TR52EPHX2x1lqjBlW+wO2/sLV5O6hroV/ycKd0A8tpL0Hs\n0uPn\r\n=iCqv\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","husky":{"hooks":{"commit-msg":"commitlint -E HUSKY_GIT_PARAMS","pre-commit":"lint-staged"}},"types":"dist/index.d.ts","gitHead":"3a8aadeda9765ca7cd58272f4f63f032d0f497f3","scripts":{"lint":"eslint --ext .js,.jsx,.ts,.tsx ./src","test":"npm run lint && npm run build","build":"tsc && cd src/util && tsc","prepublishOnly":"npm run build"},"_npmUser":{"name":"aabenoja","email":"abenojaalex@gmail.com"},"repository":{"url":"git+https://github.com/WTW-IM/isolated-externals-plugin.git","type":"git"},"_npmVersion":"6.14.4","description":"[![Build Status](https://travis-ci.com/WTW-IM/isolated-externals-plugin.svg?branch=master)](https://travis-ci.com/github/WTW-IM/isolated-externals-plugin) [![npm version](https://badge.fury.io/js/isolated-externals-plugin.svg)](https://badge.fury.io/js/is","directories":{},"lint-staged":{"*.md":["prettier --write --parser markdown"],"src/**/*.(j|t)s?(x)":["prettier --write","eslint --fix"]},"_nodeVersion":"14.0.0","dependencies":{"randomstring":"^1.1.5","webpack-sources":"^1.4.3"},"_hasShrinkwrap":false,"devDependencies":{"husky":"^4.2.5","eslint":"^6.5.1","webpack":"^4.42.1","depcheck":"^0.9.2","prettier":"1.19.1","typescript":"^3.8.3","lint-staged":"^10.0.8","@types/webpack":"^4.41.10","@commitlint/cli":"^8.3.5","semantic-release":"^17.0.4","@types/randomstring":"^1.1.6","html-webpack-plugin":"^4.0.3","@semantic-release/git":"^9.0.0","@types/webpack-sources":"^0.1.7","eslint-config-prettier":"^6.10.0","@typescript-eslint/parser":"^2.24.0","@semantic-release/changelog":"^5.0.1","conventional-changelog-eslint":"^3.0.4","@commitlint/config-conventional":"^8.3.4","@typescript-eslint/eslint-plugin":"^2.24.0"},"peerDependencies":{"webpack":"^4.0.0","html-webpack-plugin":"^3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/isolated-externals-plugin_1.1.0_1587575900860_0.1700826971499776","host":"s3://npm-registry-packages"}},"1.2.0":{"name":"isolated-externals-plugin","version":"1.2.0","keywords":["Web Components","webpack","webpack4","webpack-plugin","isolated","externals","embedded"],"author":{"name":"Steve Matney"},"license":"ISC","_id":"isolated-externals-plugin@1.2.0","maintainers":[{"name":"aabenoja","email":"abenojaalex@gmail.com"},{"name":"darrken","email":"ken.james.adams+npm@gmail.com"},{"name":"jrios","email":"jacobrios@fastmail.com"},{"name":"kstclaire","email":"kelseystclaire@gmail.com"},{"name":"stevematney","email":"steve.matney@gmail.com"}],"homepage":"https://github.com/WTW-IM/isolated-externals-plugin#readme","bugs":{"url":"https://github.com/WTW-IM/isolated-externals-plugin/issues"},"dist":{"shasum":"63cb86cf9b225ad6912b8cb0d6859417d1ba0b1d","tarball":"https://registry.npmjs.org/isolated-externals-plugin/-/isolated-externals-plugin-1.2.0.tgz","fileCount":9,"integrity":"sha512-cDSCzfaHaZ7gjRXmkOsj7t2LbIIAxVkVecLHzEF12fEi4wACCPmDJo/S1SS4/eR5c/uvW4qh92KBNnTX/cFB5A==","signatures":[{"sig":"MEYCIQCXeUimiTO7KIiWNrTHcEbXf/U+EN6JNhKYvXXjucGjUwIhAOV7KL/q2kG9Q41KUqorpUskvZqd4Od7sfTENVecuycI","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":25047,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeo0H6CRA9TVsSAnZWagAAvQMP/R7anUKRw32nAugg1K8q\n0oUeHUsXeFJhANv1RdM2cT/syS1ydOToXE8HDu+31OJIGzg+VRR3xK9kGrig\nBUSLCb+pjofTR0eM8qfOic8zRrnqIioUymmS2IitM7Ag0dgjvVjlFSO3Hg6a\nkpsosMAWmmi0auAaC8XZFSw4QMOXRPxqTBMOBisNxGp5bngE5k4nmLe96l6+\n5rJuDvvt+PYODTVrEy5YZQTLX291D+TYbWFCOTAhe8ew5usuYmFNAIFlRIZ/\n8zQGOBpXgIda6JsB7meoV3tGkOGAWE03/KyqvW54NrXULHRxQt+YzO6KCJuY\ntCGCLUmOsUE25SJ9okTinEkVH1p4E4nECvdWUQ/AZadP2ayjoPD2YRO0VyJo\nvA1yBrIPmJaHSTFidCtPrPxnw8+EN5slny1gGncNPpQZl/pC0DE59bdxQlAr\nSZaicMA71qFYPh+HPyL33pS2fVAF1o4nnPIhYsR/xwmw1N34NuiQgqmltBVs\nUM4PXLNeKH9WymPS3AqoSQywgNZulMMij1HmdKMEnCxVQEUwgZDhXTBygsvp\nHRyKVLBKiIsUB1x3DA0KvnhsmgqK1S6JydVMZhn/tN+mfzCP56AUt16QkYMf\nNL7Gcgh7IxnurpU1h8yiw6J1fR+xztbta310zZDOs3rNGea9s0+9luYU2EUx\n0vP7\r\n=tBD3\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","husky":{"hooks":{"commit-msg":"commitlint -E HUSKY_GIT_PARAMS","pre-commit":"lint-staged"}},"types":"dist/index.d.ts","gitHead":"1e302e6a595e1402383b72450105c3cfc4a114f0","scripts":{"lint":"eslint --ext .js,.jsx,.ts,.tsx ./src","test":"npm run lint && npm run build && jest","build":"tsc && cd src/util && tsc","prepublishOnly":"npm run build"},"_npmUser":{"name":"aabenoja","email":"abenojaalex@gmail.com"},"repository":{"url":"git+https://github.com/WTW-IM/isolated-externals-plugin.git","type":"git"},"_npmVersion":"6.14.4","description":"[![Build Status](https://travis-ci.com/WTW-IM/isolated-externals-plugin.svg?branch=master)](https://travis-ci.com/github/WTW-IM/isolated-externals-plugin) [![npm version](https://badge.fury.io/js/isolated-externals-plugin.svg)](https://badge.fury.io/js/is","directories":{},"lint-staged":{"*.md":["prettier --write --parser markdown"],"src/**/*.(j|t)s?(x)":["prettier --write","eslint --fix"]},"_nodeVersion":"14.0.0","dependencies":{"babel-cli":"^6.26.0","randomstring":"^1.1.5","webpack-sources":"^1.4.3"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^25.4.0","husky":"^4.2.5","eslint":"^6.5.1","webpack":"^4.42.1","depcheck":"^0.9.2","prettier":"1.19.1","typescript":"^3.8.3","@types/jest":"^25.2.1","lint-staged":"^10.0.8","@types/webpack":"^4.41.10","@commitlint/cli":"^8.3.5","semantic-release":"^17.0.4","@babel/preset-env":"^7.9.5","@types/randomstring":"^1.1.6","html-webpack-plugin":"^4.0.3","@semantic-release/git":"^9.0.0","@types/webpack-sources":"^0.1.7","eslint-config-prettier":"^6.10.0","@babel/preset-typescript":"^7.9.0","@typescript-eslint/parser":"^2.24.0","@semantic-release/changelog":"^5.0.1","conventional-changelog-eslint":"^3.0.4","@commitlint/config-conventional":"^8.3.4","@typescript-eslint/eslint-plugin":"^2.24.0"},"peerDependencies":{"webpack":"^4.0.0","html-webpack-plugin":"^3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/isolated-externals-plugin_1.2.0_1587757562195_0.27663998805044665","host":"s3://npm-registry-packages"}},"1.3.0":{"name":"isolated-externals-plugin","version":"1.3.0","keywords":["Web Components","webpack","webpack4","webpack-plugin","isolated","externals","embedded"],"author":{"name":"Steve Matney"},"license":"ISC","_id":"isolated-externals-plugin@1.3.0","maintainers":[{"name":"aabenoja","email":"abenojaalex@gmail.com"},{"name":"darrken","email":"ken.james.adams+npm@gmail.com"},{"name":"jrios","email":"jacobrios@fastmail.com"},{"name":"kstclaire","email":"kelseystclaire@gmail.com"},{"name":"stevematney","email":"steve.matney@gmail.com"}],"homepage":"https://github.com/WTW-IM/isolated-externals-plugin#readme","bugs":{"url":"https://github.com/WTW-IM/isolated-externals-plugin/issues"},"dist":{"shasum":"eafa592819cd8e7f1dea5f5623337ade4010c2d4","tarball":"https://registry.npmjs.org/isolated-externals-plugin/-/isolated-externals-plugin-1.3.0.tgz","fileCount":9,"integrity":"sha512-9/fUYsVro4IZOoVfyxOygXk6cvHWvGwZt+7k/3U2HWmkghFlPdv9PsQOOpe8uZoSlhCHT2uo1L2tTH6LUqFMXA==","signatures":[{"sig":"MEQCIGJ3akPWO78flSyhazcSG7pVAWgA7/VKwz2koo5KXpM5AiA0LDM88HH9atFWQPnpW4/feOc0B2f2aTeln6DepTq3Fw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":29751,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfB1GlCRA9TVsSAnZWagAADlcP/A8HXSs/ue4eRP8/CNXW\nzyHJqyDIU8wWEJ+Lqe8so5xFiaVcQvuUK+KpFBXzxNIVG8JlOVgJWFCFCjCU\n511xvt33bO47JjTkBgM+ki1k1mNh3f0FmamqE7fokjVujf1jvi/inQVnZlp3\nBanrXQH7ii0k4f01yLjaiJ9fwbkeQ2BpnMQPJQgRyvtMebKkkrg0tEYoYkYK\nN6wDwOx45L45AyTDoKki4wgFYqVPuicGDqY9tTaNuGmBdPUliIJ8nMj6XHX9\nQ7pKq5iUggPkJ53e505f7clzjNZGAM1zPsoTFcDMRtrUAc/fvLxwFBrKIrvj\n8cM0dVvjlktl8rxKTh3x9Bg2WTRlz8Mh5PQ5wnHtpVOZRi01uxxMic6sR17j\ntP7o27TS0lUqGr14sP1d9L+GCx7rQ9gfKS9McnmVTz4DKV7MAV0oWhxJNsZB\nIC3DIJ8pJXqXzHBXuv3erBRrxIL/3g07VcFueK9eKg2e0ZQVPauzWv/HLwTh\nY1wWY5w/EBqHodD4zD5P5yKfX9/bBRSmQonIYm/bOqpwM9wFXRgg+WNw7DFl\ntVK6lUVhhSzdc4t6Y03YFPNyyDBNVG2OqOt6uKI/EJKJZN6uLkP8aGBgRzEY\njxbUo/2WQCxq9uHC7iKX3fuCFJ13jvPXaumgqE0ydM+7gCNFHYso3CGPCe52\n6Rzy\r\n=plCF\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","husky":{"hooks":{"commit-msg":"commitlint -E HUSKY_GIT_PARAMS","pre-commit":"lint-staged"}},"types":"dist/index.d.ts","gitHead":"2ef0fbfc2431f195112c0067b9840aed490bd2cd","scripts":{"lint":"eslint --ext .js,.jsx,.ts,.tsx ./src","test":"npm run lint && npm run build && jest","build":"tsc && cd src/util && tsc","startExamples":"npm run build && webpack-dev-server --config ./example-app/webpack.config.js","prepublishOnly":"npm run build"},"_npmUser":{"name":"aabenoja","email":"abenojaalex@gmail.com"},"repository":{"url":"git+https://github.com/WTW-IM/isolated-externals-plugin.git","type":"git"},"_npmVersion":"6.14.4","description":"[![Build Status](https://travis-ci.com/WTW-IM/isolated-externals-plugin.svg?branch=master)](https://travis-ci.com/github/WTW-IM/isolated-externals-plugin) [![npm version](https://badge.fury.io/js/isolated-externals-plugin.svg)](https://badge.fury.io/js/is","directories":{},"lint-staged":{"*.md":["prettier --write --parser markdown"],"src/**/*.(j|t)s?(x)":["prettier --write","eslint --fix"]},"_nodeVersion":"14.5.0","dependencies":{"babel-cli":"^6.26.0","randomstring":"^1.1.5","webpack-sources":"^1.4.3"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^25.4.0","husky":"^4.2.5","react":"^16.13.1","eslint":"^6.5.1","webpack":"^4.43.0","depcheck":"^0.9.2","prettier":"1.19.1","react-dom":"^16.13.1","typescript":"^3.8.3","@types/jest":"^25.2.1","lint-staged":"^10.0.8","webpack-cli":"^3.3.12","babel-eslint":"^10.1.0","babel-loader":"^8.1.0","@types/webpack":"^4.41.10","@commitlint/cli":"^8.3.5","semantic-release":"^17.0.4","@babel/preset-env":"^7.9.5","webpack-dev-server":"^3.11.0","@babel/preset-react":"^7.10.4","@types/randomstring":"^1.1.6","eslint-plugin-react":"^7.20.3","html-webpack-plugin":"^4.3.0","@semantic-release/git":"^9.0.0","@types/webpack-sources":"^0.1.7","eslint-config-prettier":"^6.10.0","@babel/preset-typescript":"^7.9.0","@typescript-eslint/parser":"^2.24.0","@semantic-release/changelog":"^5.0.1","conventional-changelog-eslint":"^3.0.4","@commitlint/config-conventional":"^8.3.4","@typescript-eslint/eslint-plugin":"^2.24.0"},"peerDependencies":{"webpack":"^4.0.0","html-webpack-plugin":"^3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/isolated-externals-plugin_1.3.0_1594315172720_0.2343866564209658","host":"s3://npm-registry-packages"}},"1.4.0":{"name":"isolated-externals-plugin","version":"1.4.0","keywords":["Web Components","webpack","webpack4","webpack-plugin","isolated","externals","embedded"],"author":{"name":"Steve Matney"},"license":"ISC","_id":"isolated-externals-plugin@1.4.0","maintainers":[{"name":"aabenoja","email":"abenojaalex@gmail.com"},{"name":"darrken","email":"ken.james.adams+npm@gmail.com"},{"name":"jrios","email":"jacobrios@fastmail.com"},{"name":"kstclaire","email":"kelseystclaire@gmail.com"},{"name":"stevematney","email":"steve.matney@gmail.com"}],"homepage":"https://github.com/WTW-IM/isolated-externals-plugin#readme","bugs":{"url":"https://github.com/WTW-IM/isolated-externals-plugin/issues"},"dist":{"shasum":"987a5027b5f960aa68f643652c511560ed2ca873","tarball":"https://registry.npmjs.org/isolated-externals-plugin/-/isolated-externals-plugin-1.4.0.tgz","fileCount":9,"integrity":"sha512-fYxs03aGQHqojO8d44Oz78JNezf7H63sOFaXitn0ZauIJIYB4dapFVtCpp2i+XyUX6s4OzBFTK4ohx2ol+nwzQ==","signatures":[{"sig":"MEQCIAbSO4rZthvyDSqHtHjYHBF8xUxoczdS2gkHL5cN+YS1AiA7OOEuhq9Rei7rrsGqZAnb3tzCe7oYZnrZKCqkioxj+Q==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":30755,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfG0AhCRA9TVsSAnZWagAAd00P+wRaTiiITyM6tVxJurCk\nSVBcyqyQFW4uT+puwOjl3U/G+JlMpSQIGSTDFigCIzpozUcu/0UG4fMssAqj\nVRBIKP/VamjL7Z0X8hLF1OlGZ7rKWOCo1+z5ildmkIbmkhX1Nrl+D0M5YjtU\ndZqcr+AC6nr0l52yLejfwL3XoowHgoP79W0B9V+GRY5eEsz90O9+MZDXg6Ny\nmphqYe2kPsMhdJPZR5P1VZkOyOZqnTqYib4BnMLiuQANTkSAUpqgodfI9OfN\nELprJ5zrb0rXAMUdwXQ5RaOeP4aU5TpeSbxXnfs5JOwhtMSWxylL4bwGsdEC\nLZPowR6Bi19rDNq9M5m+9j1rJzVm8JTbjYSpihhoY06ucE2STrlkbhtpDY+j\n6XnABV2CVqQCEhUzsnFrNMiDxiRczizpiWE3QE8GsDjER7ghLS3XeqA0N7hk\nDXepwPI2K1sIGUyVUuAqVhyG3sLdlLzJdKhqUxNMU8pIu7QqvzCr0YCSmsQ3\nppEjAHtBp+NZ5zQrTSQea+uGL922ytazULTJ5xwHlfNER1wzryNjqUNTniRR\nDNHkRMHiCTZ7cCSsso3i19cQ7xxe/U2OgPzOd/E5vEamRUEyiQV9TD+jtr8/\nkNOkJ41h3sIw2m9YTqXDa728XmfRbWT8azQJ5p2KGHiwU2ydHmGgWsCpdXiM\nqz9n\r\n=FnUv\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","husky":{"hooks":{"commit-msg":"commitlint -E HUSKY_GIT_PARAMS","pre-commit":"lint-staged"}},"types":"dist/index.d.ts","gitHead":"1a27341186d4f200ce5853aa6ce723d9700198a9","scripts":{"lint":"eslint --ext .js,.jsx,.ts,.tsx ./src","test":"npm run lint && npm run build && jest","build":"tsc && cd src/util && tsc","startExamples":"npm run build && webpack-dev-server --config ./example-app/webpack.config.js","prepublishOnly":"npm run build"},"_npmUser":{"name":"aabenoja","email":"abenojaalex@gmail.com"},"repository":{"url":"git+https://github.com/WTW-IM/isolated-externals-plugin.git","type":"git"},"_npmVersion":"6.14.7","description":"[![Build Status](https://travis-ci.com/WTW-IM/isolated-externals-plugin.svg?branch=master)](https://travis-ci.com/github/WTW-IM/isolated-externals-plugin) [![npm version](https://badge.fury.io/js/isolated-externals-plugin.svg)](https://badge.fury.io/js/is","directories":{},"lint-staged":{"*.md":["prettier --write --parser markdown"],"src/**/*.(j|t)s?(x)":["prettier --write","eslint --fix"]},"_nodeVersion":"14.6.0","dependencies":{"randomstring":"^1.1.5","webpack-sources":"^1.4.3"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^25.4.0","husky":"^4.2.5","react":"^16.13.1","eslint":"^6.5.1","webpack":"^4.43.0","depcheck":"^0.9.2","prettier":"1.19.1","react-dom":"^16.13.1","@babel/cli":"^7.10.5","typescript":"^3.8.3","@types/jest":"^25.2.1","lint-staged":"^10.0.8","webpack-cli":"^3.3.12","babel-eslint":"^10.1.0","babel-loader":"^8.1.0","@types/webpack":"^4.41.10","@commitlint/cli":"^8.3.5","semantic-release":"^17.0.4","@babel/preset-env":"^7.9.5","webpack-dev-server":"^3.11.0","@babel/preset-react":"^7.10.4","@types/randomstring":"^1.1.6","eslint-plugin-react":"^7.20.3","html-webpack-plugin":"^4.3.0","@semantic-release/git":"^9.0.0","@types/webpack-sources":"^0.1.7","eslint-config-prettier":"^6.10.0","@babel/preset-typescript":"^7.9.0","@typescript-eslint/parser":"^2.24.0","@semantic-release/changelog":"^5.0.1","conventional-changelog-eslint":"^3.0.4","@commitlint/config-conventional":"^8.3.4","@typescript-eslint/eslint-plugin":"^2.24.0"},"peerDependencies":{"webpack":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/isolated-externals-plugin_1.4.0_1595621408829_0.16672104277005118","host":"s3://npm-registry-packages"}},"1.5.0":{"name":"isolated-externals-plugin","version":"1.5.0","keywords":["Web Components","webpack","webpack4","webpack-plugin","isolated","externals","embedded"],"author":{"name":"Steve Matney"},"license":"ISC","_id":"isolated-externals-plugin@1.5.0","maintainers":[{"name":"jrios","email":"jacobrios@fastmail.com"},{"name":"darrken","email":"ken.james.adams+npm@gmail.com"},{"name":"aabenoja","email":"abenojaalex@gmail.com"},{"name":"kstclaire","email":"kelseystclaire@gmail.com"},{"name":"stevematney","email":"steve.matney@gmail.com"}],"homepage":"https://github.com/WTW-IM/isolated-externals-plugin#readme","bugs":{"url":"https://github.com/WTW-IM/isolated-externals-plugin/issues"},"dist":{"shasum":"8cab7539ebc2fd2c31c57db8fd706fc9b0de6ab0","tarball":"https://registry.npmjs.org/isolated-externals-plugin/-/isolated-externals-plugin-1.5.0.tgz","fileCount":9,"integrity":"sha512-nsq9ru0y3/33gwizpH1TPtZCo72e0LavSp1yKavE2PdqqlfwqJPjb2MU6j7ElSBo7fKsopnXmRGhkGYHG1MDEg==","signatures":[{"sig":"MEUCIGyR/+XGDOJ870AFxoKKbhr3MuPqAPBOXPB0MAyMgV7RAiEA14Pe6WMG9UXlD98NHviI5M1PwnjSC365bDXL2LsICho=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31297,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgIXo9CRA9TVsSAnZWagAAD78P/RrrQkACIVhyb3mykQwp\nFm96htWcd7VPifo7/2V9ZniCTkpxFGzY48Wtrf8ta6ngcjtsCRLO5tcUAy1E\nhW83T7iQSlQL2j6kB/WevXTbDPAIjR/tuF/fxqg59vO2LCilw+8HB/P3y/jB\n5Eb4oy7Jjlw9xAF8vp2p1Va/QQBWvSjUO5srxEVWF6Af3xvU0YMR6YURFsRc\nYkXbqjS7zGsV8K3xUEEPVYYBeoTzBcyAaDd9axeWEqAwf/cUuSwYBZE2wymA\nXZ6aoJSPUsZL0CkUvFkIU6i2D2Da7uu0tSgqkjtGvUArnqebcTkF9vQ6jj4X\n6/9/Rru/CKH0aPQz+/1E7tQpYarFY4cd6WzWhBYn3byMfvWU6VdR59RutKP2\n7nxLqaamQsQGQVguQJzXDNdV8SIQASlZcjGX/FnByVnM2xRwMjTocezr9YJn\nRCWfDzK+QuiT150tZaST7H2Fk8mLWKqBPkBhP5u00FuzhLJPMy7d9jFTjx3v\nKn9QB8pHx9EjC5XTYEgTq9nteCcy9Fl3CT98O51MZGxWnc6F14uZ1daelU5f\nvCsyZXfjVoQkpMZ4QVCirmf2hDyj0JBiUVrIFn5Vcdk/XV3XPzEIeujzYFN2\nwDOYVkuls4CNIsSkshlWEdriCYcF56jRhXWWSc9weFkTW713YDdt/NwRaqiL\nvPXu\r\n=UZtV\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","husky":{"hooks":{"commit-msg":"commitlint -E HUSKY_GIT_PARAMS","pre-commit":"lint-staged"}},"types":"dist/index.d.ts","gitHead":"b9b7e59894051d55f77548a3a0ed32fd956c1b89","scripts":{"lint":"eslint --ext .js,.jsx,.ts,.tsx ./src","test":"npm run lint && npm run build && jest","build":"tsc && cd src/util && tsc","startExamples":"npm run build && webpack-dev-server --config ./example-app/webpack.config.js","prepublishOnly":"npm run build"},"_npmUser":{"name":"aabenoja","email":"abenojaalex@gmail.com"},"repository":{"url":"git+https://github.com/WTW-IM/isolated-externals-plugin.git","type":"git"},"_npmVersion":"6.14.11","description":"[![Build Status](https://travis-ci.com/WTW-IM/isolated-externals-plugin.svg?branch=master)](https://travis-ci.com/github/WTW-IM/isolated-externals-plugin) [![npm version](https://badge.fury.io/js/isolated-externals-plugin.svg)](https://badge.fury.io/js/is","directories":{},"lint-staged":{"*.md":["prettier --write --parser markdown"],"src/**/*.(j|t)s?(x)":["prettier --write","eslint --fix"]},"_nodeVersion":"15.8.0","dependencies":{"randomstring":"^1.1.5","webpack-sources":"^2.2.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.6.3","husky":"^4.3.8","react":"^17.0.1","eslint":"^7.19.0","webpack":"4","depcheck":"^1.3.1","prettier":"2.2.1","react-dom":"^17.0.1","@babel/cli":"^7.12.13","typescript":"^4.1.3","@types/jest":"^26.0.20","lint-staged":"^10.5.4","webpack-cli":"^4.5.0","babel-eslint":"^10.1.0","babel-loader":"^8.2.2","@types/webpack":"^4.41.26","@commitlint/cli":"^11.0.0","semantic-release":"^17.3.7","@babel/preset-env":"^7.12.13","webpack-dev-server":"^3.11.2","@babel/preset-react":"^7.12.13","@types/randomstring":"^1.1.6","eslint-plugin-react":"^7.22.0","html-webpack-plugin":"^4.3.0","@semantic-release/git":"^9.0.0","@types/webpack-sources":"^2.1.0","eslint-config-prettier":"^7.2.0","@babel/preset-typescript":"^7.12.13","@typescript-eslint/parser":"^4.14.2","@semantic-release/changelog":"^5.0.1","conventional-changelog-eslint":"^3.0.9","@commitlint/config-conventional":"^11.0.0","@typescript-eslint/eslint-plugin":"^4.14.2"},"peerDependencies":{"webpack":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/isolated-externals-plugin_1.5.0_1612806716864_0.031450822057893735","host":"s3://npm-registry-packages"}},"1.6.0":{"name":"isolated-externals-plugin","version":"1.6.0","keywords":["Web Components","webpack","webpack4","webpack-plugin","isolated","externals","embedded"],"author":{"name":"Steve Matney"},"license":"ISC","_id":"isolated-externals-plugin@1.6.0","maintainers":[{"name":"jrios","email":"jacobrios@fastmail.com"},{"name":"darrken","email":"ken.james.adams+npm@gmail.com"},{"name":"aabenoja","email":"abenojaalex@gmail.com"},{"name":"kstclaire","email":"kelseystclaire@gmail.com"},{"name":"stevematney","email":"steve.matney@gmail.com"}],"homepage":"https://github.com/WTW-IM/isolated-externals-plugin#readme","bugs":{"url":"https://github.com/WTW-IM/isolated-externals-plugin/issues"},"dist":{"shasum":"43c6320d24eefa6368762c86c0d8124d02aa1500","tarball":"https://registry.npmjs.org/isolated-externals-plugin/-/isolated-externals-plugin-1.6.0.tgz","fileCount":9,"integrity":"sha512-n/j24dafUa1zqizXbNohth21Obi28qdX9y94Y+uRID4WwBghc0aeuZUrO9qAcAZKNpoubTx6dLWGw8119kIc8A==","signatures":[{"sig":"MEQCIGBQo4rYGFU8wWJDJaAt7F0dfVjGT8SsRnK/Xt9GzwvnAiArhB91i1M1scDa40PyRy2BaZjfW1V+4v+nPlYOHWd8HA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31740,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgJaKeCRA9TVsSAnZWagAABrwP/1xCM7mlCJ2ma0RMxjvh\nX9xpDZP0jkLUxmtjrgcBvsbnXl4wm9uRhK/vL4KXSBtcgfdl5IYfXvBK6rQP\nl+qbBx8ucZAi6JnkABgPxmYSdi/ztZNlzbjAXVXjFS/LXdi1/YOT1FNsnwzb\nFpVklbV1GXMI0EPJ11p7EiYPPaM3jccqXvrk/7kFood/E6gGbiID/Qp6FLxP\nlsEjtN+67bf6ItJ5CW6iGUFCpwhRyWwnqzCH67ohzq+BhFwC7g2FMC2jN6c9\nHTxF25TlCRpLtCRnvPBjPZowNer0JJTwjwbOrKMCyXf/z5D2Zp7j2TBoeaa5\nI3DAQH6gxu7ujLHxgK8f1f7Zw0bknOmBm9wOPPkbK4pdrZgPL96kp+xgAWB7\nqLZLHXz95WHuEd6AoqoU1a2+7jsdvHeTMDminLhyj5fNJ6DJuC8ruWNBPKVX\niFMlTzRdqTZjS4/3RbtdiH3UDX+NO4klg/ksnQlO8humDY1Z6b0jgxIQJIUT\nOGxeiAynWubhh2LTWd+y6AoKi9RGAK5xLzTzQKlQrhm0kaLGEVT7HtXzLTuq\n6m51Tq4XhBdeglKPNFwQptLj8gaZ417Q0jweMmiVfz3KtKxiw289zBDzus+V\nq3iodNAl3B+nv+1LuOzdY5Ku4oCjieit62rfSzlrOl4inw5fKGxPkW1+ThZy\n6v3y\r\n=Psnd\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","husky":{"hooks":{"commit-msg":"commitlint -E HUSKY_GIT_PARAMS","pre-commit":"lint-staged"}},"types":"dist/index.d.ts","gitHead":"a7043b9a5f61522daa6f78f760a8607d7aaf526c","scripts":{"lint":"eslint --ext .js,.jsx,.ts,.tsx ./src","test":"npm run lint && npm run build && jest","build":"tsc && cd src/util && tsc","startExamples":"npm run build && webpack-dev-server --config ./example-app/webpack.config.js","prepublishOnly":"npm run build"},"_npmUser":{"name":"aabenoja","email":"abenojaalex@gmail.com"},"repository":{"url":"git+https://github.com/WTW-IM/isolated-externals-plugin.git","type":"git"},"_npmVersion":"6.14.11","description":"[![Build Status](https://travis-ci.com/WTW-IM/isolated-externals-plugin.svg?branch=master)](https://travis-ci.com/github/WTW-IM/isolated-externals-plugin) [![npm version](https://badge.fury.io/js/isolated-externals-plugin.svg)](https://badge.fury.io/js/is","directories":{},"lint-staged":{"*.md":["prettier --write --parser markdown"],"src/**/*.(j|t)s?(x)":["prettier --write","eslint --fix"]},"_nodeVersion":"15.8.0","dependencies":{"randomstring":"^1.1.5","webpack-sources":"^2.2.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.6.3","husky":"^4.3.8","react":"^17.0.1","eslint":"^7.19.0","webpack":"4","depcheck":"^1.3.1","prettier":"2.2.1","react-dom":"^17.0.1","@babel/cli":"^7.12.13","typescript":"^4.1.3","@types/jest":"^26.0.20","lint-staged":"^10.5.4","webpack-cli":"^4.5.0","babel-eslint":"^10.1.0","babel-loader":"^8.2.2","@types/webpack":"^4.41.26","@commitlint/cli":"^11.0.0","semantic-release":"^17.3.7","@babel/preset-env":"^7.12.13","webpack-dev-server":"^3.11.2","@babel/preset-react":"^7.12.13","@types/randomstring":"^1.1.6","eslint-plugin-react":"^7.22.0","html-webpack-plugin":"^4.3.0","@semantic-release/git":"^9.0.0","@types/webpack-sources":"^2.1.0","eslint-config-prettier":"^7.2.0","@babel/preset-typescript":"^7.12.13","@typescript-eslint/parser":"^4.14.2","@semantic-release/changelog":"^5.0.1","conventional-changelog-eslint":"^3.0.9","@commitlint/config-conventional":"^11.0.0","@typescript-eslint/eslint-plugin":"^4.14.2"},"peerDependencies":{"webpack":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/isolated-externals-plugin_1.6.0_1613079198014_0.23296141588869945","host":"s3://npm-registry-packages"}},"1.7.0":{"name":"isolated-externals-plugin","version":"1.7.0","keywords":["Web Components","webpack","webpack4","webpack-plugin","isolated","externals","embedded"],"author":{"name":"Steve Matney"},"license":"ISC","_id":"isolated-externals-plugin@1.7.0","maintainers":[{"name":"jrios","email":"jacobrios@fastmail.com"},{"name":"darrken","email":"ken.james.adams+npm@gmail.com"},{"name":"aabenoja","email":"abenojaalex@gmail.com"},{"name":"kstclaire","email":"kelseystclaire@gmail.com"},{"name":"stevematney","email":"steve.matney@gmail.com"}],"homepage":"https://github.com/WTW-IM/isolated-externals-plugin#readme","bugs":{"url":"https://github.com/WTW-IM/isolated-externals-plugin/issues"},"dist":{"shasum":"3e6e44732d4408acccb2e1ccab3a171c3d5d1fdb","tarball":"https://registry.npmjs.org/isolated-externals-plugin/-/isolated-externals-plugin-1.7.0.tgz","fileCount":9,"integrity":"sha512-ebox2tCQh0V2vW69qpWgxXcMZW7pzavAQ1bhKMlWwPSnDMcLAs5RDVBqbpbKY1A01mpiuA/ZBkg1aIfusAzafA==","signatures":[{"sig":"MEUCIQCRz4lS/bO6ZqEBuzINtTnh8SyUmB14tyTXUUbYBldj0gIgYtG8yEFIYW7OnTJQtdDhc4GwS9Eb/x94QcJQ6GXmvWM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":37793,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgZPuOCRA9TVsSAnZWagAAtVsQAIx8JzmiJCezR3yxfvAV\nmYzhbev6iizRDn4kdWzI2U79vYvoGjbjBtj3DXC9bDuBnquoh3lzOFgIyiiB\n+scVejqOdzozZAa/YAAuhuCEECu8HcEK0CRjIPT4HwBSZQpSvRpdUn3RxPOM\neSkl2o5hvUc5WDVcK4Qyt5YFza6iSZ/OlMuy6yXyqHxd+/HTERAf9w2NSBAH\n3TIZ3ifM4I0Qz7dewV4dCzf043mX/IKiDc93zmyGgsTYixtwI7wnt9kuOF7m\nA+ACpTJrzr6rUK9uCOFjQXZk5rVdtlzd0HLTJ7aiDK9swUypjWlTafZCoYIl\n/1Us6W8hYVqoemU0/xQT2BRZa/Q/adB9SDSC3x5cFGWtrwTaG9swVKBfgsro\nQMx2O0eXjJoEAJreEFkGZCZ9PslFCGE5d6xheYyjFkVnHylp8c0jLXGzHk89\nxSjXrCMFUjzitjHn6F43OXSqY8MTMXNVMoHy8eqt92nUeYHYLeUei2d+7G2p\nZYCnuu3oaTwXJxadRc0F2KVqTDWhAcsYr48jYtjDRUGKtgkNdXCF1NnlP5Ky\nDrfXNKqf6Lp4VpcGuq3ZutI5c5itzvocXWB0GbZfS8yKN5hupw9b9w1vNXHC\nuTHPQFnBbo7kPeyJI483MUCugJu7Vmv5OAEf8kZZG6Sarvb6BaozGn8vcjKI\nq5Wg\r\n=XmR8\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","husky":{"hooks":{"commit-msg":"commitlint -E HUSKY_GIT_PARAMS","pre-commit":"lint-staged"}},"types":"dist/index.d.ts","gitHead":"ad6bdd947a963182904c8c98f7fb81d9ddfb2028","scripts":{"lint":"eslint --ext .js,.jsx,.ts,.tsx ./src","test":"npm run lint && npm run build && jest","build":"tsc && cd src/util && tsc","startExamples":"npm run build && webpack-dev-server --config ./example-app/webpack.config.js","prepublishOnly":"npm run build"},"_npmUser":{"name":"aabenoja","email":"abenojaalex@gmail.com"},"repository":{"url":"git+https://github.com/WTW-IM/isolated-externals-plugin.git","type":"git"},"_npmVersion":"6.14.11","description":"[![Build Status](https://travis-ci.com/WTW-IM/isolated-externals-plugin.svg?branch=master)](https://travis-ci.com/github/WTW-IM/isolated-externals-plugin) [![npm version](https://badge.fury.io/js/isolated-externals-plugin.svg)](https://badge.fury.io/js/is","directories":{},"lint-staged":{"*.md":["prettier --write --parser markdown"],"src/**/*.(j|t)s?(x)":["prettier --write","eslint --fix"]},"_nodeVersion":"15.13.0","dependencies":{"randomstring":"^1.1.5","webpack-sources":"^2.2.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.6.3","husky":"^4.3.8","react":"^17.0.1","eslint":"^7.19.0","webpack":"4","depcheck":"^1.3.1","prettier":"2.2.1","react-dom":"^17.0.1","@babel/cli":"^7.12.13","typescript":"^4.1.3","@types/jest":"^26.0.20","lint-staged":"^10.5.4","webpack-cli":"^4.5.0","babel-eslint":"^10.1.0","babel-loader":"^8.2.2","@types/webpack":"^4.41.26","@commitlint/cli":"^11.0.0","semantic-release":"^17.3.7","@babel/preset-env":"^7.12.13","webpack-dev-server":"^3.11.2","@babel/preset-react":"^7.12.13","@types/randomstring":"^1.1.6","eslint-plugin-react":"^7.22.0","html-webpack-plugin":"^4.3.0","@semantic-release/git":"^9.0.0","@types/webpack-sources":"^2.1.0","eslint-config-prettier":"^7.2.0","@babel/preset-typescript":"^7.12.13","@typescript-eslint/parser":"^4.14.2","@semantic-release/changelog":"^5.0.1","conventional-changelog-eslint":"^3.0.9","@commitlint/config-conventional":"^11.0.0","@typescript-eslint/eslint-plugin":"^4.14.2"},"peerDependencies":{"webpack":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/isolated-externals-plugin_1.7.0_1617230733933_0.2675184577925649","host":"s3://npm-registry-packages"}},"1.7.1":{"name":"isolated-externals-plugin","version":"1.7.1","keywords":["Web Components","webpack","webpack4","webpack-plugin","isolated","externals","embedded"],"author":{"name":"Steve Matney"},"license":"ISC","_id":"isolated-externals-plugin@1.7.1","maintainers":[{"name":"jrios","email":"jacobrios@fastmail.com"},{"name":"darrken","email":"ken.james.adams+npm@gmail.com"},{"name":"aabenoja","email":"abenojaalex@gmail.com"},{"name":"kstclaire","email":"kelseystclaire@gmail.com"},{"name":"stevematney","email":"steve.matney@gmail.com"}],"homepage":"https://github.com/WTW-IM/isolated-externals-plugin#readme","bugs":{"url":"https://github.com/WTW-IM/isolated-externals-plugin/issues"},"dist":{"shasum":"f9a28b0984627af852995a7370351bc6792d8ae6","tarball":"https://registry.npmjs.org/isolated-externals-plugin/-/isolated-externals-plugin-1.7.1.tgz","fileCount":9,"integrity":"sha512-dYGTX5CsUj9LkdywByjpBdz4J3ODInSTM1QTnsfJ/LVlK4RNgwn4+p8xEg/fKJLPA5inZofa9SukWtQW7P/dcw==","signatures":[{"sig":"MEYCIQDPlYrxyeDDFu6MAPw1Ui4h8h+23ny2XC5vAgynG0fAPwIhAJ4oW2RHTH7S76wapIFoR86bvIwTKGoJsyZjEKsnhXnR","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":38727,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgbfNECRA9TVsSAnZWagAA3+8P/0dxu2xXeU26IrgwClBB\nmBbZP/1WZnaiAjXfh9ogrkMGEj4IMbaP98JYKPFmPxqCWzu9CZn5aUjAPsXb\nlotbl+DJU+dvey2qxfaN2nQZHgokwL7ZKeWe2w9DcGyyFrW7tLBog7OqltyY\nURrKodZdxFUGQJ+Xg/pXC9+mFEvzcQYuK1ApNGPSYHLNO8MpKXwq3/+p8b7w\nI0pEMNguP+ouBN6VI6vpFEs5LSYqayARcRYiD6wBkwOFIEzddssuFwOv4UUa\neTDJE+DcD9QULD6AxyzR6WHufSkIfYMdClnBHLhnvwgKsC6uNop3jusU2qLu\ns2GqLA2dj71XztSJpQYfl6TYEz33IRDGEX09I5JRJjZLA1+3+MF3aoGQvThI\nSS8CGjVje0bM+0/aN/AKiYbBydj4+lyyXoiEoVPD9VHIQHdxL2WKc54wgVfc\nJUE1w+dld3DiwgaiscA5p3sCeOQ+F+UrMQqGzzBgg1XTwHYYMFR2oy/7BSqp\n9bRDsi59vGtN7+iDWS6Eb99hTJQimE+3Sh1RQPk6CWEWmyY/2tdCkyQZ13pF\nY7TVbNmn6UP+I9aD0PCoCu/MSWWEleUDYt8HmwPsRm2ny9WRXq18uGUte6Ig\nCW/8m56aNbNCixczRM6kU0sVp1CnI1FVpNtoZswEYEMqKcE6r0/6dapjwyqx\nImLA\r\n=xb+i\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","husky":{"hooks":{"commit-msg":"commitlint -E HUSKY_GIT_PARAMS","pre-commit":"lint-staged"}},"types":"dist/index.d.ts","gitHead":"8dddbede2dae42f85444d0414d27ec6e9052136f","scripts":{"lint":"eslint --ext .js,.jsx,.ts,.tsx ./src","test":"npm run lint && npm run build && jest","build":"tsc && cd src/util && tsc","startExamples":"npm run build && webpack-dev-server --config ./example-app/webpack.config.js","prepublishOnly":"npm run build"},"_npmUser":{"name":"stevematney","email":"steve.matney@gmail.com"},"repository":{"url":"git+https://github.com/WTW-IM/isolated-externals-plugin.git","type":"git"},"_npmVersion":"6.14.11","description":"[![Build Status](https://travis-ci.com/WTW-IM/isolated-externals-plugin.svg?branch=master)](https://travis-ci.com/github/WTW-IM/isolated-externals-plugin) [![npm version](https://badge.fury.io/js/isolated-externals-plugin.svg)](https://badge.fury.io/js/is","directories":{},"lint-staged":{"*.md":["prettier --write --parser markdown"],"src/**/*.(j|t)s?(x)":["prettier --write","eslint --fix"]},"_nodeVersion":"14.16.0","dependencies":{"randomstring":"^1.1.5","webpack-sources":"^2.2.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.6.3","husky":"^4.3.8","react":"^17.0.1","eslint":"^7.19.0","webpack":"4","depcheck":"^1.3.1","prettier":"2.2.1","react-dom":"^17.0.1","@babel/cli":"^7.12.13","typescript":"^4.1.3","@types/jest":"^26.0.20","lint-staged":"^10.5.4","webpack-cli":"^4.5.0","babel-eslint":"^10.1.0","babel-loader":"^8.2.2","@types/webpack":"^4.41.26","@commitlint/cli":"^11.0.0","semantic-release":"^17.3.7","@babel/preset-env":"^7.12.13","webpack-dev-server":"^3.11.2","@babel/preset-react":"^7.12.13","@types/randomstring":"^1.1.6","eslint-plugin-react":"^7.22.0","html-webpack-plugin":"^4.3.0","@semantic-release/git":"^9.0.0","@types/webpack-sources":"^2.1.0","eslint-config-prettier":"^7.2.0","@babel/preset-typescript":"^7.12.13","@typescript-eslint/parser":"^4.14.2","@semantic-release/changelog":"^5.0.1","conventional-changelog-eslint":"^3.0.9","@commitlint/config-conventional":"^11.0.0","@typescript-eslint/eslint-plugin":"^4.14.2"},"peerDependencies":{"webpack":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/isolated-externals-plugin_1.7.1_1617818435615_0.7521995933796501","host":"s3://npm-registry-packages"}},"1.8.0":{"name":"isolated-externals-plugin","version":"1.8.0","keywords":["Web Components","webpack","webpack4","webpack-plugin","isolated","externals","embedded"],"author":{"name":"Steve Matney"},"license":"ISC","_id":"isolated-externals-plugin@1.8.0","maintainers":[{"name":"jrios","email":"jacobrios@fastmail.com"},{"name":"darrken","email":"ken.james.adams+npm@gmail.com"},{"name":"aabenoja","email":"abenojaalex@gmail.com"},{"name":"kstclaire","email":"kelseystclaire@gmail.com"},{"name":"stevematney","email":"steve.matney@gmail.com"}],"homepage":"https://github.com/WTW-IM/isolated-externals-plugin#readme","bugs":{"url":"https://github.com/WTW-IM/isolated-externals-plugin/issues"},"dist":{"shasum":"3c3b62c80fd82cc8da658e8d18ba3035614cc341","tarball":"https://registry.npmjs.org/isolated-externals-plugin/-/isolated-externals-plugin-1.8.0.tgz","fileCount":9,"integrity":"sha512-U5UnnZp4R7vBMPjTnHGklv3biYoWdedBPEpkKnVUMQu4Hq5ai608wdPid78qjls8+x/xJ+WClG1YgdR4F3Fgkg==","signatures":[{"sig":"MEUCIQDGq2P9hb2YqTerfbKfoZe6hzkIByjmgWNc3IwdEaIYUwIgfV1RwciGhGDK+3Z9sDNsw/xay+D3v6kBpR01ijKX0qA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":41394,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgkrR8CRA9TVsSAnZWagAArT4P/10lRD7yjEvzOpeE2n7k\nW4hptRzTDn0/VKxJacxfClau0rc71zUwQ+D/OwcRAu/8s7q5vqCff7B0SUwZ\nxMjiLMULTgEyTsLoqJMAltowYKHDuzsnTY/38mEif6CBklt4C4/mqOoh5bZ+\nxeYjXPNx3V+KaL+u/1+VlfGD8TVJcl0+q25v+Scx9n/q2nNIODiIkpN197dp\n6cr4ihDXxNaNJUnc1Ve7nSAVgAP18HwetSHNXlXqxPipGm9whty9xzHEum84\nGwSofWcFm0YBeEOOKgp8YPMlVx4AvTb/2Z1nb+cwEUjmbfcH4RJJ+9XVBM+p\n6HZonra9eKvgvSRo7dgWShZPOVpsOJMakPgOlSeHj/o02hooeLqndC3UQk1a\nvZm3qA3trl+VssMBuh5YyKxTDWWkBgabFF43MTVGgCjY+dJmVjYHqDuc3w/M\nhMOgDvm79K07iVaOM7LddG42aHKG9x70BAMT7vUAZXAW3ymXlp4bkAzz7a4a\nXriaDDcq+3RRU3IUglVgCLeP9yULWNcNI/BtN53a4b/KWKFL52YBHBRC4ztu\nPx7hcDQ6Lw/pikwpMTrHeLu1NN90RNe+SWpAjM+ht+HukcSkVndgIEhA7Z4g\n7rShTu0orhZ2ExJf/pFUNuoWzIWIZWkLMHToWYdEyScQr2z+TqKOX06sZx0l\n9Rd1\r\n=MkcO\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","husky":{"hooks":{"commit-msg":"commitlint -E HUSKY_GIT_PARAMS","pre-commit":"lint-staged"}},"types":"dist/index.d.ts","gitHead":"4cee5dae05dae0b9a979844f476e498929ffd24c","scripts":{"lint":"eslint --ext .js,.jsx,.ts,.tsx ./src","test":"npm run lint && npm run build && jest","build":"tsc && cd src/util && tsc","startExamples":"npm run build && webpack-dev-server --config ./example-app/webpack.config.js","prepublishOnly":"npm run build"},"_npmUser":{"name":"stevematney","email":"steve.matney@gmail.com"},"repository":{"url":"git+https://github.com/WTW-IM/isolated-externals-plugin.git","type":"git"},"_npmVersion":"7.11.1","description":"[![Build Status](https://travis-ci.com/WTW-IM/isolated-externals-plugin.svg?branch=master)](https://travis-ci.com/github/WTW-IM/isolated-externals-plugin) [![npm version](https://badge.fury.io/js/isolated-externals-plugin.svg)](https://badge.fury.io/js/is","directories":{},"lint-staged":{"*.md":["prettier --write --parser markdown"],"src/**/*.(j|t)s?(x)":["prettier --write","eslint --fix"]},"_nodeVersion":"14.16.1","dependencies":{"randomstring":"^1.1.5","webpack-sources":"^2.2.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.6.3","husky":"^4.3.8","react":"^17.0.1","eslint":"^7.19.0","webpack":"^4.46.0","depcheck":"^1.3.1","prettier":"2.2.1","react-dom":"^17.0.1","@babel/cli":"^7.12.13","typescript":"^4.1.3","@types/jest":"^26.0.20","lint-staged":"^10.5.4","webpack-cli":"^4.5.0","babel-eslint":"^10.1.0","babel-loader":"^8.2.2","@types/webpack":"^4.41.26","@commitlint/cli":"^11.0.0","semantic-release":"^17.4.2","@babel/preset-env":"^7.12.13","webpack-dev-server":"^3.11.2","@babel/preset-react":"^7.12.13","@types/randomstring":"^1.1.6","eslint-plugin-react":"^7.22.0","html-webpack-plugin":"^4.3.0","@semantic-release/git":"^9.0.0","@types/webpack-sources":"^2.1.0","eslint-config-prettier":"^7.2.0","@babel/preset-typescript":"^7.12.13","@typescript-eslint/parser":"^4.14.2","@semantic-release/changelog":"^5.0.1","conventional-changelog-eslint":"^3.0.9","@commitlint/config-conventional":"^11.0.0","@typescript-eslint/eslint-plugin":"^4.14.2"},"peerDependencies":{"webpack":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/isolated-externals-plugin_1.8.0_1620227196203_0.21956287132603403","host":"s3://npm-registry-packages"}},"1.8.1":{"name":"isolated-externals-plugin","version":"1.8.1","keywords":["Web Components","webpack","webpack4","webpack-plugin","isolated","externals","embedded"],"author":{"name":"Steve Matney"},"license":"ISC","_id":"isolated-externals-plugin@1.8.1","maintainers":[{"name":"jrios","email":"jacobrios@fastmail.com"},{"name":"darrken","email":"ken.james.adams+npm@gmail.com"},{"name":"aabenoja","email":"abenojaalex@gmail.com"},{"name":"kstclaire","email":"kelseystclaire@gmail.com"},{"name":"stevematney","email":"steve.matney@gmail.com"}],"homepage":"https://github.com/WTW-IM/isolated-externals-plugin#readme","bugs":{"url":"https://github.com/WTW-IM/isolated-externals-plugin/issues"},"dist":{"shasum":"e65e27b79b151dbaf445f5805797daafbd05f8d4","tarball":"https://registry.npmjs.org/isolated-externals-plugin/-/isolated-externals-plugin-1.8.1.tgz","fileCount":9,"integrity":"sha512-1rGlz3N6AodnhxKdwQQsYjcKX/2HoHido4nw+jtRf0cDrOhmavBQldIi+Fqg+Z5xaTDFZkTzVyzuUUYZeNwkQg==","signatures":[{"sig":"MEUCIDeF8W+xiwe+n4PysSFW+BoEXT8rSStjUAK34XddTD25AiEA0PkRyWV7HxMIQCYKmFPEmp2hL6DptNuSVHZiTSsvfeg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":42140,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgtlbuCRA9TVsSAnZWagAAZhcP/jB8UZh0+VCoR/nFR8bo\nfpyJVe64c9HKBbXgJmk5GHG6r5MAGhEgbNB9w2C9mUBll4YwMht7fkCN4Ud+\nxXSAczJlBVSS2CsNdTXIL4Fr5oxiUneVopwqGVrQWpcrKblNJFgL8lBCzJTQ\nD5PdaQw/BoLtE1RsScEfFQK3AzM6efYB6ZXZ37WxCbA2uHWS668uptFgMZuP\n0605JaZkuKKRCXtp6mrGmbdL08XYRC9S1MEgkKEw74naHTZ22Wvd1Y/MeyKf\nf+qylo5EFDjXOZd75FXRqKwqKQv7B2hSHl5G0ktOO0Ym60BtuyvPL4ahcGaK\nN45nsDl9kcDFKHpVSYLosc62gCy+zpiSJUyaHzU94DfIcysThBHwPX1wzBfV\nETeHXWo6CGtIs3c70KvfNneYeOR9oMmXZtL2W5VcyOfXegSbV8HjvC5lv+Pb\ninT9f9TTjBwL7GMNzAg9TBdoCNwzY1ZpkeoAQk8Wt39qSq3tzmmAC7NKktAl\ndwonAlSvsE5OGdowe6iwKvyAJx3TJhzU1iXI0Vt9CVwyRhUXJr8LW8D4FmqX\ngYoP+s80fEL0WGy3yp53dj2/l4sZ3Tgq5PZ3sBm4aM9AbqJ+aNVxe1eDxxpH\nEPg4Vgfcm12nsjel+O2EDqOS8em8GZ39Ta4gdda1QOPdKtpy2bt9Ke9C+qqo\noph4\r\n=hH1s\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","husky":{"hooks":{"commit-msg":"commitlint -E HUSKY_GIT_PARAMS","pre-commit":"lint-staged"}},"types":"dist/index.d.ts","gitHead":"50efed30416d7bc48e94c35e40bc953f1a045c86","scripts":{"lint":"eslint --ext .js,.jsx,.ts,.tsx ./src","test":"npm run lint && npm run build && jest","build":"tsc && cd src/util && tsc","startExamples":"npm run build && webpack-dev-server --config ./example-app/webpack.config.js","prepublishOnly":"npm run build"},"_npmUser":{"name":"stevematney","email":"steve.matney@gmail.com"},"repository":{"url":"git+https://github.com/WTW-IM/isolated-externals-plugin.git","type":"git"},"_npmVersion":"7.11.1","description":"[![Build Status](https://travis-ci.com/WTW-IM/isolated-externals-plugin.svg?branch=master)](https://travis-ci.com/github/WTW-IM/isolated-externals-plugin) [![npm version](https://badge.fury.io/js/isolated-externals-plugin.svg)](https://badge.fury.io/js/is","directories":{},"lint-staged":{"*.md":["prettier --write --parser markdown"],"src/**/*.(j|t)s?(x)":["prettier --write","eslint --fix"]},"_nodeVersion":"14.17.0","dependencies":{"randomstring":"^1.1.5","webpack-sources":"^2.2.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.6.3","husky":"^4.3.8","react":"^17.0.1","eslint":"^7.19.0","webpack":"^4.46.0","depcheck":"^1.3.1","prettier":"2.2.1","react-dom":"^17.0.1","@babel/cli":"^7.12.13","typescript":"^4.1.3","@types/jest":"^26.0.20","lint-staged":"^10.5.4","webpack-cli":"^4.5.0","babel-eslint":"^10.1.0","babel-loader":"^8.2.2","@types/webpack":"^4.41.26","@commitlint/cli":"^11.0.0","semantic-release":"^17.4.2","@babel/preset-env":"^7.12.13","webpack-dev-server":"^3.11.2","@babel/preset-react":"^7.12.13","@types/randomstring":"^1.1.6","eslint-plugin-react":"^7.22.0","html-webpack-plugin":"^4.3.0","@semantic-release/git":"^9.0.0","@types/webpack-sources":"^2.1.0","eslint-config-prettier":"^7.2.0","@babel/preset-typescript":"^7.12.13","@typescript-eslint/parser":"^4.14.2","@semantic-release/changelog":"^5.0.1","conventional-changelog-eslint":"^3.0.9","@commitlint/config-conventional":"^11.0.0","@typescript-eslint/eslint-plugin":"^4.14.2"},"peerDependencies":{"webpack":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/isolated-externals-plugin_1.8.1_1622562542181_0.20168981297549604","host":"s3://npm-registry-packages"}},"1.9.0":{"name":"isolated-externals-plugin","version":"1.9.0","keywords":["Web Components","webpack","webpack4","webpack-plugin","isolated","externals","embedded"],"author":{"name":"Steve Matney"},"license":"ISC","_id":"isolated-externals-plugin@1.9.0","maintainers":[{"name":"jrios","email":"jacobrios@fastmail.com"},{"name":"darrken","email":"ken.james.adams+npm@gmail.com"},{"name":"aabenoja","email":"abenojaalex@gmail.com"},{"name":"kstclaire","email":"kelseystclaire@gmail.com"},{"name":"stevematney","email":"steve.matney@gmail.com"}],"homepage":"https://github.com/WTW-IM/isolated-externals-plugin#readme","bugs":{"url":"https://github.com/WTW-IM/isolated-externals-plugin/issues"},"dist":{"shasum":"0ffd5ee541ed820316716b3590655160fb290d6a","tarball":"https://registry.npmjs.org/isolated-externals-plugin/-/isolated-externals-plugin-1.9.0.tgz","fileCount":9,"integrity":"sha512-OEol+X7pbmLqVFLAufNz8mHifL9ayow16qrastAPD3RyuI7/FQZzw4xOyYtelNSmg+zRC/KxmpfxmAopnyyvmg==","signatures":[{"sig":"MEYCIQClWMSrC/G8YlJhqSuKhAGoxWX0/az8agexkqjizFf04wIhAJmJCnaxXIqAAraSxwtsn3tPtnUHdC94+YmfmXaQIT/B","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":57630,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgzMCoCRA9TVsSAnZWagAAGnkP/RKYhT2QkF+E3SCUrpxc\naX5lC3uY2WOm8t6w6WsYUmwmJhafb611qGR1IVrSjytWFm+R7KJCkey/EFI2\nLKE+ej2I/aLSTZWbusS6QZkFeoHS+iQ4fQfpc5f/o/UKVIYUr0sLTZUajuWm\nqCmigzjCBpFzaDbAYB8eaGGvcZUNIlE9RLaxRHdpqtre9HrIhtWPQ8bAn5Wf\n2x5UULjg8Qw3jr9XW7+fYHWt0hRXHw8KrZRkSC63KGYakx8OF7JJPOB03riN\n28HFHcEnweLso7Jliu2MPZAu71echMM+gai2dcUIsyrmOxi8JgAZlRIyvm36\nufFZD2NSQzUAmA+FygEw3rSs4QkdwQMpkDB4MdcpcmHcSaxDTTuEVyZeuKbY\nVdRC7renaWWoxvvRDt/6J+0LKX2+oiqIidJjFNQ0aOxaqEYot4JXHFselo8r\nqSqcldb7KIy4ARZ7I6dTIPnztpRx6LIVIRP5Gs9KfZ2ClhmHZR+iq7M41VyU\nPpzmumdJuUriS0FxfBkUJxqwhmFucwND8uLrFis52PP8W6PLhspOZGX8vJmr\nlZwBfBlfjOa/S77jPA0gwyRwVI0MHOiQgI+DeclXKorc9JSuVAXwLdCCR0QP\naRw4LjNRbjZpPDuTU7IeCjpdvj7476M9j/6cde9ZwQzku6BQ3h7WiJyjRWW9\nvCDm\r\n=Whyy\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"a4fdcf40562083893fa5f596152c4a18ccc687ae","scripts":{"lint":"eslint --ext .js,.jsx,.ts,.tsx ./src","test":"npm run lint && npm run build && jest","build":"tsc && cd src/util && tsc","prepare":"husky install","pre-commit":"lint-staged","startExamples":"npm run build && webpack-dev-server --config ./example-app/webpack.config.js","prepublishOnly":"npm run build"},"_npmUser":{"name":"stevematney","email":"steve.matney@gmail.com"},"repository":{"url":"git+https://github.com/WTW-IM/isolated-externals-plugin.git","type":"git"},"_npmVersion":"7.11.1","description":"[![Build Status](https://travis-ci.com/WTW-IM/isolated-externals-plugin.svg?branch=master)](https://travis-ci.com/github/WTW-IM/isolated-externals-plugin) [![npm version](https://badge.fury.io/js/isolated-externals-plugin.svg)](https://badge.fury.io/js/is","directories":{},"lint-staged":{"*.md":["prettier --write --parser markdown"],"src/**/*.(j|t)s?(x)":["prettier --write","eslint --fix"]},"_nodeVersion":"14.17.0","dependencies":{"randomstring":"^1.1.5","webpack-sources":"^2.2.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.6.3","husky":"^6.0.0","react":"^17.0.1","eslint":"^7.19.0","webpack":"^4.46.0","depcheck":"^1.3.1","prettier":"2.2.1","react-dom":"^17.0.1","@babel/cli":"^7.12.13","typescript":"^4.1.3","@types/jest":"^26.0.20","lint-staged":"^10.5.4","webpack-cli":"^4.5.0","babel-eslint":"^10.1.0","babel-loader":"^8.2.2","@types/webpack":"^4.41.26","@commitlint/cli":"^11.0.0","promise-polyfill":"^8.2.0","semantic-release":"^17.4.2","@babel/preset-env":"^7.12.13","webpack-dev-server":"^3.11.2","@babel/preset-react":"^7.12.13","@types/randomstring":"^1.1.6","eslint-plugin-react":"^7.22.0","html-webpack-plugin":"^4.3.0","@semantic-release/git":"^9.0.0","@types/webpack-sources":"^2.1.0","eslint-config-prettier":"^7.2.0","@babel/preset-typescript":"^7.12.13","@typescript-eslint/parser":"^4.14.2","@semantic-release/changelog":"^5.0.1","conventional-changelog-eslint":"^3.0.9","@commitlint/config-conventional":"^11.0.0","@typescript-eslint/eslint-plugin":"^4.14.2"},"peerDependencies":{"webpack":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/isolated-externals-plugin_1.9.0_1624031399830_0.5154562960880948","host":"s3://npm-registry-packages"}},"1.10.0":{"name":"isolated-externals-plugin","version":"1.10.0","keywords":["Web Components","webpack","webpack4","webpack-plugin","isolated","externals","embedded"],"author":{"name":"Steve Matney"},"license":"ISC","_id":"isolated-externals-plugin@1.10.0","maintainers":[{"name":"jrios","email":"jacobrios@fastmail.com"},{"name":"darrken","email":"ken.james.adams+npm@gmail.com"},{"name":"aabenoja","email":"abenojaalex@gmail.com"},{"name":"kstclaire","email":"kelseystclaire@gmail.com"},{"name":"stevematney","email":"steve.matney@gmail.com"}],"homepage":"https://github.com/WTW-IM/isolated-externals-plugin#readme","bugs":{"url":"https://github.com/WTW-IM/isolated-externals-plugin/issues"},"dist":{"shasum":"4ab5bf09fa8c9a79cafeed1de4fc04677b3e35f7","tarball":"https://registry.npmjs.org/isolated-externals-plugin/-/isolated-externals-plugin-1.10.0.tgz","fileCount":9,"integrity":"sha512-R66mwLFmO7aT2NDijnCShUfyMBVnNgvMbzpZ0SlGzLkJVOi3vwTSVZxh9k3BOgaGFShbq+Wq3xM+59EFvsreog==","signatures":[{"sig":"MEYCIQDj/n2oy9JB/9bak/k949DFNlRhDfWUlZzZP5kRlKXNPQIhAO+YRJBlyjoLICEyzxwFJXjRb2rsNIIISCoWQsmbkBCw","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":59099,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhDYliCRA9TVsSAnZWagAAtuQP/ju3s85jsvdmwB8+vBce\nuzKmCAjHLCN0vIpzABqNC4bqwgFTfieffRg27/RvY8DZmW2xZh7NBVkSFal+\n54gZNJGf2967x1eIagnIJ/s9YEW55ufz0BO8KMHj+Y3kL9UIDGE1GJ0ODS8T\nfdWqiiwp//hOG27Gw1HuRs5/z3jxHz8dmokZYXQgkyEdDPcjN4VKknR8Dq/8\n2Z0S/cxS5siKvG5FNr1IHYNKrQYuA2pCz0Z2R5eFkd/DFp5JnkvbCjnvdxi4\ndppDkPEoigVJVa5TpBAwabwL9pdNWPkjQXSbBzr/8RSSE3n9rBjW+0NsHX6g\nYYyPe9XL0PCqaEcOQxt9CLAFPp0NGDlf9ndbIubnY6x8V+Ff6Dw87JnlUNdL\nhxS9Y8b+gFZ6PiwPLTSGanP/U6q4vW+U+4iibhYjpe5f2c+Z6T5rT/y0aEBx\n8di84txu5a0S/MEMtgu+lnPuXTYapOB/Y0q4ifsm2jQfiKywHoK+fcRXLgKY\nXdZTCQJdeHSXAMPVYq0TENTVMUltAQ84Qxv/NcrLNg/jhX0SLUYYnnYOoB1L\nGXYweaK3xmYcXaO1U+qcpxQNQuh49ogmOjcBD+WoVhlxvei0cWBFUfPSB5D4\nbSBH3jsF5RVFG2MzHyUdKbHBjQoi4miKFFzLW470WutuIL8/87xLn34ATIBw\nXDwm\r\n=Z8tV\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"0c0d67a5caa169e4675d2a9d5fbf1fcced15a9e6","scripts":{"lint":"eslint --ext .js,.jsx,.ts,.tsx ./src","test":"npm run lint && npm run build && jest","build":"tsc && cd src/util && tsc","prepare":"husky install","pre-commit":"lint-staged","startExamples":"npm run build && webpack-dev-server --config ./example-app/webpack.config.js","prepublishOnly":"npm run build"},"_npmUser":{"name":"stevematney","email":"steve.matney@gmail.com"},"repository":{"url":"git+https://github.com/WTW-IM/isolated-externals-plugin.git","type":"git"},"_npmVersion":"7.11.1","description":"[![Build Status](https://travis-ci.com/WTW-IM/isolated-externals-plugin.svg?branch=master)](https://travis-ci.com/github/WTW-IM/isolated-externals-plugin) [![npm version](https://badge.fury.io/js/isolated-externals-plugin.svg)](https://badge.fury.io/js/is","directories":{},"lint-staged":{"*.md":["prettier --write --parser markdown"],"src/**/*.(j|t)s?(x)":["prettier --write","eslint --fix"]},"_nodeVersion":"14.17.4","dependencies":{"randomstring":"^1.1.5","webpack-sources":"^2.2.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.6.3","husky":"^6.0.0","react":"^17.0.1","eslint":"^7.19.0","webpack":"^4.46.0","depcheck":"^1.3.1","prettier":"2.2.1","react-dom":"^17.0.1","@babel/cli":"^7.12.13","typescript":"^4.1.3","@types/jest":"^26.0.20","lint-staged":"^10.5.4","webpack-cli":"^4.5.0","babel-eslint":"^10.1.0","babel-loader":"^8.2.2","@types/webpack":"^4.41.26","@commitlint/cli":"^11.0.0","promise-polyfill":"^8.2.0","semantic-release":"^17.4.2","@babel/preset-env":"^7.12.13","webpack-dev-server":"^3.11.2","@babel/preset-react":"^7.12.13","@types/randomstring":"^1.1.6","eslint-plugin-react":"^7.22.0","html-webpack-plugin":"^4.3.0","@semantic-release/git":"^9.0.0","@types/webpack-sources":"^2.1.0","eslint-config-prettier":"^7.2.0","@babel/preset-typescript":"^7.12.13","@typescript-eslint/parser":"^4.14.2","@semantic-release/changelog":"^5.0.1","conventional-changelog-eslint":"^3.0.9","@commitlint/config-conventional":"^11.0.0","@typescript-eslint/eslint-plugin":"^4.14.2"},"peerDependencies":{"webpack":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/isolated-externals-plugin_1.10.0_1628277089902_0.3908016966552599","host":"s3://npm-registry-packages"}},"1.10.1":{"name":"isolated-externals-plugin","version":"1.10.1","keywords":["Web Components","webpack","webpack4","webpack-plugin","isolated","externals","embedded"],"author":{"name":"Steve Matney"},"license":"ISC","_id":"isolated-externals-plugin@1.10.1","maintainers":[{"name":"jrios","email":"jacobrios@fastmail.com"},{"name":"darrken","email":"ken.james.adams+npm@gmail.com"},{"name":"aabenoja","email":"abenojaalex@gmail.com"},{"name":"kstclaire","email":"kelseystclaire@gmail.com"},{"name":"stevematney","email":"steve.matney@gmail.com"}],"homepage":"https://github.com/WTW-IM/isolated-externals-plugin#readme","bugs":{"url":"https://github.com/WTW-IM/isolated-externals-plugin/issues"},"dist":{"shasum":"7d112f432b0c5b901af69bd18911834a7c6e3804","tarball":"https://registry.npmjs.org/isolated-externals-plugin/-/isolated-externals-plugin-1.10.1.tgz","fileCount":9,"integrity":"sha512-QDey+5rp3cwS6aTBLL+PZxCJwJQ42oUEYoooe93/huacyvnKFOum6Y8bdGfrzL0maiuZ3k7qYAPBjAtQyk8Avg==","signatures":[{"sig":"MEUCIF6uW6cxqN/0CF1yg39r6+UZZIbC+zX7ElZWJ71HhWHFAiEAoB+YRrSv+4mmLNKNHwLrEzN/RqituU/XU5WouvOGJ9s=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":60658,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhEVDdCRA9TVsSAnZWagAAbjYQAJGhCEQUnD20L3M4tfJz\nB890gDManwzu8KoP8Bdh2tNPyQZ80meKRFgv4VEkPzhzTUj6o+E804dp2f4p\n6modtzoXlLKOeOmnME9x4hhH2MTdfgTbsLrcLVjpFG3Tu7keLVn5TJ9TOgD6\nGKKMcUBS1M0kWoBXY3goSZx8FKVAqFKeHiwI2yzSH4q/W26ZmEvVlslBLy44\nS5fNVI9LgWEE9HioJ2C02nEcxTv880ES3PZNW1nbwWHY48SD5pdOxTzfjtrj\nvLmZPdgfJXqihiraj6zQaN9K1iKjfXHEAtjE02QWcAuSPeQHOIFpW6k4ByB/\ng/ObodwNCZXfIEmgHcs1OrQS/PkiV515Uij7+0OTnTAijBXbbJcUdQ2YSlxU\n78H4aRbW/BePPqCNoYiMCNHE6PuCVRp0icU2Rhvq253c9YNCyX6hEHMzPMFd\nCcUoQHr7fTOhGHiWUiPCpngKGrs+uCdgKnciKDKcPhxC3clPlsbqiBgfXg+W\njLTQzEwQVd7OOdpYD5RBVwoN4wH0Oe+MPBdeLYs6Kym1QNF33xOzQ3Ibe/12\nKPcoZrntx8x/zXseIYX7QloOqnb5kht/47R8DNdRkWzvG0ZuBNX2jnlMl8T8\ne/X4P0Hv7KcDzhKG2gPsubWRECzGxcM/W3HJLaGcAXNkBug8iuwZASYaBtB3\nr6Pn\r\n=OAVr\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"5e2587346d9c511f54a6a57c652a9dae26dadb2b","scripts":{"lint":"eslint --ext .js,.jsx,.ts,.tsx ./src","test":"npm run lint && npm run build && jest","build":"tsc && cd src/util && tsc","prepare":"husky install","pre-commit":"lint-staged","startExamples":"npm run build && webpack-dev-server --config ./example-app/webpack.config.js","prepublishOnly":"npm run build"},"_npmUser":{"name":"stevematney","email":"steve.matney@gmail.com"},"repository":{"url":"git+https://github.com/WTW-IM/isolated-externals-plugin.git","type":"git"},"_npmVersion":"7.11.1","description":"[![Build Status](https://travis-ci.com/WTW-IM/isolated-externals-plugin.svg?branch=master)](https://travis-ci.com/github/WTW-IM/isolated-externals-plugin) [![npm version](https://badge.fury.io/js/isolated-externals-plugin.svg)](https://badge.fury.io/js/is","directories":{},"lint-staged":{"*.md":["prettier --write --parser markdown"],"src/**/*.(j|t)s?(x)":["prettier --write","eslint --fix"]},"_nodeVersion":"14.17.4","dependencies":{"randomstring":"^1.1.5","webpack-sources":"^2.2.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.6.3","husky":"^6.0.0","react":"^17.0.1","eslint":"^7.19.0","webpack":"^4.46.0","depcheck":"^1.3.1","prettier":"2.2.1","react-dom":"^17.0.1","@babel/cli":"^7.12.13","typescript":"^4.1.3","@types/jest":"^26.0.20","lint-staged":"^10.5.4","webpack-cli":"^4.5.0","babel-eslint":"^10.1.0","babel-loader":"^8.2.2","@types/webpack":"^4.41.26","@commitlint/cli":"^11.0.0","promise-polyfill":"^8.2.0","semantic-release":"^17.4.2","@babel/preset-env":"^7.12.13","webpack-dev-server":"^3.11.2","@babel/preset-react":"^7.12.13","@types/randomstring":"^1.1.6","eslint-plugin-react":"^7.22.0","html-webpack-plugin":"^4.3.0","@semantic-release/git":"^9.0.0","@types/webpack-sources":"^2.1.0","eslint-config-prettier":"^7.2.0","@babel/preset-typescript":"^7.12.13","@typescript-eslint/parser":"^4.14.2","@semantic-release/changelog":"^5.0.1","conventional-changelog-eslint":"^3.0.9","@commitlint/config-conventional":"^11.0.0","@typescript-eslint/eslint-plugin":"^4.14.2"},"peerDependencies":{"webpack":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/isolated-externals-plugin_1.10.1_1628524764966_0.23584165832197157","host":"s3://npm-registry-packages"}},"1.10.2":{"name":"isolated-externals-plugin","version":"1.10.2","keywords":["Web Components","webpack","webpack4","webpack-plugin","isolated","externals","embedded"],"author":{"name":"Steve Matney"},"license":"ISC","_id":"isolated-externals-plugin@1.10.2","maintainers":[{"name":"jrios","email":"jacobrios@fastmail.com"},{"name":"darrken","email":"ken.james.adams+npm@gmail.com"},{"name":"aabenoja","email":"abenojaalex@gmail.com"},{"name":"kstclaire","email":"kelseystclaire@gmail.com"},{"name":"stevematney","email":"steve.matney@gmail.com"}],"homepage":"https://github.com/WTW-IM/isolated-externals-plugin#readme","bugs":{"url":"https://github.com/WTW-IM/isolated-externals-plugin/issues"},"dist":{"shasum":"5bdd8240b3e9a4dec900d84a34d5555ce3d9ab52","tarball":"https://registry.npmjs.org/isolated-externals-plugin/-/isolated-externals-plugin-1.10.2.tgz","fileCount":8,"integrity":"sha512-Gw3NCmsat5xVRfU9IzqdbVhC7ANrXBB7jVOWDRstwN5Ya5fYHtevVZ3HwRESJrORaD+Ehbaun+5p+BWn+T6B+A==","signatures":[{"sig":"MEYCIQD9+uFydPBAIi+dtDo8ewDh/BaetqyPlYAJh5rpYHlAFwIhAKcHX5moRMi7+64me82H6HPJw57xHfgpi5ylveMAAcXd","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":50475,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhukiYCRA9TVsSAnZWagAAL7UP/3L/kjV6mSZxsj/QPjyU\nASgtNvtvDwtiDL5ydqw6wX6THLICa/VSt74K6kqm09DoYog8BHhCko5hinzt\nxa5k0BftrEViqDFm+rVzdrI9E8dIHE3exPHXqU0K5Fdx3b1YmHRx7HQwLFRo\nL8zXQwwQ3QTCpesnxUOrX7pLx2W1RiARiP+HEYTDbjcL7f3o/SWu8JalsDPJ\n97GF0jZRAVpvjIP+uzKl74S+gLerF5ngJllBFmZ7gdxP1+4XJUxPrQWzxhX2\nm9hLSrQYjU0TWGoE8OH48qGAHA3y7go0jzP6kgiXhZPpKhy0QOv+D3xRtRWy\nc7MC6uQVu+72c9AfnDxepHCkG30w9SxSOtRgzz9ef8dhDvMLaaWy/vqbu2V+\nBu3lL7Z3ZZ7I6IPE1z9H1BVQPxCg9qZJrz68+OvOBzhuiVh+YpG28ibXupPL\nfxPbommriNAug4oNUQQxE1alY/ljy1uql9D3XvEjH2kazp/v6g7Z8/+s0EL8\nUphGTB6cbHZllbA+oLOVEbs0IOOkmjuxrdArnER7B3co+Jo4v1zjO9v6zKEd\nQRJ4jwB0ltTw7TBRCEEf9JAcOS7JprXM2UOVfUjLENxA43wJNYI3vDUoEZe1\n440CtHQ4/vXOGG+2XL9V7FosB5JegD0wZPAoq6DVriSONG4zOG5lNlZRBcOp\n29I7\r\n=OHFx\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"33fd2fa41b629bacb36ec5409793b479e700f5a5","scripts":{"lint":"eslint --ext .js,.jsx,.ts,.tsx ./src","test":"npm run lint && npm run build && jest","build":"tsc && cd src/util && tsc","prepare":"husky install","pre-commit":"lint-staged","startExamples":"npm run build && webpack-dev-server --config ./example-app/webpack.config.js","prepublishOnly":"npm run build"},"_npmUser":{"name":"stevematney","email":"steve.matney@gmail.com"},"repository":{"url":"git+https://github.com/WTW-IM/isolated-externals-plugin.git","type":"git"},"_npmVersion":"7.24.2","description":"[![Build Status](https://travis-ci.com/WTW-IM/isolated-externals-plugin.svg?branch=master)](https://travis-ci.com/github/WTW-IM/isolated-externals-plugin) [![npm version](https://badge.fury.io/js/isolated-externals-plugin.svg)](https://badge.fury.io/js/is","directories":{},"lint-staged":{"*.md":["prettier --write --parser markdown"],"src/**/*.(j|t)s?(x)":["prettier --write","eslint --fix"]},"_nodeVersion":"14.18.2","dependencies":{"randomstring":"^1.1.5","webpack-sources":"^2.2.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.6.3","husky":"^6.0.0","react":"^17.0.1","eslint":"^7.19.0","webpack":"^4.46.0","depcheck":"^1.3.1","prettier":"2.2.1","react-dom":"^17.0.1","@babel/cli":"^7.12.13","typescript":"^4.1.3","@types/jest":"^26.0.20","lint-staged":"^10.5.4","webpack-cli":"^4.5.0","babel-eslint":"^10.1.0","babel-loader":"^8.2.2","@types/webpack":"^4.41.26","@commitlint/cli":"^11.0.0","promise-polyfill":"^8.2.0","semantic-release":"^18.0.1","@babel/preset-env":"^7.12.13","webpack-dev-server":"^3.11.2","@babel/preset-react":"^7.12.13","@types/randomstring":"^1.1.6","eslint-plugin-react":"^7.22.0","html-webpack-plugin":"^4.3.0","@semantic-release/git":"^9.0.0","@types/webpack-sources":"^2.1.0","eslint-config-prettier":"^7.2.0","@babel/preset-typescript":"^7.12.13","@typescript-eslint/parser":"^4.14.2","@semantic-release/changelog":"^5.0.1","conventional-changelog-eslint":"^3.0.9","@commitlint/config-conventional":"^11.0.0","@typescript-eslint/eslint-plugin":"^4.14.2"},"peerDependencies":{"webpack":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/isolated-externals-plugin_1.10.2_1639598232435_0.19630504383540748","host":"s3://npm-registry-packages"}},"2.0.0-webpack-5-integration.1":{"name":"isolated-externals-plugin","version":"2.0.0-webpack-5-integration.1","keywords":["Web Components","webpack","webpack4","webpack-plugin","isolated","externals","embedded"],"author":{"name":"Steve Matney"},"license":"ISC","_id":"isolated-externals-plugin@2.0.0-webpack-5-integration.1","maintainers":[{"name":"jrios","email":"jacobrios@fastmail.com"},{"name":"darrken","email":"ken.james.adams+npm@gmail.com"},{"name":"aabenoja","email":"abenojaalex@gmail.com"},{"name":"stevematney","email":"steve.matney@gmail.com"}],"homepage":"https://github.com/WTW-IM/isolated-externals-plugin#readme","bugs":{"url":"https://github.com/WTW-IM/isolated-externals-plugin/issues"},"dist":{"shasum":"cc8ec22a8ef49bd8c0bae517d47b6db2985a3f14","tarball":"https://registry.npmjs.org/isolated-externals-plugin/-/isolated-externals-plugin-2.0.0-webpack-5-integration.1.tgz","fileCount":18,"integrity":"sha512-RLTruI9N0di4JgalS4XrWd7pxQS2MG7JmWIRejrGQ6T2EBSUsYITcFXLzvBPTI9GFsNGi76BFlrAl/jD3ZiVZg==","signatures":[{"sig":"MEQCID/8MTsM4DWfa+jq9/FZkIULbHv/8HtSJBhHArUfbW+gAiB7P16ev+XJxZpBnKgdZ4MaVHLv0VgteUsJfMi1jzaDyw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":44177,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjhonFACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmpt1Q/9GgZw8FA3xXB7ObjhuyXoxm6KJlKwMXhPzbCtmthbrWVveYOv\r\ncV7G5P8mdFaeN+z57HcZACM9FOt21U6goss5l0xgoweTavBy2puW6RCeaGDP\r\nQFtfDekCdA1FONbTApux1O06n3iijsrRF5bF2TirwU20McCN6NwgsmEHiBgB\r\ntW3ESaM5yEFD6f/yxLyFuQ97ePlbGPVjLo6RkkDiIE9YjnQ05dBOEf9rOGBB\r\nbMX+ivlIr1+kZkxBjNDmE9o66PeiLiEvfEfrCwhDmbyRq6mnKHr+Q8elKg6S\r\n5iWmp6Eqiq3zWh0nNEecjqOifOWHK/Dp8Bk5DUlN52WfnVeMrXwojKcopLYu\r\nOrHgRrnzw4mrM20zgWW2lmxNI2Cx5MQRzfR+pk/JdOpf3HyBpq5JPlIrafx9\r\n/0lvHwsZKRJfc9yJNYa1bV0GNNcN8HNYsejy91xKFm+UflxtlnCRce1+SOny\r\nYCKtjjN+bf4WcUSn6aJhx+0EDZ+YubP9hmhIsz0O25CmLSxdQeNsICJGiGls\r\nCeSQgaQuecR80u6uYE0N6a0WqlG0r8JgVe6O84vVLqIA1sLD6zM4jiT1lkBV\r\ndLxv0z2DXeRCR1dJzAcnSTqaKjV17pHmXToT270ib6AxB0gp89d0uH5T4YpW\r\nHwoXQU7i8ZrVz4zAv/ZLTtalgr7sWqM3d0Q=\r\n=79g6\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"# isolated-externals-plugin\n\n[![Build Status](https://travis-ci.com/WTW-IM/isolated-externals-plugin.svg?branch=master)](https://travis-ci.com/github/WTW-IM/isolated-externals-plugin)\n[![npm version](https://badge.fury.io/js/isolated-externals-plugin.svg)](https://badge.fury.io/js/isolated-externals-plugin)\n\n## Installation\n\nTo install, simply run:\n\n```bash\nnpm install --save-dev isolated-externals-plugin\n```\n\n## Usage\n\nThe `IsolatedExternalsPlugin` allows you to load external dependencies into the scope of your webpack bundle without having to have them in your global scope. If you're curious about why you might want this, there are [some use cases listed below](#why-load-externals-locally-instead-of-globally).\n\nThe plugin is built as an ES Module, so you'll need to load it in by using the `default` property:\n\n```javascript\nconst IsolatedExternalsPlugin = require('isolated-externals-plugin').default;\n```\n\nIt currently only works with UMD javascript dependencies, and with an `externals` declaration that has a similar shape to this:\n\n```javascript\n  ...\n  externals: {\n    [\"react-dom\"]: \"ReactDOM\",\n    react: \"React\",\n  },\n  ...\n```\n\nFor the `externals` above, your `IsolatedExternalsPlugin` configuration might look like the following:\n\n```javascript\nnew IsolatedExternalsPlugin({\n  entryName: {\n    react: {\n      url: 'https://unpkg.com/react@16/umd/react.development.js'\n    },\n    ['react-dom']: {\n      url: 'https://unpkg.com/react-dom@16/umd/react-dom.development.js'\n    }\n  }\n});\n```\n\n`entryName`, in this instance, is the name of one of your webpack [Entry Points](https://webpack.js.org/concepts/entry-points/).\n\nThe external files will be loaded and applied to your context in the order that they're listed, so if you have dependencies that depend on other dependencies (like `ReactDOM` depends on `React`), then you'll want to make sure you list the ones they depend on first.\n\n## How It Works\n\n`IsolatedExternalsPlugin` wraps your webpack bundle in a self-calling function, evaluating the external dependencies and your bundle with an in-memory context object. This allows those external dependencies to only exist on that in-memory context, and will not require them to exist on the broader global context.\n\n## Why load externals locally instead of globally?\n\nHere are two valid use cases. There may be others, but these are the reason we built this plugin!:\n\n1. You want to load different javascript apps on the same page with different versions of the same dependency (like React).\n2. You want to load more than one javascript app onto the same page with the same dependency, but ignorant of each other and the global context (like in micro frontends). This case leverages browser caching to allow each app to be small in byte size, but to load the same libraries more than once on the page without transferring them more than once over the wire\n\n## Contributing\n\nThis package uses `semantic-release`. Changes will be compiled into a changelog and the package versioned, tagged and published automatically.\nPlease ensure your commit messages adhere to the following structure:\n\n```\n<type>: <subject>\n<BLANK LINE>\n<body>\n```\n\nOnly the header is mandatory. The supported types are based off of the [ESLint Convention](https://github.com/conventional-changelog/conventional-changelog/tree/35e279d40603b0969c6d622514f5c0984c5bf309/packages/conventional-changelog-eslint).\n","gitHead":"9443628a360593eccebdc1333d32c9d0bd5fbb39","scripts":{"lint":"eslint --ext .js,.jsx,.ts,.tsx ./src","test":"npm run lint && npm run build && jest","build":"tsc && cd src/util && tsc","prepare":"husky install","pre-commit":"lint-staged","startExamples":"npm run build && webpack-dev-server --config ./example-app/webpack.config.js","prepublishOnly":"npm run build"},"_npmUser":{"name":"stevematney","email":"steve.matney@gmail.com"},"repository":{"url":"git+https://github.com/WTW-IM/isolated-externals-plugin.git","type":"git"},"_npmVersion":"8.19.3","description":"[![Build Status](https://travis-ci.com/WTW-IM/isolated-externals-plugin.svg?branch=master)](https://travis-ci.com/github/WTW-IM/isolated-externals-plugin) [![npm version](https://badge.fury.io/js/isolated-externals-plugin.svg)](https://badge.fury.io/js/is","directories":{},"lint-staged":{"*.md":["prettier --write --parser markdown"],"src/**/*.(j|t)s?(x)":["prettier --write","eslint --fix"]},"_nodeVersion":"18.12.1","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"ajv":"^8.11.2","jest":"^29.3.1","husky":"^6.0.0","react":"^17.0.1","eslint":"^7.19.0","webpack":"^5.75.0","prettier":"2.2.1","react-dom":"^17.0.1","@babel/cli":"^7.19.3","typescript":"^4.9.3","@types/jest":"^29.2.3","lint-staged":"^10.5.4","webpack-cli":"^5.0.0","babel-loader":"^9.1.0","@types/webpack":"^5.28.0","@commitlint/cli":"^11.0.0","semantic-release":"^19.0.5","@babel/preset-env":"^7.12.13","webpack-dev-server":"^4.11.1","@babel/preset-react":"^7.18.6","@types/randomstring":"^1.1.8","eslint-plugin-react":"^7.22.0","html-webpack-plugin":"^5.5.0","@babel/eslint-parser":"^7.19.1","@semantic-release/git":"^10.0.1","eslint-config-prettier":"^7.2.0","@babel/preset-typescript":"^7.12.13","@typescript-eslint/parser":"^4.14.2","@semantic-release/changelog":"^6.0.1","conventional-changelog-eslint":"^3.0.9","@commitlint/config-conventional":"^11.0.0","@typescript-eslint/eslint-plugin":"^4.14.2"},"peerDependencies":{"webpack":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/isolated-externals-plugin_2.0.0-webpack-5-integration.1_1669761477379_0.20520648493226545","host":"s3://npm-registry-packages"}},"2.0.0-webpack-5-integration-7ba8dfb.1":{"name":"isolated-externals-plugin","version":"2.0.0-webpack-5-integration-7ba8dfb.1","keywords":["Web Components","webpack","webpack4","webpack-plugin","isolated","externals","embedded"],"author":{"name":"Steve Matney"},"license":"ISC","_id":"isolated-externals-plugin@2.0.0-webpack-5-integration-7ba8dfb.1","maintainers":[{"name":"jrios","email":"jacobrios@fastmail.com"},{"name":"darrken","email":"ken.james.adams+npm@gmail.com"},{"name":"aabenoja","email":"abenojaalex@gmail.com"},{"name":"stevematney","email":"steve.matney@gmail.com"}],"homepage":"https://github.com/WTW-IM/isolated-externals-plugin#readme","bugs":{"url":"https://github.com/WTW-IM/isolated-externals-plugin/issues"},"dist":{"shasum":"0f3f4bd296c7582787f9a5b2e75995f135e68be1","tarball":"https://registry.npmjs.org/isolated-externals-plugin/-/isolated-externals-plugin-2.0.0-webpack-5-integration-7ba8dfb.1.tgz","fileCount":18,"integrity":"sha512-XsK8eQ5l6s23nBvkYReT32m5V7ZIsY5sbeASHXwAb+nLBPwHKENY/YhHGe1EvbUSDxGGpvC48Vlg/TLEdm5EMA==","signatures":[{"sig":"MEQCIA4hSzTr6amtrc9QJf3fEXssy2vu3LHtboBz6sr3NXAxAiA+t0YQfUAY86nBXF2Pi0l2ssSaiuieSzxImtpslAQ/cw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":44648,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjjkBJACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrurxAAiZ2csbTx1DUSD1X3Rn+jbzKF6xKaLg+vklEueGyP7O0DEbZ9\r\nBi/DIqZTV7K8Yohf8ai0BgJNBRQC9EEUdN8io5jEi9E0Hz264E5SXVoa+2F6\r\nzXCnlJFW4kYlk5Fuy5r1ORV8r9iQKY0H+HtNOt8M0iL5+ryX1vRh2Y463/N5\r\nMIWKqX9sD29Jy4bBQ8lciQ5v6GZnm5r07XBCzc91M9qGN2HVzgW96HkWtKye\r\nDbOnPreus7YKt2kqz17vclOZlIpcWrMWJxgjW2+nngYBeTkpJVRw7oPRMOrq\r\nj02jYX00RVAw+oMZnDMRP5v12wtK6MrRi6/jjioUMDVI0sWdsT5r7KIeAmYd\r\n95FXCnznhdDzziio3ebzOYf8Kz2yP5Y/oB4LB1/au9tRduO2T3Ry8vyHbYWr\r\n/pkmyeDIv7vfMibNJrGUnZ4Glfutsp1B4sHk4iYSJV5QzfQc1cJK/vSIYb8O\r\nWMLHMEtSBUBEZ2ySicBKrLNRJDehKGhNz7AlUnTDyz1w7m5Uv25+hDMGZNuW\r\nB5uQzLlM5WqdZrfAhKpRlK/EeRIexRkbOEoQW9QlSl7SKQMx1ZGCFsD2iP8v\r\npt+RZYkYe2SGfXkCRvHNz5hgqINKuzNQ7lDvETQ1g+kg3lw0fZ6SBtSORF9h\r\naBOV5BsyRdmRO6oPKXxWdQmOBXkTzT5kT3M=\r\n=jsYp\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"# isolated-externals-plugin\n\n[![Build Status](https://travis-ci.com/WTW-IM/isolated-externals-plugin.svg?branch=master)](https://travis-ci.com/github/WTW-IM/isolated-externals-plugin)\n[![npm version](https://badge.fury.io/js/isolated-externals-plugin.svg)](https://badge.fury.io/js/isolated-externals-plugin)\n\n## Installation\n\nTo install, simply run:\n\n```bash\nnpm install --save-dev isolated-externals-plugin\n```\n\n## Usage\n\nThe `IsolatedExternalsPlugin` allows you to load external dependencies into the scope of your webpack bundle without having to have them in your global scope. If you're curious about why you might want this, there are [some use cases listed below](#why-load-externals-locally-instead-of-globally).\n\nThe plugin is built as an ES Module, so you'll need to load it in by using the `default` property:\n\n```javascript\nconst IsolatedExternalsPlugin = require('isolated-externals-plugin').default;\n```\n\nIt currently only works with UMD javascript dependencies, and with an `externals` declaration that has a similar shape to this:\n\n```javascript\n  ...\n  externals: {\n    [\"react-dom\"]: \"ReactDOM\",\n    react: \"React\",\n  },\n  ...\n```\n\nFor the `externals` above, your `IsolatedExternalsPlugin` configuration might look like the following:\n\n```javascript\nnew IsolatedExternalsPlugin({\n  entryName: {\n    react: {\n      url: 'https://unpkg.com/react@16/umd/react.development.js'\n    },\n    ['react-dom']: {\n      url: 'https://unpkg.com/react-dom@16/umd/react-dom.development.js'\n    }\n  }\n});\n```\n\n`entryName`, in this instance, is the name of one of your webpack [Entry Points](https://webpack.js.org/concepts/entry-points/).\n\nThe external files will be loaded and applied to your context in the order that they're listed, so if you have dependencies that depend on other dependencies (like `ReactDOM` depends on `React`), then you'll want to make sure you list the ones they depend on first.\n\n## How It Works\n\n`IsolatedExternalsPlugin` wraps your webpack bundle in a self-calling function, evaluating the external dependencies and your bundle with an in-memory context object. This allows those external dependencies to only exist on that in-memory context, and will not require them to exist on the broader global context.\n\n## Why load externals locally instead of globally?\n\nHere are two valid use cases. There may be others, but these are the reason we built this plugin!:\n\n1. You want to load different javascript apps on the same page with different versions of the same dependency (like React).\n2. You want to load more than one javascript app onto the same page with the same dependency, but ignorant of each other and the global context (like in micro frontends). This case leverages browser caching to allow each app to be small in byte size, but to load the same libraries more than once on the page without transferring them more than once over the wire\n\n## Contributing\n\nThis package uses `semantic-release`. Changes will be compiled into a changelog and the package versioned, tagged and published automatically.\nPlease ensure your commit messages adhere to the following structure:\n\n```\n<type>: <subject>\n<BLANK LINE>\n<body>\n```\n\nOnly the header is mandatory. The supported types are based off of the [ESLint Convention](https://github.com/conventional-changelog/conventional-changelog/tree/35e279d40603b0969c6d622514f5c0984c5bf309/packages/conventional-changelog-eslint).\n","gitHead":"7ba8dfbad1540f9750ec6de142766ed0bc92c032","scripts":{"lint":"eslint --ext .js,.jsx,.ts,.tsx ./src","test":"npm run lint && npm run build && jest","build":"tsc && cd src/util && tsc","prepare":"husky install","pre-commit":"lint-staged","startExamples":"npm run build && webpack-dev-server --config ./example-app/webpack.config.js","prepublishOnly":"npm run build"},"_npmUser":{"name":"stevematney","email":"steve.matney@gmail.com"},"repository":{"url":"git+https://github.com/WTW-IM/isolated-externals-plugin.git","type":"git"},"_npmVersion":"8.19.3","description":"[![Build Status](https://travis-ci.com/WTW-IM/isolated-externals-plugin.svg?branch=master)](https://travis-ci.com/github/WTW-IM/isolated-externals-plugin) [![npm version](https://badge.fury.io/js/isolated-externals-plugin.svg)](https://badge.fury.io/js/is","directories":{},"lint-staged":{"*.md":["prettier --write --parser markdown"],"src/**/*.(j|t)s?(x)":["prettier --write","eslint --fix"]},"_nodeVersion":"18.12.1","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"ajv":"^8.11.2","jest":"^29.3.1","husky":"^6.0.0","react":"^17.0.1","eslint":"^7.19.0","webpack":"^5.75.0","prettier":"2.2.1","react-dom":"^17.0.1","@babel/cli":"^7.19.3","typescript":"^4.9.3","@types/jest":"^29.2.3","lint-staged":"^10.5.4","webpack-cli":"^5.0.0","babel-loader":"^9.1.0","@types/webpack":"^5.28.0","@commitlint/cli":"^11.0.0","semantic-release":"^19.0.5","@babel/preset-env":"^7.12.13","webpack-dev-server":"^4.11.1","@babel/preset-react":"^7.18.6","@types/randomstring":"^1.1.8","eslint-plugin-react":"^7.22.0","html-webpack-plugin":"^5.5.0","@babel/eslint-parser":"^7.19.1","@semantic-release/git":"^10.0.1","eslint-config-prettier":"^7.2.0","@babel/preset-typescript":"^7.12.13","@typescript-eslint/parser":"^4.14.2","@semantic-release/changelog":"^6.0.1","conventional-changelog-eslint":"^3.0.9","@commitlint/config-conventional":"^11.0.0","@typescript-eslint/eslint-plugin":"^4.14.2"},"peerDependencies":{"webpack":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/isolated-externals-plugin_2.0.0-webpack-5-integration-7ba8dfb.1_1670266953188_0.05703760053543605","host":"s3://npm-registry-packages"}},"2.0.0-webpack-5-integration-8db7536.1":{"name":"isolated-externals-plugin","version":"2.0.0-webpack-5-integration-8db7536.1","keywords":["Web Components","webpack","webpack4","webpack-plugin","isolated","externals","embedded"],"author":{"name":"Steve Matney"},"license":"ISC","_id":"isolated-externals-plugin@2.0.0-webpack-5-integration-8db7536.1","maintainers":[{"name":"jrios","email":"jacobrios@fastmail.com"},{"name":"darrken","email":"ken.james.adams+npm@gmail.com"},{"name":"aabenoja","email":"abenojaalex@gmail.com"},{"name":"stevematney","email":"steve.matney@gmail.com"}],"homepage":"https://github.com/WTW-IM/isolated-externals-plugin#readme","bugs":{"url":"https://github.com/WTW-IM/isolated-externals-plugin/issues"},"dist":{"shasum":"2e91b2933d91b5f8256981748965e8dda1717e15","tarball":"https://registry.npmjs.org/isolated-externals-plugin/-/isolated-externals-plugin-2.0.0-webpack-5-integration-8db7536.1.tgz","fileCount":18,"integrity":"sha512-Z88DeczdO+0FeF+89aNIMKZk+g/U2Nk0ZVlTqwmd1/dr2+omQ5u8WaG7Zg5X5kgTiaEr9F6j0N+t4jALmiYsbA==","signatures":[{"sig":"MEQCIG1ka8gs29zxAq6IgTYDMGeEv4exGwqaZrJkj8JV+wpKAiA6Q156THh4DZWAdpXVvL4dyTFPFlR7SfPwxBph1Kjb+g==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":44731,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjjnJlACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmomEw/9HL+FzYHBfBqLXMEm352nsttRX70k9zPx/Q9ozmuAnfvwBL71\r\nDQP+heD3CRYjHPUc2FyNi4IYiIsSsi9bvxdSQiyTd4UG3gFjQzjZA+HWNWzo\r\n8ED2B7yzET51cCD7sYfdcNR5fKoAwAwpuIwcXC2KOx5NYbAmh5GPjvUy3bDi\r\neRzolgQzVHMd098r0V9OU42Xb6dzY6FSSiv2wVm8dWVs1FK9CxRoQIZ5CZz2\r\nYwL3ZLHcyzQWdUxgOdvb4O7JYBk6z+gAGwShgluZTf6Aw5x1CKC+LHMxn3os\r\nXNWkVkL0u2ZinPzf2/jYj4GwadYEsWCnu+pbW8idLVM+T7GuQtYATHQQYAtd\r\n6vap3vlnjQFtqCwXtuKUdXydDbcEaZDje7tzxu6Tsazog+wKPPG8qfh3KHpI\r\nofjt2oTImSGgdbKvh0VY4wRHg9kY5ujPoRSvjTpYfaibg3eWw3uU9NpQfaQP\r\nh8ynq/GzRpcxXYCQD8t7R8mE7NMLq/20+syUZhEbYxuD5/MMYUR6ISn3FsEX\r\nDdQPEd/KfjenTw31tV4bbHS2Qir8fgXOM2lIN6UhnOkZT7F44nQ39iDieVv/\r\nk2NfWaSXjwdBHLqv3n0+lKBYdS0Kz8YIVGW18bfio+l0uG57qorBiY8iTqei\r\nGU+PQI6rJ/gMEWy7LTBLsPgu8N4xpI9q9EU=\r\n=cr1b\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"# isolated-externals-plugin\n\n[![Build Status](https://travis-ci.com/WTW-IM/isolated-externals-plugin.svg?branch=master)](https://travis-ci.com/github/WTW-IM/isolated-externals-plugin)\n[![npm version](https://badge.fury.io/js/isolated-externals-plugin.svg)](https://badge.fury.io/js/isolated-externals-plugin)\n\n## Installation\n\nTo install, simply run:\n\n```bash\nnpm install --save-dev isolated-externals-plugin\n```\n\n## Usage\n\nThe `IsolatedExternalsPlugin` allows you to load external dependencies into the scope of your webpack bundle without having to have them in your global scope. If you're curious about why you might want this, there are [some use cases listed below](#why-load-externals-locally-instead-of-globally).\n\nThe plugin is built as an ES Module, so you'll need to load it in by using the `default` property:\n\n```javascript\nconst IsolatedExternalsPlugin = require('isolated-externals-plugin').default;\n```\n\nIt currently only works with UMD javascript dependencies, and with an `externals` declaration that has a similar shape to this:\n\n```javascript\n  ...\n  externals: {\n    [\"react-dom\"]: \"ReactDOM\",\n    react: \"React\",\n  },\n  ...\n```\n\nFor the `externals` above, your `IsolatedExternalsPlugin` configuration might look like the following:\n\n```javascript\nnew IsolatedExternalsPlugin({\n  entryName: {\n    react: {\n      url: 'https://unpkg.com/react@16/umd/react.development.js'\n    },\n    ['react-dom']: {\n      url: 'https://unpkg.com/react-dom@16/umd/react-dom.development.js'\n    }\n  }\n});\n```\n\n`entryName`, in this instance, is the name of one of your webpack [Entry Points](https://webpack.js.org/concepts/entry-points/).\n\nThe external files will be loaded and applied to your context in the order that they're listed, so if you have dependencies that depend on other dependencies (like `ReactDOM` depends on `React`), then you'll want to make sure you list the ones they depend on first.\n\n## How It Works\n\n`IsolatedExternalsPlugin` wraps your webpack bundle in a self-calling function, evaluating the external dependencies and your bundle with an in-memory context object. This allows those external dependencies to only exist on that in-memory context, and will not require them to exist on the broader global context.\n\n## Why load externals locally instead of globally?\n\nHere are two valid use cases. There may be others, but these are the reason we built this plugin!:\n\n1. You want to load different javascript apps on the same page with different versions of the same dependency (like React).\n2. You want to load more than one javascript app onto the same page with the same dependency, but ignorant of each other and the global context (like in micro frontends). This case leverages browser caching to allow each app to be small in byte size, but to load the same libraries more than once on the page without transferring them more than once over the wire\n\n## Contributing\n\nThis package uses `semantic-release`. Changes will be compiled into a changelog and the package versioned, tagged and published automatically.\nPlease ensure your commit messages adhere to the following structure:\n\n```\n<type>: <subject>\n<BLANK LINE>\n<body>\n```\n\nOnly the header is mandatory. The supported types are based off of the [ESLint Convention](https://github.com/conventional-changelog/conventional-changelog/tree/35e279d40603b0969c6d622514f5c0984c5bf309/packages/conventional-changelog-eslint).\n","gitHead":"8db7536e388fa6dfdfd5ff53db3f35238ba7390d","scripts":{"lint":"eslint --ext .js,.jsx,.ts,.tsx ./src","test":"npm run lint && npm run build && jest","build":"tsc && cd src/util && tsc","prepare":"husky install","pre-commit":"lint-staged","startExamples":"npm run build && webpack-dev-server --config ./example-app/webpack.config.js","prepublishOnly":"npm run build"},"_npmUser":{"name":"stevematney","email":"steve.matney@gmail.com"},"repository":{"url":"git+https://github.com/WTW-IM/isolated-externals-plugin.git","type":"git"},"_npmVersion":"8.19.3","description":"[![Build Status](https://travis-ci.com/WTW-IM/isolated-externals-plugin.svg?branch=master)](https://travis-ci.com/github/WTW-IM/isolated-externals-plugin) [![npm version](https://badge.fury.io/js/isolated-externals-plugin.svg)](https://badge.fury.io/js/is","directories":{},"lint-staged":{"*.md":["prettier --write --parser markdown"],"src/**/*.(j|t)s?(x)":["prettier --write","eslint --fix"]},"_nodeVersion":"18.12.1","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"ajv":"^8.11.2","jest":"^29.3.1","husky":"^6.0.0","react":"^17.0.1","eslint":"^7.19.0","webpack":"^5.75.0","prettier":"2.2.1","react-dom":"^17.0.1","@babel/cli":"^7.19.3","typescript":"^4.9.3","@types/jest":"^29.2.3","lint-staged":"^10.5.4","webpack-cli":"^5.0.0","babel-loader":"^9.1.0","@types/webpack":"^5.28.0","@commitlint/cli":"^11.0.0","semantic-release":"^19.0.5","@babel/preset-env":"^7.12.13","webpack-dev-server":"^4.11.1","@babel/preset-react":"^7.18.6","@types/randomstring":"^1.1.8","eslint-plugin-react":"^7.22.0","html-webpack-plugin":"^5.5.0","@babel/eslint-parser":"^7.19.1","@semantic-release/git":"^10.0.1","eslint-config-prettier":"^7.2.0","@babel/preset-typescript":"^7.12.13","@typescript-eslint/parser":"^4.14.2","@semantic-release/changelog":"^6.0.1","conventional-changelog-eslint":"^3.0.9","@commitlint/config-conventional":"^11.0.0","@typescript-eslint/eslint-plugin":"^4.14.2"},"peerDependencies":{"webpack":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/isolated-externals-plugin_2.0.0-webpack-5-integration-8db7536.1_1670279781734_0.973024338353607","host":"s3://npm-registry-packages"}},"2.0.0-webpack-5-integration-8db7536.2":{"name":"isolated-externals-plugin","version":"2.0.0-webpack-5-integration-8db7536.2","keywords":["Web Components","webpack","webpack4","webpack-plugin","isolated","externals","embedded"],"author":{"name":"Steve Matney"},"license":"ISC","_id":"isolated-externals-plugin@2.0.0-webpack-5-integration-8db7536.2","maintainers":[{"name":"jrios","email":"jacobrios@fastmail.com"},{"name":"darrken","email":"ken.james.adams+npm@gmail.com"},{"name":"aabenoja","email":"abenojaalex@gmail.com"},{"name":"stevematney","email":"steve.matney@gmail.com"}],"homepage":"https://github.com/WTW-IM/isolated-externals-plugin#readme","bugs":{"url":"https://github.com/WTW-IM/isolated-externals-plugin/issues"},"dist":{"shasum":"294cc017c498ff713b28a54b28967bf757cd42da","tarball":"https://registry.npmjs.org/isolated-externals-plugin/-/isolated-externals-plugin-2.0.0-webpack-5-integration-8db7536.2.tgz","fileCount":18,"integrity":"sha512-DBe81t/2rbWzgzDJP40NI7xc0De+4FMiQn9G8ylkWlAy6zyN0NUE76kmpUIhKKeJ3Y4oI8ciVNPlr0dI3SRckg==","signatures":[{"sig":"MEUCIBFu0NIsd9zLeHVkescHSh9QQ8sC9ooRB2nro7ojvnIWAiEAkIVKUJ7tyxImROntUSbGqidpaY1Q+3dQzeENE+hlojo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":47936,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjj89nACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoHvw/9ES1HpJQYsfFbSDRgWvuflq1kiroUX47m6ZhNdyYWNws55Yun\r\n9/yhvrPy0WdKaO0OjywIYSFVT35Al77Qvzl8dXXh1HiXsLzXqpOFit2p/NYO\r\n10Btyz+H/aPue7O8tvAzgI1fqQUEGdebP5GxV31kEcSXQ23TLioBV5M+S36p\r\ndoJen5OIzZziAPrZ+QAiPI/QiH6moNUp0V3Ulqwt8nttDgiX2hdjYm+72O4e\r\nPPVmM5A6iM3kj2cnBoHhhmAKIExDNLRpRrSz7VPlnKgs/opaLMzdW3478hAv\r\niUeWWtHYQcK32yiwaspdsYIoLTQF40pA1Y5VNa1P5lzgte+IBuGuwCtwvzR5\r\nY5xtw05Bg364G0dKNIE9pKhh3eF7yLcuossU6D+gG1dJWbREFm8L49nRP+Xx\r\nVzPFm1Mx5KVMOd3XpPI75NB110EGuRcvudsSFlV5QJuOAc1Ac/e0ek7it6nK\r\nf9k/l759A/HVPZulrE7FGM1HF3l9jWpstkEizHRDJNb+4uTZjNm+/DZi0XR4\r\nODq5V12vm8QyEuLXAbXCBUtlVZRiHM/5a5AoAdixF39C1JRbTkj0iTJyBLx2\r\nQQEWhPJV2ke40nCTyRZdkjTUx/z/y5L3L4tgQaOIWeRMyvnxXoljwnGJgNmC\r\n5cwK3yGWRb3AD6DC+4KHeod4/+J1qceTAWQ=\r\n=Xi0q\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"# isolated-externals-plugin\n\n[![Build Status](https://travis-ci.com/WTW-IM/isolated-externals-plugin.svg?branch=master)](https://travis-ci.com/github/WTW-IM/isolated-externals-plugin)\n[![npm version](https://badge.fury.io/js/isolated-externals-plugin.svg)](https://badge.fury.io/js/isolated-externals-plugin)\n\n## Installation\n\nTo install, simply run:\n\n```bash\nnpm install --save-dev isolated-externals-plugin\n```\n\n## Usage\n\nThe `IsolatedExternalsPlugin` allows you to load external dependencies inside the scope of your webpack bundle without having to have them in your global scope. If you're curious about why you might want this, there are [some use cases listed below](#why-load-externals-locally-instead-of-globally).\n\nIt's an opinionated plugin in this way:\n\n- It forcibly sets [`externalsType` to `promise`](https://webpack.js.org/configuration/externals/#externalstypepromise) (but should still work with UMD-type externals)\n\nThe plugin is built as an ES Module, so you'll need to load it in by using the `default` property:\n\nAn `IsolatedExternalsPlugin` configuration might look like the following:\n\n```javascript\nnew IsolatedExternalsPlugin({\n  entry1: {\n    react: {\n      url: 'https://unpkg.com/react@16/umd/react.development.js',\n      globalName: 'React',\n    },\n    ['react-dom']: {\n      url: 'https://unpkg.com/react-dom@16/umd/react-dom.development.js',\n      globalName: 'ReactDOM',\n    },\n  },\n  entry2: {\n    react: {\n      url: 'https://unpkg.com/react@16/umd/react.development.js',\n      globalName: 'React',\n    },\n    ['react-dom']: {\n      url: 'https://unpkg.com/react-dom@16/umd/react-dom.development.js',\n      globalName: 'ReactDOM',\n    },\n  },\n});\n```\n\nEach property of the configuration follows this structure:\n\n```javascript\n[entryName]: {\n  [packageName]: {\n    url: [url],\n    globalName: [globalName]\n  }\n}\n```\n\n| Part            | Description                                                                                                                                                                                                                                                                                     |\n| --------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `entryName`\\*   | The name of one of your webpack [Entry Points](https://webpack.js.org/concepts/entry-points/).                                                                                                                                                                                                  |\n| `packageName`\\* | The name of the import for your externalized dependency (like 'react-dom').                                                                                                                                                                                                                     |\n| `url`\\*         | The URL from which to load your dependency file.                                                                                                                                                                                                                                                |\n| `globalName`    | The UMD name of your dependency (like `ReactDOM`). If this is not provided, `IsolatedExternalsPlugin` will try to match the `packageName` to one of your [`externals`](https://webpack.js.org/configuration/externals/#externals) entries, and will use the value from that as the `globalName` |\n| \\*              | _required_                                                                                                                                                                                                                                                                                      |\n\nThe external files will be loaded and applied to your context in the order that they're listed, so if you have dependencies that depend on other dependencies (like `ReactDOM` depends on `React`), then you'll want to make sure you list the ones they depend on first.\n\n## How It Works\n\n`IsolatedExternalsPlugin` loads the text of your externals URLs via a shared [Cache](https://developer.mozilla.org/en-US/docs/Web/API/Cache) (or a shared global object if `Cache` is not available), and processes the text on a context object which is singular to your bundle. This allows you to load multiple bundles per page with different versions of a dependency—or with the same version of a dependency separately—without polluting a global scope, and without loading the same dependency over the wire more than once. This keeps bundle sizes down while also providing complete autonomy to any individual JS bundle.\n\n## Why load externals locally instead of globally?\n\nHere are two valid use cases. There may be others, but these are the reason we built this plugin!:\n\n1. You want to load different javascript apps on the same page with different versions of the same dependency (like React).\n2. You want to load more than one javascript app onto the same page with the same dependency, but ignorant of each other and the global context (like in micro frontends). This allows each app to be small in byte size, and allows the overall page to never load the same dependency more than once.\n\n## Contributing\n\nThis package uses `semantic-release`. Changes will be compiled into a changelog and the package versioned, tagged and published automatically.\nPlease ensure your commit messages adhere to the following structure:\n\n```\n<type>: <subject>\n<BLANK LINE>\n<body>\n```\n\nOnly the header is mandatory. The supported types are based off of the [ESLint Convention](https://github.com/conventional-changelog/conventional-changelog/tree/35e279d40603b0969c6d622514f5c0984c5bf309/packages/conventional-changelog-eslint).\n","gitHead":"333b1bfe9390e1603471a5085d3032dd3297baaf","scripts":{"lint":"eslint --ext .js,.jsx,.ts,.tsx ./src","test":"npm run lint && npm run build && jest","build":"tsc && cd src/util && tsc","prepare":"husky install","pre-commit":"lint-staged","startExamples":"npm run build && webpack-dev-server --config ./example-app/webpack.config.js","prepublishOnly":"npm run build"},"_npmUser":{"name":"stevematney","email":"steve.matney@gmail.com"},"repository":{"url":"git+https://github.com/WTW-IM/isolated-externals-plugin.git","type":"git"},"_npmVersion":"8.19.3","description":"[![Build Status](https://travis-ci.com/WTW-IM/isolated-externals-plugin.svg?branch=master)](https://travis-ci.com/github/WTW-IM/isolated-externals-plugin) [![npm version](https://badge.fury.io/js/isolated-externals-plugin.svg)](https://badge.fury.io/js/is","directories":{},"lint-staged":{"*.md":["prettier --write --parser markdown"],"src/**/*.(j|t)s?(x)":["prettier --write","eslint --fix"]},"_nodeVersion":"18.12.1","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"ajv":"^8.11.2","jest":"^29.3.1","husky":"^6.0.0","react":"^17.0.1","eslint":"^7.19.0","webpack":"^5.75.0","prettier":"2.2.1","react-dom":"^17.0.1","@babel/cli":"^7.19.3","typescript":"^4.9.3","@types/jest":"^29.2.3","lint-staged":"^10.5.4","webpack-cli":"^5.0.0","babel-loader":"^9.1.0","@types/webpack":"^5.28.0","@commitlint/cli":"^11.0.0","semantic-release":"^19.0.5","@babel/preset-env":"^7.12.13","webpack-dev-server":"^4.11.1","@babel/preset-react":"^7.18.6","@types/randomstring":"^1.1.8","eslint-plugin-react":"^7.22.0","html-webpack-plugin":"^5.5.0","@babel/eslint-parser":"^7.19.1","@semantic-release/git":"^10.0.1","eslint-config-prettier":"^7.2.0","@babel/preset-typescript":"^7.12.13","@typescript-eslint/parser":"^4.14.2","@semantic-release/changelog":"^6.0.1","conventional-changelog-eslint":"^3.0.9","@commitlint/config-conventional":"^11.0.0","@typescript-eslint/eslint-plugin":"^4.14.2"},"peerDependencies":{"webpack":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/isolated-externals-plugin_2.0.0-webpack-5-integration-8db7536.2_1670369127740_0.2555789965492774","host":"s3://npm-registry-packages"}},"2.0.0-webpack-5-integration-8db7536.3":{"name":"isolated-externals-plugin","version":"2.0.0-webpack-5-integration-8db7536.3","keywords":["Web Components","webpack","webpack4","webpack-plugin","isolated","externals","embedded"],"author":{"name":"Steve Matney"},"license":"ISC","_id":"isolated-externals-plugin@2.0.0-webpack-5-integration-8db7536.3","maintainers":[{"name":"jrios","email":"jacobrios@fastmail.com"},{"name":"darrken","email":"ken.james.adams+npm@gmail.com"},{"name":"aabenoja","email":"abenojaalex@gmail.com"},{"name":"stevematney","email":"steve.matney@gmail.com"}],"homepage":"https://github.com/WTW-IM/isolated-externals-plugin#readme","bugs":{"url":"https://github.com/WTW-IM/isolated-externals-plugin/issues"},"dist":{"shasum":"2eaa7604981cb9726b0fa723c452a51e4ddf7448","tarball":"https://registry.npmjs.org/isolated-externals-plugin/-/isolated-externals-plugin-2.0.0-webpack-5-integration-8db7536.3.tgz","fileCount":18,"integrity":"sha512-Tcr2kJ+vs8q45qiFPCcxSezD9yj0OHQKDqPQZ4L9/q17TPyHBcEyV+1wX5KkiUMof/EBthBgBSiZrt2o2PsYeQ==","signatures":[{"sig":"MEQCIFw4CWLPY/dtJf3k8LxY0U5MdUZgnNrnLzDEZ2qI83hsAiBwUPdVtQqPAOoZe9dWn75wWZBvw+ydejsx9p66JATX8w==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":48916,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjkMKHACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpfXQ/6Am4BUQ8EtUpmDZgvCokWovsSqnTOFNWP79cizoUkfaLpyRn6\r\n0zFJBnt6JfVPKqCT9/tc6T7xlwmFtyQTV6FeU53g+NecMAp94+RadduYRXWF\r\nUSEzeO16i9W1lySsXHdCvnTlviZVtE9PFPSqeSCEUJPcE5HgNRaOfqspAUjP\r\nK1ohxN91mQ++Vh8cz1xq3kL5M+ijYZUc6V0OFUddZMw3i8sJSSyC4Ak0x4/K\r\nFHkEYppI8h2n7iGFYpn9/97y0SAz5D1m9iKCznu/3brIsfFCobkioQSlrT1V\r\nR3whzGg+ocs86nHtNoX99ArmC6hAd/oE/i5oMo4Dfs/QFpS7mYJYac6XdzOD\r\nd90pCWqwVyg5H/ApKTDvEfihYR55/9q36BK/SGm58TmI9XlKcFbb+iYY51/T\r\nJQrTIuaFOJ71JrQ55doa497RtJRZTr1J1dRsG9kbhIK6IpjHmyV60fS0UG0b\r\nGvmffZuLpX/hpYW7mId4ZuY7sRRVPFj9NRMPrgiAV7qa8/AOon7Vr3OQ411q\r\nOtPFBwhC7rWVDEAwxY0/CsepV6GnfTnLAbwcSDkkt3VHyhvacmbdvOLKXES1\r\nb3LTc1IXnsi0yzWVBOe+R7JHdPrPnic7pW+Msch1YV8uFu/D6Eaf2kn7Fycl\r\nomliS0W+gQ4tTXGmwIESqtWeNvx1we++cZQ=\r\n=qDcj\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"# isolated-externals-plugin\n\n[![Build Status](https://travis-ci.com/WTW-IM/isolated-externals-plugin.svg?branch=master)](https://travis-ci.com/github/WTW-IM/isolated-externals-plugin)\n[![npm version](https://badge.fury.io/js/isolated-externals-plugin.svg)](https://badge.fury.io/js/isolated-externals-plugin)\n\n## Installation\n\nTo install, simply run:\n\n```bash\nnpm install --save-dev isolated-externals-plugin\n```\n\n## Usage\n\nThe `IsolatedExternalsPlugin` allows you to load external dependencies inside the scope of your webpack bundle without having to have them in your global scope. If you're curious about why you might want this, there are [some use cases listed below](#why-load-externals-locally-instead-of-globally).\n\nIt's an opinionated plugin in this way:\n\n- It forcibly sets [`externalsType` to `promise`](https://webpack.js.org/configuration/externals/#externalstypepromise) (but should still work with UMD-type externals)\n\nThe plugin is built as an ES Module, so you'll need to load it in by using the `default` property:\n\nAn `IsolatedExternalsPlugin` configuration might look like the following:\n\n```javascript\nnew IsolatedExternalsPlugin({\n  entry1: {\n    react: {\n      url: 'https://unpkg.com/react@16/umd/react.development.js',\n      globalName: 'React',\n    },\n    ['react-dom']: {\n      url: 'https://unpkg.com/react-dom@16/umd/react-dom.development.js',\n      globalName: 'ReactDOM',\n    },\n  },\n  entry2: {\n    react: {\n      url: 'https://unpkg.com/react@16/umd/react.development.js',\n      globalName: 'React',\n    },\n    ['react-dom']: {\n      url: 'https://unpkg.com/react-dom@16/umd/react-dom.development.js',\n      globalName: 'ReactDOM',\n    },\n  },\n});\n```\n\nEach property of the configuration follows this structure:\n\n```javascript\n[entryName]: {\n  [packageName]: {\n    url: [url],\n    globalName: [globalName]\n  }\n}\n```\n\n| Part            | Description                                                                                                                                                                                                                                                                                     |\n| --------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `entryName`\\*   | The name of one of your webpack [Entry Points](https://webpack.js.org/concepts/entry-points/).                                                                                                                                                                                                  |\n| `packageName`\\* | The name of the import for your externalized dependency (like 'react-dom').                                                                                                                                                                                                                     |\n| `url`\\*         | The URL from which to load your dependency file.                                                                                                                                                                                                                                                |\n| `globalName`    | The UMD name of your dependency (like `ReactDOM`). If this is not provided, `IsolatedExternalsPlugin` will try to match the `packageName` to one of your [`externals`](https://webpack.js.org/configuration/externals/#externals) entries, and will use the value from that as the `globalName` |\n| \\*              | _required_                                                                                                                                                                                                                                                                                      |\n\nThe external files will be loaded and applied to your context in the order that they're listed, so if you have dependencies that depend on other dependencies (like `ReactDOM` depends on `React`), then you'll want to make sure you list the ones they depend on first.\n\n## How It Works\n\n`IsolatedExternalsPlugin` loads the text of your externals URLs via a shared [Cache](https://developer.mozilla.org/en-US/docs/Web/API/Cache) (or a shared global object if `Cache` is not available), and processes the text on a context object which is singular to your bundle. This allows you to load multiple bundles per page with different versions of a dependency—or with the same version of a dependency separately—without polluting a global scope, and without loading the same dependency over the wire more than once. This keeps bundle sizes down while also providing complete autonomy to any individual JS bundle.\n\n## Why load externals locally instead of globally?\n\nHere are two valid use cases. There may be others, but these are the reason we built this plugin!:\n\n1. You want to load different javascript apps on the same page with different versions of the same dependency (like React).\n2. You want to load more than one javascript app onto the same page with the same dependency, but ignorant of each other and the global context (like in micro frontends). This allows each app to be small in byte size, and allows the overall page to never load the same dependency more than once.\n\n## Contributing\n\nThis package uses `semantic-release`. Changes will be compiled into a changelog and the package versioned, tagged and published automatically.\nPlease ensure your commit messages adhere to the following structure:\n\n```\n<type>: <subject>\n<BLANK LINE>\n<body>\n```\n\nOnly the header is mandatory. The supported types are based off of the [ESLint Convention](https://github.com/conventional-changelog/conventional-changelog/tree/35e279d40603b0969c6d622514f5c0984c5bf309/packages/conventional-changelog-eslint).\n","gitHead":"353dfd53d3084ae5764221b8da49b53477415d8f","scripts":{"lint":"eslint --ext .js,.jsx,.ts,.tsx ./src","test":"npm run lint && npm run build && jest","build":"tsc && cd src/util && tsc","prepare":"husky install","pre-commit":"lint-staged","startExamples":"npm run build && webpack-dev-server --config ./example-app/webpack.config.js","prepublishOnly":"npm run build"},"_npmUser":{"name":"stevematney","email":"steve.matney@gmail.com"},"repository":{"url":"git+https://github.com/WTW-IM/isolated-externals-plugin.git","type":"git"},"_npmVersion":"8.19.3","description":"[![Build Status](https://travis-ci.com/WTW-IM/isolated-externals-plugin.svg?branch=master)](https://travis-ci.com/github/WTW-IM/isolated-externals-plugin) [![npm version](https://badge.fury.io/js/isolated-externals-plugin.svg)](https://badge.fury.io/js/is","directories":{},"lint-staged":{"*.md":["prettier --write --parser markdown"],"src/**/*.(j|t)s?(x)":["prettier --write","eslint --fix"]},"_nodeVersion":"18.12.1","dependencies":{"schema-utils":"^4.0.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"ajv":"^8.11.2","jest":"^29.3.1","husky":"^6.0.0","react":"^17.0.1","eslint":"^7.19.0","webpack":"^5.75.0","prettier":"2.2.1","react-dom":"^17.0.1","@babel/cli":"^7.19.3","typescript":"^4.9.3","@types/jest":"^29.2.3","lint-staged":"^10.5.4","webpack-cli":"^5.0.0","babel-loader":"^9.1.0","@types/webpack":"^5.28.0","@commitlint/cli":"^11.0.0","semantic-release":"^19.0.5","@babel/preset-env":"^7.12.13","webpack-dev-server":"^4.11.1","@babel/preset-react":"^7.18.6","@types/randomstring":"^1.1.8","eslint-plugin-react":"^7.22.0","html-webpack-plugin":"^5.5.0","@babel/eslint-parser":"^7.19.1","@semantic-release/git":"^10.0.1","eslint-config-prettier":"^7.2.0","@babel/preset-typescript":"^7.12.13","@typescript-eslint/parser":"^4.14.2","@semantic-release/changelog":"^6.0.1","conventional-changelog-eslint":"^3.0.9","@commitlint/config-conventional":"^11.0.0","@typescript-eslint/eslint-plugin":"^4.14.2"},"peerDependencies":{"webpack":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/isolated-externals-plugin_2.0.0-webpack-5-integration-8db7536.3_1670431367498_0.4068403811551311","host":"s3://npm-registry-packages"}},"2.0.0":{"name":"isolated-externals-plugin","version":"2.0.0","keywords":["Web Components","webpack","webpack4","webpack-plugin","isolated","externals","embedded"],"author":{"name":"Steve Matney"},"license":"ISC","_id":"isolated-externals-plugin@2.0.0","maintainers":[{"name":"jrios","email":"jacobrios@fastmail.com"},{"name":"darrken","email":"ken.james.adams+npm@gmail.com"},{"name":"aabenoja","email":"abenojaalex@gmail.com"},{"name":"stevematney","email":"steve.matney@gmail.com"}],"homepage":"https://github.com/WTW-IM/isolated-externals-plugin#readme","bugs":{"url":"https://github.com/WTW-IM/isolated-externals-plugin/issues"},"dist":{"shasum":"22dc976d010750f44e7a9c2c8f8028bc19b0ef86","tarball":"https://registry.npmjs.org/isolated-externals-plugin/-/isolated-externals-plugin-2.0.0.tgz","fileCount":18,"integrity":"sha512-c9zxKh32wcw9jmPV1Ll5OEfimPlDGolkW6bRRYXR09ijXIY1s59SGzJavHdFi0ppSDYOCRMimv9HMAjxvOoyKw==","signatures":[{"sig":"MEQCIEbTcofEQKRkYfbNF4H7UXSOwdhhDUzjUouDB8VA6rWLAiBHOKd94jg4uAdTXruCcV2L9ihpDYjU+tlWzsrh4qk74w==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":48884,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjkmelACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrwyQ/+Nr7Fh19NfqzlyFGmDte6r89Kqv1I0cGxOCybs/AgF9KGSZYb\r\npIuuWmXF9DI+aZVfIxGFtflfMRitQbTfAmUtyxVs6wNjrbSGaMCiZ+TUqwPS\r\nVEnrW11taZyhkd0Crre/qvJ21Ny4yKU/N9FCua0jhdCAFNEfgYTdHK05jrb/\r\nWFIkdmz4sh5bqaWAqeaW5OpjrKBrBeesyRrXRxRhy+XXb2moK++zdD4TZsUm\r\nJ4yl42Eqh7XRUkh3YZ2sfEPObEq1bMi9Mn/OJuJKZZ7G1RkWsera3xqV6n2p\r\nBX4KpB4mqGQINE0sEzpQksKAPXAR3yiYGhYoVwAlpYWbJfDwZXMQCkCrb9Sq\r\nwIbM2OBvdXUjDIgKRQU1+3bVRltLcbhuO29AWRvGud8nXrpgma/a0XnDwaWc\r\ntj2OwAh0HC2ch+q0+0ayhHWhRZ9EhtQJaKGgJ5uT/Y9V8ZoNY484wGHyq54S\r\nUY/D5EaV6gqzYLcCr9kp/9PVPOeRaH/sW5HHI6VZHzlY2qQ8QScpcR27HWP2\r\n//1eh1W3mgnoifX9VPDSPf+pQs1Ez3KWsUQqHP7o/HlDJL0XPtOZQF2r2J15\r\nX7roGpC0PEVtLLLVeyE+Vh/MCUSaKE4XLIBY9mLeblyc7CeRYxmTiHjDXpKC\r\n20m9L2YBTaa6mPiNYCbuX6TCq6k1BnoTABk=\r\n=vuxy\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"6a6c10bb5c6b712abd320e1813e94e593e4a98e0","scripts":{"lint":"eslint --ext .js,.jsx,.ts,.tsx ./src","test":"npm run lint && npm run build && jest","build":"tsc && cd src/util && tsc","prepare":"husky install","pre-commit":"lint-staged","startExamples":"npm run build && webpack-dev-server --config ./example-app/webpack.config.js","prepublishOnly":"npm run build"},"_npmUser":{"name":"stevematney","email":"steve.matney@gmail.com"},"repository":{"url":"git+https://github.com/WTW-IM/isolated-externals-plugin.git","type":"git"},"_npmVersion":"8.19.3","description":"[![Build Status](https://travis-ci.com/WTW-IM/isolated-externals-plugin.svg?branch=master)](https://travis-ci.com/github/WTW-IM/isolated-externals-plugin) [![npm version](https://badge.fury.io/js/isolated-externals-plugin.svg)](https://badge.fury.io/js/is","directories":{},"lint-staged":{"*.md":["prettier --write --parser markdown"],"src/**/*.(j|t)s?(x)":["prettier --write","eslint --fix"]},"_nodeVersion":"18.12.1","dependencies":{"schema-utils":"^4.0.0"},"_hasShrinkwrap":false,"devDependencies":{"ajv":"^8.11.2","jest":"^29.3.1","husky":"^6.0.0","react":"^17.0.1","eslint":"^7.19.0","webpack":"^5.75.0","prettier":"2.2.1","react-dom":"^17.0.1","@babel/cli":"^7.19.3","typescript":"^4.9.3","@types/jest":"^29.2.3","lint-staged":"^10.5.4","webpack-cli":"^5.0.0","babel-loader":"^9.1.0","@types/webpack":"^5.28.0","@commitlint/cli":"^11.0.0","semantic-release":"^19.0.5","@babel/preset-env":"^7.12.13","webpack-dev-server":"^4.11.1","@babel/preset-react":"^7.18.6","@types/randomstring":"^1.1.8","eslint-plugin-react":"^7.22.0","html-webpack-plugin":"^5.5.0","@babel/eslint-parser":"^7.19.1","@semantic-release/git":"^10.0.1","eslint-config-prettier":"^7.2.0","@babel/preset-typescript":"^7.12.13","@typescript-eslint/parser":"^4.14.2","@semantic-release/changelog":"^6.0.1","conventional-changelog-eslint":"^3.0.9","@commitlint/config-conventional":"^11.0.0","@typescript-eslint/eslint-plugin":"^4.14.2"},"peerDependencies":{"webpack":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/isolated-externals-plugin_2.0.0_1670539173482_0.23529777460300227","host":"s3://npm-registry-packages"}},"2.1.0-refactor-externals-271a26a.1":{"name":"isolated-externals-plugin","version":"2.1.0-refactor-externals-271a26a.1","keywords":["Web Components","webpack","webpack4","webpack-plugin","isolated","externals","embedded"],"author":{"name":"Steve Matney"},"license":"ISC","_id":"isolated-externals-plugin@2.1.0-refactor-externals-271a26a.1","maintainers":[{"name":"jrios","email":"jacobrios@fastmail.com"},{"name":"darrken","email":"ken.james.adams+npm@gmail.com"},{"name":"aabenoja","email":"abenojaalex@gmail.com"},{"name":"stevematney","email":"steve.matney@gmail.com"}],"homepage":"https://github.com/WTW-IM/isolated-externals-plugin#readme","bugs":{"url":"https://github.com/WTW-IM/isolated-externals-plugin/issues"},"dist":{"shasum":"b9c458dbd4e2234fd106001878011d4d55876b8a","tarball":"https://registry.npmjs.org/isolated-externals-plugin/-/isolated-externals-plugin-2.1.0-refactor-externals-271a26a.1.tgz","fileCount":18,"integrity":"sha512-VemihxpfHafXbKjJ4EPlVEdI6k3eN89rUE/AQcZ1qveSFIoPnt7FD9QQZM0AXYjAkrrhH5e+bQYu30l/6r8G6A==","signatures":[{"sig":"MEQCID8a3pECT0EeYHyUQCdb0r7Eken9p986AbpdZg315JBdAiBKtSMiR+z/2FtshZbgkdMiKYHiQ4PsQQtjR4szzp6h9g==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":49394,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjuFJ+ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpkTA/7BTj4RI/pVkpwtILuWhacg2oM2wwhcuRl5JDMNsAtop09dIzU\r\nPnbEvH8W/6eFrgqda6EF2n1UUZrISO8jjikQV1y4KFgcgtNY+ySmN86d5+AB\r\nljPBnmO3idqhAicux/mtGlnt4NKSIw/t0VUJnygSVNSCsEILhkxgpX4yWZFj\r\nXIjnVorP4/41pJJ6/MMAnq/VjYCmOxu37YJ5xAtGPCgm8oYUE5MNZw14XlSo\r\nedfmYR1JnshlltOhT7v12/tzEbS9rMabhFKV3fOnXMosEL2z36O06zhMMd4b\r\nrNkL8NBfAIqnqVBmoBQxc9NB5lI+LYcTFS7rHK0Zi/bmy5mu/gpw8qFney81\r\ne++6VUG+AnXoRBIAOHgGEEIADsb7E7jxhim0+/zX/xdjRXcLcjXNlJky/oGi\r\n0XSQXrH63KnvpH3wUhhaCeTtAxfAawoN6z7lIymxxxUB1rUayMmqg82Aw85y\r\nKNAYA6mKDeVFWs/luidokbs927ccexNR1TBdieR6kBtwyJgfTiF4E4yeRHo7\r\nq8cYIcIq+ZPerQZHTwD4IqmrqTChiBX9nCx5ZYEJ5F7jHEkFVJOjlcJIhjqv\r\neMz5NplYxXpFWzeTa+0Rjtg5ksDxIRJr0XqAd0e3FZOU75WNs877vAe8VqE1\r\nap7EGutuaQQ1pzxlZNKQiLjF2l7im7G7pxc=\r\n=t+td\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"# isolated-externals-plugin\n\n[![Build Status](https://travis-ci.com/WTW-IM/isolated-externals-plugin.svg?branch=master)](https://travis-ci.com/github/WTW-IM/isolated-externals-plugin)\n[![npm version](https://badge.fury.io/js/isolated-externals-plugin.svg)](https://badge.fury.io/js/isolated-externals-plugin)\n\n## Installation\n\nTo install, simply run:\n\n```bash\nnpm install --save-dev isolated-externals-plugin\n```\n\n## Usage\n\nThe `IsolatedExternalsPlugin` allows you to load external dependencies inside the scope of your webpack bundle without having to have them in your global scope. If you're curious about why you might want this, there are [some use cases listed below](#why-load-externals-locally-instead-of-globally).\n\nIt's an opinionated plugin in this way:\n\n- The externals set with the `IsolatedExternalsPlugin` utilize [`externalsType.promise`](https://webpack.js.org/configuration/externals/#externalstypepromise), which utilizes `async`/`await` syntax.\n\nThe plugin is built as an ES Module, so you'll need to load it in by using the `default` property:\n\n```javascript\nconst IsolatedExternalsPlugin = require('isolated-externals-plugin').default;\n```\n\nAn `IsolatedExternalsPlugin` configuration might look like the following:\n\n```javascript\nnew IsolatedExternalsPlugin({\n  entry1: {\n    react: {\n      url: 'https://unpkg.com/react@16/umd/react.development.js',\n      globalName: 'React',\n    },\n    ['react-dom']: {\n      url: 'https://unpkg.com/react-dom@16/umd/react-dom.development.js',\n      globalName: 'ReactDOM',\n    },\n  },\n  entry2: {\n    react: {\n      url: 'https://unpkg.com/react@16/umd/react.development.js',\n      globalName: 'React',\n    },\n    ['react-dom']: {\n      url: 'https://unpkg.com/react-dom@16/umd/react-dom.development.js',\n      globalName: 'ReactDOM',\n    },\n  },\n});\n```\n\nEach property of the configuration follows this structure:\n\n```javascript\n[entryName]: {\n  [packageName]: {\n    url: [url],\n    globalName: [globalName]\n  }\n}\n```\n\n| Part            | Description                                                                                                                                                                                                                                                                                     |\n| --------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `entryName`\\*   | The name of one of your webpack [Entry Points](https://webpack.js.org/concepts/entry-points/).                                                                                                                                                                                                  |\n| `packageName`\\* | The name of the import for your externalized dependency (like 'react-dom').                                                                                                                                                                                                                     |\n| `url`\\*         | The URL from which to load your dependency file.                                                                                                                                                                                                                                                |\n| `globalName`    | The UMD name of your dependency (like `ReactDOM`). If this is not provided, `IsolatedExternalsPlugin` will try to match the `packageName` to one of your [`externals`](https://webpack.js.org/configuration/externals/#externals) entries, and will use the value from that as the `globalName` |\n| \\*              | _required_                                                                                                                                                                                                                                                                                      |\n\nThe external files will be loaded and applied to your context in the order that they're listed, so if you have dependencies that depend on other dependencies (like `ReactDOM` depends on `React`), then you'll want to make sure you list the ones they depend on first.\n\n## How It Works\n\n`IsolatedExternalsPlugin` loads the text of your externals URLs via a shared [Cache](https://developer.mozilla.org/en-US/docs/Web/API/Cache) (or a shared global object if `Cache` is not available), and processes the text on a context object which is singular to your bundle. This allows you to load multiple bundles per page with different versions of a dependency—or with the same version of a dependency separately—without polluting a global scope, and without loading the same dependency over the wire more than once. This keeps bundle sizes down while also providing complete autonomy to any individual JS bundle.\n\n## Why load externals locally instead of globally?\n\nHere are two valid use cases. There may be others, but these are the reason we built this plugin!:\n\n1. You want to load different javascript apps on the same page with different versions of the same dependency (like React).\n2. You want to load more than one javascript app onto the same page with the same dependency, but ignorant of each other and the global context (like in micro frontends). This allows each app to be small in byte size, and allows the overall page to never load the same dependency more than once.\n\n## Contributing\n\nThis package uses `semantic-release`. Changes will be compiled into a changelog and the package versioned, tagged and published automatically.\nPlease ensure your commit messages adhere to the following structure:\n\n```\n<type>: <subject>\n<BLANK LINE>\n<body>\n```\n\nOnly the header is mandatory. The supported types are based off of the [ESLint Convention](https://github.com/conventional-changelog/conventional-changelog/tree/35e279d40603b0969c6d622514f5c0984c5bf309/packages/conventional-changelog-eslint).\n","gitHead":"271a26a9563c749b661486bbcb91969fd5f240e5","scripts":{"lint":"eslint --ext .js,.jsx,.ts,.tsx ./src","test":"npm run lint && npm run build && jest","build":"tsc && cd src/util && tsc","prepare":"husky install","pre-commit":"lint-staged","startExamples":"npm run build && webpack-dev-server --config ./example-app/webpack.config.js","prepublishOnly":"npm run build"},"_npmUser":{"name":"stevematney","email":"steve.matney@gmail.com"},"repository":{"url":"git+https://github.com/WTW-IM/isolated-externals-plugin.git","type":"git"},"_npmVersion":"8.19.3","description":"[![Build Status](https://travis-ci.com/WTW-IM/isolated-externals-plugin.svg?branch=master)](https://travis-ci.com/github/WTW-IM/isolated-externals-plugin) [![npm version](https://badge.fury.io/js/isolated-externals-plugin.svg)](https://badge.fury.io/js/is","directories":{},"lint-staged":{"*.md":["prettier --write --parser markdown"],"src/**/*.(j|t)s?(x)":["prettier --write","eslint --fix"]},"_nodeVersion":"18.12.1","dependencies":{"schema-utils":"^4.0.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"ajv":"^8.11.2","jest":"^29.3.1","husky":"^6.0.0","react":"^17.0.1","eslint":"^7.19.0","webpack":"^5.75.0","prettier":"2.2.1","react-dom":"^17.0.1","@babel/cli":"^7.19.3","typescript":"^4.9.3","@types/jest":"^29.2.3","lint-staged":"^10.5.4","webpack-cli":"^5.0.0","babel-loader":"^9.1.0","@types/webpack":"^5.28.0","@commitlint/cli":"^11.0.0","semantic-release":"^19.0.5","@babel/preset-env":"^7.12.13","webpack-dev-server":"^4.11.1","@babel/preset-react":"^7.18.6","@types/randomstring":"^1.1.8","eslint-plugin-react":"^7.22.0","html-webpack-plugin":"^5.5.0","@babel/eslint-parser":"^7.19.1","@semantic-release/git":"^10.0.1","eslint-config-prettier":"^7.2.0","@babel/preset-typescript":"^7.12.13","@typescript-eslint/parser":"^4.14.2","@semantic-release/changelog":"^6.0.1","conventional-changelog-eslint":"^3.0.9","@commitlint/config-conventional":"^11.0.0","@typescript-eslint/eslint-plugin":"^4.14.2"},"peerDependencies":{"webpack":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/isolated-externals-plugin_2.1.0-refactor-externals-271a26a.1_1673024126732_0.7557583083362862","host":"s3://npm-registry-packages"}},"2.1.0-refactor-externals-7654a7b.1":{"name":"isolated-externals-plugin","version":"2.1.0-refactor-externals-7654a7b.1","keywords":["Web Components","webpack","webpack4","webpack-plugin","isolated","externals","embedded"],"author":{"name":"Steve Matney"},"license":"ISC","_id":"isolated-externals-plugin@2.1.0-refactor-externals-7654a7b.1","maintainers":[{"name":"jrios","email":"jacobrios@fastmail.com"},{"name":"darrken","email":"ken.james.adams+npm@gmail.com"},{"name":"aabenoja","email":"abenojaalex@gmail.com"},{"name":"stevematney","email":"steve.matney@gmail.com"}],"homepage":"https://github.com/WTW-IM/isolated-externals-plugin#readme","bugs":{"url":"https://github.com/WTW-IM/isolated-externals-plugin/issues"},"dist":{"shasum":"852af9d9ad9cfe5c76dfd7d4fbcb77ae079aaf15","tarball":"https://registry.npmjs.org/isolated-externals-plugin/-/isolated-externals-plugin-2.1.0-refactor-externals-7654a7b.1.tgz","fileCount":18,"integrity":"sha512-RwnzNMFtnVxF94JZxRIbF25Y4u2exSTRhH93/1qla31G02c03XbFKqbGZIYy0E1rO7BaVQriKT7R2qPERqzOjQ==","signatures":[{"sig":"MEUCIAO/anSWJ0UE6iGUytDKumFtioOebl6EWGEr9CPSJaxCAiEAt6+IHUe0prvL8sGTMiO6vwe9csMfWYtQjbkAaF9YHn4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":49173,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjuGmRACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrmDA//biAnGmJjU7Zc7NZaBPgW0+ItKPqaYg/OMZXz/nXoMcj9jaKq\r\n6gOg9AhxWI2yQ2S94nEvHJv75YfkLbnQMx/eIzKxe2ec+WZksvlXy1IE46EX\r\n7cnGmQ6JSLmE1naF4b4fF750jWJHKjmQYtXeeee6FizTroSBQKb+znl74lg7\r\nClzCct2m/UkzXD2wYbOmQW4mLFX0p/btq3xwqfYPcOucb72l/elEQO14f4Wt\r\nbpbFlIg4dNyB5hixE8GdiLSsJ8PZtx7tROVq1f/NXVr41/cvgIYheJYjw6ms\r\nojQRBFbBKRfk4GWfKtukI+RQffy7GmU2JfxxSIdM427M9X83A/IIBR0zjC9K\r\nC6ysAw1UyOjL4C7qIuQpyT4SpoUrT0MbG2397GQJvfE5Xe6kO2dHRAReLady\r\nQEWclgMtggKYoWKM2QjhS48vaXvcsbBKME4eFBqe4UHyylWKhyQOXENy+5if\r\n96u24yFjp4k4CDexmF+vAVJqGPa504jyL2LFdFM2ZxKmcGdYrK4siZgBtiXQ\r\n68C+o4pSgifHH3Xv13eBX9e7KLGJL0OuSfPGcqRgk06V/nB7mrC8QCtGZdBS\r\nEgyvvZqCzof1u6SvBItmVIp/ZZ/hyt3TUTaIIqmn4H59kch32I/sZEF2TIkv\r\n5Wc7LlEPoH+h2ss/kraw20ywW5m2D0p3GtM=\r\n=AH+z\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"# isolated-externals-plugin\n\n[![Build Status](https://travis-ci.com/WTW-IM/isolated-externals-plugin.svg?branch=master)](https://travis-ci.com/github/WTW-IM/isolated-externals-plugin)\n[![npm version](https://badge.fury.io/js/isolated-externals-plugin.svg)](https://badge.fury.io/js/isolated-externals-plugin)\n\n## Installation\n\nTo install, simply run:\n\n```bash\nnpm install --save-dev isolated-externals-plugin\n```\n\n## Usage\n\nThe `IsolatedExternalsPlugin` allows you to load external dependencies inside the scope of your webpack bundle without having to have them in your global scope. If you're curious about why you might want this, there are [some use cases listed below](#why-load-externals-locally-instead-of-globally).\n\nIt's an opinionated plugin in this way:\n\n- The externals set with the `IsolatedExternalsPlugin` utilize [`externalsType.promise`](https://webpack.js.org/configuration/externals/#externalstypepromise), which utilizes `async`/`await` syntax.\n\nThe plugin is built as an ES Module, so you'll need to load it in by using the `default` property:\n\n```javascript\nconst IsolatedExternalsPlugin = require('isolated-externals-plugin').default;\n```\n\nAn `IsolatedExternalsPlugin` configuration might look like the following:\n\n```javascript\nnew IsolatedExternalsPlugin({\n  entry1: {\n    react: {\n      url: 'https://unpkg.com/react@16/umd/react.development.js',\n      globalName: 'React',\n    },\n    ['react-dom']: {\n      url: 'https://unpkg.com/react-dom@16/umd/react-dom.development.js',\n      globalName: 'ReactDOM',\n    },\n  },\n  entry2: {\n    react: {\n      url: 'https://unpkg.com/react@16/umd/react.development.js',\n      globalName: 'React',\n    },\n    ['react-dom']: {\n      url: 'https://unpkg.com/react-dom@16/umd/react-dom.development.js',\n      globalName: 'ReactDOM',\n    },\n  },\n});\n```\n\nEach property of the configuration follows this structure:\n\n```javascript\n[entryName]: {\n  [packageName]: {\n    url: [url],\n    globalName: [globalName]\n  }\n}\n```\n\n| Part            | Description                                                                                                                                                                                                                                                                                     |\n| --------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `entryName`\\*   | The name of one of your webpack [Entry Points](https://webpack.js.org/concepts/entry-points/).                                                                                                                                                                                                  |\n| `packageName`\\* | The name of the import for your externalized dependency (like 'react-dom').                                                                                                                                                                                                                     |\n| `url`\\*         | The URL from which to load your dependency file.                                                                                                                                                                                                                                                |\n| `globalName`    | The UMD name of your dependency (like `ReactDOM`). If this is not provided, `IsolatedExternalsPlugin` will try to match the `packageName` to one of your [`externals`](https://webpack.js.org/configuration/externals/#externals) entries, and will use the value from that as the `globalName` |\n| \\*              | _required_                                                                                                                                                                                                                                                                                      |\n\nThe external files will be loaded and applied to your context in the order that they're listed, so if you have dependencies that depend on other dependencies (like `ReactDOM` depends on `React`), then you'll want to make sure you list the ones they depend on first.\n\n## How It Works\n\n`IsolatedExternalsPlugin` loads the text of your externals URLs via a shared [Cache](https://developer.mozilla.org/en-US/docs/Web/API/Cache) (or a shared global object if `Cache` is not available), and processes the text on a context object which is singular to your bundle. This allows you to load multiple bundles per page with different versions of a dependency—or with the same version of a dependency separately—without polluting a global scope, and without loading the same dependency over the wire more than once. This keeps bundle sizes down while also providing complete autonomy to any individual JS bundle.\n\n## Why load externals locally instead of globally?\n\nHere are two valid use cases. There may be others, but these are the reason we built this plugin!:\n\n1. You want to load different javascript apps on the same page with different versions of the same dependency (like React).\n2. You want to load more than one javascript app onto the same page with the same dependency, but ignorant of each other and the global context (like in micro frontends). This allows each app to be small in byte size, and allows the overall page to never load the same dependency more than once.\n\n## Contributing\n\nThis package uses `semantic-release`. Changes will be compiled into a changelog and the package versioned, tagged and published automatically.\nPlease ensure your commit messages adhere to the following structure:\n\n```\n<type>: <subject>\n<BLANK LINE>\n<body>\n```\n\nOnly the header is mandatory. The supported types are based off of the [ESLint Convention](https://github.com/conventional-changelog/conventional-changelog/tree/35e279d40603b0969c6d622514f5c0984c5bf309/packages/conventional-changelog-eslint).\n","gitHead":"7654a7b9f3f2e5140b6981d3e8445a1cf1e9257b","scripts":{"lint":"eslint --ext .js,.jsx,.ts,.tsx ./src","test":"npm run lint && npm run build && jest","build":"tsc && cd src/util && tsc","prepare":"husky install","pre-commit":"lint-staged","startExamples":"npm run build && webpack-dev-server --config ./example-app/webpack.config.js","prepublishOnly":"npm run build"},"_npmUser":{"name":"stevematney","email":"steve.matney@gmail.com"},"repository":{"url":"git+https://github.com/WTW-IM/isolated-externals-plugin.git","type":"git"},"_npmVersion":"8.19.3","description":"[![Build Status](https://travis-ci.com/WTW-IM/isolated-externals-plugin.svg?branch=master)](https://travis-ci.com/github/WTW-IM/isolated-externals-plugin) [![npm version](https://badge.fury.io/js/isolated-externals-plugin.svg)](https://badge.fury.io/js/is","directories":{},"lint-staged":{"*.md":["prettier --write --parser markdown"],"src/**/*.(j|t)s?(x)":["prettier --write","eslint --fix"]},"_nodeVersion":"18.12.1","dependencies":{"schema-utils":"^4.0.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"ajv":"^8.11.2","jest":"^29.3.1","husky":"^6.0.0","react":"^17.0.1","eslint":"^7.19.0","webpack":"^5.75.0","prettier":"2.2.1","react-dom":"^17.0.1","@babel/cli":"^7.19.3","typescript":"^4.9.3","@types/jest":"^29.2.3","lint-staged":"^10.5.4","webpack-cli":"^5.0.0","babel-loader":"^9.1.0","@types/webpack":"^5.28.0","@commitlint/cli":"^11.0.0","semantic-release":"^19.0.5","@babel/preset-env":"^7.12.13","webpack-dev-server":"^4.11.1","@babel/preset-react":"^7.18.6","@types/randomstring":"^1.1.8","eslint-plugin-react":"^7.22.0","html-webpack-plugin":"^5.5.0","@babel/eslint-parser":"^7.19.1","@semantic-release/git":"^10.0.1","eslint-config-prettier":"^7.2.0","@babel/preset-typescript":"^7.12.13","@typescript-eslint/parser":"^4.14.2","@semantic-release/changelog":"^6.0.1","conventional-changelog-eslint":"^3.0.9","@commitlint/config-conventional":"^11.0.0","@typescript-eslint/eslint-plugin":"^4.14.2"},"peerDependencies":{"webpack":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/isolated-externals-plugin_2.1.0-refactor-externals-7654a7b.1_1673030033307_0.37198442200750037","host":"s3://npm-registry-packages"}},"2.1.0-refactor-externals-ee5e344.1":{"name":"isolated-externals-plugin","version":"2.1.0-refactor-externals-ee5e344.1","keywords":["Web Components","webpack","webpack4","webpack-plugin","isolated","externals","embedded"],"author":{"name":"Steve Matney"},"license":"ISC","_id":"isolated-externals-plugin@2.1.0-refactor-externals-ee5e344.1","maintainers":[{"name":"jrios","email":"jacobrios@fastmail.com"},{"name":"darrken","email":"ken.james.adams+npm@gmail.com"},{"name":"aabenoja","email":"abenojaalex@gmail.com"},{"name":"stevematney","email":"steve.matney@gmail.com"}],"homepage":"https://github.com/WTW-IM/isolated-externals-plugin#readme","bugs":{"url":"https://github.com/WTW-IM/isolated-externals-plugin/issues"},"dist":{"shasum":"a1d8029cb87fe4515aed06147d9b1deb291e1a7a","tarball":"https://registry.npmjs.org/isolated-externals-plugin/-/isolated-externals-plugin-2.1.0-refactor-externals-ee5e344.1.tgz","fileCount":18,"integrity":"sha512-5pu8aEH9uYEY/8PGYeOA0/EQC7fBAlQeaQGGtMpVOVGxHw+vCfrVjLY0oNm9j/eSgO4dxwfPPKbr6mLEhBBhpA==","signatures":[{"sig":"MEYCIQDxRfiBXvkSotcE0edj/DFuyAuHfTLr1AoUi2CpkCAJ/QIhAP6sCfPcwwR/TteHSOL9S5OVMqIiYeLAhHTKLrRPqwu1","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":49315,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjuMZIACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqCgA//crfa7jILVN1wHhkMzdFJY2pkso+ARTCCgCJVUYAOr7qKMxlz\r\nDB8AaecRT0k6wDioThqrqgif97/Q8nfHGxSoU3/csrkHVuQPyIZPnZgxsGAl\r\nxm5K8vAOuLUismRPuHsZqjP6IcI41ptlHuZs6s22nkqQ7c+3hNnkZXO3eaQe\r\nQXEJUZISs8/09ocKo7d+BNAtGebFHYhs8IDWhKA7QumyJ2DXMBBeeAFlCj4U\r\n53te/WuMXkePYgOhBwSdjhg2dv9/LxFMD6ZEHvraOstmXF3t761dfT5X655D\r\nAKY85LaZ4D6R864wKC9uKFPAskh6n3p9pWXTWWBZtL9V8a1K/y141cP+BxVp\r\nKCCr8DEGpzeUHjI5SSBJ2v0sy5Z2dtpeRHJYy4YzUd/ctPmieRhd0RuiiR3D\r\nOFkaY+C42vDQz1YDgn1VV/K50yzGCbNDEaRdQ+RbL191E/SIXc1XGxBnBuf1\r\n4TgfWHtxNQefI76og1tIMZLWqufpCaDXgBBBZ8m8Am0HonmgkvOkVF8N+Y9+\r\n2Z8jFvEIoqZSSx2fNpcWiHvMgYl5AXd0iR8/ktF8D/OJmtBfgcHcGCs7lJ37\r\n1226Dq4fdUOVREOEj30dEdRlUOJbNakljlSJm+GJjOyRAOf0Ofyn7grzxUDR\r\ntKW8vCKZFxa9swcQvmdEimYvfXR2VkxiSpU=\r\n=Ar9F\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"# isolated-externals-plugin\n\n[![Build Status](https://travis-ci.com/WTW-IM/isolated-externals-plugin.svg?branch=master)](https://travis-ci.com/github/WTW-IM/isolated-externals-plugin)\n[![npm version](https://badge.fury.io/js/isolated-externals-plugin.svg)](https://badge.fury.io/js/isolated-externals-plugin)\n\n## Installation\n\nTo install, simply run:\n\n```bash\nnpm install --save-dev isolated-externals-plugin\n```\n\n## Usage\n\nThe `IsolatedExternalsPlugin` allows you to load external dependencies inside the scope of your webpack bundle without having to have them in your global scope. If you're curious about why you might want this, there are [some use cases listed below](#why-load-externals-locally-instead-of-globally).\n\nIt's an opinionated plugin in this way:\n\n- The externals set with the `IsolatedExternalsPlugin` utilize [`externalsType.promise`](https://webpack.js.org/configuration/externals/#externalstypepromise), which utilizes `async`/`await` syntax.\n\nThe plugin is built as an ES Module, so you'll need to load it in by using the `default` property:\n\n```javascript\nconst IsolatedExternalsPlugin = require('isolated-externals-plugin').default;\n```\n\nAn `IsolatedExternalsPlugin` configuration might look like the following:\n\n```javascript\nnew IsolatedExternalsPlugin({\n  entry1: {\n    react: {\n      url: 'https://unpkg.com/react@16/umd/react.development.js',\n      globalName: 'React',\n    },\n    ['react-dom']: {\n      url: 'https://unpkg.com/react-dom@16/umd/react-dom.development.js',\n      globalName: 'ReactDOM',\n    },\n  },\n  entry2: {\n    react: {\n      url: 'https://unpkg.com/react@16/umd/react.development.js',\n      globalName: 'React',\n    },\n    ['react-dom']: {\n      url: 'https://unpkg.com/react-dom@16/umd/react-dom.development.js',\n      globalName: 'ReactDOM',\n    },\n  },\n});\n```\n\nEach property of the configuration follows this structure:\n\n```javascript\n[entryName]: {\n  [packageName]: {\n    url: [url],\n    globalName: [globalName]\n  }\n}\n```\n\n| Part            | Description                                                                                                                                                                                                                                                                                     |\n| --------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `entryName`\\*   | The name of one of your webpack [Entry Points](https://webpack.js.org/concepts/entry-points/).                                                                                                                                                                                                  |\n| `packageName`\\* | The name of the import for your externalized dependency (like 'react-dom').                                                                                                                                                                                                                     |\n| `url`\\*         | The URL from which to load your dependency file.                                                                                                                                                                                                                                                |\n| `globalName`    | The UMD name of your dependency (like `ReactDOM`). If this is not provided, `IsolatedExternalsPlugin` will try to match the `packageName` to one of your [`externals`](https://webpack.js.org/configuration/externals/#externals) entries, and will use the value from that as the `globalName` |\n| \\*              | _required_                                                                                                                                                                                                                                                                                      |\n\nThe external files will be loaded and applied to your context in the order that they're listed, so if you have dependencies that depend on other dependencies (like `ReactDOM` depends on `React`), then you'll want to make sure you list the ones they depend on first.\n\n## How It Works\n\n`IsolatedExternalsPlugin` loads the text of your externals URLs via a shared [Cache](https://developer.mozilla.org/en-US/docs/Web/API/Cache) (or a shared global object if `Cache` is not available), and processes the text on a context object which is singular to your bundle. This allows you to load multiple bundles per page with different versions of a dependency—or with the same version of a dependency separately—without polluting a global scope, and without loading the same dependency over the wire more than once. This keeps bundle sizes down while also providing complete autonomy to any individual JS bundle.\n\n## Why load externals locally instead of globally?\n\nHere are two valid use cases. There may be others, but these are the reason we built this plugin!:\n\n1. You want to load different javascript apps on the same page with different versions of the same dependency (like React).\n2. You want to load more than one javascript app onto the same page with the same dependency, but ignorant of each other and the global context (like in micro frontends). This allows each app to be small in byte size, and allows the overall page to never load the same dependency more than once.\n\n## Contributing\n\nThis package uses `semantic-release`. Changes will be compiled into a changelog and the package versioned, tagged and published automatically.\nPlease ensure your commit messages adhere to the following structure:\n\n```\n<type>: <subject>\n<BLANK LINE>\n<body>\n```\n\nOnly the header is mandatory. The supported types are based off of the [ESLint Convention](https://github.com/conventional-changelog/conventional-changelog/tree/35e279d40603b0969c6d622514f5c0984c5bf309/packages/conventional-changelog-eslint).\n","gitHead":"ee5e344ab2400c07d7b0dc8b1e2907c9a13a9102","scripts":{"lint":"eslint --ext .js,.jsx,.ts,.tsx ./src","test":"npm run lint && npm run build && jest","build":"tsc && cd src/util && tsc","prepare":"husky install","pre-commit":"lint-staged","startExamples":"npm run build && webpack-dev-server --config ./example-app/webpack.config.js","prepublishOnly":"npm run build"},"_npmUser":{"name":"stevematney","email":"steve.matney@gmail.com"},"repository":{"url":"git+https://github.com/WTW-IM/isolated-externals-plugin.git","type":"git"},"_npmVersion":"8.19.3","description":"[![Build Status](https://travis-ci.com/WTW-IM/isolated-externals-plugin.svg?branch=master)](https://travis-ci.com/github/WTW-IM/isolated-externals-plugin) [![npm version](https://badge.fury.io/js/isolated-externals-plugin.svg)](https://badge.fury.io/js/is","directories":{},"lint-staged":{"*.md":["prettier --write --parser markdown"],"src/**/*.(j|t)s?(x)":["prettier --write","eslint --fix"]},"_nodeVersion":"18.12.1","dependencies":{"schema-utils":"^4.0.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"ajv":"^8.11.2","jest":"^29.3.1","husky":"^6.0.0","react":"^17.0.1","eslint":"^7.19.0","webpack":"^5.75.0","prettier":"2.2.1","react-dom":"^17.0.1","@babel/cli":"^7.19.3","typescript":"^4.9.3","@types/jest":"^29.2.3","lint-staged":"^10.5.4","webpack-cli":"^5.0.0","babel-loader":"^9.1.0","@types/webpack":"^5.28.0","@commitlint/cli":"^11.0.0","semantic-release":"^19.0.5","@babel/preset-env":"^7.12.13","webpack-dev-server":"^4.11.1","@babel/preset-react":"^7.18.6","@types/randomstring":"^1.1.8","eslint-plugin-react":"^7.22.0","html-webpack-plugin":"^5.5.0","@babel/eslint-parser":"^7.19.1","@semantic-release/git":"^10.0.1","eslint-config-prettier":"^7.2.0","@babel/preset-typescript":"^7.12.13","@typescript-eslint/parser":"^4.14.2","@semantic-release/changelog":"^6.0.1","conventional-changelog-eslint":"^3.0.9","@commitlint/config-conventional":"^11.0.0","@typescript-eslint/eslint-plugin":"^4.14.2"},"peerDependencies":{"webpack":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/isolated-externals-plugin_2.1.0-refactor-externals-ee5e344.1_1673053767839_0.8207981243670095","host":"s3://npm-registry-packages"}},"2.1.0-refactor-externals-ee5e344.2":{"name":"isolated-externals-plugin","version":"2.1.0-refactor-externals-ee5e344.2","keywords":["Web Components","webpack","webpack4","webpack-plugin","isolated","externals","embedded"],"author":{"name":"Steve Matney"},"license":"ISC","_id":"isolated-externals-plugin@2.1.0-refactor-externals-ee5e344.2","maintainers":[{"name":"jrios","email":"jacobrios@fastmail.com"},{"name":"darrken","email":"ken.james.adams+npm@gmail.com"},{"name":"aabenoja","email":"abenojaalex@gmail.com"},{"name":"stevematney","email":"steve.matney@gmail.com"}],"homepage":"https://github.com/WTW-IM/isolated-externals-plugin#readme","bugs":{"url":"https://github.com/WTW-IM/isolated-externals-plugin/issues"},"dist":{"shasum":"ad2389a788414adfae082757145049d4abdf010f","tarball":"https://registry.npmjs.org/isolated-externals-plugin/-/isolated-externals-plugin-2.1.0-refactor-externals-ee5e344.2.tgz","fileCount":18,"integrity":"sha512-UljhkzVv3sPU9cQuPs+3o03ciMTtrGlId3qJM1pu0UZmKJXLHKGOcPRk94YcvTHGz2fUds0a1Tc0F9HHSAXu9w==","signatures":[{"sig":"MEYCIQCTdj/+1RaV6uUbV9VwqY9AudXJeKxVJX97Q+6hYiQv5gIhANpfoWrXfkw4uOdShOVc6NNH8/BSF16c6y5ghKgcewCg","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":51728,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjucyDACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmrixg/9GWm7LCyMD516LNY29fnmCMVIvWNHZpkXibRdHbsoc1NrGLxW\r\n2skA+5fyTOsDNv18jGkxqN4FtPr8f4v3nf+Y8XTcNjJpxOk8gSni0sJEIWX1\r\nWwExxMZm0DEzbIjI9OK2fzmz1z0FJ+3DiDaWpMWVqBqEvfUXky0GwvUGJgwY\r\nvsaFyxYU/FSDS+LwM6f31xnBuz25INtPQvjofmUNg4V/QqHMxLEu1B0HqSdZ\r\nOxqkxg4WL/ybDfNayCvrlLkosuACJOAca1KCk/OIBPsMQwG1hzu9h3liC5Tb\r\nu3HJNlAZdZNUC2hM0IQLsw5CVMw5XKKFvPRv7sOMheUQOUKI1rN6fHZJXqh/\r\nqJ/jnC5v+qsAfBjO8RhIHJcVo8W6xu/K8tf9EcKM41aUDcFuwznKUWg2O+CQ\r\nErV606OFV3cDp1Pk9Z2POsDP9GDj0exF2JXeLHV8qjTkw11dg5F8eqBNXG6j\r\nboxiO6jArDuP9Fu60RTcbfr6chEkZjVnNabszK4+YeES7qi+7yxv4VH1jDz6\r\ncJvJdbDfozGqKcXpIilb2IYNI1gh7w9Cf4Uc5AtQf8RoqbGqMpcLyJovnL6r\r\nmz9nmuKcaBovz/tG7Pfr0pirzFpZoYtgUOFxTjZLyoNj6YtXriT5Vs2wTXfl\r\nMaKo+WPpdjkNu0xHUobKjTdo8OpKg3Vnpvc=\r\n=22ui\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"# isolated-externals-plugin\n\n[![Build Status](https://travis-ci.com/WTW-IM/isolated-externals-plugin.svg?branch=master)](https://travis-ci.com/github/WTW-IM/isolated-externals-plugin)\n[![npm version](https://badge.fury.io/js/isolated-externals-plugin.svg)](https://badge.fury.io/js/isolated-externals-plugin)\n\n## Installation\n\nTo install, simply run:\n\n```bash\nnpm install --save-dev isolated-externals-plugin\n```\n\n## Usage\n\nThe `IsolatedExternalsPlugin` allows you to load external dependencies inside the scope of your webpack bundle without having to have them in your global scope. If you're curious about why you might want this, there are [some use cases listed below](#why-load-externals-locally-instead-of-globally).\n\nIt's an opinionated plugin in this way:\n\n- The externals set with the `IsolatedExternalsPlugin` utilize [`externalsType.promise`](https://webpack.js.org/configuration/externals/#externalstypepromise), which utilizes `async`/`await` syntax.\n\nThe plugin is built as an ES Module, so you'll need to load it in by using the `default` property:\n\n```javascript\nconst IsolatedExternalsPlugin = require('isolated-externals-plugin').default;\n```\n\nAn `IsolatedExternalsPlugin` configuration might look like the following:\n\n```javascript\nnew IsolatedExternalsPlugin({\n  entry1: {\n    react: {\n      url: 'https://unpkg.com/react@16/umd/react.development.js',\n      globalName: 'React',\n    },\n    ['react-dom']: {\n      url: 'https://unpkg.com/react-dom@16/umd/react-dom.development.js',\n      globalName: 'ReactDOM',\n    },\n  },\n  entry2: {\n    react: {\n      url: 'https://unpkg.com/react@16/umd/react.development.js',\n      globalName: 'React',\n    },\n    ['react-dom']: {\n      url: 'https://unpkg.com/react-dom@16/umd/react-dom.development.js',\n      globalName: 'ReactDOM',\n    },\n  },\n});\n```\n\nEach property of the configuration follows this structure:\n\n```javascript\n[entryName]: {\n  [packageName]: {\n    url: [url],\n    globalName: [globalName]\n  }\n}\n```\n\n| Part            | Description                                                                                                                                                                                                                                                                                     |\n| --------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `entryName`\\*   | The name of one of your webpack [Entry Points](https://webpack.js.org/concepts/entry-points/).                                                                                                                                                                                                  |\n| `packageName`\\* | The name of the import for your externalized dependency (like 'react-dom').                                                                                                                                                                                                                     |\n| `url`\\*         | The URL from which to load your dependency file.                                                                                                                                                                                                                                                |\n| `globalName`    | The UMD name of your dependency (like `ReactDOM`). If this is not provided, `IsolatedExternalsPlugin` will try to match the `packageName` to one of your [`externals`](https://webpack.js.org/configuration/externals/#externals) entries, and will use the value from that as the `globalName` |\n| \\*              | _required_                                                                                                                                                                                                                                                                                      |\n\nThe external files will be loaded and applied to your context in the order that they're listed, so if you have dependencies that depend on other dependencies (like `ReactDOM` depends on `React`), then you'll want to make sure you list the ones they depend on first.\n\n## How It Works\n\n`IsolatedExternalsPlugin` loads the text of your externals URLs via a shared [Cache](https://developer.mozilla.org/en-US/docs/Web/API/Cache) (or a shared global object if `Cache` is not available), and processes the text on a context object which is singular to your bundle. This allows you to load multiple bundles per page with different versions of a dependency—or with the same version of a dependency separately—without polluting a global scope, and without loading the same dependency over the wire more than once. This keeps bundle sizes down while also providing complete autonomy to any individual JS bundle.\n\n## Why load externals locally instead of globally?\n\nHere are two valid use cases. There may be others, but these are the reason we built this plugin!:\n\n1. You want to load different javascript apps on the same page with different versions of the same dependency (like React).\n2. You want to load more than one javascript app onto the same page with the same dependency, but ignorant of each other and the global context (like in micro frontends). This allows each app to be small in byte size, and allows the overall page to never load the same dependency more than once.\n\n## Contributing\n\nThis package uses `semantic-release`. Changes will be compiled into a changelog and the package versioned, tagged and published automatically.\nPlease ensure your commit messages adhere to the following structure:\n\n```\n<type>: <subject>\n<BLANK LINE>\n<body>\n```\n\nOnly the header is mandatory. The supported types are based off of the [ESLint Convention](https://github.com/conventional-changelog/conventional-changelog/tree/35e279d40603b0969c6d622514f5c0984c5bf309/packages/conventional-changelog-eslint).\n","gitHead":"caeeca5b5111fd75ded3e8b60e21b414b723951d","scripts":{"lint":"eslint --ext .js,.jsx,.ts,.tsx ./src","test":"npm run lint && npm run build && jest","build":"tsc && cd src/util && tsc","prepare":"husky install","pre-commit":"lint-staged","startExamples":"npm run build && webpack-dev-server --config ./example-app/webpack.config.js","prepublishOnly":"npm run build"},"_npmUser":{"name":"stevematney","email":"steve.matney@gmail.com"},"repository":{"url":"git+https://github.com/WTW-IM/isolated-externals-plugin.git","type":"git"},"_npmVersion":"8.19.3","description":"[![Build Status](https://travis-ci.com/WTW-IM/isolated-externals-plugin.svg?branch=master)](https://travis-ci.com/github/WTW-IM/isolated-externals-plugin) [![npm version](https://badge.fury.io/js/isolated-externals-plugin.svg)](https://badge.fury.io/js/is","directories":{},"lint-staged":{"*.md":["prettier --write --parser markdown"],"src/**/*.(j|t)s?(x)":["prettier --write","eslint --fix"]},"_nodeVersion":"18.12.1","dependencies":{"schema-utils":"^4.0.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"ajv":"^8.11.2","jest":"^29.3.1","husky":"^6.0.0","react":"^17.0.1","eslint":"^7.19.0","webpack":"^5.75.0","prettier":"2.2.1","react-dom":"^17.0.1","@babel/cli":"^7.19.3","typescript":"^4.9.3","@types/jest":"^29.2.3","lint-staged":"^10.5.4","webpack-cli":"^5.0.0","babel-loader":"^9.1.0","@types/webpack":"^5.28.0","@commitlint/cli":"^11.0.0","semantic-release":"^19.0.5","@babel/preset-env":"^7.12.13","webpack-dev-server":"^4.11.1","@babel/preset-react":"^7.18.6","@types/randomstring":"^1.1.8","eslint-plugin-react":"^7.22.0","html-webpack-plugin":"^5.5.0","@babel/eslint-parser":"^7.19.1","@semantic-release/git":"^10.0.1","eslint-config-prettier":"^7.2.0","@babel/preset-typescript":"^7.12.13","@typescript-eslint/parser":"^4.14.2","@semantic-release/changelog":"^6.0.1","conventional-changelog-eslint":"^3.0.9","@commitlint/config-conventional":"^11.0.0","@typescript-eslint/eslint-plugin":"^4.14.2"},"peerDependencies":{"webpack":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/isolated-externals-plugin_2.1.0-refactor-externals-ee5e344.2_1673120898963_0.5995119734722558","host":"s3://npm-registry-packages"}},"2.1.0-refactor-externals-ee5e344.3":{"name":"isolated-externals-plugin","version":"2.1.0-refactor-externals-ee5e344.3","keywords":["Web Components","webpack","webpack4","webpack-plugin","isolated","externals","embedded"],"author":{"name":"Steve Matney"},"license":"ISC","_id":"isolated-externals-plugin@2.1.0-refactor-externals-ee5e344.3","maintainers":[{"name":"jrios","email":"jacobrios@fastmail.com"},{"name":"darrken","email":"ken.james.adams+npm@gmail.com"},{"name":"aabenoja","email":"abenojaalex@gmail.com"},{"name":"stevematney","email":"steve.matney@gmail.com"}],"homepage":"https://github.com/WTW-IM/isolated-externals-plugin#readme","bugs":{"url":"https://github.com/WTW-IM/isolated-externals-plugin/issues"},"dist":{"shasum":"5bfd2ab213c3c85e011f223032995ce0368f98fb","tarball":"https://registry.npmjs.org/isolated-externals-plugin/-/isolated-externals-plugin-2.1.0-refactor-externals-ee5e344.3.tgz","fileCount":18,"integrity":"sha512-mOm71XnAL0zILCzJybVDMmYKorIB295CD4JVA2zntSQKCDIxlnpiTcDLodTk2AH+wvoJ620J3NfmxjqswrnccQ==","signatures":[{"sig":"MEUCIB2LSRl5UmSFQnitq4qfQmArX/w/eBkANh+dcH3mZplbAiEAgOgOxt1vQP4cESpQJ0qeME+mb6fv38CToZiHa4ae9ns=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":52131,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjui1AACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq3Jg/7BDHftugNemJU0SyJ0k+wgcetrsaLCKT8H9UdLdxI7ZKwnSqS\r\nOWS+FfNO9jAj03XTzb/y4J/vy/5wbrCDaFmoxCC2gDAJ7vlqwE5KTjH4VnRs\r\nsEteRGZ5p/yZ2Nc7hPVV2K8pphUBhexxMYwscliG3Ov4IZpmQfwSx3M1GyjQ\r\n9+C2cJfDguZ+9Wbq5cjKmHs+OkDvrWlzomb8rt/BaRqLixtW8dABRp5PXKll\r\nKnOyDbpsEvbSVmfyCT8wmKyzBc7JbZ3AVs9P8AhKFBSaRcja1V+RbYcJEmKZ\r\ntQzTAlQjugE3nD9fZSno5gvQ7MiUnhnTQ51cDj69iKuz7VVXjYyGWoMtl+qU\r\nxHnjK8nB4ntZX8fyFScHiAQH81ywmjuLBP2o99dwFkg3muZzAaQiBMH7qjr9\r\nqYRO/DX0MnZdpB6p0A3HbhN/zvyTKKn0pA3e/dr4RUasgwTKC8dTNdXiue+R\r\nnbZ7SdEjbNAo4x0vK8Oo4hXovgFEp1Kqq1zeQ9MAxkB6OrXSvkotVS7fLfxn\r\nDBHqxy3xl4RcOJTO6FG/legxLJL4HDHoGWWZbmXQN2wMUyCso7kx1eFbJ0IU\r\n0WQQ7jjSzQCBToRsI2EfToOGGIfdUyleMrvYJCw2MLcRHVBkFNKviYf0E8yU\r\nujw32EZnKOcTWCCPZb0scnzICH9aRJFrpQY=\r\n=G7dX\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"# isolated-externals-plugin\n\n[![Build Status](https://travis-ci.com/WTW-IM/isolated-externals-plugin.svg?branch=master)](https://travis-ci.com/github/WTW-IM/isolated-externals-plugin)\n[![npm version](https://badge.fury.io/js/isolated-externals-plugin.svg)](https://badge.fury.io/js/isolated-externals-plugin)\n\n## Installation\n\nTo install, simply run:\n\n```bash\nnpm install --save-dev isolated-externals-plugin\n```\n\n## Usage\n\nThe `IsolatedExternalsPlugin` allows you to load external dependencies inside the scope of your webpack bundle without having to have them in your global scope. If you're curious about why you might want this, there are [some use cases listed below](#why-load-externals-locally-instead-of-globally).\n\nIt's an opinionated plugin in this way:\n\n- The externals set with the `IsolatedExternalsPlugin` utilize [`externalsType.promise`](https://webpack.js.org/configuration/externals/#externalstypepromise), which utilizes `async`/`await` syntax.\n\nThe plugin is built as an ES Module, so you'll need to load it in by using the `default` property:\n\n```javascript\nconst IsolatedExternalsPlugin = require('isolated-externals-plugin').default;\n```\n\nAn `IsolatedExternalsPlugin` configuration might look like the following:\n\n```javascript\nnew IsolatedExternalsPlugin({\n  entry1: {\n    react: {\n      url: 'https://unpkg.com/react@16/umd/react.development.js',\n      globalName: 'React',\n    },\n    ['react-dom']: {\n      url: 'https://unpkg.com/react-dom@16/umd/react-dom.development.js',\n      globalName: 'ReactDOM',\n    },\n  },\n  entry2: {\n    react: {\n      url: 'https://unpkg.com/react@16/umd/react.development.js',\n      globalName: 'React',\n    },\n    ['react-dom']: {\n      url: 'https://unpkg.com/react-dom@16/umd/react-dom.development.js',\n      globalName: 'ReactDOM',\n    },\n  },\n});\n```\n\nEach property of the configuration follows this structure:\n\n```javascript\n[entryName]: {\n  [packageName]: {\n    url: [url],\n    globalName: [globalName]\n  }\n}\n```\n\n| Part            | Description                                                                                                                                                                                                                                                                                     |\n| --------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `entryName`\\*   | The name of one of your webpack [Entry Points](https://webpack.js.org/concepts/entry-points/).                                                                                                                                                                                                  |\n| `packageName`\\* | The name of the import for your externalized dependency (like 'react-dom').                                                                                                                                                                                                                     |\n| `url`\\*         | The URL from which to load your dependency file.                                                                                                                                                                                                                                                |\n| `globalName`    | The UMD name of your dependency (like `ReactDOM`). If this is not provided, `IsolatedExternalsPlugin` will try to match the `packageName` to one of your [`externals`](https://webpack.js.org/configuration/externals/#externals) entries, and will use the value from that as the `globalName` |\n| \\*              | _required_                                                                                                                                                                                                                                                                                      |\n\nThe external files will be loaded and applied to your context in the order that they're listed, so if you have dependencies that depend on other dependencies (like `ReactDOM` depends on `React`), then you'll want to make sure you list the ones they depend on first.\n\n## How It Works\n\n`IsolatedExternalsPlugin` loads the text of your externals URLs via a shared [Cache](https://developer.mozilla.org/en-US/docs/Web/API/Cache) (or a shared global object if `Cache` is not available), and processes the text on a context object which is singular to your bundle. This allows you to load multiple bundles per page with different versions of a dependency—or with the same version of a dependency separately—without polluting a global scope, and without loading the same dependency over the wire more than once. This keeps bundle sizes down while also providing complete autonomy to any individual JS bundle.\n\n## Why load externals locally instead of globally?\n\nHere are two valid use cases. There may be others, but these are the reason we built this plugin!:\n\n1. You want to load different javascript apps on the same page with different versions of the same dependency (like React).\n2. You want to load more than one javascript app onto the same page with the same dependency, but ignorant of each other and the global context (like in micro frontends). This allows each app to be small in byte size, and allows the overall page to never load the same dependency more than once.\n\n## Contributing\n\nThis package uses `semantic-release`. Changes will be compiled into a changelog and the package versioned, tagged and published automatically.\nPlease ensure your commit messages adhere to the following structure:\n\n```\n<type>: <subject>\n<BLANK LINE>\n<body>\n```\n\nOnly the header is mandatory. The supported types are based off of the [ESLint Convention](https://github.com/conventional-changelog/conventional-changelog/tree/35e279d40603b0969c6d622514f5c0984c5bf309/packages/conventional-changelog-eslint).\n","gitHead":"2995be811d2a9c1b3ef6052de4aa863175b473e9","scripts":{"lint":"eslint --ext .js,.jsx,.ts,.tsx ./src","test":"npm run lint && npm run build && jest","build":"tsc && cd src/util && tsc","prepare":"husky install","pre-commit":"lint-staged","startExamples":"npm run build && webpack-dev-server --config ./example-app/webpack.config.js","prepublishOnly":"npm run build"},"_npmUser":{"name":"stevematney","email":"steve.matney@gmail.com"},"repository":{"url":"git+https://github.com/WTW-IM/isolated-externals-plugin.git","type":"git"},"_npmVersion":"8.19.3","description":"[![Build Status](https://travis-ci.com/WTW-IM/isolated-externals-plugin.svg?branch=master)](https://travis-ci.com/github/WTW-IM/isolated-externals-plugin) [![npm version](https://badge.fury.io/js/isolated-externals-plugin.svg)](https://badge.fury.io/js/is","directories":{},"lint-staged":{"*.md":["prettier --write --parser markdown"],"src/**/*.(j|t)s?(x)":["prettier --write","eslint --fix"]},"_nodeVersion":"18.12.1","dependencies":{"schema-utils":"^4.0.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"ajv":"^8.11.2","jest":"^29.3.1","husky":"^6.0.0","react":"^17.0.1","eslint":"^7.19.0","webpack":"^5.75.0","prettier":"2.2.1","react-dom":"^17.0.1","@babel/cli":"^7.19.3","typescript":"^4.9.3","@types/jest":"^29.2.3","lint-staged":"^10.5.4","webpack-cli":"^5.0.0","babel-loader":"^9.1.0","@types/webpack":"^5.28.0","@commitlint/cli":"^11.0.0","semantic-release":"^19.0.5","@babel/preset-env":"^7.12.13","webpack-dev-server":"^4.11.1","@babel/preset-react":"^7.18.6","@types/randomstring":"^1.1.8","eslint-plugin-react":"^7.22.0","html-webpack-plugin":"^5.5.0","@babel/eslint-parser":"^7.19.1","@semantic-release/git":"^10.0.1","eslint-config-prettier":"^7.2.0","@babel/preset-typescript":"^7.12.13","@typescript-eslint/parser":"^4.14.2","@semantic-release/changelog":"^6.0.1","conventional-changelog-eslint":"^3.0.9","@commitlint/config-conventional":"^11.0.0","@typescript-eslint/eslint-plugin":"^4.14.2"},"peerDependencies":{"webpack":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/isolated-externals-plugin_2.1.0-refactor-externals-ee5e344.3_1673145664179_0.3053867890588211","host":"s3://npm-registry-packages"}},"1.0.0-refactor-externals-e247cb9.1":{"name":"isolated-externals-plugin","version":"1.0.0-refactor-externals-e247cb9.1","keywords":["Web Components","webpack","webpack4","webpack-plugin","isolated","externals","embedded"],"author":{"name":"Steve Matney"},"license":"ISC","_id":"isolated-externals-plugin@1.0.0-refactor-externals-e247cb9.1","maintainers":[{"name":"jrios","email":"jacobrios@fastmail.com"},{"name":"darrken","email":"ken.james.adams+npm@gmail.com"},{"name":"aabenoja","email":"abenojaalex@gmail.com"},{"name":"stevematney","email":"steve.matney@gmail.com"}],"homepage":"https://github.com/WTW-IM/isolated-externals-plugin#readme","bugs":{"url":"https://github.com/WTW-IM/isolated-externals-plugin/issues"},"dist":{"shasum":"dff0734c52662f6d2443c06dc1f5f0d50c1c15db","tarball":"https://registry.npmjs.org/isolated-externals-plugin/-/isolated-externals-plugin-1.0.0-refactor-externals-e247cb9.1.tgz","fileCount":18,"integrity":"sha512-9nJMInUeHEi7wocjNI5H1yn3zHiAqGNWf1Ii6kGiw93jNJhzJPieoc8Ge8Fwem0XI3cHHdRCD0HFS5NB+zG0gg==","signatures":[{"sig":"MEYCIQCSGbLQX3LS5VcJzr5K66+0XvMfW42RUAf4hfMVXU6X/AIhAIGag+sZyTPaVrMUFNXgSwDbmaB2OL34H4JGgxLbcS18","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":52104,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjukECACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmovkQ/+NLybQrO542bPXMoseEn8pMSIrnE4W5TFNVNgfud9Zd+/Dmr3\r\nUEDMrZjxTI/M2yN3E8hD1OfsSTgF0oN1AnYbqPTlCfDIb6LtXHIcwzCPCm0H\r\nA8QXZOlSxHFw5V95kmDlVpl5xn2Q71AziWjeS30PTue0Pv7KbIM0TLYJwF0/\r\n1pv3B0pkUK8fPJZs4m4pvZuFVFp8LLEsDCmUzV5x6HL/TSEXHL+gO9DlskB8\r\nXmVGHF0+PWK53nAqkR0E3T1InexhlaBtQtf+wcRr6E1QuK+AOt7H9uS0YIxM\r\nepWOZ1OApBTPYvpQlGd36A2Jz7eZk33RODpSwgu4SgZy8/+CoXJ8tDOTnsgj\r\nx4pxt4vWwGV6Oh/A7HgvV3LE6MCH9/Eo4eA68bCYRYcmQsLhPPYFRDzHkI2z\r\nCUYFQDPU2cat5jXrLenIs0Q7Mw+kgCJwwjmyOLb2X4bz4Ula/+enN2VQpQJf\r\nm+9ihepzfHNjeSbpshCyStmHDg1vVUO0ttxaSYIYknSmqV7V61RYAodJ+co7\r\n+cK8St6BV77xWe70I7VAqBTYa8Si9+jOJKe7BcqKIt1wKMqeLDcLXLNzzhN6\r\nUAQ2eyQ0hqXgr7efxJy80j24mFOO29q8f0E0jtflZ6fC+EmfnzTRIA2ogOyC\r\ngBh6MmaKrEnG+Jez3R/Bn4U/RCJ2wDC4rO4=\r\n=bSri\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"# isolated-externals-plugin\n\n[![Build Status](https://travis-ci.com/WTW-IM/isolated-externals-plugin.svg?branch=master)](https://travis-ci.com/github/WTW-IM/isolated-externals-plugin)\n[![npm version](https://badge.fury.io/js/isolated-externals-plugin.svg)](https://badge.fury.io/js/isolated-externals-plugin)\n\n## Installation\n\nTo install, simply run:\n\n```bash\nnpm install --save-dev isolated-externals-plugin\n```\n\n## Usage\n\nThe `IsolatedExternalsPlugin` allows you to load external dependencies inside the scope of your webpack bundle without having to have them in your global scope. If you're curious about why you might want this, there are [some use cases listed below](#why-load-externals-locally-instead-of-globally).\n\nIt's an opinionated plugin in this way:\n\n- The externals set with the `IsolatedExternalsPlugin` utilize [`externalsType.promise`](https://webpack.js.org/configuration/externals/#externalstypepromise), which utilizes `async`/`await` syntax.\n\nThe plugin is built as an ES Module, so you'll need to load it in by using the `default` property:\n\n```javascript\nconst IsolatedExternalsPlugin = require('isolated-externals-plugin').default;\n```\n\nAn `IsolatedExternalsPlugin` configuration might look like the following:\n\n```javascript\nnew IsolatedExternalsPlugin({\n  entry1: {\n    react: {\n      url: 'https://unpkg.com/react@16/umd/react.development.js',\n      globalName: 'React',\n    },\n    ['react-dom']: {\n      url: 'https://unpkg.com/react-dom@16/umd/react-dom.development.js',\n      globalName: 'ReactDOM',\n    },\n  },\n  entry2: {\n    react: {\n      url: 'https://unpkg.com/react@16/umd/react.development.js',\n      globalName: 'React',\n    },\n    ['react-dom']: {\n      url: 'https://unpkg.com/react-dom@16/umd/react-dom.development.js',\n      globalName: 'ReactDOM',\n    },\n  },\n});\n```\n\nEach property of the configuration follows this structure:\n\n```javascript\n[entryName]: {\n  [packageName]: {\n    url: [url],\n    globalName: [globalName]\n  }\n}\n```\n\n| Part            | Description                                                                                                                                                                                                                                                                                     |\n| --------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `entryName`\\*   | The name of one of your webpack [Entry Points](https://webpack.js.org/concepts/entry-points/).                                                                                                                                                                                                  |\n| `packageName`\\* | The name of the import for your externalized dependency (like 'react-dom').                                                                                                                                                                                                                     |\n| `url`\\*         | The URL from which to load your dependency file.                                                                                                                                                                                                                                                |\n| `globalName`    | The UMD name of your dependency (like `ReactDOM`). If this is not provided, `IsolatedExternalsPlugin` will try to match the `packageName` to one of your [`externals`](https://webpack.js.org/configuration/externals/#externals) entries, and will use the value from that as the `globalName` |\n| \\*              | _required_                                                                                                                                                                                                                                                                                      |\n\nThe external files will be loaded and applied to your context in the order that they're listed, so if you have dependencies that depend on other dependencies (like `ReactDOM` depends on `React`), then you'll want to make sure you list the ones they depend on first.\n\n## How It Works\n\n`IsolatedExternalsPlugin` loads the text of your externals URLs via a shared [Cache](https://developer.mozilla.org/en-US/docs/Web/API/Cache) (or a shared global object if `Cache` is not available), and processes the text on a context object which is singular to your bundle. This allows you to load multiple bundles per page with different versions of a dependency—or with the same version of a dependency separately—without polluting a global scope, and without loading the same dependency over the wire more than once. This keeps bundle sizes down while also providing complete autonomy to any individual JS bundle.\n\n## Why load externals locally instead of globally?\n\nHere are two valid use cases. There may be others, but these are the reason we built this plugin!:\n\n1. You want to load different javascript apps on the same page with different versions of the same dependency (like React).\n2. You want to load more than one javascript app onto the same page with the same dependency, but ignorant of each other and the global context (like in micro frontends). This allows each app to be small in byte size, and allows the overall page to never load the same dependency more than once.\n\n## Contributing\n\nThis package uses `semantic-release`. Changes will be compiled into a changelog and the package versioned, tagged and published automatically.\nPlease ensure your commit messages adhere to the following structure:\n\n```\n<type>: <subject>\n<BLANK LINE>\n<body>\n```\n\nOnly the header is mandatory. The supported types are based off of the [ESLint Convention](https://github.com/conventional-changelog/conventional-changelog/tree/35e279d40603b0969c6d622514f5c0984c5bf309/packages/conventional-changelog-eslint).\n","gitHead":"e247cb9126cdeb50edf90b0f7f2522f0773e0836","scripts":{"lint":"eslint --ext .js,.jsx,.ts,.tsx ./src","test":"npm run lint && npm run build && jest","build":"tsc && cd src/util && tsc","prepare":"husky install","pre-commit":"lint-staged","startExamples":"npm run build && webpack-dev-server --config ./example-app/webpack.config.js","prepublishOnly":"npm run build"},"_npmUser":{"name":"stevematney","email":"steve.matney@gmail.com"},"repository":{"url":"git+https://github.com/WTW-IM/isolated-externals-plugin.git","type":"git"},"_npmVersion":"8.19.3","description":"[![Build Status](https://travis-ci.com/WTW-IM/isolated-externals-plugin.svg?branch=master)](https://travis-ci.com/github/WTW-IM/isolated-externals-plugin) [![npm version](https://badge.fury.io/js/isolated-externals-plugin.svg)](https://badge.fury.io/js/is","directories":{},"lint-staged":{"*.md":["prettier --write --parser markdown"],"src/**/*.(j|t)s?(x)":["prettier --write","eslint --fix"]},"_nodeVersion":"18.12.1","dependencies":{"schema-utils":"^4.0.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"ajv":"^8.11.2","jest":"^29.3.1","husky":"^6.0.0","react":"^17.0.1","eslint":"^7.19.0","webpack":"^5.75.0","prettier":"2.2.1","react-dom":"^17.0.1","@babel/cli":"^7.19.3","typescript":"^4.9.3","@types/jest":"^29.2.3","lint-staged":"^10.5.4","webpack-cli":"^5.0.0","babel-loader":"^9.1.0","@types/webpack":"^5.28.0","@commitlint/cli":"^11.0.0","semantic-release":"^19.0.5","@babel/preset-env":"^7.12.13","webpack-dev-server":"^4.11.1","@babel/preset-react":"^7.18.6","@types/randomstring":"^1.1.8","eslint-plugin-react":"^7.22.0","html-webpack-plugin":"^5.5.0","@babel/eslint-parser":"^7.19.1","@semantic-release/git":"^10.0.1","eslint-config-prettier":"^7.2.0","@babel/preset-typescript":"^7.12.13","@typescript-eslint/parser":"^4.14.2","@semantic-release/changelog":"^6.0.1","conventional-changelog-eslint":"^3.0.9","@commitlint/config-conventional":"^11.0.0","@typescript-eslint/eslint-plugin":"^4.14.2"},"peerDependencies":{"webpack":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/isolated-externals-plugin_1.0.0-refactor-externals-e247cb9.1_1673150722404_0.8117221486158306","host":"s3://npm-registry-packages"}},"2.1.0-refactor-externals-ee5e344.4":{"name":"isolated-externals-plugin","version":"2.1.0-refactor-externals-ee5e344.4","keywords":["Web Components","webpack","webpack4","webpack-plugin","isolated","externals","embedded"],"author":{"name":"Steve Matney"},"license":"ISC","_id":"isolated-externals-plugin@2.1.0-refactor-externals-ee5e344.4","maintainers":[{"name":"jrios","email":"jacobrios@fastmail.com"},{"name":"darrken","email":"ken.james.adams+npm@gmail.com"},{"name":"aabenoja","email":"abenojaalex@gmail.com"},{"name":"stevematney","email":"steve.matney@gmail.com"}],"homepage":"https://github.com/WTW-IM/isolated-externals-plugin#readme","bugs":{"url":"https://github.com/WTW-IM/isolated-externals-plugin/issues"},"dist":{"shasum":"375a4ee776ec852ff006d0d0b61325033f78e052","tarball":"https://registry.npmjs.org/isolated-externals-plugin/-/isolated-externals-plugin-2.1.0-refactor-externals-ee5e344.4.tgz","fileCount":18,"integrity":"sha512-vB9C4vJqSy6igEXaeU0U1skU7e39KhIMMLrBr76PGeiAVIHgXJhEWL8f9Xh2VGg8y4cp76VxiD+zPl+09PMnjQ==","signatures":[{"sig":"MEYCIQC4cfmxo2N5UYAlwuWQndiDd6XrhYYKS5nA7faCljnjwwIhALWgG6OC4vMwyGot8ttdZjujj1SpNbuqOrhdFPznTUXq","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":52104,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjuk30ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmrj+RAAkbVvie1CJDeATTO68CtGYrBivLwp4xsF9BihMCI4bmOs7UNj\r\nfcoboQqF1MhSW9FIXi3vbbmd/bH/KlQoS8PMavDxl2UinxN+C2uJwHtKA6rn\r\nH9Plrzcw2VMZ+ZFSd1Gzcn+q1BGLJ4/fmkGf7rd57BjnmoyD1U/fqU8myiss\r\n10YQnhWtnO7ITE3AjvpqzWjOZT88wtMknurqo9NrySmMsvyV9eIjdKlvvm05\r\n7QSofgN9kqeYiMWQeSFTTFBu18bI6GQvpqd0Cs7ac/DySHynnI/LG2rOV7lp\r\nPDjLkur6OsIk/sqjKXSHv6RP50TkFsS3ovKtzyrW6DpjMZb7QeyKiD7lDTtP\r\niM+zaFSXA1VV02bgZGOscK4K5JBziH8cdhI+fSne7yM5wrn+fjdZpcnntvlj\r\nyqKJxsu+V62eF7qLSSohxZ5vWToQtMQbt0Px0zbF6XoWzeLyeIZZ4kEcHtsv\r\nmyReQwH05FsGKQNVYLjeKDMLONdOYPqwSVMW1snSdp41w7I5Wir4I2euO7vL\r\no1RYwWzOuxK3K2TaPwsQ6SaDU9jRMUQd+l1dkzKbSFmIz6/KVV4WEOkRSJNl\r\nsoJC6gOu4mj+7UIQT60sycB4DdiXM5IkzBmQTRNShleKjNpAk51GjdYw92z7\r\npahfp11hkhEn5vDApYIDFVcLWKwaBDDval0=\r\n=Sb9F\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"# isolated-externals-plugin\n\n[![Build Status](https://travis-ci.com/WTW-IM/isolated-externals-plugin.svg?branch=master)](https://travis-ci.com/github/WTW-IM/isolated-externals-plugin)\n[![npm version](https://badge.fury.io/js/isolated-externals-plugin.svg)](https://badge.fury.io/js/isolated-externals-plugin)\n\n## Installation\n\nTo install, simply run:\n\n```bash\nnpm install --save-dev isolated-externals-plugin\n```\n\n## Usage\n\nThe `IsolatedExternalsPlugin` allows you to load external dependencies inside the scope of your webpack bundle without having to have them in your global scope. If you're curious about why you might want this, there are [some use cases listed below](#why-load-externals-locally-instead-of-globally).\n\nIt's an opinionated plugin in this way:\n\n- The externals set with the `IsolatedExternalsPlugin` utilize [`externalsType.promise`](https://webpack.js.org/configuration/externals/#externalstypepromise), which utilizes `async`/`await` syntax.\n\nThe plugin is built as an ES Module, so you'll need to load it in by using the `default` property:\n\n```javascript\nconst IsolatedExternalsPlugin = require('isolated-externals-plugin').default;\n```\n\nAn `IsolatedExternalsPlugin` configuration might look like the following:\n\n```javascript\nnew IsolatedExternalsPlugin({\n  entry1: {\n    react: {\n      url: 'https://unpkg.com/react@16/umd/react.development.js',\n      globalName: 'React',\n    },\n    ['react-dom']: {\n      url: 'https://unpkg.com/react-dom@16/umd/react-dom.development.js',\n      globalName: 'ReactDOM',\n    },\n  },\n  entry2: {\n    react: {\n      url: 'https://unpkg.com/react@16/umd/react.development.js',\n      globalName: 'React',\n    },\n    ['react-dom']: {\n      url: 'https://unpkg.com/react-dom@16/umd/react-dom.development.js',\n      globalName: 'ReactDOM',\n    },\n  },\n});\n```\n\nEach property of the configuration follows this structure:\n\n```javascript\n[entryName]: {\n  [packageName]: {\n    url: [url],\n    globalName: [globalName]\n  }\n}\n```\n\n| Part            | Description                                                                                                                                                                                                                                                                                     |\n| --------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `entryName`\\*   | The name of one of your webpack [Entry Points](https://webpack.js.org/concepts/entry-points/).                                                                                                                                                                                                  |\n| `packageName`\\* | The name of the import for your externalized dependency (like 'react-dom').                                                                                                                                                                                                                     |\n| `url`\\*         | The URL from which to load your dependency file.                                                                                                                                                                                                                                                |\n| `globalName`    | The UMD name of your dependency (like `ReactDOM`). If this is not provided, `IsolatedExternalsPlugin` will try to match the `packageName` to one of your [`externals`](https://webpack.js.org/configuration/externals/#externals) entries, and will use the value from that as the `globalName` |\n| \\*              | _required_                                                                                                                                                                                                                                                                                      |\n\nThe external files will be loaded and applied to your context in the order that they're listed, so if you have dependencies that depend on other dependencies (like `ReactDOM` depends on `React`), then you'll want to make sure you list the ones they depend on first.\n\n## How It Works\n\n`IsolatedExternalsPlugin` loads the text of your externals URLs via a shared [Cache](https://developer.mozilla.org/en-US/docs/Web/API/Cache) (or a shared global object if `Cache` is not available), and processes the text on a context object which is singular to your bundle. This allows you to load multiple bundles per page with different versions of a dependency—or with the same version of a dependency separately—without polluting a global scope, and without loading the same dependency over the wire more than once. This keeps bundle sizes down while also providing complete autonomy to any individual JS bundle.\n\n## Why load externals locally instead of globally?\n\nHere are two valid use cases. There may be others, but these are the reason we built this plugin!:\n\n1. You want to load different javascript apps on the same page with different versions of the same dependency (like React).\n2. You want to load more than one javascript app onto the same page with the same dependency, but ignorant of each other and the global context (like in micro frontends). This allows each app to be small in byte size, and allows the overall page to never load the same dependency more than once.\n\n## Contributing\n\nThis package uses `semantic-release`. Changes will be compiled into a changelog and the package versioned, tagged and published automatically.\nPlease ensure your commit messages adhere to the following structure:\n\n```\n<type>: <subject>\n<BLANK LINE>\n<body>\n```\n\nOnly the header is mandatory. The supported types are based off of the [ESLint Convention](https://github.com/conventional-changelog/conventional-changelog/tree/35e279d40603b0969c6d622514f5c0984c5bf309/packages/conventional-changelog-eslint).\n","gitHead":"967a52f4987755cd732536a9f9a43d7cfeb06def","scripts":{"lint":"eslint --ext .js,.jsx,.ts,.tsx ./src","test":"npm run lint && npm run build && jest","build":"tsc && cd src/util && tsc","prepare":"husky install","pre-commit":"lint-staged","startExamples":"npm run build && webpack-dev-server --config ./example-app/webpack.config.js","prepublishOnly":"npm run build"},"_npmUser":{"name":"stevematney","email":"steve.matney@gmail.com"},"repository":{"url":"git+https://github.com/WTW-IM/isolated-externals-plugin.git","type":"git"},"_npmVersion":"8.19.3","description":"[![Build Status](https://travis-ci.com/WTW-IM/isolated-externals-plugin.svg?branch=master)](https://travis-ci.com/github/WTW-IM/isolated-externals-plugin) [![npm version](https://badge.fury.io/js/isolated-externals-plugin.svg)](https://badge.fury.io/js/is","directories":{},"lint-staged":{"*.md":["prettier --write --parser markdown"],"src/**/*.(j|t)s?(x)":["prettier --write","eslint --fix"]},"_nodeVersion":"18.12.1","dependencies":{"schema-utils":"^4.0.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"ajv":"^8.11.2","jest":"^29.3.1","husky":"^6.0.0","react":"^17.0.1","eslint":"^7.19.0","webpack":"^5.75.0","prettier":"2.2.1","react-dom":"^17.0.1","@babel/cli":"^7.19.3","typescript":"^4.9.3","@types/jest":"^29.2.3","lint-staged":"^10.5.4","webpack-cli":"^5.0.0","babel-loader":"^9.1.0","@types/webpack":"^5.28.0","@commitlint/cli":"^11.0.0","semantic-release":"^19.0.5","@babel/preset-env":"^7.12.13","webpack-dev-server":"^4.11.1","@babel/preset-react":"^7.18.6","@types/randomstring":"^1.1.8","eslint-plugin-react":"^7.22.0","html-webpack-plugin":"^5.5.0","@babel/eslint-parser":"^7.19.1","@semantic-release/git":"^10.0.1","eslint-config-prettier":"^7.2.0","@babel/preset-typescript":"^7.12.13","@typescript-eslint/parser":"^4.14.2","@semantic-release/changelog":"^6.0.1","conventional-changelog-eslint":"^3.0.9","@commitlint/config-conventional":"^11.0.0","@typescript-eslint/eslint-plugin":"^4.14.2"},"peerDependencies":{"webpack":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/isolated-externals-plugin_2.1.0-refactor-externals-ee5e344.4_1673154035988_0.9767435940418361","host":"s3://npm-registry-packages"}},"2.1.0":{"name":"isolated-externals-plugin","version":"2.1.0","keywords":["Web Components","webpack","webpack4","webpack-plugin","isolated","externals","embedded"],"author":{"name":"Steve Matney"},"license":"ISC","_id":"isolated-externals-plugin@2.1.0","maintainers":[{"name":"jrios","email":"jacobrios@fastmail.com"},{"name":"darrken","email":"ken.james.adams+npm@gmail.com"},{"name":"aabenoja","email":"abenojaalex@gmail.com"},{"name":"stevematney","email":"steve.matney@gmail.com"}],"homepage":"https://github.com/WTW-IM/isolated-externals-plugin#readme","bugs":{"url":"https://github.com/WTW-IM/isolated-externals-plugin/issues"},"dist":{"shasum":"a485b508fba221b55ed5d4dfcff1e7d222bbd58c","tarball":"https://registry.npmjs.org/isolated-externals-plugin/-/isolated-externals-plugin-2.1.0.tgz","fileCount":20,"integrity":"sha512-r83bI3Z78X89X6J+79+tRcA5xaf46N5czHHb3p4yaEhRLBwN44UaB4ZdfT2hrnKHJoIIIEjl6YeKwiZZDq7gNQ==","signatures":[{"sig":"MEUCIQDcer4tpxC059L0OieXrMBAeGDk7Dik2LFiR9lBdfjG8AIgOpe2WYJVtVH/4vuDq5Bj9df8UL2vudBKscJj66mgHTc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":53369,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjvFKkACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqx7Q/5AHFeYKkkbH5QbDx9+3FE8SfOfdDLNNGnz3hEVKMQCvegsTe5\r\n3arxYFb0HWaW9QGYMYg0Rl+3LATmgNjaWJNzVZQgMGvT5hGGBt9EsjQp39IP\r\nan4YJIYNiWvxez/F0GFE8R0Ub3xuBh53UD/a6JkdVK8bGZ6B6TWAR3RnduRm\r\nV0HU+SA8bO0krgSwQXoJgzo/yeg8DNRU8b7Dn1eg3mCvPGijL8Ii7J7J9Xat\r\ncIZVyEczi9KOEHwtllL2eTwS93k9UW84DM07UehTnVQVeF14BunC+PhYEv0q\r\nftPP2rxJjS8RPOunkDeN9/A0EeGSF/OdZdLmTGFD2s+3/hU9YMgDwMiKOwhs\r\n52STy1SRx9mHslUBmJKM/vls62GkQmQVPiA3hp9arNNU94TD8zTksOJEoWda\r\ndqs1HklvqcniZMdxIcs3nw3d04nck75l+NHdUFInMhUE8H+BTfTWPbaJ1NQf\r\nXw+j1dlVVyNhuC78UURriDLcxei5utWXi3gmmAimn3/NKIshMQ6nWiOLrqRh\r\neucrif/shOp6GYroNaX07aw0EH6BgAjoO2j49eW7fy4V5QBSvUnCYPbAXGvt\r\nwurmlVMKghlBiWT+qAPJh5D5y5RozDsR7/EIxEJ69bG0tx6Hmo+eKc0RKQut\r\nKN11uCv36b5h0iWDLFoBMnlzetuv1Ll+ZBY=\r\n=jY4i\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"40884393848fab5343d09814954b5c0e6c6bc86a","scripts":{"lint":"eslint --ext .js,.jsx,.ts,.tsx ./src","test":"npm run lint && npm run build && jest","build":"tsc && cd src/util && tsc","prepare":"husky install","pre-commit":"lint-staged","startExamples":"npm run build && webpack-dev-server --config ./example-app/webpack.config.js","prepublishOnly":"npm run build"},"_npmUser":{"name":"stevematney","email":"steve.matney@gmail.com"},"repository":{"url":"git+https://github.com/WTW-IM/isolated-externals-plugin.git","type":"git"},"_npmVersion":"8.19.3","description":"[![Build Status](https://travis-ci.com/WTW-IM/isolated-externals-plugin.svg?branch=master)](https://travis-ci.com/github/WTW-IM/isolated-externals-plugin) [![npm version](https://badge.fury.io/js/isolated-externals-plugin.svg)](https://badge.fury.io/js/is","directories":{},"lint-staged":{"*.md":["prettier --write --parser markdown"],"src/**/*.(j|t)s?(x)":["prettier --write","eslint --fix"]},"_nodeVersion":"18.12.1","dependencies":{"schema-utils":"^4.0.0"},"_hasShrinkwrap":false,"devDependencies":{"ajv":"^8.11.2","jest":"^29.3.1","husky":"^6.0.0","react":"^17.0.1","eslint":"^7.19.0","webpack":"^5.75.0","prettier":"2.2.1","react-dom":"^17.0.1","@babel/cli":"^7.19.3","typescript":"^4.9.3","@types/jest":"^29.2.3","lint-staged":"^10.5.4","webpack-cli":"^5.0.0","babel-loader":"^9.1.0","@types/webpack":"^5.28.0","@commitlint/cli":"^11.0.0","semantic-release":"^19.0.5","@babel/preset-env":"^7.12.13","webpack-dev-server":"^4.11.1","@babel/preset-react":"^7.18.6","@types/randomstring":"^1.1.8","eslint-plugin-react":"^7.22.0","html-webpack-plugin":"^5.5.0","@babel/eslint-parser":"^7.19.1","@semantic-release/git":"^10.0.1","eslint-config-prettier":"^7.2.0","@babel/preset-typescript":"^7.12.13","@typescript-eslint/parser":"^4.14.2","@semantic-release/changelog":"^6.0.1","conventional-changelog-eslint":"^3.0.9","@commitlint/config-conventional":"^11.0.0","@typescript-eslint/eslint-plugin":"^4.14.2"},"peerDependencies":{"webpack":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/isolated-externals-plugin_2.1.0_1673286307946_0.24516173168759514","host":"s3://npm-registry-packages"}},"2.2.0":{"name":"isolated-externals-plugin","version":"2.2.0","keywords":["Web Components","webpack","webpack4","webpack-plugin","isolated","externals","embedded"],"author":{"name":"Steve Matney"},"license":"ISC","_id":"isolated-externals-plugin@2.2.0","maintainers":[{"name":"jrios","email":"jacobrios@fastmail.com"},{"name":"darrken","email":"ken.james.adams+npm@gmail.com"},{"name":"aabenoja","email":"abenojaalex@gmail.com"},{"name":"stevematney","email":"steve.matney@gmail.com"}],"homepage":"https://github.com/WTW-IM/isolated-externals-plugin#readme","bugs":{"url":"https://github.com/WTW-IM/isolated-externals-plugin/issues"},"dist":{"shasum":"3eed0cc8aa488406d796af83242fd844a420df10","tarball":"https://registry.npmjs.org/isolated-externals-plugin/-/isolated-externals-plugin-2.2.0.tgz","fileCount":22,"integrity":"sha512-D1pI4vbjjgB+KUjUDEH86WevV2pLggncz2ESd7qIs4Tt2rCZa4caWZXJUnvs8TYtE62HZ6Te7H5XRAXiCno2bA==","signatures":[{"sig":"MEYCIQC5dyFLp4Z/7RSxux4wT0K9RYl7t97QlM6k3F6rXQxInAIhAMlRU34Z4eBlBuOpVPwRHI9WT1md9XJzIbcnyJ9vZFeS","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":54197,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjvFajACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr9Gw//cwC4AZ6HMrm/j8wiWqfjvgams5ytEkv1FC/MQiOD8Tq8l7Sx\r\nK3+DGp4Zsfzj506OUu4+5I7o5ORMPZtjwigNSOBXKwlYaWV1vNvSMNiqpKqQ\r\nHqB0m2vcFceP3rVSH/wWaEd7U7fdFu1uxYAkyPYb1glkol9mum0IHvhI9/al\r\nNzG/xGOcEiL4HbvfXVkLfqHZQ+ZGe53O9wmLVhFewByuw5ELaie60o1myT1A\r\nP/0BW2wUjimGC4Muz0ZOEv56eTOTo4yz1qQuigKAcmLMS4Alc5dZPdSwWz8j\r\n4OrqAz0Eg/GAa1wJ4Xk1RiLuF3LrcJyITI8HkirzvotH862o4kxGbnodyar2\r\nW8FbTdBW++i3hUwqJNb0iLG7PFB7U4cZnI6Ew+OdLBp1YCBtUyUmKaBbY7wj\r\nhCt2Ob8N699ybMFIchwtxRfqrhDOg+iOpaPo9ZVJLDXwrOczkLKdiLE38sa5\r\nJbaakpAgRUfHdmt0bgI4o1dxFRbdu3/iACPFGWOpLvKZra1pVgRC1fB2ORPj\r\nLefOPY68TAzbuspOKXzi8eRE/isRMwreUDOtdh1yosX/3qO4e3RI8ka2vWck\r\n1gaqShRoGqDiehQDDHfak3vvn2SvtoyERuV+/7o71E+o25CpXFc5MeTp0erh\r\nx7vvXEwEH1xJH8EZPNBPZLDT+0Cuk8qIUWc=\r\n=Mz3/\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"2e385ef8b31caf2fed3fec8ce2c1e27fe710fb6a","scripts":{"lint":"eslint --ext .js,.jsx,.ts,.tsx ./src","test":"npm run lint && npm run build && jest","build":"tsc && cd src/util && tsc","prepare":"husky install","pre-commit":"lint-staged","startExamples":"npm run build && webpack-dev-server --config ./example-app/webpack.config.js","prepublishOnly":"npm run build"},"_npmUser":{"name":"stevematney","email":"steve.matney@gmail.com"},"repository":{"url":"git+https://github.com/WTW-IM/isolated-externals-plugin.git","type":"git"},"_npmVersion":"8.19.3","description":"[![Build Status](https://travis-ci.com/WTW-IM/isolated-externals-plugin.svg?branch=master)](https://travis-ci.com/github/WTW-IM/isolated-externals-plugin) [![npm version](https://badge.fury.io/js/isolated-externals-plugin.svg)](https://badge.fury.io/js/is","directories":{},"lint-staged":{"*.md":["prettier --write --parser markdown"],"src/**/*.(j|t)s?(x)":["prettier --write","eslint --fix"]},"_nodeVersion":"18.12.1","dependencies":{"schema-utils":"^4.0.0"},"_hasShrinkwrap":false,"devDependencies":{"ajv":"^8.11.2","jest":"^29.3.1","husky":"^6.0.0","react":"^17.0.1","eslint":"^7.19.0","webpack":"^5.75.0","prettier":"2.2.1","react-dom":"^17.0.1","@babel/cli":"^7.19.3","typescript":"^4.9.3","@types/jest":"^29.2.3","lint-staged":"^10.5.4","webpack-cli":"^5.0.0","babel-loader":"^9.1.0","@types/webpack":"^5.28.0","@commitlint/cli":"^11.0.0","semantic-release":"^19.0.5","@babel/preset-env":"^7.12.13","webpack-dev-server":"^4.11.1","@babel/preset-react":"^7.18.6","@types/randomstring":"^1.1.8","eslint-plugin-react":"^7.22.0","html-webpack-plugin":"^5.5.0","@babel/eslint-parser":"^7.19.1","@semantic-release/git":"^10.0.1","eslint-config-prettier":"^7.2.0","@babel/preset-typescript":"^7.12.13","@typescript-eslint/parser":"^4.14.2","@semantic-release/changelog":"^6.0.1","conventional-changelog-eslint":"^3.0.9","@commitlint/config-conventional":"^11.0.0","@typescript-eslint/eslint-plugin":"^4.14.2"},"peerDependencies":{"webpack":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/isolated-externals-plugin_2.2.0_1673287331579_0.01822318697276537","host":"s3://npm-registry-packages"}},"2.3.0-global-url-modifier-3cd931d.1":{"name":"isolated-externals-plugin","version":"2.3.0-global-url-modifier-3cd931d.1","keywords":["Web Components","webpack","webpack4","webpack-plugin","isolated","externals","embedded"],"author":{"name":"Steve Matney"},"license":"ISC","_id":"isolated-externals-plugin@2.3.0-global-url-modifier-3cd931d.1","maintainers":[{"name":"jrios","email":"jacobrios@fastmail.com"},{"name":"darrken","email":"ken.james.adams+npm@gmail.com"},{"name":"aabenoja","email":"abenojaalex@gmail.com"},{"name":"stevematney","email":"steve.matney@gmail.com"}],"homepage":"https://github.com/WTW-IM/isolated-externals-plugin#readme","bugs":{"url":"https://github.com/WTW-IM/isolated-externals-plugin/issues"},"dist":{"shasum":"15a1f108e69bc334107519d818a06c1985c3e0d0","tarball":"https://registry.npmjs.org/isolated-externals-plugin/-/isolated-externals-plugin-2.3.0-global-url-modifier-3cd931d.1.tgz","fileCount":22,"integrity":"sha512-CUQc1WShgcwqyMWDMikkV5SBVryB1tAIqfYnmbhw9fnBNowlRMXeR1V4s99OWp4EO3AHomuHCR5XxN/VJlpmrA==","signatures":[{"sig":"MEUCIGDH2u/JegDVQrkMtVJkAlsy2+Ih1dXcK8yCMVId4yWWAiEAi+40hJ6QoJ5IgAu+4fOM64RiVVrJhN84+r0HE6hhvHs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":55167,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj7B5iACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrJbBAAhTzv/wEmyP6hVp0/hoCC5TM+ACMT2OuySASPo68vqUC7SaZS\r\nbERaifgiN1qDN62NCgA7gOqtEqU/tZYHOMgbKojNJDe2+Ybd0ZXw+h4jSLQ5\r\n9h8HXHs9BcrMZzN2WQrYiWQ12rgp2QSYrzML1Xg09wbx8SDDbrrOad6GKzos\r\nh7I0hzphextB/ZNeCDwG6X++YzG7GL43Ff4toVl24LTMs+Leo5GUbB7hVLPr\r\nrf1ttW7czh++NVpr532qDwvoPdIploLaDQFD3knH4Dl7kE9dRjfM7MiRNm2x\r\n+q5TefFhndLODlMQdXdHHHT9Z2CqcM0sGjqDIpdjPbULZuF4GFwNpPHEw/Bk\r\nD8dKI+PmK5hiXb3VOsf6Qa9Yh3fuoxqBbJ/0Ry+wu0oGePlxMNV7u9Kfy0Bn\r\nphM3tVvQGDlV4FaD/GlcgAbc7Be5kKT1hTJlIEOuwBxKCFCgPW5PxkxfOU4U\r\nReopybTDMCVvOxwPYnbaQxaIyRUudT6NsvAPPAaR4UkvFI/oSVCsChhMro3k\r\nO+8DcC7e7nQa60TExP/+faZmofSugTs/17bYJaFjb103qZ5g79851QKObvR8\r\nhCntOlb4/MbffpP5z31yiw5QYz5ZgRNqfcBHCa8Ch1oaQPz/8CSOXiCq22FX\r\nDRdSYptAwTUq1r4XEePFW6o8SM/IKY5PVbo=\r\n=QxwY\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"# isolated-externals-plugin\n\n[![Build Status](https://travis-ci.com/WTW-IM/isolated-externals-plugin.svg?branch=master)](https://travis-ci.com/github/WTW-IM/isolated-externals-plugin)\n[![npm version](https://badge.fury.io/js/isolated-externals-plugin.svg)](https://badge.fury.io/js/isolated-externals-plugin)\n\n## Installation\n\nTo install, simply run:\n\n```bash\nnpm install --save-dev isolated-externals-plugin\n```\n\n## Usage\n\nThe `IsolatedExternalsPlugin` allows you to load external dependencies inside the scope of your webpack bundle without having to have them in your global scope. If you're curious about why you might want this, there are [some use cases listed below](#why-load-externals-locally-instead-of-globally).\n\nIt's an opinionated plugin in this way:\n\n- The externals set with the `IsolatedExternalsPlugin` utilize [`externalsType.promise`](https://webpack.js.org/configuration/externals/#externalstypepromise), which utilizes `async`/`await` syntax.\n\nThe plugin is built as an ES Module, so you'll need to load it in by using the `default` property:\n\n```javascript\nconst IsolatedExternalsPlugin = require('isolated-externals-plugin').default;\n```\n\nAn `IsolatedExternalsPlugin` configuration might look like the following:\n\n```javascript\nnew IsolatedExternalsPlugin({\n  entry1: {\n    react: {\n      url: 'https://unpkg.com/react@16/umd/react.development.js',\n      globalName: 'React',\n    },\n    ['react-dom']: {\n      url: 'https://unpkg.com/react-dom@16/umd/react-dom.development.js',\n      globalName: 'ReactDOM',\n    },\n  },\n  entry2: {\n    react: {\n      url: 'https://unpkg.com/react@16/umd/react.development.js',\n      globalName: 'React',\n    },\n    ['react-dom']: {\n      url: 'https://unpkg.com/react-dom@16/umd/react-dom.development.js',\n      globalName: 'ReactDOM',\n    },\n  },\n});\n```\n\nEach property of the configuration follows this structure:\n\n```javascript\n[entryName]: {\n  [packageName]: {\n    url: [url],\n    globalName: [globalName]\n  }\n}\n```\n\n| Part             | Description                                                                                               |\n| ---------------- | --------------------------------------------------------------------------------------------------------- |\n| `entryName`\\*    | The name of one of your webpack [Entry Points](https://webpack.js.org/concepts/entry-points/).            |\n| `packageName`\\*  | The name of the import for your externalized dependency (like 'react-dom').                               |\n| `url`\\*          | The URL from which to load your dependency file.                                                          |\n| `globalName`     | The UMD name of your dependency (like `ReactDOM`). [See below for details](#globalname-and-other-details) |\n| `urlTransformer` | A path or module path to a module that exports a url transforming function.                               |\n| \\*               | _required_                                                                                                |\n\n## `globalName` and other details\n\nIf `globalName` is not provided, `IsolatedExternalsPlugin` will try to match the `packageName` to one of your [`externals`](https://webpack.js.org/configuration/externals/#externals) entries, and will use the value from that as the `globalName`\n\nThe external files will be loaded and applied to your context in the order that they're listed, so if you have dependencies that depend on other dependencies (like `ReactDOM` depends on `React`), then you'll want to make sure you list the ones they depend on first.\n\n## How It Works\n\n`IsolatedExternalsPlugin` loads the text of your externals URLs via a shared [Cache](https://developer.mozilla.org/en-US/docs/Web/API/Cache) (or a shared global object if `Cache` is not available), and processes the text on a context object which is singular to your bundle. This allows you to load multiple bundles per page with different versions of a dependency—or with the same version of a dependency separately—without polluting a global scope, and without loading the same dependency over the wire more than once. This keeps bundle sizes down while also providing complete autonomy to any individual JS bundle.\n\n## Why load externals locally instead of globally?\n\nHere are two valid use cases. There may be others, but these are the reason we built this plugin!:\n\n1. You want to load different javascript apps on the same page with different versions of the same dependency (like React).\n2. You want to load more than one javascript app onto the same page with the same dependency, but ignorant of each other and the global context (like in micro frontends). This allows each app to be small in byte size, and allows the overall page to never load the same dependency more than once.\n\n## Contributing\n\nThis package uses `semantic-release`. Changes will be compiled into a changelog and the package versioned, tagged and published automatically.\nPlease ensure your commit messages adhere to the following structure:\n\n```\n<type>: <subject>\n<BLANK LINE>\n<body>\n```\n\nOnly the header is mandatory. The supported types are based off of the [ESLint Convention](https://github.com/conventional-changelog/conventional-changelog/tree/35e279d40603b0969c6d622514f5c0984c5bf309/packages/conventional-changelog-eslint).\n","gitHead":"3cd931d3c851be9d12aea8c3f35f9abf7d249146","scripts":{"lint":"eslint --ext .js,.jsx,.ts,.tsx ./src","test":"npm run lint && npm run build && jest","build":"tsc && cd src/util && tsc","prepare":"husky install","pre-commit":"lint-staged","startExamples":"npm run build && webpack-dev-server --config ./example-app/webpack.config.js","prepublishOnly":"npm run build"},"_npmUser":{"name":"stevematney","email":"steve.matney@gmail.com"},"repository":{"url":"git+https://github.com/WTW-IM/isolated-externals-plugin.git","type":"git"},"_npmVersion":"8.19.3","description":"[![Build Status](https://travis-ci.com/WTW-IM/isolated-externals-plugin.svg?branch=master)](https://travis-ci.com/github/WTW-IM/isolated-externals-plugin) [![npm version](https://badge.fury.io/js/isolated-externals-plugin.svg)](https://badge.fury.io/js/is","directories":{},"lint-staged":{"*.md":["prettier --write --parser markdown"],"src/**/*.(j|t)s?(x)":["prettier --write","eslint --fix"]},"_nodeVersion":"18.14.0","dependencies":{"schema-utils":"^4.0.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"ajv":"^8.11.2","jest":"^29.3.1","husky":"^6.0.0","react":"^17.0.1","eslint":"^7.19.0","webpack":"^5.75.0","prettier":"2.2.1","react-dom":"^17.0.1","@babel/cli":"^7.19.3","typescript":"^4.9.3","@types/jest":"^29.2.3","lint-staged":"^10.5.4","webpack-cli":"^5.0.0","babel-loader":"^9.1.0","@types/webpack":"^5.28.0","@commitlint/cli":"^11.0.0","semantic-release":"^19.0.5","@babel/preset-env":"^7.12.13","webpack-dev-server":"^4.11.1","@babel/preset-react":"^7.18.6","@types/randomstring":"^1.1.8","eslint-plugin-react":"^7.22.0","html-webpack-plugin":"^5.5.0","@babel/eslint-parser":"^7.19.1","@semantic-release/git":"^10.0.1","eslint-config-prettier":"^7.2.0","@babel/preset-typescript":"^7.12.13","@typescript-eslint/parser":"^4.14.2","@semantic-release/changelog":"^6.0.1","conventional-changelog-eslint":"^3.0.9","@commitlint/config-conventional":"^11.0.0","@typescript-eslint/eslint-plugin":"^4.14.2"},"peerDependencies":{"webpack":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/isolated-externals-plugin_2.3.0-global-url-modifier-3cd931d.1_1676418658732_0.9558643907171214","host":"s3://npm-registry-packages"}},"2.3.0-global-url-modifier-3cd931d.2":{"name":"isolated-externals-plugin","version":"2.3.0-global-url-modifier-3cd931d.2","keywords":["Web Components","webpack","webpack4","webpack-plugin","isolated","externals","embedded"],"author":{"name":"Steve Matney"},"license":"ISC","_id":"isolated-externals-plugin@2.3.0-global-url-modifier-3cd931d.2","maintainers":[{"name":"jrios","email":"jacobrios@fastmail.com"},{"name":"darrken","email":"ken.james.adams+npm@gmail.com"},{"name":"aabenoja","email":"abenojaalex@gmail.com"},{"name":"stevematney","email":"steve.matney@gmail.com"}],"homepage":"https://github.com/WTW-IM/isolated-externals-plugin#readme","bugs":{"url":"https://github.com/WTW-IM/isolated-externals-plugin/issues"},"dist":{"shasum":"35f6f0959d49d941bebe1dd71ec4ee484e4f20b5","tarball":"https://registry.npmjs.org/isolated-externals-plugin/-/isolated-externals-plugin-2.3.0-global-url-modifier-3cd931d.2.tgz","fileCount":22,"integrity":"sha512-3TfapU+KEEi5p9y3lK5rG5BT0E/c12lbTgoqEycBKWWr2lMpRxid8JxwEGvwE3a3QjYh8N3qSL0saxaJYLkDfQ==","signatures":[{"sig":"MEYCIQCUn2N42VCPs9IpttcB9gQyXSG8BMOF36CAXEjT7+jlMwIhAPeIWqKe0Fs5tYeBQxkHGueE4hU1ldPbfWXkws41OGXS","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":55257,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj7Q9xACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr7mQ//enBeyQCgymMKt+8ROfU85MuNdwhoFWhaEISFAdSdwVeneO3/\r\nsmwskDk3GKuO1I2zrzmD41XqGWQ0l4acInNSjDJUzf/t8HB0X7aQ1nAEnjJM\r\nTkyhXFUULUvNl3uV/7dIKT8MVHUq0hM88waCREQxHzVj5Iq8DvkfntxP99gp\r\nXkd64T134lkIkWAJ3v911b8EkYtNXfsMmy+w/2IrjOqZttt84yWgKYmuMErw\r\naJYhefE9YhPd+vdO8GUoOsbp98HuHMXRcCHTQ7OYFDhIm/B+br8NI8EtDPGy\r\nTLiTkII7FaiBZR42QRTHlwt+QZ7zgnFRQGRi3eMKvkBFg860kk4TE7gVQ0Oe\r\nyFhplAIx0VjtsupOfetyWG9texIeA44IUZ+IquWRsjMHEZSGM/SGHaXqe0bf\r\naUya8XTjnJP23eJcyFoSUWyqOXIMJUdS0B5P4S7BEIvZHeWZzNsmJx9PlEWE\r\nrR+eGQyZw99zcD3t4kVOf8qqOvanYJuHHIoSQOJFUKPrUF3QCklbfCY/eUI/\r\n1OjZRs9G7cS8GfrVUetgI/cImb4GPLm2GfPgxpBiwd6y+2zpAs/QIaZ654S1\r\n84C7J1BS4TGw5Uvmde+FiilhA6yoc70kI6U6FqaemhAHOgqo1WQ9qBC97Ulr\r\n067vyXxOwaHAEHWb77sGosKA51zaS5R47vw=\r\n=za/e\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"# isolated-externals-plugin\n\n[![Build Status](https://travis-ci.com/WTW-IM/isolated-externals-plugin.svg?branch=master)](https://travis-ci.com/github/WTW-IM/isolated-externals-plugin)\n[![npm version](https://badge.fury.io/js/isolated-externals-plugin.svg)](https://badge.fury.io/js/isolated-externals-plugin)\n\n## Installation\n\nTo install, simply run:\n\n```bash\nnpm install --save-dev isolated-externals-plugin\n```\n\n## Usage\n\nThe `IsolatedExternalsPlugin` allows you to load external dependencies inside the scope of your webpack bundle without having to have them in your global scope. If you're curious about why you might want this, there are [some use cases listed below](#why-load-externals-locally-instead-of-globally).\n\nIt's an opinionated plugin in this way:\n\n- The externals set with the `IsolatedExternalsPlugin` utilize [`externalsType.promise`](https://webpack.js.org/configuration/externals/#externalstypepromise), which utilizes `async`/`await` syntax.\n\nThe plugin is built as an ES Module, so you'll need to load it in by using the `default` property:\n\n```javascript\nconst IsolatedExternalsPlugin = require('isolated-externals-plugin').default;\n```\n\nAn `IsolatedExternalsPlugin` configuration might look like the following:\n\n```javascript\nnew IsolatedExternalsPlugin({\n  entry1: {\n    react: {\n      url: 'https://unpkg.com/react@16/umd/react.development.js',\n      globalName: 'React',\n    },\n    ['react-dom']: {\n      url: 'https://unpkg.com/react-dom@16/umd/react-dom.development.js',\n      globalName: 'ReactDOM',\n    },\n  },\n  entry2: {\n    react: {\n      url: 'https://unpkg.com/react@16/umd/react.development.js',\n      globalName: 'React',\n    },\n    ['react-dom']: {\n      url: 'https://unpkg.com/react-dom@16/umd/react-dom.development.js',\n      globalName: 'ReactDOM',\n    },\n  },\n});\n```\n\nEach property of the configuration follows this structure:\n\n```javascript\n[entryName]: {\n  [packageName]: {\n    url: [url],\n    globalName: [globalName]\n  }\n}\n```\n\n| Part             | Description                                                                                               |\n| ---------------- | --------------------------------------------------------------------------------------------------------- |\n| `entryName`\\*    | The name of one of your webpack [Entry Points](https://webpack.js.org/concepts/entry-points/).            |\n| `packageName`\\*  | The name of the import for your externalized dependency (like 'react-dom').                               |\n| `url`\\*          | The URL from which to load your dependency file.                                                          |\n| `globalName`     | The UMD name of your dependency (like `ReactDOM`). [See below for details](#globalname-and-other-details) |\n| `urlTransformer` | A path or module path to a module that exports a url transforming function.                               |\n| \\*               | _required_                                                                                                |\n\n## `globalName` and other details\n\nIf `globalName` is not provided, `IsolatedExternalsPlugin` will try to match the `packageName` to one of your [`externals`](https://webpack.js.org/configuration/externals/#externals) entries, and will use the value from that as the `globalName`\n\nThe external files will be loaded and applied to your context in the order that they're listed, so if you have dependencies that depend on other dependencies (like `ReactDOM` depends on `React`), then you'll want to make sure you list the ones they depend on first.\n\n## How It Works\n\n`IsolatedExternalsPlugin` loads the text of your externals URLs via a shared [Cache](https://developer.mozilla.org/en-US/docs/Web/API/Cache) (or a shared global object if `Cache` is not available), and processes the text on a context object which is singular to your bundle. This allows you to load multiple bundles per page with different versions of a dependency—or with the same version of a dependency separately—without polluting a global scope, and without loading the same dependency over the wire more than once. This keeps bundle sizes down while also providing complete autonomy to any individual JS bundle.\n\n## Why load externals locally instead of globally?\n\nHere are two valid use cases. There may be others, but these are the reason we built this plugin!:\n\n1. You want to load different javascript apps on the same page with different versions of the same dependency (like React).\n2. You want to load more than one javascript app onto the same page with the same dependency, but ignorant of each other and the global context (like in micro frontends). This allows each app to be small in byte size, and allows the overall page to never load the same dependency more than once.\n\n## Contributing\n\nThis package uses `semantic-release`. Changes will be compiled into a changelog and the package versioned, tagged and published automatically.\nPlease ensure your commit messages adhere to the following structure:\n\n```\n<type>: <subject>\n<BLANK LINE>\n<body>\n```\n\nOnly the header is mandatory. The supported types are based off of the [ESLint Convention](https://github.com/conventional-changelog/conventional-changelog/tree/35e279d40603b0969c6d622514f5c0984c5bf309/packages/conventional-changelog-eslint).\n","gitHead":"191aac7b16c88a829d6bab5604b749acbee5ce57","scripts":{"lint":"eslint --ext .js,.jsx,.ts,.tsx ./src","test":"npm run lint && npm run build && jest","build":"tsc && cd src/util && tsc","prepare":"husky install","pre-commit":"lint-staged","startExamples":"npm run build && webpack-dev-server --config ./example-app/webpack.config.js","prepublishOnly":"npm run build"},"_npmUser":{"name":"stevematney","email":"steve.matney@gmail.com"},"repository":{"url":"git+https://github.com/WTW-IM/isolated-externals-plugin.git","type":"git"},"_npmVersion":"8.19.3","description":"[![Build Status](https://travis-ci.com/WTW-IM/isolated-externals-plugin.svg?branch=master)](https://travis-ci.com/github/WTW-IM/isolated-externals-plugin) [![npm version](https://badge.fury.io/js/isolated-externals-plugin.svg)](https://badge.fury.io/js/is","directories":{},"lint-staged":{"*.md":["prettier --write --parser markdown"],"src/**/*.(j|t)s?(x)":["prettier --write","eslint --fix"]},"_nodeVersion":"18.14.0","dependencies":{"schema-utils":"^4.0.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"ajv":"^8.11.2","jest":"^29.3.1","husky":"^6.0.0","react":"^17.0.1","eslint":"^7.19.0","webpack":"^5.75.0","prettier":"2.2.1","react-dom":"^17.0.1","@babel/cli":"^7.19.3","typescript":"^4.9.3","@types/jest":"^29.2.3","lint-staged":"^10.5.4","webpack-cli":"^5.0.0","babel-loader":"^9.1.0","@types/webpack":"^5.28.0","@commitlint/cli":"^11.0.0","semantic-release":"^19.0.5","@babel/preset-env":"^7.12.13","webpack-dev-server":"^4.11.1","@babel/preset-react":"^7.18.6","@types/randomstring":"^1.1.8","eslint-plugin-react":"^7.22.0","html-webpack-plugin":"^5.5.0","@babel/eslint-parser":"^7.19.1","@semantic-release/git":"^10.0.1","eslint-config-prettier":"^7.2.0","@babel/preset-typescript":"^7.12.13","@typescript-eslint/parser":"^4.14.2","@semantic-release/changelog":"^6.0.1","conventional-changelog-eslint":"^3.0.9","@commitlint/config-conventional":"^11.0.0","@typescript-eslint/eslint-plugin":"^4.14.2"},"peerDependencies":{"webpack":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/isolated-externals-plugin_2.3.0-global-url-modifier-3cd931d.2_1676480369036_0.6560840762055618","host":"s3://npm-registry-packages"}},"2.3.0-global-url-modifier-c83fba1.1":{"name":"isolated-externals-plugin","version":"2.3.0-global-url-modifier-c83fba1.1","keywords":["Web Components","webpack","webpack4","webpack-plugin","isolated","externals","embedded"],"author":{"name":"Steve Matney"},"license":"ISC","_id":"isolated-externals-plugin@2.3.0-global-url-modifier-c83fba1.1","maintainers":[{"name":"jrios","email":"jacobrios@fastmail.com"},{"name":"darrken","email":"ken.james.adams+npm@gmail.com"},{"name":"aabenoja","email":"abenojaalex@gmail.com"},{"name":"stevematney","email":"steve.matney@gmail.com"}],"homepage":"https://github.com/WTW-IM/isolated-externals-plugin#readme","bugs":{"url":"https://github.com/WTW-IM/isolated-externals-plugin/issues"},"dist":{"shasum":"552ffb40e40d1b5038a93a2e3e213fc87a2ff051","tarball":"https://registry.npmjs.org/isolated-externals-plugin/-/isolated-externals-plugin-2.3.0-global-url-modifier-c83fba1.1.tgz","fileCount":22,"integrity":"sha512-xbYlmDY67gYhfgyjQDC+t0pkEOHbeOkfF3er0lqRkbiIR0gMpnksy604RAV8r3IwxssqkfcudF9H5pWFC0HFtg==","signatures":[{"sig":"MEUCIQDG3Aaj4160/40BDsZoJJ0NN4a7buGuAmYaLW2SsM1ZdgIgbZ+UtN3/A/fcv8XDH/pTNMKMI1lwcsnYp7yb4jwDnMM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":55409,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj7TszACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqVjhAAhMIc3VubPoeydCp6micswAdWgWGAFOi14SxfKnRYu1LrXpi1\r\nvmoJ24/tTzPRfg7RyN1UhC/6PCMUBLselGfBk2Q8gO0+d26Vw5nyiUnzoy3z\r\nM0mqEcJIw4W4YL4Ai4a3jgeUin+ngdyTrYNSkTSNzzxIVK9pZicEhmIfTlAp\r\nT0XXBtehA+SfB5BypxQ8KEawnZnkN1MwKAgiWcgwfNDuNTzLHAwPUV6rf99E\r\nS+k//JPsCCHc/3oH5OlphgtaKR1EkDsdncVnvvh3KcsPcC0SPAoT/X/Lg2rX\r\n3A6clRHvR/wvsI1plNiKehXXwu8Kkz1oh8Mx3DbbHW/dzOzCrThyAJ1tN9HR\r\nOYqRU1rIIIlM1EKHS85CoKMp71lFFRAZL60ri5wZSTbcPBRLg4A8MeQZD+j1\r\nkz/V5iSqzzE1y8uI2E7fltHM2sY37WfONyiI/Lfxc2jEQD6MmP1rlzkfLH3k\r\nSrS3WoxIjCt+S4fXlb6yPKoLVNnoC7bVbxHN7R8qcFTnOnKwJ8NQsRYonBPz\r\nTtCM2BSWbnfyavwIxVGSwWpL+VkkYeeORkWCuaY6O3TWd21IaxiMAeaPKpZn\r\nschJWFU1Ab4yufY8YHAvZ+Cjisr8RvcH3L5Nb41Lp0hNcbtLeoym7cz+IYe9\r\nUuv1ouDX/L+PVJcv8bmfjmBaeTDH+3ViBxg=\r\n=v1Un\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"# isolated-externals-plugin\n\n[![Build Status](https://travis-ci.com/WTW-IM/isolated-externals-plugin.svg?branch=master)](https://travis-ci.com/github/WTW-IM/isolated-externals-plugin)\n[![npm version](https://badge.fury.io/js/isolated-externals-plugin.svg)](https://badge.fury.io/js/isolated-externals-plugin)\n\n## Installation\n\nTo install, simply run:\n\n```bash\nnpm install --save-dev isolated-externals-plugin\n```\n\n## Usage\n\nThe `IsolatedExternalsPlugin` allows you to load external dependencies inside the scope of your webpack bundle without having to have them in your global scope. If you're curious about why you might want this, there are [some use cases listed below](#why-load-externals-locally-instead-of-globally).\n\nIt's an opinionated plugin in this way:\n\n- The externals set with the `IsolatedExternalsPlugin` utilize [`externalsType.promise`](https://webpack.js.org/configuration/externals/#externalstypepromise), which utilizes `async`/`await` syntax.\n\nThe plugin is built as an ES Module, so you'll need to load it in by using the `default` property:\n\n```javascript\nconst IsolatedExternalsPlugin = require('isolated-externals-plugin').default;\n```\n\nAn `IsolatedExternalsPlugin` configuration might look like the following:\n\n```javascript\nnew IsolatedExternalsPlugin({\n  entry1: {\n    react: {\n      url: 'https://unpkg.com/react@16/umd/react.development.js',\n      globalName: 'React',\n    },\n    ['react-dom']: {\n      url: 'https://unpkg.com/react-dom@16/umd/react-dom.development.js',\n      globalName: 'ReactDOM',\n    },\n  },\n  entry2: {\n    react: {\n      url: 'https://unpkg.com/react@16/umd/react.development.js',\n      globalName: 'React',\n    },\n    ['react-dom']: {\n      url: 'https://unpkg.com/react-dom@16/umd/react-dom.development.js',\n      globalName: 'ReactDOM',\n    },\n  },\n});\n```\n\nEach property of the configuration follows this structure:\n\n```javascript\n[entryName]: {\n  [packageName]: {\n    url: [url],\n    globalName: [globalName]\n  }\n}\n```\n\n| Part             | Description                                                                                               |\n| ---------------- | --------------------------------------------------------------------------------------------------------- |\n| `entryName`\\*    | The name of one of your webpack [Entry Points](https://webpack.js.org/concepts/entry-points/).            |\n| `packageName`\\*  | The name of the import for your externalized dependency (like 'react-dom').                               |\n| `url`\\*          | The URL from which to load your dependency file.                                                          |\n| `globalName`     | The UMD name of your dependency (like `ReactDOM`). [See below for details](#globalname-and-other-details) |\n| `urlTransformer` | A path or module path to a module that exports a url transforming function.                               |\n| \\*               | _required_                                                                                                |\n\n## `globalName` and other details\n\nIf `globalName` is not provided, `IsolatedExternalsPlugin` will try to match the `packageName` to one of your [`externals`](https://webpack.js.org/configuration/externals/#externals) entries, and will use the value from that as the `globalName`\n\nThe external files will be loaded and applied to your context in the order that they're listed, so if you have dependencies that depend on other dependencies (like `ReactDOM` depends on `React`), then you'll want to make sure you list the ones they depend on first.\n\n## How It Works\n\n`IsolatedExternalsPlugin` loads the text of your externals URLs via a shared [Cache](https://developer.mozilla.org/en-US/docs/Web/API/Cache) (or a shared global object if `Cache` is not available), and processes the text on a context object which is singular to your bundle. This allows you to load multiple bundles per page with different versions of a dependency—or with the same version of a dependency separately—without polluting a global scope, and without loading the same dependency over the wire more than once. This keeps bundle sizes down while also providing complete autonomy to any individual JS bundle.\n\n## Why load externals locally instead of globally?\n\nHere are two valid use cases. There may be others, but these are the reason we built this plugin!:\n\n1. You want to load different javascript apps on the same page with different versions of the same dependency (like React).\n2. You want to load more than one javascript app onto the same page with the same dependency, but ignorant of each other and the global context (like in micro frontends). This allows each app to be small in byte size, and allows the overall page to never load the same dependency more than once.\n\n## Contributing\n\nThis package uses `semantic-release`. Changes will be compiled into a changelog and the package versioned, tagged and published automatically.\nPlease ensure your commit messages adhere to the following structure:\n\n```\n<type>: <subject>\n<BLANK LINE>\n<body>\n```\n\nOnly the header is mandatory. The supported types are based off of the [ESLint Convention](https://github.com/conventional-changelog/conventional-changelog/tree/35e279d40603b0969c6d622514f5c0984c5bf309/packages/conventional-changelog-eslint).\n","gitHead":"c83fba1e7053a50808ba34029167a1719ef161bf","scripts":{"lint":"eslint --ext .js,.jsx,.ts,.tsx ./src","test":"npm run lint && npm run build && jest","build":"tsc && cd src/util && tsc","prepare":"husky install","pre-commit":"lint-staged","startExamples":"npm run build && webpack-dev-server --config ./example-app/webpack.config.js","prepublishOnly":"npm run build"},"_npmUser":{"name":"stevematney","email":"steve.matney@gmail.com"},"repository":{"url":"git+https://github.com/WTW-IM/isolated-externals-plugin.git","type":"git"},"_npmVersion":"8.19.3","description":"[![Build Status](https://travis-ci.com/WTW-IM/isolated-externals-plugin.svg?branch=master)](https://travis-ci.com/github/WTW-IM/isolated-externals-plugin) [![npm version](https://badge.fury.io/js/isolated-externals-plugin.svg)](https://badge.fury.io/js/is","directories":{},"lint-staged":{"*.md":["prettier --write --parser markdown"],"src/**/*.(j|t)s?(x)":["prettier --write","eslint --fix"]},"_nodeVersion":"18.14.0","dependencies":{"schema-utils":"^4.0.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"ajv":"^8.11.2","jest":"^29.3.1","husky":"^6.0.0","react":"^17.0.1","eslint":"^7.19.0","webpack":"^5.75.0","prettier":"2.2.1","react-dom":"^17.0.1","@babel/cli":"^7.19.3","typescript":"^4.9.3","@types/jest":"^29.2.3","lint-staged":"^10.5.4","webpack-cli":"^5.0.0","babel-loader":"^9.1.0","@types/webpack":"^5.28.0","@commitlint/cli":"^11.0.0","semantic-release":"^19.0.5","@babel/preset-env":"^7.12.13","webpack-dev-server":"^4.11.1","@babel/preset-react":"^7.18.6","@types/randomstring":"^1.1.8","eslint-plugin-react":"^7.22.0","html-webpack-plugin":"^5.5.0","@babel/eslint-parser":"^7.19.1","@semantic-release/git":"^10.0.1","eslint-config-prettier":"^7.2.0","@babel/preset-typescript":"^7.12.13","@typescript-eslint/parser":"^4.14.2","@semantic-release/changelog":"^6.0.1","conventional-changelog-eslint":"^3.0.9","@commitlint/config-conventional":"^11.0.0","@typescript-eslint/eslint-plugin":"^4.14.2"},"peerDependencies":{"webpack":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/isolated-externals-plugin_2.3.0-global-url-modifier-c83fba1.1_1676491571468_0.683611284315039","host":"s3://npm-registry-packages"}},"2.3.0":{"name":"isolated-externals-plugin","version":"2.3.0","keywords":["Web Components","webpack","webpack4","webpack-plugin","isolated","externals","embedded"],"author":{"name":"Steve Matney"},"license":"ISC","_id":"isolated-externals-plugin@2.3.0","maintainers":[{"name":"jrios","email":"jacobrios@fastmail.com"},{"name":"darrken","email":"ken.james.adams+npm@gmail.com"},{"name":"aabenoja","email":"abenojaalex@gmail.com"},{"name":"stevematney","email":"steve.matney@gmail.com"}],"homepage":"https://github.com/WTW-IM/isolated-externals-plugin#readme","bugs":{"url":"https://github.com/WTW-IM/isolated-externals-plugin/issues"},"dist":{"shasum":"98df2dae702c88e232c32baae622a753bf911be3","tarball":"https://registry.npmjs.org/isolated-externals-plugin/-/isolated-externals-plugin-2.3.0.tgz","fileCount":22,"integrity":"sha512-upEQNt9jli1Mbi5DLviNfK7SiarqgHDwchmA3mBITYu3sn3xJVZFuD/lZugR4O5X8MITcH+pbSbi5MfOqpSO4w==","signatures":[{"sig":"MEYCIQCNgUL1UBHvl0w/7dj8dpSs/CAR1QJstDwHRL+MBHw9zwIhAL1JQ28bQvV7Ml4Yra41z5+xGpTa+Jk0UiFvkHPY6Krg","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":55379,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj7V6LACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqJ6w//T9/vtkiYglzt2HNOFoOK+WByXCxOEo9gf5JkbgnEkIJi/ZJz\r\nR6znHogYPWxA4gxOtgi+/Vg51WAk6yk4D2q+wqLNkMze17HVuYXlFfW+JA3g\r\n5F9YDJvLyvkfwzyMdnED7mvOzL3i/bbtFqZHZdZaXfET5vq3DO+85MHv6z3E\r\nAWmy5w7367llWOtxYdPuE1uBYbhxlpYJbid7ip9qg/v6A22JUMODyNQMRS/b\r\nhj/acWmPswFORWN8IbMysQm+ZomfgApPxRj+qa8M6mkC5xcWHcyuuz4iFPOm\r\nzvNEpYj397bPoukJT+yneq2s//ud8kATzayEHSxUKSZkJIcDhQfCqJ8BAuRR\r\nGtQKW1RDd5aP5o0RpNyDEgfP8jgjKrpUFtajgOwsHMh679pSg9M1oaHsTAPq\r\nHGJyPZrhVE+6vB7+d9wvnojJfhUHuSyaDG690DMgW0MNAPYGscjOTA2boX/n\r\n4EVOgVq6amfvoQ62VovCfRNGx+/iKWeD8oEjVc/c6izDOz1OoNPL2QKqh3+K\r\n05p3EnMcJBBWRAEDOs+lHhTJGNRmFB6v1njLWuCQr+y7rTaNscId4Q0A4dI5\r\nf6qZo2ecsUtGStGSAGvVkY7F5WX7JCLKy68mK83wA8CgOFre1xbe6AgJdJ45\r\n0mxtNJ2FB8SYw/I3bJD0HX1JfSD8rSCezG8=\r\n=IMcK\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"8cc22d215c27235205ff589829138903cc026629","scripts":{"lint":"eslint --ext .js,.jsx,.ts,.tsx ./src","test":"npm run lint && npm run build && jest","build":"tsc && cd src/util && tsc","prepare":"husky install","pre-commit":"lint-staged","startExamples":"npm run build && webpack-dev-server --config ./example-app/webpack.config.js","prepublishOnly":"npm run build"},"_npmUser":{"name":"stevematney","email":"steve.matney@gmail.com"},"repository":{"url":"git+https://github.com/WTW-IM/isolated-externals-plugin.git","type":"git"},"_npmVersion":"8.19.3","description":"[![Build Status](https://travis-ci.com/WTW-IM/isolated-externals-plugin.svg?branch=master)](https://travis-ci.com/github/WTW-IM/isolated-externals-plugin) [![npm version](https://badge.fury.io/js/isolated-externals-plugin.svg)](https://badge.fury.io/js/is","directories":{},"lint-staged":{"*.md":["prettier --write --parser markdown"],"src/**/*.(j|t)s?(x)":["prettier --write","eslint --fix"]},"_nodeVersion":"18.14.0","dependencies":{"schema-utils":"^4.0.0"},"_hasShrinkwrap":false,"devDependencies":{"ajv":"^8.11.2","jest":"^29.3.1","husky":"^6.0.0","react":"^17.0.1","eslint":"^7.19.0","webpack":"^5.75.0","prettier":"2.2.1","react-dom":"^17.0.1","@babel/cli":"^7.19.3","typescript":"^4.9.3","@types/jest":"^29.2.3","lint-staged":"^10.5.4","webpack-cli":"^5.0.0","babel-loader":"^9.1.0","@types/webpack":"^5.28.0","@commitlint/cli":"^11.0.0","semantic-release":"^19.0.5","@babel/preset-env":"^7.12.13","webpack-dev-server":"^4.11.1","@babel/preset-react":"^7.18.6","@types/randomstring":"^1.1.8","eslint-plugin-react":"^7.22.0","html-webpack-plugin":"^5.5.0","@babel/eslint-parser":"^7.19.1","@semantic-release/git":"^10.0.1","eslint-config-prettier":"^7.2.0","@babel/preset-typescript":"^7.12.13","@typescript-eslint/parser":"^4.14.2","@semantic-release/changelog":"^6.0.1","conventional-changelog-eslint":"^3.0.9","@commitlint/config-conventional":"^11.0.0","@typescript-eslint/eslint-plugin":"^4.14.2"},"peerDependencies":{"webpack":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/isolated-externals-plugin_2.3.0_1676500619444_0.9682552586648923","host":"s3://npm-registry-packages"}},"2.3.1-timeout-external-cache-open-5d4b190.1":{"name":"isolated-externals-plugin","version":"2.3.1-timeout-external-cache-open-5d4b190.1","keywords":["Web Components","webpack","webpack4","webpack-plugin","isolated","externals","embedded"],"author":{"name":"Steve Matney"},"license":"ISC","_id":"isolated-externals-plugin@2.3.1-timeout-external-cache-open-5d4b190.1","maintainers":[{"name":"jrios","email":"jacobrios@fastmail.com"},{"name":"darrken","email":"ken.james.adams+npm@gmail.com"},{"name":"aabenoja","email":"abenojaalex@gmail.com"},{"name":"stevematney","email":"steve.matney@gmail.com"}],"homepage":"https://github.com/WTW-IM/isolated-externals-plugin#readme","bugs":{"url":"https://github.com/WTW-IM/isolated-externals-plugin/issues"},"dist":{"shasum":"02102d555dbcb0bb65cc9611dfd56eaee4d17506","tarball":"https://registry.npmjs.org/isolated-externals-plugin/-/isolated-externals-plugin-2.3.1-timeout-external-cache-open-5d4b190.1.tgz","fileCount":22,"integrity":"sha512-XRnEKV/MxKqdoFJjxyY3zQwBJ2J7gHel3ifH402eW2F6LwbR0TAzRF6xgguSdwtW/KJfKzSgPB8WFEEbeJYZ7g==","signatures":[{"sig":"MEUCIQCXgHILQphPFwzvDEpx/yn28iMnMvbAOy0wTckcLmV4XwIgN6CfINsYrW0RKZWJQX/s401wehv8ENKdvjtx13IDNw4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":55747,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkE5cjACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrSJA/8DEFd801KmkoIvXHVOhdRCAVzOnPq4nvXycw8RESr/7IXHSMU\r\nOrMNln45eX6N5Nrn++b+WxLCevTZtOYVg32o/OUSyZK/5s9rty4vuiDhtqXw\r\nSGH62iquAxfb+CPX5JDjL0/NPXjh/D2jgFPwhhfb+gwO/p9iFk4sm62RYWoA\r\nPD+QqFTVlW6g4FdsX3eQpdQZXtKRz1Z3SOCgBRK3Hi82WdEqTXnE4PQ4bqSC\r\nMphixpB5N6wb8dtkAeaTMhKbu34cwD7LBgfTB+Nbc8xgHdLl4V692x1Y/+WN\r\nQDKkZ0ytN4vxvIf+19PFT+hgeSJ6NzfC2lxndeRl/bRApc+2E69ovrGW4NPb\r\n/TxUcML0VcHXUq8n8fEoqJ9RglqMCmBTYvjC2XwzH00p2nRK5H2xv4zBFnfs\r\nqW+TDf+cNl17nULX3zaXGIPUIehaOIxPXBdtBUwDCYXqjmfzXDQJ7uzOl7Bi\r\nWS3Zm1WMkCYICaJEZDn84dE1hKLa247b0kwYgexD+tjp264q8tfAUVoC7Dpo\r\nVLFpb9w2d5xnyszfyCQ6PxeqzW2di7Utz8QR/PqZjUeJjgiR6KrX6oBEZYrC\r\nGJ5YcMc8OhMc+3X9KuqM4y4px+WShSEh368gkgNeWhRNSt67A4UxqQY/K5XW\r\ncjZVF0MoXFhsMrZmy7zKlP1gZcjRVyRcRcE=\r\n=JqtL\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"# isolated-externals-plugin\n\n[![Build Status](https://travis-ci.com/WTW-IM/isolated-externals-plugin.svg?branch=master)](https://travis-ci.com/github/WTW-IM/isolated-externals-plugin)\n[![npm version](https://badge.fury.io/js/isolated-externals-plugin.svg)](https://badge.fury.io/js/isolated-externals-plugin)\n\n## Installation\n\nTo install, simply run:\n\n```bash\nnpm install --save-dev isolated-externals-plugin\n```\n\n## Usage\n\nThe `IsolatedExternalsPlugin` allows you to load external dependencies inside the scope of your webpack bundle without having to have them in your global scope. If you're curious about why you might want this, there are [some use cases listed below](#why-load-externals-locally-instead-of-globally).\n\nIt's an opinionated plugin in this way:\n\n- The externals set with the `IsolatedExternalsPlugin` utilize [`externalsType.promise`](https://webpack.js.org/configuration/externals/#externalstypepromise), which utilizes `async`/`await` syntax.\n\nThe plugin is built as an ES Module, so you'll need to load it in by using the `default` property:\n\n```javascript\nconst IsolatedExternalsPlugin = require('isolated-externals-plugin').default;\n```\n\nAn `IsolatedExternalsPlugin` configuration might look like the following:\n\n```javascript\nnew IsolatedExternalsPlugin({\n  entry1: {\n    react: {\n      url: 'https://unpkg.com/react@16/umd/react.development.js',\n      globalName: 'React',\n    },\n    ['react-dom']: {\n      url: 'https://unpkg.com/react-dom@16/umd/react-dom.development.js',\n      globalName: 'ReactDOM',\n    },\n  },\n  entry2: {\n    react: {\n      url: 'https://unpkg.com/react@16/umd/react.development.js',\n      globalName: 'React',\n    },\n    ['react-dom']: {\n      url: 'https://unpkg.com/react-dom@16/umd/react-dom.development.js',\n      globalName: 'ReactDOM',\n    },\n  },\n});\n```\n\nEach property of the configuration follows this structure:\n\n```javascript\n[entryName]: {\n  [packageName]: {\n    url: [url],\n    globalName: [globalName]\n  }\n}\n```\n\n| Part             | Description                                                                                               |\n| ---------------- | --------------------------------------------------------------------------------------------------------- |\n| `entryName`\\*    | The name of one of your webpack [Entry Points](https://webpack.js.org/concepts/entry-points/).            |\n| `packageName`\\*  | The name of the import for your externalized dependency (like 'react-dom').                               |\n| `url`\\*          | The URL from which to load your dependency file.                                                          |\n| `globalName`     | The UMD name of your dependency (like `ReactDOM`). [See below for details](#globalname-and-other-details) |\n| `urlTransformer` | A path or module path to a module that exports a url transforming function.                               |\n| \\*               | _required_                                                                                                |\n\n## `globalName` and other details\n\nIf `globalName` is not provided, `IsolatedExternalsPlugin` will try to match the `packageName` to one of your [`externals`](https://webpack.js.org/configuration/externals/#externals) entries, and will use the value from that as the `globalName`\n\nThe external files will be loaded and applied to your context in the order that they're listed, so if you have dependencies that depend on other dependencies (like `ReactDOM` depends on `React`), then you'll want to make sure you list the ones they depend on first.\n\n## How It Works\n\n`IsolatedExternalsPlugin` loads the text of your externals URLs via a shared [Cache](https://developer.mozilla.org/en-US/docs/Web/API/Cache) (or a shared global object if `Cache` is not available), and processes the text on a context object which is singular to your bundle. This allows you to load multiple bundles per page with different versions of a dependency—or with the same version of a dependency separately—without polluting a global scope, and without loading the same dependency over the wire more than once. This keeps bundle sizes down while also providing complete autonomy to any individual JS bundle.\n\n## Why load externals locally instead of globally?\n\nHere are two valid use cases. There may be others, but these are the reason we built this plugin!:\n\n1. You want to load different javascript apps on the same page with different versions of the same dependency (like React).\n2. You want to load more than one javascript app onto the same page with the same dependency, but ignorant of each other and the global context (like in micro frontends). This allows each app to be small in byte size, and allows the overall page to never load the same dependency more than once.\n\n## Contributing\n\nThis package uses `semantic-release`. Changes will be compiled into a changelog and the package versioned, tagged and published automatically.\nPlease ensure your commit messages adhere to the following structure:\n\n```\n<type>: <subject>\n<BLANK LINE>\n<body>\n```\n\nOnly the header is mandatory. The supported types are based off of the [ESLint Convention](https://github.com/conventional-changelog/conventional-changelog/tree/35e279d40603b0969c6d622514f5c0984c5bf309/packages/conventional-changelog-eslint).\n","gitHead":"5d4b1909d70c08f085e59cf7ecfd015d56f54911","scripts":{"lint":"eslint --ext .js,.jsx,.ts,.tsx ./src","test":"npm run lint && npm run build && jest","build":"tsc && cd src/util && tsc","prepare":"husky install","pre-commit":"lint-staged","startExamples":"npm run build && webpack-dev-server --config ./example-app/webpack.config.js","prepublishOnly":"npm run build"},"_npmUser":{"name":"stevematney","email":"steve.matney@gmail.com"},"repository":{"url":"git+https://github.com/WTW-IM/isolated-externals-plugin.git","type":"git"},"_npmVersion":"8.19.3","description":"[![Build Status](https://travis-ci.com/WTW-IM/isolated-externals-plugin.svg?branch=master)](https://travis-ci.com/github/WTW-IM/isolated-externals-plugin) [![npm version](https://badge.fury.io/js/isolated-externals-plugin.svg)](https://badge.fury.io/js/is","directories":{},"lint-staged":{"*.md":["prettier --write --parser markdown"],"src/**/*.(j|t)s?(x)":["prettier --write","eslint --fix"]},"_nodeVersion":"18.15.0","dependencies":{"schema-utils":"^4.0.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"ajv":"^8.11.2","jest":"^29.3.1","husky":"^6.0.0","react":"^17.0.1","eslint":"^7.19.0","webpack":"^5.75.0","prettier":"2.2.1","react-dom":"^17.0.1","@babel/cli":"^7.19.3","typescript":"^4.9.3","@types/jest":"^29.2.3","lint-staged":"^10.5.4","webpack-cli":"^5.0.0","babel-loader":"^9.1.0","@types/webpack":"^5.28.0","@commitlint/cli":"^11.0.0","semantic-release":"^19.0.5","@babel/preset-env":"^7.12.13","webpack-dev-server":"^4.11.1","@babel/preset-react":"^7.18.6","@types/randomstring":"^1.1.8","eslint-plugin-react":"^7.22.0","html-webpack-plugin":"^5.5.0","@babel/eslint-parser":"^7.19.1","@semantic-release/git":"^10.0.1","eslint-config-prettier":"^7.2.0","@babel/preset-typescript":"^7.12.13","@typescript-eslint/parser":"^4.14.2","@semantic-release/changelog":"^6.0.1","conventional-changelog-eslint":"^3.0.9","@commitlint/config-conventional":"^11.0.0","@typescript-eslint/eslint-plugin":"^4.14.2"},"peerDependencies":{"webpack":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/isolated-externals-plugin_2.3.1-timeout-external-cache-open-5d4b190.1_1679005474848_0.11814897020753667","host":"s3://npm-registry-packages"}},"2.3.1":{"name":"isolated-externals-plugin","version":"2.3.1","keywords":["Web Components","webpack","webpack4","webpack-plugin","isolated","externals","embedded"],"author":{"name":"Steve Matney"},"license":"ISC","_id":"isolated-externals-plugin@2.3.1","maintainers":[{"name":"jrios","email":"jacobrios@fastmail.com"},{"name":"darrken","email":"ken.james.adams+npm@gmail.com"},{"name":"aabenoja","email":"abenojaalex@gmail.com"},{"name":"stevematney","email":"steve.matney@gmail.com"}],"homepage":"https://github.com/WTW-IM/isolated-externals-plugin#readme","bugs":{"url":"https://github.com/WTW-IM/isolated-externals-plugin/issues"},"dist":{"shasum":"66f888eecac0543a561e5fcc6e1f04346e2d4f2d","tarball":"https://registry.npmjs.org/isolated-externals-plugin/-/isolated-externals-plugin-2.3.1.tgz","fileCount":22,"integrity":"sha512-iLTrQmZLRugFTHUbnkJgFzwuU6V31AQH0IxgpZgY2S4cqvNmk4B/NE3gojScOvSuCfKeK2ySpaV7kwcIBXHHxw==","signatures":[{"sig":"MEYCIQD20jDWaNpj2T2N1gPLKQoCk9Pe4SJGl3MVeyN6C35fZQIhAObDuyMngZbb6aSb6MiHG6r7BKtHd/fMlytzIEV4ENwu","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":55709,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkE6gvACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp8MA//TMA9NBp+IONRdPom1v856wzK2vAuAjgpJjCzTycOgf8tFR84\r\nPVCLb6MaC007o0c0rMiM9dWTXQI4S7Gafibr1RE0PfL4sZSZSRkqdAKZE+tt\r\n56hPDGgBzQx0oLx7co+pUQ5wTgTYY/sj4wONApvrV/vzhhxIZXO3KPlrpPfC\r\nre/VALiEfxthH+bE2kWiHNm9GfK4FE0xNvUL6K4VMarNdP2eKyjFh8aBEkbN\r\n+M9b+QRrEEVpTq/xjnSQ6hUqAaC0xcwif/dcSWtz/dBxvgr+HR3Li5NsaNLE\r\nHWOSBK+ofcTCYoHzh2uO83uNibEy0M4yd2Ll8dPhwjUd0TSgSf5Az+IUKnRW\r\nAFIpO5C9lVRk0FhBI1ol96nD82ZCOU1B4CgTMWSkSZT6sAkqfPYy4x/3iHSM\r\nc+s7xGL4iNa+zWnYGA9SlsqTH5Bjv5BipKCHQ7MKjNc/bPFwUNGJV5rgn6GM\r\nuOgBJ/GGtOLPdnjkwt1daBmdqOM4IeBReHaRTuhISjkF6E+BLFCaxz4paEEP\r\n7oa3LOLB3TLHF+G3CspClopEiduLtOw1QdrR3o6PAiSRoCFytAKS+T2wBFXy\r\ngRhpljG8IcIQ8Ts6H4LCgedhhbZfou3+D4cGRy+abee/VLWEKjPu6i0AKKTX\r\nqOjKDiS0ARtaxC0mnvuZ0qQqZgFk9NvdIk0=\r\n=LVVD\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"e9a66fbaf814c77c4641ec1f9b82a66078983a19","scripts":{"lint":"eslint --ext .js,.jsx,.ts,.tsx ./src","test":"npm run lint && npm run build && jest","build":"tsc && cd src/util && tsc","prepare":"husky install","pre-commit":"lint-staged","startExamples":"npm run build && webpack-dev-server --config ./example-app/webpack.config.js","prepublishOnly":"npm run build"},"_npmUser":{"name":"stevematney","email":"steve.matney@gmail.com"},"repository":{"url":"git+https://github.com/WTW-IM/isolated-externals-plugin.git","type":"git"},"_npmVersion":"8.19.3","description":"[![Build Status](https://travis-ci.com/WTW-IM/isolated-externals-plugin.svg?branch=master)](https://travis-ci.com/github/WTW-IM/isolated-externals-plugin) [![npm version](https://badge.fury.io/js/isolated-externals-plugin.svg)](https://badge.fury.io/js/is","directories":{},"lint-staged":{"*.md":["prettier --write --parser markdown"],"src/**/*.(j|t)s?(x)":["prettier --write","eslint --fix"]},"_nodeVersion":"18.15.0","dependencies":{"schema-utils":"^4.0.0"},"_hasShrinkwrap":false,"devDependencies":{"ajv":"^8.11.2","jest":"^29.3.1","husky":"^6.0.0","react":"^17.0.1","eslint":"^7.19.0","webpack":"^5.75.0","prettier":"2.2.1","react-dom":"^17.0.1","@babel/cli":"^7.19.3","typescript":"^4.9.3","@types/jest":"^29.2.3","lint-staged":"^10.5.4","webpack-cli":"^5.0.0","babel-loader":"^9.1.0","@types/webpack":"^5.28.0","@commitlint/cli":"^11.0.0","semantic-release":"^19.0.5","@babel/preset-env":"^7.12.13","webpack-dev-server":"^4.11.1","@babel/preset-react":"^7.18.6","@types/randomstring":"^1.1.8","eslint-plugin-react":"^7.22.0","html-webpack-plugin":"^5.5.0","@babel/eslint-parser":"^7.19.1","@semantic-release/git":"^10.0.1","eslint-config-prettier":"^7.2.0","@babel/preset-typescript":"^7.12.13","@typescript-eslint/parser":"^4.14.2","@semantic-release/changelog":"^6.0.1","conventional-changelog-eslint":"^3.0.9","@commitlint/config-conventional":"^11.0.0","@typescript-eslint/eslint-plugin":"^4.14.2"},"peerDependencies":{"webpack":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/isolated-externals-plugin_2.3.1_1679009839220_0.05958767167832746","host":"s3://npm-registry-packages"}},"2.4.0-preload-non-esm-2bc7b8b.1":{"name":"isolated-externals-plugin","version":"2.4.0-preload-non-esm-2bc7b8b.1","keywords":["Web Components","webpack","webpack4","webpack-plugin","isolated","externals","embedded"],"author":{"name":"Steve Matney"},"license":"ISC","_id":"isolated-externals-plugin@2.4.0-preload-non-esm-2bc7b8b.1","maintainers":[{"name":"jrios","email":"jacobrios@fastmail.com"},{"name":"darrken","email":"ken.james.adams+npm@gmail.com"},{"name":"aabenoja","email":"abenojaalex@gmail.com"},{"name":"stevematney","email":"steve.matney@gmail.com"}],"homepage":"https://github.com/WTW-IM/isolated-externals-plugin#readme","bugs":{"url":"https://github.com/WTW-IM/isolated-externals-plugin/issues"},"dist":{"shasum":"c1fd3ddcc81050874d62fc6ae273e292e9602354","tarball":"https://registry.npmjs.org/isolated-externals-plugin/-/isolated-externals-plugin-2.4.0-preload-non-esm-2bc7b8b.1.tgz","fileCount":26,"integrity":"sha512-gHZEPUsm+6XJBadGXp66YsPsmxAoidVmL+Yuzc/ScCEGU2ekdtf2SYxrojIzEAtjhtrGs3QhxUfxzbzyc8BySQ==","signatures":[{"sig":"MEUCIQCBUDbLLEtkdKcJkMgjlqw/jVQnfQcvaWTkn1ZFSiOFgwIgH2KyjMKJDcgAJCXV1wWIurJFmHwN1TOAtYsp65cXkuc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":63466},"main":"dist/index.js","types":"dist/index.d.ts","readme":"# isolated-externals-plugin\n\n[![Build Status](https://travis-ci.com/WTW-IM/isolated-externals-plugin.svg?branch=master)](https://travis-ci.com/github/WTW-IM/isolated-externals-plugin)\n[![npm version](https://badge.fury.io/js/isolated-externals-plugin.svg)](https://badge.fury.io/js/isolated-externals-plugin)\n\n## Installation\n\nTo install, simply run:\n\n```bash\nnpm install --save-dev isolated-externals-plugin\n```\n\n## Usage\n\nThe `IsolatedExternalsPlugin` allows you to load external dependencies inside the scope of your webpack bundle without having to have them in your global scope. If you're curious about why you might want this, there are [some use cases listed below](#why-load-externals-locally-instead-of-globally).\n\nIt's an opinionated plugin in this way:\n\n- The externals set with the `IsolatedExternalsPlugin` utilize [`externalsType.promise`](https://webpack.js.org/configuration/externals/#externalstypepromise), which utilizes `async`/`await` syntax.\n\nThe plugin is built as an ES Module, so you'll need to load it in by using the `default` property:\n\n```javascript\nconst IsolatedExternalsPlugin = require('isolated-externals-plugin').default;\n```\n\nAn `IsolatedExternalsPlugin` configuration might look like the following:\n\n```javascript\nnew IsolatedExternalsPlugin({\n  entry1: {\n    react: {\n      url: 'https://unpkg.com/react@16/umd/react.development.js',\n      globalName: 'React',\n    },\n    ['react-dom']: {\n      url: 'https://unpkg.com/react-dom@16/umd/react-dom.development.js',\n      globalName: 'ReactDOM',\n    },\n  },\n  entry2: {\n    react: {\n      url: 'https://unpkg.com/react@16/umd/react.development.js',\n      globalName: 'React',\n    },\n    ['react-dom']: {\n      url: 'https://unpkg.com/react-dom@16/umd/react-dom.development.js',\n      globalName: 'ReactDOM',\n    },\n  },\n});\n```\n\nEach property of the configuration follows this structure:\n\n```javascript\n[entryName]: {\n  [packageName]: {\n    url: [url],\n    globalName: [globalName]\n  }\n}\n```\n\n| Part             | Description                                                                                               |\n| ---------------- | --------------------------------------------------------------------------------------------------------- |\n| `entryName`\\*    | The name of one of your webpack [Entry Points](https://webpack.js.org/concepts/entry-points/).            |\n| `packageName`\\*  | The name of the import for your externalized dependency (like 'react-dom').                               |\n| `url`\\*          | The URL from which to load your dependency file.                                                          |\n| `globalName`     | The UMD name of your dependency (like `ReactDOM`). [See below for details](#globalname-and-other-details) |\n| `urlTransformer` | A path or module path to a module that exports a url transforming function.                               |\n| \\*               | _required_                                                                                                |\n\n## `globalName` and other details\n\nIf `globalName` is not provided, `IsolatedExternalsPlugin` will try to match the `packageName` to one of your [`externals`](https://webpack.js.org/configuration/externals/#externals) entries, and will use the value from that as the `globalName`\n\nThe external files will be loaded and applied to your context in the order that they're listed, so if you have dependencies that depend on other dependencies (like `ReactDOM` depends on `React`), then you'll want to make sure you list the ones they depend on first.\n\n## How It Works\n\n`IsolatedExternalsPlugin` loads the text of your externals URLs via a shared [Cache](https://developer.mozilla.org/en-US/docs/Web/API/Cache) (or a shared global object if `Cache` is not available), and processes the text on a context object which is singular to your bundle. This allows you to load multiple bundles per page with different versions of a dependency—or with the same version of a dependency separately—without polluting a global scope, and without loading the same dependency over the wire more than once. This keeps bundle sizes down while also providing complete autonomy to any individual JS bundle.\n\n## Why load externals locally instead of globally?\n\nHere are two valid use cases. There may be others, but these are the reason we built this plugin!:\n\n1. You want to load different javascript apps on the same page with different versions of the same dependency (like React).\n2. You want to load more than one javascript app onto the same page with the same dependency, but ignorant of each other and the global context (like in micro frontends). This allows each app to be small in byte size, and allows the overall page to never load the same dependency more than once.\n\n## Contributing\n\nThis package uses `semantic-release`. Changes will be compiled into a changelog and the package versioned, tagged and published automatically.\nPlease ensure your commit messages adhere to the following structure:\n\n```\n<type>: <subject>\n<BLANK LINE>\n<body>\n```\n\nOnly the header is mandatory. The supported types are based off of the [ESLint Convention](https://github.com/conventional-changelog/conventional-changelog/tree/35e279d40603b0969c6d622514f5c0984c5bf309/packages/conventional-changelog-eslint).\n","gitHead":"2bc7b8bcc3f36d44136f1f6750ac3267b1b2dbe3","scripts":{"lint":"eslint --ext .js,.jsx,.ts,.tsx ./src","test":"npm run lint && npm run build && jest","build":"tsc && cd src/util && tsc","prepare":"husky install","pre-commit":"lint-staged","startExamples":"npm run build && webpack-dev-server --config ./example-app/webpack.config.js","prepublishOnly":"npm run build"},"_npmUser":{"name":"stevematney","email":"steve.matney@gmail.com"},"repository":{"url":"git+https://github.com/WTW-IM/isolated-externals-plugin.git","type":"git"},"_npmVersion":"9.7.1","description":"[![Build Status](https://travis-ci.com/WTW-IM/isolated-externals-plugin.svg?branch=master)](https://travis-ci.com/github/WTW-IM/isolated-externals-plugin) [![npm version](https://badge.fury.io/js/isolated-externals-plugin.svg)](https://badge.fury.io/js/is","directories":{},"lint-staged":{"*.md":["prettier --write --parser markdown"],"src/**/*.(j|t)s?(x)":["prettier --write","eslint --fix"]},"_nodeVersion":"18.16.0","dependencies":{"schema-utils":"^4.0.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"ajv":"^8.11.2","jest":"^29.3.1","husky":"^6.0.0","react":"^17.0.1","eslint":"^7.19.0","webpack":"^5.86.0","prettier":"2.2.1","react-dom":"^17.0.1","@babel/cli":"^7.19.3","typescript":"^4.9.3","@types/jest":"^29.2.3","lint-staged":"^10.5.4","react-modal":"^3.16.1","webpack-cli":"^5.0.0","babel-loader":"^9.1.0","@types/webpack":"^5.28.1","@commitlint/cli":"^11.0.0","semantic-release":"^21.0.3","@babel/preset-env":"^7.12.13","@types/react-modal":"^3.16.0","webpack-dev-server":"^4.11.1","@babel/preset-react":"^7.18.6","@types/randomstring":"^1.1.8","eslint-plugin-react":"^7.22.0","html-webpack-plugin":"^5.5.0","@babel/eslint-parser":"^7.19.1","@semantic-release/git":"^10.0.1","eslint-config-prettier":"^7.2.0","@babel/preset-typescript":"^7.12.13","@typescript-eslint/parser":"^4.14.2","@semantic-release/changelog":"^6.0.1","conventional-changelog-eslint":"^3.0.9","@commitlint/config-conventional":"^11.0.0","@typescript-eslint/eslint-plugin":"^4.14.2"},"peerDependencies":{"webpack":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/isolated-externals-plugin_2.4.0-preload-non-esm-2bc7b8b.1_1686333275441_0.9926402464137358","host":"s3://npm-registry-packages"}},"2.4.0-preload-non-esm-fef1d9c.1":{"name":"isolated-externals-plugin","version":"2.4.0-preload-non-esm-fef1d9c.1","keywords":["Web Components","webpack","webpack4","webpack-plugin","isolated","externals","embedded"],"author":{"name":"Steve Matney"},"license":"ISC","_id":"isolated-externals-plugin@2.4.0-preload-non-esm-fef1d9c.1","maintainers":[{"name":"jrios","email":"jacobrios@fastmail.com"},{"name":"darrken","email":"ken.james.adams+npm@gmail.com"},{"name":"aabenoja","email":"abenojaalex@gmail.com"},{"name":"stevematney","email":"steve.matney@gmail.com"}],"homepage":"https://github.com/WTW-IM/isolated-externals-plugin#readme","bugs":{"url":"https://github.com/WTW-IM/isolated-externals-plugin/issues"},"dist":{"shasum":"99ca1a6143f022f06412fcb1204104e3e878be4a","tarball":"https://registry.npmjs.org/isolated-externals-plugin/-/isolated-externals-plugin-2.4.0-preload-non-esm-fef1d9c.1.tgz","fileCount":30,"integrity":"sha512-11LTv+xPNVzWYUfoKbupM3OhFZTpjMRHrMBE3X5FacoOmL7H+Pj9w4PqJiVkreZXybDqNTWiSwQQKduRzAik2w==","signatures":[{"sig":"MEYCIQCIJQ4zX9FnlOQN5grzMC7FsYfYxku1EEssnpgKVHIEiQIhAO6+9A3MwSNcteo/THBWgaB+5k/mENDlUIBdj9hi24Vp","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":44649},"main":"dist/index.js","types":"dist/index.d.ts","readme":"# isolated-externals-plugin\n\n[![Build Status](https://travis-ci.com/WTW-IM/isolated-externals-plugin.svg?branch=master)](https://travis-ci.com/github/WTW-IM/isolated-externals-plugin)\n[![npm version](https://badge.fury.io/js/isolated-externals-plugin.svg)](https://badge.fury.io/js/isolated-externals-plugin)\n\n## Installation\n\nTo install, simply run:\n\n```bash\nnpm install --save-dev isolated-externals-plugin\n```\n\n## Usage\n\nThe `IsolatedExternalsPlugin` allows you to load external dependencies inside the scope of your webpack bundle without having to have them in your global scope. If you're curious about why you might want this, there are [some use cases listed below](#why-load-externals-locally-instead-of-globally).\n\nIt's an opinionated plugin in this way:\n\n- The externals set with the `IsolatedExternalsPlugin` utilize [`externalsType.promise`](https://webpack.js.org/configuration/externals/#externalstypepromise), which utilizes `async`/`await` syntax.\n\nThe plugin is built as an ES Module, so you'll need to load it in by using the `default` property:\n\n```javascript\nconst IsolatedExternalsPlugin = require('isolated-externals-plugin').default;\n```\n\nAn `IsolatedExternalsPlugin` configuration might look like the following:\n\n```javascript\nnew IsolatedExternalsPlugin({\n  entry1: {\n    react: {\n      url: 'https://unpkg.com/react@16/umd/react.development.js',\n      globalName: 'React',\n    },\n    ['react-dom']: {\n      url: 'https://unpkg.com/react-dom@16/umd/react-dom.development.js',\n      globalName: 'ReactDOM',\n    },\n  },\n  entry2: {\n    react: {\n      url: 'https://unpkg.com/react@16/umd/react.development.js',\n      globalName: 'React',\n    },\n    ['react-dom']: {\n      url: 'https://unpkg.com/react-dom@16/umd/react-dom.development.js',\n      globalName: 'ReactDOM',\n    },\n  },\n});\n```\n\nEach property of the configuration follows this structure:\n\n```javascript\n[entryName]: {\n  [packageName]: {\n    url: [url],\n    globalName: [globalName]\n  }\n}\n```\n\n| Part             | Description                                                                                               |\n| ---------------- | --------------------------------------------------------------------------------------------------------- |\n| `entryName`\\*    | The name of one of your webpack [Entry Points](https://webpack.js.org/concepts/entry-points/).            |\n| `packageName`\\*  | The name of the import for your externalized dependency (like 'react-dom').                               |\n| `url`\\*          | The URL from which to load your dependency file.                                                          |\n| `globalName`     | The UMD name of your dependency (like `ReactDOM`). [See below for details](#globalname-and-other-details) |\n| `urlTransformer` | A path or module path to a module that exports a url transforming function.                               |\n| \\*               | _required_                                                                                                |\n\n## `globalName` and other details\n\nIf `globalName` is not provided, `IsolatedExternalsPlugin` will try to match the `packageName` to one of your [`externals`](https://webpack.js.org/configuration/externals/#externals) entries, and will use the value from that as the `globalName`\n\nThe external files will be loaded and applied to your context in the order that they're listed, so if you have dependencies that depend on other dependencies (like `ReactDOM` depends on `React`), then you'll want to make sure you list the ones they depend on first.\n\n## How It Works\n\n`IsolatedExternalsPlugin` loads the text of your externals URLs via a shared [Cache](https://developer.mozilla.org/en-US/docs/Web/API/Cache) (or a shared global object if `Cache` is not available), and processes the text on a context object which is singular to your bundle. This allows you to load multiple bundles per page with different versions of a dependency—or with the same version of a dependency separately—without polluting a global scope, and without loading the same dependency over the wire more than once. This keeps bundle sizes down while also providing complete autonomy to any individual JS bundle.\n\n## Why load externals locally instead of globally?\n\nHere are two valid use cases. There may be others, but these are the reason we built this plugin!:\n\n1. You want to load different javascript apps on the same page with different versions of the same dependency (like React).\n2. You want to load more than one javascript app onto the same page with the same dependency, but ignorant of each other and the global context (like in micro frontends). This allows each app to be small in byte size, and allows the overall page to never load the same dependency more than once.\n\n## Contributing\n\nThis package uses `semantic-release`. Changes will be compiled into a changelog and the package versioned, tagged and published automatically.\nPlease ensure your commit messages adhere to the following structure:\n\n```\n<type>: <subject>\n<BLANK LINE>\n<body>\n```\n\nOnly the header is mandatory. The supported types are based off of the [ESLint Convention](https://github.com/conventional-changelog/conventional-changelog/tree/35e279d40603b0969c6d622514f5c0984c5bf309/packages/conventional-changelog-eslint).\n","gitHead":"fef1d9cc0eae2441bc6652ce5d3ae39cfeb8ceae","scripts":{"lint":"eslint --ext .js,.jsx,.ts,.tsx ./src","test":"npm run lint && npm run build && jest","build":"tsc && cd src/util && tsc","prepare":"husky install","pre-commit":"lint-staged","startExamples":"npm run build && webpack-dev-server --config ./example-app/webpack.config.js","prepublishOnly":"npm run build"},"_npmUser":{"name":"stevematney","email":"steve.matney@gmail.com"},"repository":{"url":"git+https://github.com/WTW-IM/isolated-externals-plugin.git","type":"git"},"_npmVersion":"9.7.1","description":"[![Build Status](https://travis-ci.com/WTW-IM/isolated-externals-plugin.svg?branch=master)](https://travis-ci.com/github/WTW-IM/isolated-externals-plugin) [![npm version](https://badge.fury.io/js/isolated-externals-plugin.svg)](https://badge.fury.io/js/is","directories":{},"lint-staged":{"*.md":["prettier --write --parser markdown"],"src/**/*.(j|t)s?(x)":["prettier --write","eslint --fix"]},"_nodeVersion":"18.16.0","dependencies":{"schema-utils":"^4.0.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"ajv":"^8.11.2","jest":"^29.3.1","husky":"^6.0.0","react":"^17.0.1","eslint":"^7.19.0","webpack":"^5.86.0","prettier":"2.2.1","react-dom":"^17.0.1","@babel/cli":"^7.19.3","typescript":"^4.9.3","@types/jest":"^29.2.3","lint-staged":"^10.5.4","react-modal":"^3.16.1","webpack-cli":"^5.0.0","babel-loader":"^9.1.0","@types/webpack":"^5.28.1","@commitlint/cli":"^11.0.0","semantic-release":"^21.0.3","@babel/preset-env":"^7.12.13","@types/react-modal":"^3.16.0","webpack-dev-server":"^4.11.1","@babel/preset-react":"^7.18.6","@types/randomstring":"^1.1.8","eslint-plugin-react":"^7.22.0","html-webpack-plugin":"^5.5.0","@babel/eslint-parser":"^7.19.1","@semantic-release/git":"^10.0.1","eslint-config-prettier":"^7.2.0","@babel/preset-typescript":"^7.12.13","@typescript-eslint/parser":"^4.14.2","@semantic-release/changelog":"^6.0.1","conventional-changelog-eslint":"^3.0.9","@commitlint/config-conventional":"^11.0.0","@typescript-eslint/eslint-plugin":"^4.14.2"},"peerDependencies":{"webpack":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/isolated-externals-plugin_2.4.0-preload-non-esm-fef1d9c.1_1686612304829_0.8252965653416704","host":"s3://npm-registry-packages"}},"2.4.0-preload-non-esm-fb1da61.1":{"name":"isolated-externals-plugin","version":"2.4.0-preload-non-esm-fb1da61.1","keywords":["Web Components","webpack","webpack4","webpack-plugin","isolated","externals","embedded"],"author":{"name":"Steve Matney"},"license":"ISC","_id":"isolated-externals-plugin@2.4.0-preload-non-esm-fb1da61.1","maintainers":[{"name":"jrios","email":"jacobrios@fastmail.com"},{"name":"darrken","email":"ken.james.adams+npm@gmail.com"},{"name":"aabenoja","email":"abenojaalex@gmail.com"},{"name":"stevematney","email":"steve.matney@gmail.com"}],"homepage":"https://github.com/WTW-IM/isolated-externals-plugin#readme","bugs":{"url":"https://github.com/WTW-IM/isolated-externals-plugin/issues"},"dist":{"shasum":"2541049e0b0d84ca1ffc7f3c75595e6fbadb04fa","tarball":"https://registry.npmjs.org/isolated-externals-plugin/-/isolated-externals-plugin-2.4.0-preload-non-esm-fb1da61.1.tgz","fileCount":30,"integrity":"sha512-pG/P/Myny6wknc/1GVDHLWwWqhRUJjQyoIpTjJ6bvi8GCw/3J9YCqee5O4CDs7pE71meujvN9CGsRxyAY9rhFw==","signatures":[{"sig":"MEYCIQD82MxE+1wd4IjaW/jtdZjR5S6+6so7J1FY5/DPoyPeFQIhAIviARqDekiiT0Yd4qmkhnCP4jNvcNoGBjT1mXnght/T","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":67273},"main":"dist/index.js","types":"dist/index.d.ts","readme":"# isolated-externals-plugin\n\n[![Build Status](https://travis-ci.com/WTW-IM/isolated-externals-plugin.svg?branch=master)](https://travis-ci.com/github/WTW-IM/isolated-externals-plugin)\n[![npm version](https://badge.fury.io/js/isolated-externals-plugin.svg)](https://badge.fury.io/js/isolated-externals-plugin)\n\n## Installation\n\nTo install, simply run:\n\n```bash\nnpm install --save-dev isolated-externals-plugin\n```\n\n## Usage\n\nThe `IsolatedExternalsPlugin` allows you to load external dependencies inside the scope of your webpack bundle without having to have them in your global scope. If you're curious about why you might want this, there are [some use cases listed below](#why-load-externals-locally-instead-of-globally).\n\nIt's an opinionated plugin in this way:\n\n- The externals set with the `IsolatedExternalsPlugin` utilize [`externalsType.promise`](https://webpack.js.org/configuration/externals/#externalstypepromise), which utilizes `async`/`await` syntax.\n\nThe plugin is built as an ES Module, so you'll need to load it in by using the `default` property:\n\n```javascript\nconst IsolatedExternalsPlugin = require('isolated-externals-plugin').default;\n```\n\nAn `IsolatedExternalsPlugin` configuration might look like the following:\n\n```javascript\nnew IsolatedExternalsPlugin({\n  entry1: {\n    react: {\n      url: 'https://unpkg.com/react@16/umd/react.development.js',\n      globalName: 'React',\n    },\n    ['react-dom']: {\n      url: 'https://unpkg.com/react-dom@16/umd/react-dom.development.js',\n      globalName: 'ReactDOM',\n    },\n  },\n  entry2: {\n    react: {\n      url: 'https://unpkg.com/react@16/umd/react.development.js',\n      globalName: 'React',\n    },\n    ['react-dom']: {\n      url: 'https://unpkg.com/react-dom@16/umd/react-dom.development.js',\n      globalName: 'ReactDOM',\n    },\n  },\n});\n```\n\nEach property of the configuration follows this structure:\n\n```javascript\n[entryName]: {\n  [packageName]: {\n    url: [url],\n    globalName: [globalName]\n  }\n}\n```\n\n| Part             | Description                                                                                               |\n| ---------------- | --------------------------------------------------------------------------------------------------------- |\n| `entryName`\\*    | The name of one of your webpack [Entry Points](https://webpack.js.org/concepts/entry-points/).            |\n| `packageName`\\*  | The name of the import for your externalized dependency (like 'react-dom').                               |\n| `url`\\*          | The URL from which to load your dependency file.                                                          |\n| `globalName`     | The UMD name of your dependency (like `ReactDOM`). [See below for details](#globalname-and-other-details) |\n| `urlTransformer` | A path or module path to a module that exports a url transforming function.                               |\n| \\*               | _required_                                                                                                |\n\n## `globalName` and other details\n\nIf `globalName` is not provided, `IsolatedExternalsPlugin` will try to match the `packageName` to one of your [`externals`](https://webpack.js.org/configuration/externals/#externals) entries, and will use the value from that as the `globalName`\n\nThe external files will be loaded and applied to your context in the order that they're listed, so if you have dependencies that depend on other dependencies (like `ReactDOM` depends on `React`), then you'll want to make sure you list the ones they depend on first.\n\n## How It Works\n\n`IsolatedExternalsPlugin` loads the text of your externals URLs via a shared [Cache](https://developer.mozilla.org/en-US/docs/Web/API/Cache) (or a shared global object if `Cache` is not available), and processes the text on a context object which is singular to your bundle. This allows you to load multiple bundles per page with different versions of a dependency—or with the same version of a dependency separately—without polluting a global scope, and without loading the same dependency over the wire more than once. This keeps bundle sizes down while also providing complete autonomy to any individual JS bundle.\n\n## Why load externals locally instead of globally?\n\nHere are two valid use cases. There may be others, but these are the reason we built this plugin!:\n\n1. You want to load different javascript apps on the same page with different versions of the same dependency (like React).\n2. You want to load more than one javascript app onto the same page with the same dependency, but ignorant of each other and the global context (like in micro frontends). This allows each app to be small in byte size, and allows the overall page to never load the same dependency more than once.\n\n## Contributing\n\nThis package uses `semantic-release`. Changes will be compiled into a changelog and the package versioned, tagged and published automatically.\nPlease ensure your commit messages adhere to the following structure:\n\n```\n<type>: <subject>\n<BLANK LINE>\n<body>\n```\n\nOnly the header is mandatory. The supported types are based off of the [ESLint Convention](https://github.com/conventional-changelog/conventional-changelog/tree/35e279d40603b0969c6d622514f5c0984c5bf309/packages/conventional-changelog-eslint).\n","gitHead":"fb1da6111babe8a134d62e9c4942170e17223da3","scripts":{"lint":"eslint --ext .js,.jsx,.ts,.tsx ./src","test":"npm run lint && npm run build && jest","build":"tsc && cd src/util && tsc","prepare":"husky install","pre-commit":"lint-staged","startExamples":"npm run build && webpack-dev-server --config ./example-app/webpack.config.js","prepublishOnly":"npm run build"},"_npmUser":{"name":"stevematney","email":"steve.matney@gmail.com"},"repository":{"url":"git+https://github.com/WTW-IM/isolated-externals-plugin.git","type":"git"},"_npmVersion":"9.7.1","description":"[![Build Status](https://travis-ci.com/WTW-IM/isolated-externals-plugin.svg?branch=master)](https://travis-ci.com/github/WTW-IM/isolated-externals-plugin) [![npm version](https://badge.fury.io/js/isolated-externals-plugin.svg)](https://badge.fury.io/js/is","directories":{},"lint-staged":{"*.md":["prettier --write --parser markdown"],"src/**/*.(j|t)s?(x)":["prettier --write","eslint --fix"]},"_nodeVersion":"18.16.0","dependencies":{"schema-utils":"^4.0.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"ajv":"^8.11.2","jest":"^29.3.1","husky":"^6.0.0","react":"^17.0.1","eslint":"^7.19.0","webpack":"^5.86.0","prettier":"2.2.1","react-dom":"^17.0.1","@babel/cli":"^7.19.3","typescript":"^4.9.3","@types/jest":"^29.2.3","lint-staged":"^10.5.4","react-modal":"^3.16.1","webpack-cli":"^5.0.0","babel-loader":"^9.1.0","@types/webpack":"^5.28.1","@commitlint/cli":"^11.0.0","semantic-release":"^21.0.3","@babel/preset-env":"^7.12.13","@types/react-modal":"^3.16.0","webpack-dev-server":"^4.11.1","@babel/preset-react":"^7.18.6","@types/randomstring":"^1.1.8","eslint-plugin-react":"^7.22.0","html-webpack-plugin":"^5.5.0","@babel/eslint-parser":"^7.19.1","@semantic-release/git":"^10.0.1","eslint-config-prettier":"^7.2.0","@babel/preset-typescript":"^7.12.13","@typescript-eslint/parser":"^4.14.2","@semantic-release/changelog":"^6.0.1","conventional-changelog-eslint":"^3.0.9","@commitlint/config-conventional":"^11.0.0","@typescript-eslint/eslint-plugin":"^4.14.2"},"peerDependencies":{"webpack":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/isolated-externals-plugin_2.4.0-preload-non-esm-fb1da61.1_1686613303513_0.17164872456421043","host":"s3://npm-registry-packages"}},"2.4.0-preload-non-esm-197f0c5.1":{"name":"isolated-externals-plugin","version":"2.4.0-preload-non-esm-197f0c5.1","keywords":["Web Components","webpack","webpack4","webpack-plugin","isolated","externals","embedded"],"author":{"name":"Steve Matney"},"license":"ISC","_id":"isolated-externals-plugin@2.4.0-preload-non-esm-197f0c5.1","maintainers":[{"name":"jrios","email":"jacobrios@fastmail.com"},{"name":"darrken","email":"ken.james.adams+npm@gmail.com"},{"name":"aabenoja","email":"abenojaalex@gmail.com"},{"name":"stevematney","email":"steve.matney@gmail.com"}],"homepage":"https://github.com/WTW-IM/isolated-externals-plugin#readme","bugs":{"url":"https://github.com/WTW-IM/isolated-externals-plugin/issues"},"dist":{"shasum":"13fa7ff2e37b35b1d3b6a6c445a708cb8017532b","tarball":"https://registry.npmjs.org/isolated-externals-plugin/-/isolated-externals-plugin-2.4.0-preload-non-esm-197f0c5.1.tgz","fileCount":30,"integrity":"sha512-IVbnotD30TmJ/0MnyDy4a3PthX2G2IiZe2bgDvr+ZBjnijdVSoMukUM4wgXZIqkBfT0IxOFwSQMWx4cq6lYdXQ==","signatures":[{"sig":"MEQCIHjnqNAPA97SwZ3m08e0J8mWel6ByZSGtFAAYmYMvNt8AiBHtaYJSs4/77far3LGsNREnkv4QXd5yrAKQeidInr0EA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":67273},"main":"dist/index.js","types":"dist/index.d.ts","readme":"# isolated-externals-plugin\n\n[![Build Status](https://travis-ci.com/WTW-IM/isolated-externals-plugin.svg?branch=master)](https://travis-ci.com/github/WTW-IM/isolated-externals-plugin)\n[![npm version](https://badge.fury.io/js/isolated-externals-plugin.svg)](https://badge.fury.io/js/isolated-externals-plugin)\n\n## Installation\n\nTo install, simply run:\n\n```bash\nnpm install --save-dev isolated-externals-plugin\n```\n\n## Usage\n\nThe `IsolatedExternalsPlugin` allows you to load external dependencies inside the scope of your webpack bundle without having to have them in your global scope. If you're curious about why you might want this, there are [some use cases listed below](#why-load-externals-locally-instead-of-globally).\n\nIt's an opinionated plugin in this way:\n\n- The externals set with the `IsolatedExternalsPlugin` utilize [`externalsType.promise`](https://webpack.js.org/configuration/externals/#externalstypepromise), which utilizes `async`/`await` syntax.\n\nThe plugin is built as an ES Module, so you'll need to load it in by using the `default` property:\n\n```javascript\nconst IsolatedExternalsPlugin = require('isolated-externals-plugin').default;\n```\n\nAn `IsolatedExternalsPlugin` configuration might look like the following:\n\n```javascript\nnew IsolatedExternalsPlugin({\n  entry1: {\n    react: {\n      url: 'https://unpkg.com/react@16/umd/react.development.js',\n      globalName: 'React',\n    },\n    ['react-dom']: {\n      url: 'https://unpkg.com/react-dom@16/umd/react-dom.development.js',\n      globalName: 'ReactDOM',\n    },\n  },\n  entry2: {\n    react: {\n      url: 'https://unpkg.com/react@16/umd/react.development.js',\n      globalName: 'React',\n    },\n    ['react-dom']: {\n      url: 'https://unpkg.com/react-dom@16/umd/react-dom.development.js',\n      globalName: 'ReactDOM',\n    },\n  },\n});\n```\n\nEach property of the configuration follows this structure:\n\n```javascript\n[entryName]: {\n  [packageName]: {\n    url: [url],\n    globalName: [globalName]\n  }\n}\n```\n\n| Part             | Description                                                                                               |\n| ---------------- | --------------------------------------------------------------------------------------------------------- |\n| `entryName`\\*    | The name of one of your webpack [Entry Points](https://webpack.js.org/concepts/entry-points/).            |\n| `packageName`\\*  | The name of the import for your externalized dependency (like 'react-dom').                               |\n| `url`\\*          | The URL from which to load your dependency file.                                                          |\n| `globalName`     | The UMD name of your dependency (like `ReactDOM`). [See below for details](#globalname-and-other-details) |\n| `urlTransformer` | A path or module path to a module that exports a url transforming function.                               |\n| \\*               | _required_                                                                                                |\n\n## `globalName` and other details\n\nIf `globalName` is not provided, `IsolatedExternalsPlugin` will try to match the `packageName` to one of your [`externals`](https://webpack.js.org/configuration/externals/#externals) entries, and will use the value from that as the `globalName`\n\nThe external files will be loaded and applied to your context in the order that they're listed, so if you have dependencies that depend on other dependencies (like `ReactDOM` depends on `React`), then you'll want to make sure you list the ones they depend on first.\n\n## How It Works\n\n`IsolatedExternalsPlugin` loads the text of your externals URLs via a shared [Cache](https://developer.mozilla.org/en-US/docs/Web/API/Cache) (or a shared global object if `Cache` is not available), and processes the text on a context object which is singular to your bundle. This allows you to load multiple bundles per page with different versions of a dependency—or with the same version of a dependency separately—without polluting a global scope, and without loading the same dependency over the wire more than once. This keeps bundle sizes down while also providing complete autonomy to any individual JS bundle.\n\n## Why load externals locally instead of globally?\n\nHere are two valid use cases. There may be others, but these are the reason we built this plugin!:\n\n1. You want to load different javascript apps on the same page with different versions of the same dependency (like React).\n2. You want to load more than one javascript app onto the same page with the same dependency, but ignorant of each other and the global context (like in micro frontends). This allows each app to be small in byte size, and allows the overall page to never load the same dependency more than once.\n\n## Contributing\n\nThis package uses `semantic-release`. Changes will be compiled into a changelog and the package versioned, tagged and published automatically.\nPlease ensure your commit messages adhere to the following structure:\n\n```\n<type>: <subject>\n<BLANK LINE>\n<body>\n```\n\nOnly the header is mandatory. The supported types are based off of the [ESLint Convention](https://github.com/conventional-changelog/conventional-changelog/tree/35e279d40603b0969c6d622514f5c0984c5bf309/packages/conventional-changelog-eslint).\n","gitHead":"197f0c5e5cdf37e532ab054b0f4cd7e0f8384720","scripts":{"lint":"eslint --ext .js,.jsx,.ts,.tsx ./src","test":"npm run lint && npm run build && jest","build":"tsc && cd src/util && tsc","prepare":"husky install","pre-commit":"lint-staged","startExamples":"npm run build && webpack-dev-server --config ./example-app/webpack.config.js","prepublishOnly":"npm run build"},"_npmUser":{"name":"stevematney","email":"steve.matney@gmail.com"},"repository":{"url":"git+https://github.com/WTW-IM/isolated-externals-plugin.git","type":"git"},"_npmVersion":"9.7.1","description":"[![Build Status](https://travis-ci.com/WTW-IM/isolated-externals-plugin.svg?branch=master)](https://travis-ci.com/github/WTW-IM/isolated-externals-plugin) [![npm version](https://badge.fury.io/js/isolated-externals-plugin.svg)](https://badge.fury.io/js/is","directories":{},"lint-staged":{"*.md":["prettier --write --parser markdown"],"src/**/*.(j|t)s?(x)":["prettier --write","eslint --fix"]},"_nodeVersion":"18.16.0","dependencies":{"schema-utils":"^4.0.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"ajv":"^8.11.2","jest":"^29.3.1","husky":"^6.0.0","react":"^17.0.1","eslint":"^7.19.0","webpack":"^5.86.0","prettier":"2.2.1","react-dom":"^17.0.1","@babel/cli":"^7.19.3","typescript":"^4.9.3","@types/jest":"^29.2.3","lint-staged":"^10.5.4","react-modal":"^3.16.1","webpack-cli":"^5.0.0","babel-loader":"^9.1.0","@types/webpack":"^5.28.1","@commitlint/cli":"^11.0.0","semantic-release":"^21.0.3","@babel/preset-env":"^7.12.13","@types/react-modal":"^3.16.0","webpack-dev-server":"^4.11.1","@babel/preset-react":"^7.18.6","@types/randomstring":"^1.1.8","eslint-plugin-react":"^7.22.0","html-webpack-plugin":"^5.5.0","@babel/eslint-parser":"^7.19.1","@semantic-release/git":"^10.0.1","eslint-config-prettier":"^7.2.0","@babel/preset-typescript":"^7.12.13","@typescript-eslint/parser":"^4.14.2","@semantic-release/changelog":"^6.0.1","conventional-changelog-eslint":"^3.0.9","@commitlint/config-conventional":"^11.0.0","@typescript-eslint/eslint-plugin":"^4.14.2"},"peerDependencies":{"webpack":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/isolated-externals-plugin_2.4.0-preload-non-esm-197f0c5.1_1686689004140_0.11708649051040942","host":"s3://npm-registry-packages"}},"2.4.0-preload-non-esm-e559461.1":{"name":"isolated-externals-plugin","version":"2.4.0-preload-non-esm-e559461.1","keywords":["Web Components","webpack","webpack4","webpack-plugin","isolated","externals","embedded"],"author":{"name":"Steve Matney"},"license":"ISC","_id":"isolated-externals-plugin@2.4.0-preload-non-esm-e559461.1","maintainers":[{"name":"jrios","email":"jacobrios@fastmail.com"},{"name":"darrken","email":"ken.james.adams+npm@gmail.com"},{"name":"aabenoja","email":"abenojaalex@gmail.com"},{"name":"stevematney","email":"steve.matney@gmail.com"}],"homepage":"https://github.com/WTW-IM/isolated-externals-plugin#readme","bugs":{"url":"https://github.com/WTW-IM/isolated-externals-plugin/issues"},"dist":{"shasum":"fb60755e69069f8bac1e1a5ff2d577e4c94d82e0","tarball":"https://registry.npmjs.org/isolated-externals-plugin/-/isolated-externals-plugin-2.4.0-preload-non-esm-e559461.1.tgz","fileCount":32,"integrity":"sha512-J0MBAxwcz6HUavrX/cUHWelJAjqTvOOdp7VNU61I+OHb5oGOaJBp+uXVN0mrX6v5LGiI4/BItLGcmoykrf4NAA==","signatures":[{"sig":"MEQCIDbZfIdsLKc//6Ir7A4N7+mtx5zRq+Dj5lpDh045bW30AiAxV4F2+dBht5rdDZEDp+R1Teq8OXJMybxkgygbR3UzFQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":70471},"main":"dist/index.js","types":"dist/index.d.ts","readme":"# isolated-externals-plugin\n\n[![Build Status](https://travis-ci.com/WTW-IM/isolated-externals-plugin.svg?branch=master)](https://travis-ci.com/github/WTW-IM/isolated-externals-plugin)\n[![npm version](https://badge.fury.io/js/isolated-externals-plugin.svg)](https://badge.fury.io/js/isolated-externals-plugin)\n\n## Installation\n\nTo install, simply run:\n\n```bash\nnpm install --save-dev isolated-externals-plugin\n```\n\n## Usage\n\nThe `IsolatedExternalsPlugin` allows you to load external dependencies inside the scope of your webpack bundle without having to have them in your global scope. If you're curious about why you might want this, there are [some use cases listed below](#why-load-externals-locally-instead-of-globally).\n\nIt's an opinionated plugin in this way:\n\n- The externals set with the `IsolatedExternalsPlugin` utilize [`externalsType.promise`](https://webpack.js.org/configuration/externals/#externalstypepromise), which utilizes `async`/`await` syntax.\n\nThe plugin is built as an ES Module, so you'll need to load it in by using the `default` property:\n\n```javascript\nconst IsolatedExternalsPlugin = require('isolated-externals-plugin').default;\n```\n\nAn `IsolatedExternalsPlugin` configuration might look like the following:\n\n```javascript\nnew IsolatedExternalsPlugin({\n  entry1: {\n    react: {\n      url: 'https://unpkg.com/react@16/umd/react.development.js',\n      globalName: 'React',\n    },\n    ['react-dom']: {\n      url: 'https://unpkg.com/react-dom@16/umd/react-dom.development.js',\n      globalName: 'ReactDOM',\n    },\n  },\n  entry2: {\n    react: {\n      url: 'https://unpkg.com/react@16/umd/react.development.js',\n      globalName: 'React',\n    },\n    ['react-dom']: {\n      url: 'https://unpkg.com/react-dom@16/umd/react-dom.development.js',\n      globalName: 'ReactDOM',\n    },\n  },\n});\n```\n\nEach property of the configuration follows this structure:\n\n```javascript\n[entryName]: {\n  [packageName]: {\n    url: [url],\n    globalName: [globalName]\n  }\n}\n```\n\n| Part             | Description                                                                                               |\n| ---------------- | --------------------------------------------------------------------------------------------------------- |\n| `entryName`\\*    | The name of one of your webpack [Entry Points](https://webpack.js.org/concepts/entry-points/).            |\n| `packageName`\\*  | The name of the import for your externalized dependency (like 'react-dom').                               |\n| `url`\\*          | The URL from which to load your dependency file.                                                          |\n| `globalName`     | The UMD name of your dependency (like `ReactDOM`). [See below for details](#globalname-and-other-details) |\n| `urlTransformer` | A path or module path to a module that exports a url transforming function.                               |\n| \\*               | _required_                                                                                                |\n\n## `globalName` and other details\n\nIf `globalName` is not provided, `IsolatedExternalsPlugin` will try to match the `packageName` to one of your [`externals`](https://webpack.js.org/configuration/externals/#externals) entries, and will use the value from that as the `globalName`\n\nThe external files will be loaded and applied to your context in the order that they're listed, so if you have dependencies that depend on other dependencies (like `ReactDOM` depends on `React`), then you'll want to make sure you list the ones they depend on first.\n\n## How It Works\n\n`IsolatedExternalsPlugin` loads the text of your externals URLs via a shared [Cache](https://developer.mozilla.org/en-US/docs/Web/API/Cache) (or a shared global object if `Cache` is not available), and processes the text on a context object which is singular to your bundle. This allows you to load multiple bundles per page with different versions of a dependency—or with the same version of a dependency separately—without polluting a global scope, and without loading the same dependency over the wire more than once. This keeps bundle sizes down while also providing complete autonomy to any individual JS bundle.\n\n## Why load externals locally instead of globally?\n\nHere are two valid use cases. There may be others, but these are the reason we built this plugin!:\n\n1. You want to load different javascript apps on the same page with different versions of the same dependency (like React).\n2. You want to load more than one javascript app onto the same page with the same dependency, but ignorant of each other and the global context (like in micro frontends). This allows each app to be small in byte size, and allows the overall page to never load the same dependency more than once.\n\n## Contributing\n\nThis package uses `semantic-release`. Changes will be compiled into a changelog and the package versioned, tagged and published automatically.\nPlease ensure your commit messages adhere to the following structure:\n\n```\n<type>: <subject>\n<BLANK LINE>\n<body>\n```\n\nOnly the header is mandatory. The supported types are based off of the [ESLint Convention](https://github.com/conventional-changelog/conventional-changelog/tree/35e279d40603b0969c6d622514f5c0984c5bf309/packages/conventional-changelog-eslint).\n","gitHead":"e5594610a27d155dfc4ab2a3ed0bd80871be7c51","scripts":{"lint":"eslint --ext .js,.jsx,.ts,.tsx ./src","test":"npm run lint && npm run build && jest","build":"tsc && cd src/util && tsc","prepare":"husky install","pre-commit":"lint-staged","startExamples":"npm run build && webpack-dev-server --config ./example-app/webpack.config.js","prepublishOnly":"npm run build"},"_npmUser":{"name":"stevematney","email":"steve.matney@gmail.com"},"repository":{"url":"git+https://github.com/WTW-IM/isolated-externals-plugin.git","type":"git"},"_npmVersion":"9.7.1","description":"[![Build Status](https://travis-ci.com/WTW-IM/isolated-externals-plugin.svg?branch=master)](https://travis-ci.com/github/WTW-IM/isolated-externals-plugin) [![npm version](https://badge.fury.io/js/isolated-externals-plugin.svg)](https://badge.fury.io/js/is","directories":{},"lint-staged":{"*.md":["prettier --write --parser markdown"],"src/**/*.(j|t)s?(x)":["prettier --write","eslint --fix"]},"_nodeVersion":"18.16.0","dependencies":{"schema-utils":"^4.0.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"ajv":"^8.11.2","jest":"^29.3.1","husky":"^6.0.0","react":"^17.0.1","eslint":"^7.19.0","webpack":"^5.86.0","prettier":"2.2.1","react-dom":"^17.0.1","@babel/cli":"^7.19.3","typescript":"^4.9.3","@types/jest":"^29.2.3","lint-staged":"^10.5.4","react-modal":"^3.16.1","webpack-cli":"^5.0.0","babel-loader":"^9.1.0","@types/webpack":"^5.28.1","@commitlint/cli":"^11.0.0","semantic-release":"^21.0.3","@babel/preset-env":"^7.12.13","@types/react-modal":"^3.16.0","webpack-dev-server":"^4.11.1","@babel/preset-react":"^7.18.6","@types/randomstring":"^1.1.8","eslint-plugin-react":"^7.22.0","html-webpack-plugin":"^5.5.3","@babel/eslint-parser":"^7.19.1","@semantic-release/git":"^10.0.1","eslint-config-prettier":"^7.2.0","@babel/preset-typescript":"^7.12.13","@typescript-eslint/parser":"^4.14.2","@semantic-release/changelog":"^6.0.1","conventional-changelog-eslint":"^3.0.9","@commitlint/config-conventional":"^11.0.0","@typescript-eslint/eslint-plugin":"^4.14.2"},"peerDependencies":{"webpack":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/isolated-externals-plugin_2.4.0-preload-non-esm-e559461.1_1686689389878_0.6041265625226082","host":"s3://npm-registry-packages"}},"2.4.0-preload-non-esm-e559461.2":{"name":"isolated-externals-plugin","version":"2.4.0-preload-non-esm-e559461.2","keywords":["Web Components","webpack","webpack4","webpack-plugin","isolated","externals","embedded"],"author":{"name":"Steve Matney"},"license":"ISC","_id":"isolated-externals-plugin@2.4.0-preload-non-esm-e559461.2","maintainers":[{"name":"jrios","email":"jacobrios@fastmail.com"},{"name":"darrken","email":"ken.james.adams+npm@gmail.com"},{"name":"aabenoja","email":"abenojaalex@gmail.com"},{"name":"stevematney","email":"steve.matney@gmail.com"}],"homepage":"https://github.com/WTW-IM/isolated-externals-plugin#readme","bugs":{"url":"https://github.com/WTW-IM/isolated-externals-plugin/issues"},"dist":{"shasum":"bc678942feb58c871e74b2dcb312ec2deece0fce","tarball":"https://registry.npmjs.org/isolated-externals-plugin/-/isolated-externals-plugin-2.4.0-preload-non-esm-e559461.2.tgz","fileCount":32,"integrity":"sha512-INcKXS0PxraRCPhpcVspfbJZc1A12lYRHLtR4hlf0vKFHr4q3waETtTTzRQJXchhW2LVhXJ6sLJUIloknQpbPQ==","signatures":[{"sig":"MEUCIQClCa0yGPJtXVKw4m/2SlmXow4pkn+FCfSG9t/FS6WfNAIgCDhYgOmJPEqVL1RRBK1nnXr1G9Oj00xlYbUJqjKkusQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":71881},"main":"dist/index.js","types":"dist/index.d.ts","readme":"# isolated-externals-plugin\n\n[![Build Status](https://travis-ci.com/WTW-IM/isolated-externals-plugin.svg?branch=master)](https://travis-ci.com/github/WTW-IM/isolated-externals-plugin)\n[![npm version](https://badge.fury.io/js/isolated-externals-plugin.svg)](https://badge.fury.io/js/isolated-externals-plugin)\n\n## Installation\n\nTo install, simply run:\n\n```bash\nnpm install --save-dev isolated-externals-plugin\n```\n\n## Usage\n\nThe `IsolatedExternalsPlugin` allows you to load external dependencies inside the scope of your webpack bundle without having to have them in your global scope. If you're curious about why you might want this, there are [some use cases listed below](#why-load-externals-locally-instead-of-globally).\n\nIt's an opinionated plugin in this way:\n\n- The externals set with the `IsolatedExternalsPlugin` utilize [`externalsType.promise`](https://webpack.js.org/configuration/externals/#externalstypepromise), which utilizes `async`/`await` syntax.\n\nThe plugin is built as an ES Module, so you'll need to load it in by using the `default` property:\n\n```javascript\nconst IsolatedExternalsPlugin = require('isolated-externals-plugin').default;\n```\n\nAn `IsolatedExternalsPlugin` configuration might look like the following:\n\n```javascript\nnew IsolatedExternalsPlugin({\n  entry1: {\n    react: {\n      url: 'https://unpkg.com/react@16/umd/react.development.js',\n      globalName: 'React',\n    },\n    ['react-dom']: {\n      url: 'https://unpkg.com/react-dom@16/umd/react-dom.development.js',\n      globalName: 'ReactDOM',\n    },\n  },\n  entry2: {\n    react: {\n      url: 'https://unpkg.com/react@16/umd/react.development.js',\n      globalName: 'React',\n    },\n    ['react-dom']: {\n      url: 'https://unpkg.com/react-dom@16/umd/react-dom.development.js',\n      globalName: 'ReactDOM',\n    },\n  },\n});\n```\n\nEach property of the configuration follows this structure:\n\n```javascript\n[entryName]: {\n  [packageName]: {\n    url: [url],\n    globalName: [globalName]\n  }\n}\n```\n\n| Part             | Description                                                                                               |\n| ---------------- | --------------------------------------------------------------------------------------------------------- |\n| `entryName`\\*    | The name of one of your webpack [Entry Points](https://webpack.js.org/concepts/entry-points/).            |\n| `packageName`\\*  | The name of the import for your externalized dependency (like 'react-dom').                               |\n| `url`\\*          | The URL from which to load your dependency file.                                                          |\n| `globalName`     | The UMD name of your dependency (like `ReactDOM`). [See below for details](#globalname-and-other-details) |\n| `urlTransformer` | A path or module path to a module that exports a url transforming function.                               |\n| \\*               | _required_                                                                                                |\n\n## `globalName` and other details\n\nIf `globalName` is not provided, `IsolatedExternalsPlugin` will try to match the `packageName` to one of your [`externals`](https://webpack.js.org/configuration/externals/#externals) entries, and will use the value from that as the `globalName`\n\nThe external files will be loaded and applied to your context in the order that they're listed, so if you have dependencies that depend on other dependencies (like `ReactDOM` depends on `React`), then you'll want to make sure you list the ones they depend on first.\n\n## How It Works\n\n`IsolatedExternalsPlugin` loads the text of your externals URLs via a shared [Cache](https://developer.mozilla.org/en-US/docs/Web/API/Cache) (or a shared global object if `Cache` is not available), and processes the text on a context object which is singular to your bundle. This allows you to load multiple bundles per page with different versions of a dependency—or with the same version of a dependency separately—without polluting a global scope, and without loading the same dependency over the wire more than once. This keeps bundle sizes down while also providing complete autonomy to any individual JS bundle.\n\n## Why load externals locally instead of globally?\n\nHere are two valid use cases. There may be others, but these are the reason we built this plugin!:\n\n1. You want to load different javascript apps on the same page with different versions of the same dependency (like React).\n2. You want to load more than one javascript app onto the same page with the same dependency, but ignorant of each other and the global context (like in micro frontends). This allows each app to be small in byte size, and allows the overall page to never load the same dependency more than once.\n\n## Contributing\n\nThis package uses `semantic-release`. Changes will be compiled into a changelog and the package versioned, tagged and published automatically.\nPlease ensure your commit messages adhere to the following structure:\n\n```\n<type>: <subject>\n<BLANK LINE>\n<body>\n```\n\nOnly the header is mandatory. The supported types are based off of the [ESLint Convention](https://github.com/conventional-changelog/conventional-changelog/tree/35e279d40603b0969c6d622514f5c0984c5bf309/packages/conventional-changelog-eslint).\n","gitHead":"46b8dce33b85247ffbb86f9cf0b9bf2156b2858d","scripts":{"lint":"eslint --ext .js,.jsx,.ts,.tsx ./src","test":"npm run lint && npm run build && jest","build":"tsc && cd src/util && tsc","prepare":"husky install","pre-commit":"lint-staged","startExamples":"npm run build && webpack-dev-server --config ./example-app/webpack.config.js","prepublishOnly":"npm run build"},"_npmUser":{"name":"stevematney","email":"steve.matney@gmail.com"},"repository":{"url":"git+https://github.com/WTW-IM/isolated-externals-plugin.git","type":"git"},"_npmVersion":"9.7.1","description":"[![Build Status](https://travis-ci.com/WTW-IM/isolated-externals-plugin.svg?branch=master)](https://travis-ci.com/github/WTW-IM/isolated-externals-plugin) [![npm version](https://badge.fury.io/js/isolated-externals-plugin.svg)](https://badge.fury.io/js/is","directories":{},"lint-staged":{"*.md":["prettier --write --parser markdown"],"src/**/*.(j|t)s?(x)":["prettier --write","eslint --fix"]},"_nodeVersion":"18.16.0","dependencies":{"schema-utils":"^4.0.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"ajv":"^8.11.2","jest":"^29.3.1","husky":"^6.0.0","react":"^17.0.1","eslint":"^7.19.0","webpack":"^5.86.0","prettier":"2.2.1","react-dom":"^17.0.1","@babel/cli":"^7.19.3","typescript":"^4.9.3","@types/jest":"^29.2.3","lint-staged":"^10.5.4","react-modal":"^3.16.1","webpack-cli":"^5.0.0","babel-loader":"^9.1.0","@types/webpack":"^5.28.1","@commitlint/cli":"^11.0.0","semantic-release":"^21.0.3","@babel/preset-env":"^7.12.13","@types/react-modal":"^3.16.0","webpack-dev-server":"^4.11.1","@babel/preset-react":"^7.18.6","@types/randomstring":"^1.1.8","eslint-plugin-react":"^7.22.0","html-webpack-plugin":"^5.5.3","@babel/eslint-parser":"^7.19.1","@semantic-release/git":"^10.0.1","eslint-config-prettier":"^7.2.0","@babel/preset-typescript":"^7.12.13","@typescript-eslint/parser":"^4.14.2","@semantic-release/changelog":"^6.0.1","conventional-changelog-eslint":"^3.0.9","@commitlint/config-conventional":"^11.0.0","@typescript-eslint/eslint-plugin":"^4.14.2"},"peerDependencies":{"webpack":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/isolated-externals-plugin_2.4.0-preload-non-esm-e559461.2_1686696352619_0.6567337679372158","host":"s3://npm-registry-packages"}},"2.4.0-preload-non-esm-e559461.3":{"name":"isolated-externals-plugin","version":"2.4.0-preload-non-esm-e559461.3","keywords":["Web Components","webpack","webpack4","webpack-plugin","isolated","externals","embedded"],"author":{"name":"Steve Matney"},"license":"ISC","_id":"isolated-externals-plugin@2.4.0-preload-non-esm-e559461.3","maintainers":[{"name":"jrios","email":"jacobrios@fastmail.com"},{"name":"darrken","email":"ken.james.adams+npm@gmail.com"},{"name":"aabenoja","email":"abenojaalex@gmail.com"},{"name":"stevematney","email":"steve.matney@gmail.com"}],"homepage":"https://github.com/WTW-IM/isolated-externals-plugin#readme","bugs":{"url":"https://github.com/WTW-IM/isolated-externals-plugin/issues"},"dist":{"shasum":"74632a9215c98a85cf19db7f1da5be13bb8f5f61","tarball":"https://registry.npmjs.org/isolated-externals-plugin/-/isolated-externals-plugin-2.4.0-preload-non-esm-e559461.3.tgz","fileCount":32,"integrity":"sha512-+fCfVDGW2lxt++dalAzKJDx6fY5wtDnqKxJXCoYolAoL+XRjrgMndFkly0mVxTUJRPlsUBgHxb3n4Le0QPUxWw==","signatures":[{"sig":"MEYCIQDVToQgc3jP8ZvW4ot4xDexkANGuPEIOabIGTUNKH9/3wIhALzRZzSb9iJR8PU20hOvwhxPEKEQxgbkQD/3rn3OWIdo","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":72077},"main":"dist/index.js","types":"dist/index.d.ts","readme":"# isolated-externals-plugin\n\n[![Build Status](https://travis-ci.com/WTW-IM/isolated-externals-plugin.svg?branch=master)](https://travis-ci.com/github/WTW-IM/isolated-externals-plugin)\n[![npm version](https://badge.fury.io/js/isolated-externals-plugin.svg)](https://badge.fury.io/js/isolated-externals-plugin)\n\n## Installation\n\nTo install, simply run:\n\n```bash\nnpm install --save-dev isolated-externals-plugin\n```\n\n## Usage\n\nThe `IsolatedExternalsPlugin` allows you to load external dependencies inside the scope of your webpack bundle without having to have them in your global scope. If you're curious about why you might want this, there are [some use cases listed below](#why-load-externals-locally-instead-of-globally).\n\nIt's an opinionated plugin in this way:\n\n- The externals set with the `IsolatedExternalsPlugin` utilize [`externalsType.promise`](https://webpack.js.org/configuration/externals/#externalstypepromise), which utilizes `async`/`await` syntax.\n\nThe plugin is built as an ES Module, so you'll need to load it in by using the `default` property:\n\n```javascript\nconst IsolatedExternalsPlugin = require('isolated-externals-plugin').default;\n```\n\nAn `IsolatedExternalsPlugin` configuration might look like the following:\n\n```javascript\nnew IsolatedExternalsPlugin({\n  entry1: {\n    react: {\n      url: 'https://unpkg.com/react@16/umd/react.development.js',\n      globalName: 'React',\n    },\n    ['react-dom']: {\n      url: 'https://unpkg.com/react-dom@16/umd/react-dom.development.js',\n      globalName: 'ReactDOM',\n    },\n  },\n  entry2: {\n    react: {\n      url: 'https://unpkg.com/react@16/umd/react.development.js',\n      globalName: 'React',\n    },\n    ['react-dom']: {\n      url: 'https://unpkg.com/react-dom@16/umd/react-dom.development.js',\n      globalName: 'ReactDOM',\n    },\n  },\n});\n```\n\nEach property of the configuration follows this structure:\n\n```javascript\n[entryName]: {\n  [packageName]: {\n    url: [url],\n    globalName: [globalName]\n  }\n}\n```\n\n| Part             | Description                                                                                               |\n| ---------------- | --------------------------------------------------------------------------------------------------------- |\n| `entryName`\\*    | The name of one of your webpack [Entry Points](https://webpack.js.org/concepts/entry-points/).            |\n| `packageName`\\*  | The name of the import for your externalized dependency (like 'react-dom').                               |\n| `url`\\*          | The URL from which to load your dependency file.                                                          |\n| `globalName`     | The UMD name of your dependency (like `ReactDOM`). [See below for details](#globalname-and-other-details) |\n| `urlTransformer` | A path or module path to a module that exports a url transforming function.                               |\n| \\*               | _required_                                                                                                |\n\n## `globalName` and other details\n\nIf `globalName` is not provided, `IsolatedExternalsPlugin` will try to match the `packageName` to one of your [`externals`](https://webpack.js.org/configuration/externals/#externals) entries, and will use the value from that as the `globalName`\n\nThe external files will be loaded and applied to your context in the order that they're listed, so if you have dependencies that depend on other dependencies (like `ReactDOM` depends on `React`), then you'll want to make sure you list the ones they depend on first.\n\n## How It Works\n\n`IsolatedExternalsPlugin` loads the text of your externals URLs via a shared [Cache](https://developer.mozilla.org/en-US/docs/Web/API/Cache) (or a shared global object if `Cache` is not available), and processes the text on a context object which is singular to your bundle. This allows you to load multiple bundles per page with different versions of a dependency—or with the same version of a dependency separately—without polluting a global scope, and without loading the same dependency over the wire more than once. This keeps bundle sizes down while also providing complete autonomy to any individual JS bundle.\n\n## Why load externals locally instead of globally?\n\nHere are two valid use cases. There may be others, but these are the reason we built this plugin!:\n\n1. You want to load different javascript apps on the same page with different versions of the same dependency (like React).\n2. You want to load more than one javascript app onto the same page with the same dependency, but ignorant of each other and the global context (like in micro frontends). This allows each app to be small in byte size, and allows the overall page to never load the same dependency more than once.\n\n## Contributing\n\nThis package uses `semantic-release`. Changes will be compiled into a changelog and the package versioned, tagged and published automatically.\nPlease ensure your commit messages adhere to the following structure:\n\n```\n<type>: <subject>\n<BLANK LINE>\n<body>\n```\n\nOnly the header is mandatory. The supported types are based off of the [ESLint Convention](https://github.com/conventional-changelog/conventional-changelog/tree/35e279d40603b0969c6d622514f5c0984c5bf309/packages/conventional-changelog-eslint).\n","gitHead":"c1bfd717a7a4c4269d61c00a92e9cec72d8e3b02","scripts":{"lint":"eslint --ext .js,.jsx,.ts,.tsx ./src","test":"npm run lint && npm run build && jest","build":"tsc && cd src/util && tsc","prepare":"husky install","pre-commit":"lint-staged","startExamples":"npm run build && webpack-dev-server --config ./example-app/webpack.config.js","prepublishOnly":"npm run build"},"_npmUser":{"name":"stevematney","email":"steve.matney@gmail.com"},"repository":{"url":"git+https://github.com/WTW-IM/isolated-externals-plugin.git","type":"git"},"_npmVersion":"9.7.1","description":"[![Build Status](https://travis-ci.com/WTW-IM/isolated-externals-plugin.svg?branch=master)](https://travis-ci.com/github/WTW-IM/isolated-externals-plugin) [![npm version](https://badge.fury.io/js/isolated-externals-plugin.svg)](https://badge.fury.io/js/is","directories":{},"lint-staged":{"*.md":["prettier --write --parser markdown"],"src/**/*.(j|t)s?(x)":["prettier --write","eslint --fix"]},"_nodeVersion":"18.16.0","dependencies":{"schema-utils":"^4.0.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"ajv":"^8.11.2","jest":"^29.3.1","husky":"^6.0.0","react":"^17.0.1","eslint":"^7.19.0","webpack":"^5.86.0","prettier":"2.2.1","react-dom":"^17.0.1","@babel/cli":"^7.19.3","typescript":"^4.9.3","@types/jest":"^29.2.3","lint-staged":"^10.5.4","react-modal":"^3.16.1","webpack-cli":"^5.0.0","babel-loader":"^9.1.0","@types/webpack":"^5.28.1","@commitlint/cli":"^11.0.0","semantic-release":"^21.0.3","@babel/preset-env":"^7.12.13","@types/react-modal":"^3.16.0","webpack-dev-server":"^4.11.1","@babel/preset-react":"^7.18.6","@types/randomstring":"^1.1.8","eslint-plugin-react":"^7.22.0","html-webpack-plugin":"^5.5.3","@babel/eslint-parser":"^7.19.1","@semantic-release/git":"^10.0.1","eslint-config-prettier":"^7.2.0","@babel/preset-typescript":"^7.12.13","@typescript-eslint/parser":"^4.14.2","@semantic-release/changelog":"^6.0.1","conventional-changelog-eslint":"^3.0.9","@commitlint/config-conventional":"^11.0.0","@typescript-eslint/eslint-plugin":"^4.14.2"},"peerDependencies":{"webpack":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/isolated-externals-plugin_2.4.0-preload-non-esm-e559461.3_1686700850581_0.9030327424548859","host":"s3://npm-registry-packages"}},"2.4.0-preload-non-esm-e559461.4":{"name":"isolated-externals-plugin","version":"2.4.0-preload-non-esm-e559461.4","keywords":["Web Components","webpack","webpack4","webpack-plugin","isolated","externals","embedded"],"author":{"name":"Steve Matney"},"license":"ISC","_id":"isolated-externals-plugin@2.4.0-preload-non-esm-e559461.4","maintainers":[{"name":"jrios","email":"jacobrios@fastmail.com"},{"name":"darrken","email":"ken.james.adams+npm@gmail.com"},{"name":"aabenoja","email":"abenojaalex@gmail.com"},{"name":"stevematney","email":"steve.matney@gmail.com"}],"homepage":"https://github.com/WTW-IM/isolated-externals-plugin#readme","bugs":{"url":"https://github.com/WTW-IM/isolated-externals-plugin/issues"},"dist":{"shasum":"dfe8ef01ae5cd87af5254c5137edd248de2143a4","tarball":"https://registry.npmjs.org/isolated-externals-plugin/-/isolated-externals-plugin-2.4.0-preload-non-esm-e559461.4.tgz","fileCount":32,"integrity":"sha512-4GUC22+kw1+GUMSPwRsEJshKaALVUXTBauUpqCVBvNhWH61odFATshpCtt70iuUMUtXM9UTwxuIM3HGTTs5+lA==","signatures":[{"sig":"MEYCIQDAzzTARH0+2L5XHEQUIgiWh97s+IWusInevezTAqgCFgIhAKs2Mb5jTt5WjGW1NKOHb7PTARpqpzGay3M/zP5JDkbk","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":76325},"main":"dist/index.js","types":"dist/index.d.ts","readme":"# isolated-externals-plugin\n\n[![Build Status](https://travis-ci.com/WTW-IM/isolated-externals-plugin.svg?branch=master)](https://travis-ci.com/github/WTW-IM/isolated-externals-plugin)\n[![npm version](https://badge.fury.io/js/isolated-externals-plugin.svg)](https://badge.fury.io/js/isolated-externals-plugin)\n\n## Installation\n\nTo install, simply run:\n\n```bash\nnpm install --save-dev isolated-externals-plugin\n```\n\n## Usage\n\nThe `IsolatedExternalsPlugin` allows you to load external dependencies inside the scope of your webpack bundle without having to have them in your global scope. If you're curious about why you might want this, there are [some use cases listed below](#why-load-externals-locally-instead-of-globally).\n\nIt's an opinionated plugin in this way:\n\n- The externals set with the `IsolatedExternalsPlugin` utilize [`externalsType.promise`](https://webpack.js.org/configuration/externals/#externalstypepromise), which utilizes `async`/`await` syntax.\n\nThe plugin is built as an ES Module, so you'll need to load it in by using the `default` property:\n\n```javascript\nconst IsolatedExternalsPlugin = require('isolated-externals-plugin').default;\n```\n\nAn `IsolatedExternalsPlugin` configuration might look like the following:\n\n```javascript\nnew IsolatedExternalsPlugin({\n  entry1: {\n    react: {\n      url: 'https://unpkg.com/react@16/umd/react.development.js',\n      globalName: 'React',\n    },\n    ['react-dom']: {\n      url: 'https://unpkg.com/react-dom@16/umd/react-dom.development.js',\n      globalName: 'ReactDOM',\n    },\n  },\n  entry2: {\n    react: {\n      url: 'https://unpkg.com/react@16/umd/react.development.js',\n      globalName: 'React',\n    },\n    ['react-dom']: {\n      url: 'https://unpkg.com/react-dom@16/umd/react-dom.development.js',\n      globalName: 'ReactDOM',\n    },\n  },\n});\n```\n\nEach property of the configuration follows this structure:\n\n```javascript\n[entryName]: {\n  [packageName]: {\n    url: [url],\n    globalName: [globalName]\n  }\n}\n```\n\n| Part             | Description                                                                                               |\n| ---------------- | --------------------------------------------------------------------------------------------------------- |\n| `entryName`\\*    | The name of one of your webpack [Entry Points](https://webpack.js.org/concepts/entry-points/).            |\n| `packageName`\\*  | The name of the import for your externalized dependency (like 'react-dom').                               |\n| `url`\\*          | The URL from which to load your dependency file.                                                          |\n| `globalName`     | The UMD name of your dependency (like `ReactDOM`). [See below for details](#globalname-and-other-details) |\n| `urlTransformer` | A path or module path to a module that exports a url transforming function.                               |\n| \\*               | _required_                                                                                                |\n\n## `globalName` and other details\n\nIf `globalName` is not provided, `IsolatedExternalsPlugin` will try to match the `packageName` to one of your [`externals`](https://webpack.js.org/configuration/externals/#externals) entries, and will use the value from that as the `globalName`\n\nThe external files will be loaded and applied to your context in the order that they're listed, so if you have dependencies that depend on other dependencies (like `ReactDOM` depends on `React`), then you'll want to make sure you list the ones they depend on first.\n\n## How It Works\n\n`IsolatedExternalsPlugin` loads the text of your externals URLs via a shared [Cache](https://developer.mozilla.org/en-US/docs/Web/API/Cache) (or a shared global object if `Cache` is not available), and processes the text on a context object which is singular to your bundle. This allows you to load multiple bundles per page with different versions of a dependency—or with the same version of a dependency separately—without polluting a global scope, and without loading the same dependency over the wire more than once. This keeps bundle sizes down while also providing complete autonomy to any individual JS bundle.\n\n## Why load externals locally instead of globally?\n\nHere are two valid use cases. There may be others, but these are the reason we built this plugin!:\n\n1. You want to load different javascript apps on the same page with different versions of the same dependency (like React).\n2. You want to load more than one javascript app onto the same page with the same dependency, but ignorant of each other and the global context (like in micro frontends). This allows each app to be small in byte size, and allows the overall page to never load the same dependency more than once.\n\n## Contributing\n\nThis package uses `semantic-release`. Changes will be compiled into a changelog and the package versioned, tagged and published automatically.\nPlease ensure your commit messages adhere to the following structure:\n\n```\n<type>: <subject>\n<BLANK LINE>\n<body>\n```\n\nOnly the header is mandatory. The supported types are based off of the [ESLint Convention](https://github.com/conventional-changelog/conventional-changelog/tree/35e279d40603b0969c6d622514f5c0984c5bf309/packages/conventional-changelog-eslint).\n","gitHead":"e487243ec9a1c8e87d99d71eb4ac121b90198bff","scripts":{"lint":"eslint --ext .js,.jsx,.ts,.tsx ./src","test":"npm run lint && npm run build && jest","build":"tsc && cd src/util && tsc","prepare":"husky install","pre-commit":"lint-staged","startExamples":"npm run build && webpack-dev-server --config ./example-app/webpack.config.js","prepublishOnly":"npm run build"},"_npmUser":{"name":"stevematney","email":"steve.matney@gmail.com"},"repository":{"url":"git+https://github.com/WTW-IM/isolated-externals-plugin.git","type":"git"},"_npmVersion":"9.7.1","description":"[![Build Status](https://travis-ci.com/WTW-IM/isolated-externals-plugin.svg?branch=master)](https://travis-ci.com/github/WTW-IM/isolated-externals-plugin) [![npm version](https://badge.fury.io/js/isolated-externals-plugin.svg)](https://badge.fury.io/js/is","directories":{},"lint-staged":{"*.md":["prettier --write --parser markdown"],"src/**/*.(j|t)s?(x)":["prettier --write","eslint --fix"]},"_nodeVersion":"18.16.0","dependencies":{"schema-utils":"^4.0.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"ajv":"^8.11.2","jest":"^29.3.1","husky":"^6.0.0","react":"^17.0.1","eslint":"^7.19.0","webpack":"^5.86.0","prettier":"2.2.1","react-dom":"^17.0.1","@babel/cli":"^7.19.3","typescript":"^4.9.3","@types/jest":"^29.2.3","lint-staged":"^10.5.4","react-modal":"^3.16.1","webpack-cli":"^5.0.0","babel-loader":"^9.1.0","@types/webpack":"^5.28.1","@commitlint/cli":"^11.0.0","semantic-release":"^21.0.3","@babel/preset-env":"^7.12.13","@types/react-modal":"^3.16.0","webpack-dev-server":"^4.11.1","@babel/preset-react":"^7.18.6","@types/randomstring":"^1.1.8","eslint-plugin-react":"^7.22.0","html-webpack-plugin":"^5.5.3","@babel/eslint-parser":"^7.19.1","@semantic-release/git":"^10.0.1","eslint-config-prettier":"^7.2.0","@babel/preset-typescript":"^7.12.13","@typescript-eslint/parser":"^4.14.2","@semantic-release/changelog":"^6.0.1","conventional-changelog-eslint":"^3.0.9","@commitlint/config-conventional":"^11.0.0","@typescript-eslint/eslint-plugin":"^4.14.2"},"peerDependencies":{"webpack":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/isolated-externals-plugin_2.4.0-preload-non-esm-e559461.4_1686702888408_0.031152637612541945","host":"s3://npm-registry-packages"}},"2.4.0-preload-non-esm-e559461.5":{"name":"isolated-externals-plugin","version":"2.4.0-preload-non-esm-e559461.5","keywords":["Web Components","webpack","webpack4","webpack-plugin","isolated","externals","embedded"],"author":{"name":"Steve Matney"},"license":"ISC","_id":"isolated-externals-plugin@2.4.0-preload-non-esm-e559461.5","maintainers":[{"name":"jrios","email":"jacobrios@fastmail.com"},{"name":"darrken","email":"ken.james.adams+npm@gmail.com"},{"name":"aabenoja","email":"abenojaalex@gmail.com"},{"name":"stevematney","email":"steve.matney@gmail.com"}],"homepage":"https://github.com/WTW-IM/isolated-externals-plugin#readme","bugs":{"url":"https://github.com/WTW-IM/isolated-externals-plugin/issues"},"dist":{"shasum":"578e57699b5004b514464cc47aa331b24840966c","tarball":"https://registry.npmjs.org/isolated-externals-plugin/-/isolated-externals-plugin-2.4.0-preload-non-esm-e559461.5.tgz","fileCount":32,"integrity":"sha512-m4qQ8khbgmS3L5yW74u4MvaxkNgHdRi/MYGEcwiSdevBAlr+4K3G+GQuFLh4B4qrf9AcELRhpm5X9xE5KEu8sA==","signatures":[{"sig":"MEUCICw0Wh/R7gvNjS+6jsI2ViRanp0LogFGCYFeVFYky9/ZAiEA+CrgfAqMmJblcuWZKf/4SJGPPFMA7O0O++9ohLx5DxA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":76402},"main":"dist/index.js","types":"dist/index.d.ts","readme":"# isolated-externals-plugin\n\n[![Build Status](https://travis-ci.com/WTW-IM/isolated-externals-plugin.svg?branch=master)](https://travis-ci.com/github/WTW-IM/isolated-externals-plugin)\n[![npm version](https://badge.fury.io/js/isolated-externals-plugin.svg)](https://badge.fury.io/js/isolated-externals-plugin)\n\n## Installation\n\nTo install, simply run:\n\n```bash\nnpm install --save-dev isolated-externals-plugin\n```\n\n## Usage\n\nThe `IsolatedExternalsPlugin` allows you to load external dependencies inside the scope of your webpack bundle without having to have them in your global scope. If you're curious about why you might want this, there are [some use cases listed below](#why-load-externals-locally-instead-of-globally).\n\nIt's an opinionated plugin in this way:\n\n- The externals set with the `IsolatedExternalsPlugin` utilize [`externalsType.promise`](https://webpack.js.org/configuration/externals/#externalstypepromise), which utilizes `async`/`await` syntax.\n\nThe plugin is built as an ES Module, so you'll need to load it in by using the `default` property:\n\n```javascript\nconst IsolatedExternalsPlugin = require('isolated-externals-plugin').default;\n```\n\nAn `IsolatedExternalsPlugin` configuration might look like the following:\n\n```javascript\nnew IsolatedExternalsPlugin({\n  entry1: {\n    react: {\n      url: 'https://unpkg.com/react@16/umd/react.development.js',\n      globalName: 'React',\n    },\n    ['react-dom']: {\n      url: 'https://unpkg.com/react-dom@16/umd/react-dom.development.js',\n      globalName: 'ReactDOM',\n    },\n  },\n  entry2: {\n    react: {\n      url: 'https://unpkg.com/react@16/umd/react.development.js',\n      globalName: 'React',\n    },\n    ['react-dom']: {\n      url: 'https://unpkg.com/react-dom@16/umd/react-dom.development.js',\n      globalName: 'ReactDOM',\n    },\n  },\n});\n```\n\nEach property of the configuration follows this structure:\n\n```javascript\n[entryName]: {\n  [packageName]: {\n    url: [url],\n    globalName: [globalName]\n  }\n}\n```\n\n| Part             | Description                                                                                               |\n| ---------------- | --------------------------------------------------------------------------------------------------------- |\n| `entryName`\\*    | The name of one of your webpack [Entry Points](https://webpack.js.org/concepts/entry-points/).            |\n| `packageName`\\*  | The name of the import for your externalized dependency (like 'react-dom').                               |\n| `url`\\*          | The URL from which to load your dependency file.                                                          |\n| `globalName`     | The UMD name of your dependency (like `ReactDOM`). [See below for details](#globalname-and-other-details) |\n| `urlTransformer` | A path or module path to a module that exports a url transforming function.                               |\n| \\*               | _required_                                                                                                |\n\n## `globalName` and other details\n\nIf `globalName` is not provided, `IsolatedExternalsPlugin` will try to match the `packageName` to one of your [`externals`](https://webpack.js.org/configuration/externals/#externals) entries, and will use the value from that as the `globalName`\n\nThe external files will be loaded and applied to your context in the order that they're listed, so if you have dependencies that depend on other dependencies (like `ReactDOM` depends on `React`), then you'll want to make sure you list the ones they depend on first.\n\n## How It Works\n\n`IsolatedExternalsPlugin` loads the text of your externals URLs via a shared [Cache](https://developer.mozilla.org/en-US/docs/Web/API/Cache) (or a shared global object if `Cache` is not available), and processes the text on a context object which is singular to your bundle. This allows you to load multiple bundles per page with different versions of a dependency—or with the same version of a dependency separately—without polluting a global scope, and without loading the same dependency over the wire more than once. This keeps bundle sizes down while also providing complete autonomy to any individual JS bundle.\n\n## Why load externals locally instead of globally?\n\nHere are two valid use cases. There may be others, but these are the reason we built this plugin!:\n\n1. You want to load different javascript apps on the same page with different versions of the same dependency (like React).\n2. You want to load more than one javascript app onto the same page with the same dependency, but ignorant of each other and the global context (like in micro frontends). This allows each app to be small in byte size, and allows the overall page to never load the same dependency more than once.\n\n## Contributing\n\nThis package uses `semantic-release`. Changes will be compiled into a changelog and the package versioned, tagged and published automatically.\nPlease ensure your commit messages adhere to the following structure:\n\n```\n<type>: <subject>\n<BLANK LINE>\n<body>\n```\n\nOnly the header is mandatory. The supported types are based off of the [ESLint Convention](https://github.com/conventional-changelog/conventional-changelog/tree/35e279d40603b0969c6d622514f5c0984c5bf309/packages/conventional-changelog-eslint).\n","gitHead":"045e32a20c47f13586ad7447d832cd1b85058df4","scripts":{"lint":"eslint --ext .js,.jsx,.ts,.tsx ./src","test":"npm run lint && npm run build && jest","build":"tsc && cd src/util && tsc","prepare":"husky install","pre-commit":"lint-staged","startExamples":"npm run build && webpack-dev-server --config ./example-app/webpack.config.js","prepublishOnly":"npm run build"},"_npmUser":{"name":"stevematney","email":"steve.matney@gmail.com"},"repository":{"url":"git+https://github.com/WTW-IM/isolated-externals-plugin.git","type":"git"},"_npmVersion":"9.7.1","description":"[![Build Status](https://travis-ci.com/WTW-IM/isolated-externals-plugin.svg?branch=master)](https://travis-ci.com/github/WTW-IM/isolated-externals-plugin) [![npm version](https://badge.fury.io/js/isolated-externals-plugin.svg)](https://badge.fury.io/js/is","directories":{},"lint-staged":{"*.md":["prettier --write --parser markdown"],"src/**/*.(j|t)s?(x)":["prettier --write","eslint --fix"]},"_nodeVersion":"18.16.0","dependencies":{"schema-utils":"^4.0.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"ajv":"^8.11.2","jest":"^29.3.1","husky":"^6.0.0","react":"^17.0.1","eslint":"^7.19.0","webpack":"^5.86.0","prettier":"2.2.1","react-dom":"^17.0.1","@babel/cli":"^7.19.3","typescript":"^4.9.3","@types/jest":"^29.2.3","lint-staged":"^10.5.4","react-modal":"^3.16.1","webpack-cli":"^5.0.0","babel-loader":"^9.1.0","@types/webpack":"^5.28.1","@commitlint/cli":"^11.0.0","semantic-release":"^21.0.3","@babel/preset-env":"^7.12.13","@types/react-modal":"^3.16.0","webpack-dev-server":"^4.11.1","@babel/preset-react":"^7.18.6","@types/randomstring":"^1.1.8","eslint-plugin-react":"^7.22.0","html-webpack-plugin":"^5.5.3","@babel/eslint-parser":"^7.19.1","@semantic-release/git":"^10.0.1","eslint-config-prettier":"^7.2.0","@babel/preset-typescript":"^7.12.13","@typescript-eslint/parser":"^4.14.2","@semantic-release/changelog":"^6.0.1","conventional-changelog-eslint":"^3.0.9","@commitlint/config-conventional":"^11.0.0","@typescript-eslint/eslint-plugin":"^4.14.2"},"peerDependencies":{"webpack":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/isolated-externals-plugin_2.4.0-preload-non-esm-e559461.5_1686756184880_0.977735490366701","host":"s3://npm-registry-packages"}},"2.4.0-preload-non-esm-e559461.6":{"name":"isolated-externals-plugin","version":"2.4.0-preload-non-esm-e559461.6","keywords":["Web Components","webpack","webpack4","webpack-plugin","isolated","externals","embedded"],"author":{"name":"Steve Matney"},"license":"ISC","_id":"isolated-externals-plugin@2.4.0-preload-non-esm-e559461.6","maintainers":[{"name":"jrios","email":"jacobrios@fastmail.com"},{"name":"darrken","email":"ken.james.adams+npm@gmail.com"},{"name":"aabenoja","email":"abenojaalex@gmail.com"},{"name":"stevematney","email":"steve.matney@gmail.com"}],"homepage":"https://github.com/WTW-IM/isolated-externals-plugin#readme","bugs":{"url":"https://github.com/WTW-IM/isolated-externals-plugin/issues"},"dist":{"shasum":"67ae77233f0682fbf5a51e218dca621bb18d7ce2","tarball":"https://registry.npmjs.org/isolated-externals-plugin/-/isolated-externals-plugin-2.4.0-preload-non-esm-e559461.6.tgz","fileCount":32,"integrity":"sha512-4cMmuKSYK1cfNZqtPK58H5Jt00fxMBuPQEv0mvwY7R3YJZi3g2OQpkNYvBgBsOQFxUpCzYbNPffKfQJlJpwOcg==","signatures":[{"sig":"MEUCIGGRYw/XovgK96ssV48FotuJdtG5M+AXH9ZcpZnhx+9UAiEA6opryYEvrVYhuST8A6MRNro5utQU+lK5Kuva2ft+4dU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":76420},"main":"dist/index.js","types":"dist/index.d.ts","readme":"# isolated-externals-plugin\n\n[![Build Status](https://travis-ci.com/WTW-IM/isolated-externals-plugin.svg?branch=master)](https://travis-ci.com/github/WTW-IM/isolated-externals-plugin)\n[![npm version](https://badge.fury.io/js/isolated-externals-plugin.svg)](https://badge.fury.io/js/isolated-externals-plugin)\n\n## Installation\n\nTo install, simply run:\n\n```bash\nnpm install --save-dev isolated-externals-plugin\n```\n\n## Usage\n\nThe `IsolatedExternalsPlugin` allows you to load external dependencies inside the scope of your webpack bundle without having to have them in your global scope. If you're curious about why you might want this, there are [some use cases listed below](#why-load-externals-locally-instead-of-globally).\n\nIt's an opinionated plugin in this way:\n\n- The externals set with the `IsolatedExternalsPlugin` utilize [`externalsType.promise`](https://webpack.js.org/configuration/externals/#externalstypepromise), which utilizes `async`/`await` syntax.\n\nThe plugin is built as an ES Module, so you'll need to load it in by using the `default` property:\n\n```javascript\nconst IsolatedExternalsPlugin = require('isolated-externals-plugin').default;\n```\n\nAn `IsolatedExternalsPlugin` configuration might look like the following:\n\n```javascript\nnew IsolatedExternalsPlugin({\n  entry1: {\n    react: {\n      url: 'https://unpkg.com/react@16/umd/react.development.js',\n      globalName: 'React',\n    },\n    ['react-dom']: {\n      url: 'https://unpkg.com/react-dom@16/umd/react-dom.development.js',\n      globalName: 'ReactDOM',\n    },\n  },\n  entry2: {\n    react: {\n      url: 'https://unpkg.com/react@16/umd/react.development.js',\n      globalName: 'React',\n    },\n    ['react-dom']: {\n      url: 'https://unpkg.com/react-dom@16/umd/react-dom.development.js',\n      globalName: 'ReactDOM',\n    },\n  },\n});\n```\n\nEach property of the configuration follows this structure:\n\n```javascript\n[entryName]: {\n  [packageName]: {\n    url: [url],\n    globalName: [globalName]\n  }\n}\n```\n\n| Part             | Description                                                                                               |\n| ---------------- | --------------------------------------------------------------------------------------------------------- |\n| `entryName`\\*    | The name of one of your webpack [Entry Points](https://webpack.js.org/concepts/entry-points/).            |\n| `packageName`\\*  | The name of the import for your externalized dependency (like 'react-dom').                               |\n| `url`\\*          | The URL from which to load your dependency file.                                                          |\n| `globalName`     | The UMD name of your dependency (like `ReactDOM`). [See below for details](#globalname-and-other-details) |\n| `urlTransformer` | A path or module path to a module that exports a url transforming function.                               |\n| \\*               | _required_                                                                                                |\n\n## `globalName` and other details\n\nIf `globalName` is not provided, `IsolatedExternalsPlugin` will try to match the `packageName` to one of your [`externals`](https://webpack.js.org/configuration/externals/#externals) entries, and will use the value from that as the `globalName`\n\nThe external files will be loaded and applied to your context in the order that they're listed, so if you have dependencies that depend on other dependencies (like `ReactDOM` depends on `React`), then you'll want to make sure you list the ones they depend on first.\n\n## How It Works\n\n`IsolatedExternalsPlugin` loads the text of your externals URLs via a shared [Cache](https://developer.mozilla.org/en-US/docs/Web/API/Cache) (or a shared global object if `Cache` is not available), and processes the text on a context object which is singular to your bundle. This allows you to load multiple bundles per page with different versions of a dependency—or with the same version of a dependency separately—without polluting a global scope, and without loading the same dependency over the wire more than once. This keeps bundle sizes down while also providing complete autonomy to any individual JS bundle.\n\n## Why load externals locally instead of globally?\n\nHere are two valid use cases. There may be others, but these are the reason we built this plugin!:\n\n1. You want to load different javascript apps on the same page with different versions of the same dependency (like React).\n2. You want to load more than one javascript app onto the same page with the same dependency, but ignorant of each other and the global context (like in micro frontends). This allows each app to be small in byte size, and allows the overall page to never load the same dependency more than once.\n\n## Contributing\n\nThis package uses `semantic-release`. Changes will be compiled into a changelog and the package versioned, tagged and published automatically.\nPlease ensure your commit messages adhere to the following structure:\n\n```\n<type>: <subject>\n<BLANK LINE>\n<body>\n```\n\nOnly the header is mandatory. The supported types are based off of the [ESLint Convention](https://github.com/conventional-changelog/conventional-changelog/tree/35e279d40603b0969c6d622514f5c0984c5bf309/packages/conventional-changelog-eslint).\n","gitHead":"ca24a476b7c30d6144b9ced6b709ad3e60fa8399","scripts":{"lint":"eslint --ext .js,.jsx,.ts,.tsx ./src","test":"npm run lint && npm run build && jest","build":"tsc && cd src/util && tsc","prepare":"husky install","pre-commit":"lint-staged","startExamples":"npm run build && webpack-dev-server --config ./example-app/webpack.config.js","prepublishOnly":"npm run build"},"_npmUser":{"name":"stevematney","email":"steve.matney@gmail.com"},"repository":{"url":"git+https://github.com/WTW-IM/isolated-externals-plugin.git","type":"git"},"_npmVersion":"9.7.1","description":"[![Build Status](https://travis-ci.com/WTW-IM/isolated-externals-plugin.svg?branch=master)](https://travis-ci.com/github/WTW-IM/isolated-externals-plugin) [![npm version](https://badge.fury.io/js/isolated-externals-plugin.svg)](https://badge.fury.io/js/is","directories":{},"lint-staged":{"*.md":["prettier --write --parser markdown"],"src/**/*.(j|t)s?(x)":["prettier --write","eslint --fix"]},"_nodeVersion":"18.16.0","dependencies":{"schema-utils":"^4.0.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"ajv":"^8.11.2","jest":"^29.3.1","husky":"^6.0.0","react":"^17.0.1","eslint":"^7.19.0","webpack":"^5.86.0","prettier":"2.2.1","react-dom":"^17.0.1","@babel/cli":"^7.19.3","typescript":"^4.9.3","@types/jest":"^29.2.3","lint-staged":"^10.5.4","react-modal":"^3.16.1","webpack-cli":"^5.0.0","babel-loader":"^9.1.0","@types/webpack":"^5.28.1","@commitlint/cli":"^11.0.0","semantic-release":"^21.0.3","@babel/preset-env":"^7.12.13","@types/react-modal":"^3.16.0","webpack-dev-server":"^4.11.1","@babel/preset-react":"^7.18.6","@types/randomstring":"^1.1.8","eslint-plugin-react":"^7.22.0","html-webpack-plugin":"^5.5.3","@babel/eslint-parser":"^7.19.1","@semantic-release/git":"^10.0.1","eslint-config-prettier":"^7.2.0","@babel/preset-typescript":"^7.12.13","@typescript-eslint/parser":"^4.14.2","@semantic-release/changelog":"^6.0.1","conventional-changelog-eslint":"^3.0.9","@commitlint/config-conventional":"^11.0.0","@typescript-eslint/eslint-plugin":"^4.14.2"},"peerDependencies":{"webpack":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/isolated-externals-plugin_2.4.0-preload-non-esm-e559461.6_1686757450587_0.7733302113133074","host":"s3://npm-registry-packages"}},"2.4.0-preload-non-esm-e559461.7":{"name":"isolated-externals-plugin","version":"2.4.0-preload-non-esm-e559461.7","keywords":["Web Components","webpack","webpack4","webpack-plugin","isolated","externals","embedded"],"author":{"name":"Steve Matney"},"license":"ISC","_id":"isolated-externals-plugin@2.4.0-preload-non-esm-e559461.7","maintainers":[{"name":"jrios","email":"jacobrios@fastmail.com"},{"name":"darrken","email":"ken.james.adams+npm@gmail.com"},{"name":"aabenoja","email":"abenojaalex@gmail.com"},{"name":"stevematney","email":"steve.matney@gmail.com"}],"homepage":"https://github.com/WTW-IM/isolated-externals-plugin#readme","bugs":{"url":"https://github.com/WTW-IM/isolated-externals-plugin/issues"},"dist":{"shasum":"1a7a2165496741a23f2ea3d6db5a1b224608e5cb","tarball":"https://registry.npmjs.org/isolated-externals-plugin/-/isolated-externals-plugin-2.4.0-preload-non-esm-e559461.7.tgz","fileCount":32,"integrity":"sha512-T4FZHY6l7hRRN5aiSdrlAVQ5L4ZRyueCDN0Aj5Py1Gxt2jFV57QnkamW7xUBPn+Dk1mTKJoGJhq1eEUNX+XEDw==","signatures":[{"sig":"MEQCIH0xFqNQpAHWuZ5vsz2tuO9jiOyzPMRlNl9XZ0LomtLoAiA/FxHlw5/aS8Mewd3A3EXfOTeq5vnwxLjSgUqq8mgrYg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":76543},"main":"dist/index.js","types":"dist/index.d.ts","readme":"# isolated-externals-plugin\n\n[![Build Status](https://travis-ci.com/WTW-IM/isolated-externals-plugin.svg?branch=master)](https://travis-ci.com/github/WTW-IM/isolated-externals-plugin)\n[![npm version](https://badge.fury.io/js/isolated-externals-plugin.svg)](https://badge.fury.io/js/isolated-externals-plugin)\n\n## Installation\n\nTo install, simply run:\n\n```bash\nnpm install --save-dev isolated-externals-plugin\n```\n\n## Usage\n\nThe `IsolatedExternalsPlugin` allows you to load external dependencies inside the scope of your webpack bundle without having to have them in your global scope. If you're curious about why you might want this, there are [some use cases listed below](#why-load-externals-locally-instead-of-globally).\n\nIt's an opinionated plugin in this way:\n\n- The externals set with the `IsolatedExternalsPlugin` utilize [`externalsType.promise`](https://webpack.js.org/configuration/externals/#externalstypepromise), which utilizes `async`/`await` syntax.\n\nThe plugin is built as an ES Module, so you'll need to load it in by using the `default` property:\n\n```javascript\nconst IsolatedExternalsPlugin = require('isolated-externals-plugin').default;\n```\n\nAn `IsolatedExternalsPlugin` configuration might look like the following:\n\n```javascript\nnew IsolatedExternalsPlugin({\n  entry1: {\n    react: {\n      url: 'https://unpkg.com/react@16/umd/react.development.js',\n      globalName: 'React',\n    },\n    ['react-dom']: {\n      url: 'https://unpkg.com/react-dom@16/umd/react-dom.development.js',\n      globalName: 'ReactDOM',\n    },\n  },\n  entry2: {\n    react: {\n      url: 'https://unpkg.com/react@16/umd/react.development.js',\n      globalName: 'React',\n    },\n    ['react-dom']: {\n      url: 'https://unpkg.com/react-dom@16/umd/react-dom.development.js',\n      globalName: 'ReactDOM',\n    },\n  },\n});\n```\n\nEach property of the configuration follows this structure:\n\n```javascript\n[entryName]: {\n  [packageName]: {\n    url: [url],\n    globalName: [globalName]\n  }\n}\n```\n\n| Part             | Description                                                                                               |\n| ---------------- | --------------------------------------------------------------------------------------------------------- |\n| `entryName`\\*    | The name of one of your webpack [Entry Points](https://webpack.js.org/concepts/entry-points/).            |\n| `packageName`\\*  | The name of the import for your externalized dependency (like 'react-dom').                               |\n| `url`\\*          | The URL from which to load your dependency file.                                                          |\n| `globalName`     | The UMD name of your dependency (like `ReactDOM`). [See below for details](#globalname-and-other-details) |\n| `urlTransformer` | A path or module path to a module that exports a url transforming function.                               |\n| \\*               | _required_                                                                                                |\n\n## `globalName` and other details\n\nIf `globalName` is not provided, `IsolatedExternalsPlugin` will try to match the `packageName` to one of your [`externals`](https://webpack.js.org/configuration/externals/#externals) entries, and will use the value from that as the `globalName`\n\nThe external files will be loaded and applied to your context in the order that they're listed, so if you have dependencies that depend on other dependencies (like `ReactDOM` depends on `React`), then you'll want to make sure you list the ones they depend on first.\n\n## How It Works\n\n`IsolatedExternalsPlugin` loads the text of your externals URLs via a shared [Cache](https://developer.mozilla.org/en-US/docs/Web/API/Cache) (or a shared global object if `Cache` is not available), and processes the text on a context object which is singular to your bundle. This allows you to load multiple bundles per page with different versions of a dependency—or with the same version of a dependency separately—without polluting a global scope, and without loading the same dependency over the wire more than once. This keeps bundle sizes down while also providing complete autonomy to any individual JS bundle.\n\n## Why load externals locally instead of globally?\n\nHere are two valid use cases. There may be others, but these are the reason we built this plugin!:\n\n1. You want to load different javascript apps on the same page with different versions of the same dependency (like React).\n2. You want to load more than one javascript app onto the same page with the same dependency, but ignorant of each other and the global context (like in micro frontends). This allows each app to be small in byte size, and allows the overall page to never load the same dependency more than once.\n\n## Contributing\n\nThis package uses `semantic-release`. Changes will be compiled into a changelog and the package versioned, tagged and published automatically.\nPlease ensure your commit messages adhere to the following structure:\n\n```\n<type>: <subject>\n<BLANK LINE>\n<body>\n```\n\nOnly the header is mandatory. The supported types are based off of the [ESLint Convention](https://github.com/conventional-changelog/conventional-changelog/tree/35e279d40603b0969c6d622514f5c0984c5bf309/packages/conventional-changelog-eslint).\n","gitHead":"54c63cf479170d26368f8837360172297bd63379","scripts":{"lint":"eslint --ext .js,.jsx,.ts,.tsx ./src","test":"npm run lint && npm run build && jest","build":"tsc && cd src/util && tsc","prepare":"husky install","pre-commit":"lint-staged","startExamples":"npm run build && webpack-dev-server --config ./example-app/webpack.config.js","prepublishOnly":"npm run build"},"_npmUser":{"name":"stevematney","email":"steve.matney@gmail.com"},"repository":{"url":"git+https://github.com/WTW-IM/isolated-externals-plugin.git","type":"git"},"_npmVersion":"9.7.1","description":"[![Build Status](https://travis-ci.com/WTW-IM/isolated-externals-plugin.svg?branch=master)](https://travis-ci.com/github/WTW-IM/isolated-externals-plugin) [![npm version](https://badge.fury.io/js/isolated-externals-plugin.svg)](https://badge.fury.io/js/is","directories":{},"lint-staged":{"*.md":["prettier --write --parser markdown"],"src/**/*.(j|t)s?(x)":["prettier --write","eslint --fix"]},"_nodeVersion":"18.16.0","dependencies":{"schema-utils":"^4.0.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"ajv":"^8.11.2","jest":"^29.3.1","husky":"^6.0.0","react":"^17.0.1","eslint":"^7.19.0","webpack":"^5.86.0","prettier":"2.2.1","react-dom":"^17.0.1","@babel/cli":"^7.19.3","typescript":"^4.9.3","@types/jest":"^29.2.3","lint-staged":"^10.5.4","react-modal":"^3.16.1","webpack-cli":"^5.0.0","babel-loader":"^9.1.0","@types/webpack":"^5.28.1","@commitlint/cli":"^11.0.0","semantic-release":"^21.0.3","@babel/preset-env":"^7.12.13","@types/react-modal":"^3.16.0","webpack-dev-server":"^4.11.1","@babel/preset-react":"^7.18.6","@types/randomstring":"^1.1.8","eslint-plugin-react":"^7.22.0","html-webpack-plugin":"^5.5.3","@babel/eslint-parser":"^7.19.1","@semantic-release/git":"^10.0.1","eslint-config-prettier":"^7.2.0","@babel/preset-typescript":"^7.12.13","@typescript-eslint/parser":"^4.14.2","@semantic-release/changelog":"^6.0.1","conventional-changelog-eslint":"^3.0.9","@commitlint/config-conventional":"^11.0.0","@typescript-eslint/eslint-plugin":"^4.14.2"},"peerDependencies":{"webpack":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/isolated-externals-plugin_2.4.0-preload-non-esm-e559461.7_1686760344303_0.8281919449227857","host":"s3://npm-registry-packages"}},"2.4.0-preload-non-esm-e559461.8":{"name":"isolated-externals-plugin","version":"2.4.0-preload-non-esm-e559461.8","keywords":["Web Components","webpack","webpack4","webpack-plugin","isolated","externals","embedded"],"author":{"name":"Steve Matney"},"license":"ISC","_id":"isolated-externals-plugin@2.4.0-preload-non-esm-e559461.8","maintainers":[{"name":"jrios","email":"jacobrios@fastmail.com"},{"name":"darrken","email":"ken.james.adams+npm@gmail.com"},{"name":"aabenoja","email":"abenojaalex@gmail.com"},{"name":"stevematney","email":"steve.matney@gmail.com"}],"homepage":"https://github.com/WTW-IM/isolated-externals-plugin#readme","bugs":{"url":"https://github.com/WTW-IM/isolated-externals-plugin/issues"},"dist":{"shasum":"6a26fd87e9347636db74836e8bbaf9c05f36a0e3","tarball":"https://registry.npmjs.org/isolated-externals-plugin/-/isolated-externals-plugin-2.4.0-preload-non-esm-e559461.8.tgz","fileCount":32,"integrity":"sha512-4NZklk5gEYnRphkVS9bZzSHqkTpB8ouzs+BUCwP4ZijCy1ZIvCFjoWnGkrnkTboqGHmmAYZifdnW1t2wINe+jA==","signatures":[{"sig":"MEUCIQDIjus77Hq6pS3dzD4UR1477YBf0Amq0MBPloB/K73zVwIgavwETENddtLClfxXr3wseNVjawKiQaLMb2xVpnWyPvs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":72742},"main":"dist/index.js","types":"dist/index.d.ts","readme":"# isolated-externals-plugin\n\n[![Build Status](https://travis-ci.com/WTW-IM/isolated-externals-plugin.svg?branch=master)](https://travis-ci.com/github/WTW-IM/isolated-externals-plugin)\n[![npm version](https://badge.fury.io/js/isolated-externals-plugin.svg)](https://badge.fury.io/js/isolated-externals-plugin)\n\n## Installation\n\nTo install, simply run:\n\n```bash\nnpm install --save-dev isolated-externals-plugin\n```\n\n## Usage\n\nThe `IsolatedExternalsPlugin` allows you to load external dependencies inside the scope of your webpack bundle without having to have them in your global scope. If you're curious about why you might want this, there are [some use cases listed below](#why-load-externals-locally-instead-of-globally).\n\nIt's an opinionated plugin in this way:\n\n- The externals set with the `IsolatedExternalsPlugin` utilize [`externalsType.promise`](https://webpack.js.org/configuration/externals/#externalstypepromise), which utilizes `async`/`await` syntax.\n\nThe plugin is built as an ES Module, so you'll need to load it in by using the `default` property:\n\n```javascript\nconst IsolatedExternalsPlugin = require('isolated-externals-plugin').default;\n```\n\nAn `IsolatedExternalsPlugin` configuration might look like the following:\n\n```javascript\nnew IsolatedExternalsPlugin({\n  entry1: {\n    react: {\n      url: 'https://unpkg.com/react@16/umd/react.development.js',\n      globalName: 'React',\n    },\n    ['react-dom']: {\n      url: 'https://unpkg.com/react-dom@16/umd/react-dom.development.js',\n      globalName: 'ReactDOM',\n    },\n  },\n  entry2: {\n    react: {\n      url: 'https://unpkg.com/react@16/umd/react.development.js',\n      globalName: 'React',\n    },\n    ['react-dom']: {\n      url: 'https://unpkg.com/react-dom@16/umd/react-dom.development.js',\n      globalName: 'ReactDOM',\n    },\n  },\n});\n```\n\nEach property of the configuration follows this structure:\n\n```javascript\n[entryName]: {\n  [packageName]: {\n    url: [url],\n    globalName: [globalName]\n  }\n}\n```\n\n| Part             | Description                                                                                               |\n| ---------------- | --------------------------------------------------------------------------------------------------------- |\n| `entryName`\\*    | The name of one of your webpack [Entry Points](https://webpack.js.org/concepts/entry-points/).            |\n| `packageName`\\*  | The name of the import for your externalized dependency (like 'react-dom').                               |\n| `url`\\*          | The URL from which to load your dependency file.                                                          |\n| `globalName`     | The UMD name of your dependency (like `ReactDOM`). [See below for details](#globalname-and-other-details) |\n| `urlTransformer` | A path or module path to a module that exports a url transforming function.                               |\n| \\*               | _required_                                                                                                |\n\n## `globalName` and other details\n\nIf `globalName` is not provided, `IsolatedExternalsPlugin` will try to match the `packageName` to one of your [`externals`](https://webpack.js.org/configuration/externals/#externals) entries, and will use the value from that as the `globalName`\n\nThe external files will be loaded and applied to your context in the order that they're listed, so if you have dependencies that depend on other dependencies (like `ReactDOM` depends on `React`), then you'll want to make sure you list the ones they depend on first.\n\n## How It Works\n\n`IsolatedExternalsPlugin` loads the text of your externals URLs via a shared [Cache](https://developer.mozilla.org/en-US/docs/Web/API/Cache) (or a shared global object if `Cache` is not available), and processes the text on a context object which is singular to your bundle. This allows you to load multiple bundles per page with different versions of a dependency—or with the same version of a dependency separately—without polluting a global scope, and without loading the same dependency over the wire more than once. This keeps bundle sizes down while also providing complete autonomy to any individual JS bundle.\n\n## Why load externals locally instead of globally?\n\nHere are two valid use cases. There may be others, but these are the reason we built this plugin!:\n\n1. You want to load different javascript apps on the same page with different versions of the same dependency (like React).\n2. You want to load more than one javascript app onto the same page with the same dependency, but ignorant of each other and the global context (like in micro frontends). This allows each app to be small in byte size, and allows the overall page to never load the same dependency more than once.\n\n## Contributing\n\nThis package uses `semantic-release`. Changes will be compiled into a changelog and the package versioned, tagged and published automatically.\nPlease ensure your commit messages adhere to the following structure:\n\n```\n<type>: <subject>\n<BLANK LINE>\n<body>\n```\n\nOnly the header is mandatory. The supported types are based off of the [ESLint Convention](https://github.com/conventional-changelog/conventional-changelog/tree/35e279d40603b0969c6d622514f5c0984c5bf309/packages/conventional-changelog-eslint).\n","gitHead":"c1f812ce9123cb3f37766a8829a4c3c3fd438660","scripts":{"lint":"eslint --ext .js,.jsx,.ts,.tsx ./src","test":"npm run lint && npm run build && jest","build":"tsc && cd src/util && tsc","prepare":"husky install","pre-commit":"lint-staged","startExamples":"npm run build && webpack-dev-server --config ./example-app/webpack.config.js","prepublishOnly":"npm run build"},"_npmUser":{"name":"stevematney","email":"steve.matney@gmail.com"},"repository":{"url":"git+https://github.com/WTW-IM/isolated-externals-plugin.git","type":"git"},"_npmVersion":"9.7.1","description":"[![Build Status](https://travis-ci.com/WTW-IM/isolated-externals-plugin.svg?branch=master)](https://travis-ci.com/github/WTW-IM/isolated-externals-plugin) [![npm version](https://badge.fury.io/js/isolated-externals-plugin.svg)](https://badge.fury.io/js/is","directories":{},"lint-staged":{"*.md":["prettier --write --parser markdown"],"src/**/*.(j|t)s?(x)":["prettier --write","eslint --fix"]},"_nodeVersion":"18.16.0","dependencies":{"schema-utils":"^4.0.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"ajv":"^8.11.2","jest":"^29.3.1","husky":"^6.0.0","react":"^17.0.1","eslint":"^7.19.0","webpack":"^5.86.0","prettier":"2.2.1","react-dom":"^17.0.1","@babel/cli":"^7.19.3","typescript":"^4.9.3","@types/jest":"^29.2.3","lint-staged":"^10.5.4","react-modal":"^3.16.1","webpack-cli":"^5.0.0","babel-loader":"^9.1.0","@types/webpack":"^5.28.1","@commitlint/cli":"^11.0.0","semantic-release":"^21.0.3","@babel/preset-env":"^7.12.13","@types/react-modal":"^3.16.0","webpack-dev-server":"^4.11.1","@babel/preset-react":"^7.18.6","@types/randomstring":"^1.1.8","eslint-plugin-react":"^7.22.0","html-webpack-plugin":"^5.5.3","@babel/eslint-parser":"^7.19.1","@semantic-release/git":"^10.0.1","eslint-config-prettier":"^7.2.0","@babel/preset-typescript":"^7.12.13","@typescript-eslint/parser":"^4.14.2","@semantic-release/changelog":"^6.0.1","conventional-changelog-eslint":"^3.0.9","@commitlint/config-conventional":"^11.0.0","@typescript-eslint/eslint-plugin":"^4.14.2"},"peerDependencies":{"webpack":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/isolated-externals-plugin_2.4.0-preload-non-esm-e559461.8_1686762076222_0.7268077748693598","host":"s3://npm-registry-packages"}},"2.4.0-preload-non-esm-e559461.9":{"name":"isolated-externals-plugin","version":"2.4.0-preload-non-esm-e559461.9","keywords":["Web Components","webpack","webpack4","webpack-plugin","isolated","externals","embedded"],"author":{"name":"Steve Matney"},"license":"ISC","_id":"isolated-externals-plugin@2.4.0-preload-non-esm-e559461.9","maintainers":[{"name":"jrios","email":"jacobrios@fastmail.com"},{"name":"darrken","email":"ken.james.adams+npm@gmail.com"},{"name":"aabenoja","email":"abenojaalex@gmail.com"},{"name":"stevematney","email":"steve.matney@gmail.com"}],"homepage":"https://github.com/WTW-IM/isolated-externals-plugin#readme","bugs":{"url":"https://github.com/WTW-IM/isolated-externals-plugin/issues"},"dist":{"shasum":"00af710a11f405c6dc004c5e8dd401c2c6374605","tarball":"https://registry.npmjs.org/isolated-externals-plugin/-/isolated-externals-plugin-2.4.0-preload-non-esm-e559461.9.tgz","fileCount":32,"integrity":"sha512-TLh/xZc5Pg185gmSEh36aVQrcWC1Kq2ZJ8+euYvWjRJOjufVQ+dTFebUXepjn5JRVUrxskDVk/DF9hK2sjM7fA==","signatures":[{"sig":"MEQCICAVb4Sy/7/nCi/0gK58NF7TEHn5iqS6m4sgAPJPI4WBAiAnPHwwXqsykN2GgvJZxa28hpqecksiL/yK3IQ7BVT8mA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":72804},"main":"dist/index.js","types":"dist/index.d.ts","readme":"# isolated-externals-plugin\n\n[![Build Status](https://travis-ci.com/WTW-IM/isolated-externals-plugin.svg?branch=master)](https://travis-ci.com/github/WTW-IM/isolated-externals-plugin)\n[![npm version](https://badge.fury.io/js/isolated-externals-plugin.svg)](https://badge.fury.io/js/isolated-externals-plugin)\n\n## Installation\n\nTo install, simply run:\n\n```bash\nnpm install --save-dev isolated-externals-plugin\n```\n\n## Usage\n\nThe `IsolatedExternalsPlugin` allows you to load external dependencies inside the scope of your webpack bundle without having to have them in your global scope. If you're curious about why you might want this, there are [some use cases listed below](#why-load-externals-locally-instead-of-globally).\n\nIt's an opinionated plugin in this way:\n\n- The externals set with the `IsolatedExternalsPlugin` utilize [`externalsType.promise`](https://webpack.js.org/configuration/externals/#externalstypepromise), which utilizes `async`/`await` syntax.\n\nThe plugin is built as an ES Module, so you'll need to load it in by using the `default` property:\n\n```javascript\nconst IsolatedExternalsPlugin = require('isolated-externals-plugin').default;\n```\n\nAn `IsolatedExternalsPlugin` configuration might look like the following:\n\n```javascript\nnew IsolatedExternalsPlugin({\n  entry1: {\n    react: {\n      url: 'https://unpkg.com/react@16/umd/react.development.js',\n      globalName: 'React',\n    },\n    ['react-dom']: {\n      url: 'https://unpkg.com/react-dom@16/umd/react-dom.development.js',\n      globalName: 'ReactDOM',\n    },\n  },\n  entry2: {\n    react: {\n      url: 'https://unpkg.com/react@16/umd/react.development.js',\n      globalName: 'React',\n    },\n    ['react-dom']: {\n      url: 'https://unpkg.com/react-dom@16/umd/react-dom.development.js',\n      globalName: 'ReactDOM',\n    },\n  },\n});\n```\n\nEach property of the configuration follows this structure:\n\n```javascript\n[entryName]: {\n  [packageName]: {\n    url: [url],\n    globalName: [globalName]\n  }\n}\n```\n\n| Part             | Description                                                                                               |\n| ---------------- | --------------------------------------------------------------------------------------------------------- |\n| `entryName`\\*    | The name of one of your webpack [Entry Points](https://webpack.js.org/concepts/entry-points/).            |\n| `packageName`\\*  | The name of the import for your externalized dependency (like 'react-dom').                               |\n| `url`\\*          | The URL from which to load your dependency file.                                                          |\n| `globalName`     | The UMD name of your dependency (like `ReactDOM`). [See below for details](#globalname-and-other-details) |\n| `urlTransformer` | A path or module path to a module that exports a url transforming function.                               |\n| \\*               | _required_                                                                                                |\n\n## `globalName` and other details\n\nIf `globalName` is not provided, `IsolatedExternalsPlugin` will try to match the `packageName` to one of your [`externals`](https://webpack.js.org/configuration/externals/#externals) entries, and will use the value from that as the `globalName`\n\nThe external files will be loaded and applied to your context in the order that they're listed, so if you have dependencies that depend on other dependencies (like `ReactDOM` depends on `React`), then you'll want to make sure you list the ones they depend on first.\n\n## How It Works\n\n`IsolatedExternalsPlugin` loads the text of your externals URLs via a shared [Cache](https://developer.mozilla.org/en-US/docs/Web/API/Cache) (or a shared global object if `Cache` is not available), and processes the text on a context object which is singular to your bundle. This allows you to load multiple bundles per page with different versions of a dependency—or with the same version of a dependency separately—without polluting a global scope, and without loading the same dependency over the wire more than once. This keeps bundle sizes down while also providing complete autonomy to any individual JS bundle.\n\n## Why load externals locally instead of globally?\n\nHere are two valid use cases. There may be others, but these are the reason we built this plugin!:\n\n1. You want to load different javascript apps on the same page with different versions of the same dependency (like React).\n2. You want to load more than one javascript app onto the same page with the same dependency, but ignorant of each other and the global context (like in micro frontends). This allows each app to be small in byte size, and allows the overall page to never load the same dependency more than once.\n\n## Contributing\n\nThis package uses `semantic-release`. Changes will be compiled into a changelog and the package versioned, tagged and published automatically.\nPlease ensure your commit messages adhere to the following structure:\n\n```\n<type>: <subject>\n<BLANK LINE>\n<body>\n```\n\nOnly the header is mandatory. The supported types are based off of the [ESLint Convention](https://github.com/conventional-changelog/conventional-changelog/tree/35e279d40603b0969c6d622514f5c0984c5bf309/packages/conventional-changelog-eslint).\n","gitHead":"5fb1ebc7b208df3140288dcfa2f91ed6e7d0d748","scripts":{"lint":"eslint --ext .js,.jsx,.ts,.tsx ./src","test":"npm run lint && npm run build && jest","build":"tsc && cd src/util && tsc","prepare":"husky install","pre-commit":"lint-staged","startExamples":"npm run build && webpack-dev-server --config ./example-app/webpack.config.js","prepublishOnly":"npm run build"},"_npmUser":{"name":"stevematney","email":"steve.matney@gmail.com"},"repository":{"url":"git+https://github.com/WTW-IM/isolated-externals-plugin.git","type":"git"},"_npmVersion":"9.7.1","description":"[![Build Status](https://travis-ci.com/WTW-IM/isolated-externals-plugin.svg?branch=master)](https://travis-ci.com/github/WTW-IM/isolated-externals-plugin) [![npm version](https://badge.fury.io/js/isolated-externals-plugin.svg)](https://badge.fury.io/js/is","directories":{},"lint-staged":{"*.md":["prettier --write --parser markdown"],"src/**/*.(j|t)s?(x)":["prettier --write","eslint --fix"]},"_nodeVersion":"18.16.0","dependencies":{"schema-utils":"^4.0.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"ajv":"^8.11.2","jest":"^29.3.1","husky":"^6.0.0","react":"^17.0.1","eslint":"^7.19.0","webpack":"^5.86.0","prettier":"2.2.1","react-dom":"^17.0.1","@babel/cli":"^7.19.3","typescript":"^4.9.3","@types/jest":"^29.2.3","lint-staged":"^10.5.4","react-modal":"^3.16.1","webpack-cli":"^5.0.0","babel-loader":"^9.1.0","@types/webpack":"^5.28.1","@commitlint/cli":"^11.0.0","semantic-release":"^21.0.3","@babel/preset-env":"^7.12.13","@types/react-modal":"^3.16.0","webpack-dev-server":"^4.11.1","@babel/preset-react":"^7.18.6","@types/randomstring":"^1.1.8","eslint-plugin-react":"^7.22.0","html-webpack-plugin":"^5.5.3","@babel/eslint-parser":"^7.19.1","@semantic-release/git":"^10.0.1","eslint-config-prettier":"^7.2.0","@babel/preset-typescript":"^7.12.13","@typescript-eslint/parser":"^4.14.2","@semantic-release/changelog":"^6.0.1","conventional-changelog-eslint":"^3.0.9","@commitlint/config-conventional":"^11.0.0","@typescript-eslint/eslint-plugin":"^4.14.2"},"peerDependencies":{"webpack":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/isolated-externals-plugin_2.4.0-preload-non-esm-e559461.9_1686762843512_0.4351380235930711","host":"s3://npm-registry-packages"}},"2.4.0-preload-non-esm-e559461.10":{"name":"isolated-externals-plugin","version":"2.4.0-preload-non-esm-e559461.10","keywords":["Web Components","webpack","webpack4","webpack-plugin","isolated","externals","embedded"],"author":{"name":"Steve Matney"},"license":"ISC","_id":"isolated-externals-plugin@2.4.0-preload-non-esm-e559461.10","maintainers":[{"name":"jrios","email":"jacobrios@fastmail.com"},{"name":"darrken","email":"ken.james.adams+npm@gmail.com"},{"name":"aabenoja","email":"abenojaalex@gmail.com"},{"name":"stevematney","email":"steve.matney@gmail.com"}],"homepage":"https://github.com/WTW-IM/isolated-externals-plugin#readme","bugs":{"url":"https://github.com/WTW-IM/isolated-externals-plugin/issues"},"dist":{"shasum":"4e77e5773ab0a4cc9a7885a890450c74980fb68c","tarball":"https://registry.npmjs.org/isolated-externals-plugin/-/isolated-externals-plugin-2.4.0-preload-non-esm-e559461.10.tgz","fileCount":32,"integrity":"sha512-RBKqqPFyI2U/2FoEm2n735qVKVeNlVm3hOjjvFn5X20j/4iz28JVdu8NxGgVRvHCaIQBdDSCyeMB1SwZAOmQ3g==","signatures":[{"sig":"MEYCIQCFQUwwzPgMmLdsGYpKN8csrx1s3rnEh0GLnYYxPFya8AIhANwbWbClUc1UiBpvxQZus2IrW5wUSHrq9oVtX1Apdqvg","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":73385},"main":"dist/index.js","types":"dist/index.d.ts","readme":"# isolated-externals-plugin\n\n[![Build Status](https://travis-ci.com/WTW-IM/isolated-externals-plugin.svg?branch=master)](https://travis-ci.com/github/WTW-IM/isolated-externals-plugin)\n[![npm version](https://badge.fury.io/js/isolated-externals-plugin.svg)](https://badge.fury.io/js/isolated-externals-plugin)\n\n## Installation\n\nTo install, simply run:\n\n```bash\nnpm install --save-dev isolated-externals-plugin\n```\n\n## Usage\n\nThe `IsolatedExternalsPlugin` allows you to load external dependencies inside the scope of your webpack bundle without having to have them in your global scope. If you're curious about why you might want this, there are [some use cases listed below](#why-load-externals-locally-instead-of-globally).\n\nIt's an opinionated plugin in this way:\n\n- The externals set with the `IsolatedExternalsPlugin` utilize [`externalsType.promise`](https://webpack.js.org/configuration/externals/#externalstypepromise), which utilizes `async`/`await` syntax.\n\nThe plugin is built as an ES Module, so you'll need to load it in by using the `default` property:\n\n```javascript\nconst IsolatedExternalsPlugin = require('isolated-externals-plugin').default;\n```\n\nAn `IsolatedExternalsPlugin` configuration might look like the following:\n\n```javascript\nnew IsolatedExternalsPlugin({\n  entry1: {\n    react: {\n      url: 'https://unpkg.com/react@16/umd/react.development.js',\n      globalName: 'React',\n    },\n    ['react-dom']: {\n      url: 'https://unpkg.com/react-dom@16/umd/react-dom.development.js',\n      globalName: 'ReactDOM',\n    },\n  },\n  entry2: {\n    react: {\n      url: 'https://unpkg.com/react@16/umd/react.development.js',\n      globalName: 'React',\n    },\n    ['react-dom']: {\n      url: 'https://unpkg.com/react-dom@16/umd/react-dom.development.js',\n      globalName: 'ReactDOM',\n    },\n  },\n});\n```\n\nEach property of the configuration follows this structure:\n\n```javascript\n[entryName]: {\n  [packageName]: {\n    url: [url],\n    globalName: [globalName]\n  }\n}\n```\n\n| Part             | Description                                                                                               |\n| ---------------- | --------------------------------------------------------------------------------------------------------- |\n| `entryName`\\*    | The name of one of your webpack [Entry Points](https://webpack.js.org/concepts/entry-points/).            |\n| `packageName`\\*  | The name of the import for your externalized dependency (like 'react-dom').                               |\n| `url`\\*          | The URL from which to load your dependency file.                                                          |\n| `globalName`     | The UMD name of your dependency (like `ReactDOM`). [See below for details](#globalname-and-other-details) |\n| `urlTransformer` | A path or module path to a module that exports a url transforming function.                               |\n| \\*               | _required_                                                                                                |\n\n## `globalName` and other details\n\nIf `globalName` is not provided, `IsolatedExternalsPlugin` will try to match the `packageName` to one of your [`externals`](https://webpack.js.org/configuration/externals/#externals) entries, and will use the value from that as the `globalName`\n\nThe external files will be loaded and applied to your context in the order that they're listed, so if you have dependencies that depend on other dependencies (like `ReactDOM` depends on `React`), then you'll want to make sure you list the ones they depend on first.\n\n## How It Works\n\n`IsolatedExternalsPlugin` loads the text of your externals URLs via a shared [Cache](https://developer.mozilla.org/en-US/docs/Web/API/Cache) (or a shared global object if `Cache` is not available), and processes the text on a context object which is singular to your bundle. This allows you to load multiple bundles per page with different versions of a dependency—or with the same version of a dependency separately—without polluting a global scope, and without loading the same dependency over the wire more than once. This keeps bundle sizes down while also providing complete autonomy to any individual JS bundle.\n\n## Why load externals locally instead of globally?\n\nHere are two valid use cases. There may be others, but these are the reason we built this plugin!:\n\n1. You want to load different javascript apps on the same page with different versions of the same dependency (like React).\n2. You want to load more than one javascript app onto the same page with the same dependency, but ignorant of each other and the global context (like in micro frontends). This allows each app to be small in byte size, and allows the overall page to never load the same dependency more than once.\n\n## Contributing\n\nThis package uses `semantic-release`. Changes will be compiled into a changelog and the package versioned, tagged and published automatically.\nPlease ensure your commit messages adhere to the following structure:\n\n```\n<type>: <subject>\n<BLANK LINE>\n<body>\n```\n\nOnly the header is mandatory. The supported types are based off of the [ESLint Convention](https://github.com/conventional-changelog/conventional-changelog/tree/35e279d40603b0969c6d622514f5c0984c5bf309/packages/conventional-changelog-eslint).\n","gitHead":"4401945176f512850f383d430badfbbc6ad359af","scripts":{"lint":"eslint --ext .js,.jsx,.ts,.tsx ./src","test":"npm run lint && npm run build && jest","build":"tsc && cd src/util && tsc","prepare":"husky install","pre-commit":"lint-staged","startExamples":"npm run build && webpack-dev-server --config ./example-app/webpack.config.js","prepublishOnly":"npm run build"},"_npmUser":{"name":"stevematney","email":"steve.matney@gmail.com"},"repository":{"url":"git+https://github.com/WTW-IM/isolated-externals-plugin.git","type":"git"},"_npmVersion":"9.7.1","description":"[![Build Status](https://travis-ci.com/WTW-IM/isolated-externals-plugin.svg?branch=master)](https://travis-ci.com/github/WTW-IM/isolated-externals-plugin) [![npm version](https://badge.fury.io/js/isolated-externals-plugin.svg)](https://badge.fury.io/js/is","directories":{},"lint-staged":{"*.md":["prettier --write --parser markdown"],"src/**/*.(j|t)s?(x)":["prettier --write","eslint --fix"]},"_nodeVersion":"18.16.0","dependencies":{"schema-utils":"^4.0.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"ajv":"^8.11.2","jest":"^29.3.1","husky":"^6.0.0","react":"^17.0.1","eslint":"^7.19.0","webpack":"^5.86.0","prettier":"2.2.1","react-dom":"^17.0.1","@babel/cli":"^7.19.3","typescript":"^4.9.3","@types/jest":"^29.2.3","lint-staged":"^10.5.4","react-modal":"^3.16.1","webpack-cli":"^5.0.0","babel-loader":"^9.1.0","@types/webpack":"^5.28.1","@commitlint/cli":"^11.0.0","semantic-release":"^21.0.3","@babel/preset-env":"^7.12.13","@types/react-modal":"^3.16.0","webpack-dev-server":"^4.11.1","@babel/preset-react":"^7.18.6","@types/randomstring":"^1.1.8","eslint-plugin-react":"^7.22.0","html-webpack-plugin":"^5.5.3","@babel/eslint-parser":"^7.19.1","@semantic-release/git":"^10.0.1","eslint-config-prettier":"^7.2.0","@babel/preset-typescript":"^7.12.13","@typescript-eslint/parser":"^4.14.2","@semantic-release/changelog":"^6.0.1","conventional-changelog-eslint":"^3.0.9","@commitlint/config-conventional":"^11.0.0","@typescript-eslint/eslint-plugin":"^4.14.2"},"peerDependencies":{"webpack":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/isolated-externals-plugin_2.4.0-preload-non-esm-e559461.10_1686787582506_0.39763197145896156","host":"s3://npm-registry-packages"}},"2.4.0-preload-non-esm-e559461.11":{"name":"isolated-externals-plugin","version":"2.4.0-preload-non-esm-e559461.11","keywords":["Web Components","webpack","webpack4","webpack-plugin","isolated","externals","embedded"],"author":{"name":"Steve Matney"},"license":"ISC","_id":"isolated-externals-plugin@2.4.0-preload-non-esm-e559461.11","maintainers":[{"name":"jrios","email":"jacobrios@fastmail.com"},{"name":"darrken","email":"ken.james.adams+npm@gmail.com"},{"name":"aabenoja","email":"abenojaalex@gmail.com"},{"name":"stevematney","email":"steve.matney@gmail.com"}],"homepage":"https://github.com/WTW-IM/isolated-externals-plugin#readme","bugs":{"url":"https://github.com/WTW-IM/isolated-externals-plugin/issues"},"dist":{"shasum":"96d341694f121d5719303269485ceec3a3ada8a1","tarball":"https://registry.npmjs.org/isolated-externals-plugin/-/isolated-externals-plugin-2.4.0-preload-non-esm-e559461.11.tgz","fileCount":32,"integrity":"sha512-recN3YwOBwUODlQnf96tOFZA2RyR8VZKxDbERqjGTlO2p0T4BpQprC+E4UnhL/oNuKRxmlZs3d5DIG9sXR89IA==","signatures":[{"sig":"MEQCIF0ZflUB8xbtB3L6u0X92NAJVjBXh7b9cJb9sUEM/1GNAiAXYsHinMvh9B98H90X/MeZ6CsKmJM83b/qpqLWJ05DKQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":75231},"main":"dist/index.js","types":"dist/index.d.ts","readme":"# isolated-externals-plugin\n\n[![Build Status](https://travis-ci.com/WTW-IM/isolated-externals-plugin.svg?branch=master)](https://travis-ci.com/github/WTW-IM/isolated-externals-plugin)\n[![npm version](https://badge.fury.io/js/isolated-externals-plugin.svg)](https://badge.fury.io/js/isolated-externals-plugin)\n\n## Installation\n\nTo install, simply run:\n\n```bash\nnpm install --save-dev isolated-externals-plugin\n```\n\n## Usage\n\nThe `IsolatedExternalsPlugin` allows you to load external dependencies inside the scope of your webpack bundle without having to have them in your global scope. If you're curious about why you might want this, there are [some use cases listed below](#why-load-externals-locally-instead-of-globally).\n\nIt's an opinionated plugin in this way:\n\n- The externals set with the `IsolatedExternalsPlugin` utilize [`externalsType.promise`](https://webpack.js.org/configuration/externals/#externalstypepromise), which utilizes `async`/`await` syntax.\n\nThe plugin is built as an ES Module, so you'll need to load it in by using the `default` property:\n\n```javascript\nconst IsolatedExternalsPlugin = require('isolated-externals-plugin').default;\n```\n\nAn `IsolatedExternalsPlugin` configuration might look like the following:\n\n```javascript\nnew IsolatedExternalsPlugin({\n  entry1: {\n    react: {\n      url: 'https://unpkg.com/react@16/umd/react.development.js',\n      globalName: 'React',\n    },\n    ['react-dom']: {\n      url: 'https://unpkg.com/react-dom@16/umd/react-dom.development.js',\n      globalName: 'ReactDOM',\n    },\n  },\n  entry2: {\n    react: {\n      url: 'https://unpkg.com/react@16/umd/react.development.js',\n      globalName: 'React',\n    },\n    ['react-dom']: {\n      url: 'https://unpkg.com/react-dom@16/umd/react-dom.development.js',\n      globalName: 'ReactDOM',\n    },\n  },\n});\n```\n\nEach property of the configuration follows this structure:\n\n```javascript\n[entryName]: {\n  [packageName]: {\n    url: [url],\n    globalName: [globalName]\n  }\n}\n```\n\n| Part             | Description                                                                                               |\n| ---------------- | --------------------------------------------------------------------------------------------------------- |\n| `entryName`\\*    | The name of one of your webpack [Entry Points](https://webpack.js.org/concepts/entry-points/).            |\n| `packageName`\\*  | The name of the import for your externalized dependency (like 'react-dom').                               |\n| `url`\\*          | The URL from which to load your dependency file.                                                          |\n| `globalName`     | The UMD name of your dependency (like `ReactDOM`). [See below for details](#globalname-and-other-details) |\n| `urlTransformer` | A path or module path to a module that exports a url transforming function.                               |\n| \\*               | _required_                                                                                                |\n\n## `globalName` and other details\n\nIf `globalName` is not provided, `IsolatedExternalsPlugin` will try to match the `packageName` to one of your [`externals`](https://webpack.js.org/configuration/externals/#externals) entries, and will use the value from that as the `globalName`\n\nThe external files will be loaded and applied to your context in the order that they're listed, so if you have dependencies that depend on other dependencies (like `ReactDOM` depends on `React`), then you'll want to make sure you list the ones they depend on first.\n\n## How It Works\n\n`IsolatedExternalsPlugin` loads the text of your externals URLs via a shared [Cache](https://developer.mozilla.org/en-US/docs/Web/API/Cache) (or a shared global object if `Cache` is not available), and processes the text on a context object which is singular to your bundle. This allows you to load multiple bundles per page with different versions of a dependency—or with the same version of a dependency separately—without polluting a global scope, and without loading the same dependency over the wire more than once. This keeps bundle sizes down while also providing complete autonomy to any individual JS bundle.\n\n## Why load externals locally instead of globally?\n\nHere are two valid use cases. There may be others, but these are the reason we built this plugin!:\n\n1. You want to load different javascript apps on the same page with different versions of the same dependency (like React).\n2. You want to load more than one javascript app onto the same page with the same dependency, but ignorant of each other and the global context (like in micro frontends). This allows each app to be small in byte size, and allows the overall page to never load the same dependency more than once.\n\n## Contributing\n\nThis package uses `semantic-release`. Changes will be compiled into a changelog and the package versioned, tagged and published automatically.\nPlease ensure your commit messages adhere to the following structure:\n\n```\n<type>: <subject>\n<BLANK LINE>\n<body>\n```\n\nOnly the header is mandatory. The supported types are based off of the [ESLint Convention](https://github.com/conventional-changelog/conventional-changelog/tree/35e279d40603b0969c6d622514f5c0984c5bf309/packages/conventional-changelog-eslint).\n","gitHead":"a9a3e49c6db6aabdaa984b0869caef5b0fda6855","scripts":{"lint":"eslint --ext .js,.jsx,.ts,.tsx ./src","test":"npm run lint && npm run build && jest","build":"tsc && cd src/util && tsc","prepare":"husky install","pre-commit":"lint-staged","startExamples":"npm run build && webpack-dev-server --config ./example-app/webpack.config.js","prepublishOnly":"npm run build"},"_npmUser":{"name":"stevematney","email":"steve.matney@gmail.com"},"repository":{"url":"git+https://github.com/WTW-IM/isolated-externals-plugin.git","type":"git"},"_npmVersion":"9.7.1","description":"[![Build Status](https://travis-ci.com/WTW-IM/isolated-externals-plugin.svg?branch=master)](https://travis-ci.com/github/WTW-IM/isolated-externals-plugin) [![npm version](https://badge.fury.io/js/isolated-externals-plugin.svg)](https://badge.fury.io/js/is","directories":{},"lint-staged":{"*.md":["prettier --write --parser markdown"],"src/**/*.(j|t)s?(x)":["prettier --write","eslint --fix"]},"_nodeVersion":"18.16.0","dependencies":{"schema-utils":"^4.0.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"ajv":"^8.11.2","jest":"^29.3.1","husky":"^6.0.0","react":"^17.0.1","eslint":"^7.19.0","webpack":"^5.86.0","prettier":"2.2.1","react-dom":"^17.0.1","@babel/cli":"^7.19.3","typescript":"^4.9.3","@types/jest":"^29.2.3","lint-staged":"^10.5.4","react-modal":"^3.16.1","webpack-cli":"^5.0.0","babel-loader":"^9.1.0","@types/webpack":"^5.28.1","@commitlint/cli":"^11.0.0","semantic-release":"^21.0.3","@babel/preset-env":"^7.12.13","@types/react-modal":"^3.16.0","webpack-dev-server":"^4.11.1","@babel/preset-react":"^7.18.6","@types/randomstring":"^1.1.8","eslint-plugin-react":"^7.22.0","html-webpack-plugin":"^5.5.3","@babel/eslint-parser":"^7.19.1","@semantic-release/git":"^10.0.1","eslint-config-prettier":"^7.2.0","@babel/preset-typescript":"^7.12.13","@typescript-eslint/parser":"^4.14.2","@semantic-release/changelog":"^6.0.1","conventional-changelog-eslint":"^3.0.9","@commitlint/config-conventional":"^11.0.0","@typescript-eslint/eslint-plugin":"^4.14.2"},"peerDependencies":{"webpack":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/isolated-externals-plugin_2.4.0-preload-non-esm-e559461.11_1686863198293_0.9177189424134813","host":"s3://npm-registry-packages"}},"2.4.0-preload-non-esm-e559461.12":{"name":"isolated-externals-plugin","version":"2.4.0-preload-non-esm-e559461.12","keywords":["Web Components","webpack","webpack4","webpack-plugin","isolated","externals","embedded"],"author":{"name":"Steve Matney"},"license":"ISC","_id":"isolated-externals-plugin@2.4.0-preload-non-esm-e559461.12","maintainers":[{"name":"jrios","email":"jacobrios@fastmail.com"},{"name":"darrken","email":"ken.james.adams+npm@gmail.com"},{"name":"aabenoja","email":"abenojaalex@gmail.com"},{"name":"stevematney","email":"steve.matney@gmail.com"}],"homepage":"https://github.com/WTW-IM/isolated-externals-plugin#readme","bugs":{"url":"https://github.com/WTW-IM/isolated-externals-plugin/issues"},"dist":{"shasum":"18f526094c24a4958644d6a3e8abc1fa4e30fcd8","tarball":"https://registry.npmjs.org/isolated-externals-plugin/-/isolated-externals-plugin-2.4.0-preload-non-esm-e559461.12.tgz","fileCount":32,"integrity":"sha512-MseVOi8NcuAmvcwF1hgkZQE0Q9vjN7bM7CVDVSLtwEwsAbyN9STDjnQpKyJH/tDYODb7in5bkJ6rfnCCAhxFAw==","signatures":[{"sig":"MEUCIQDWIkkjlQnmlH+5k8WAgSp2xIRFPtkFVQmsH1cxwk0nxAIgIQV1GhUtO1wnk24TM1fmMMbccv3/6EicHSeFKrZfpf8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":80210},"main":"dist/index.js","types":"dist/index.d.ts","readme":"# isolated-externals-plugin\n\n[![Build Status](https://travis-ci.com/WTW-IM/isolated-externals-plugin.svg?branch=master)](https://travis-ci.com/github/WTW-IM/isolated-externals-plugin)\n[![npm version](https://badge.fury.io/js/isolated-externals-plugin.svg)](https://badge.fury.io/js/isolated-externals-plugin)\n\n## Installation\n\nTo install, simply run:\n\n```bash\nnpm install --save-dev isolated-externals-plugin\n```\n\n## Usage\n\nThe `IsolatedExternalsPlugin` allows you to load external dependencies inside the scope of your webpack bundle without having to have them in your global scope. If you're curious about why you might want this, there are [some use cases listed below](#why-load-externals-locally-instead-of-globally).\n\nIt's an opinionated plugin in this way:\n\n- The externals set with the `IsolatedExternalsPlugin` utilize [`externalsType.promise`](https://webpack.js.org/configuration/externals/#externalstypepromise), which utilizes `async`/`await` syntax.\n\nThe plugin is built as an ES Module, so you'll need to load it in by using the `default` property:\n\n```javascript\nconst IsolatedExternalsPlugin = require('isolated-externals-plugin').default;\n```\n\nAn `IsolatedExternalsPlugin` configuration might look like the following:\n\n```javascript\nnew IsolatedExternalsPlugin({\n  entry1: {\n    react: {\n      url: 'https://unpkg.com/react@16/umd/react.development.js',\n      globalName: 'React',\n    },\n    ['react-dom']: {\n      url: 'https://unpkg.com/react-dom@16/umd/react-dom.development.js',\n      globalName: 'ReactDOM',\n    },\n  },\n  entry2: {\n    react: {\n      url: 'https://unpkg.com/react@16/umd/react.development.js',\n      globalName: 'React',\n    },\n    ['react-dom']: {\n      url: 'https://unpkg.com/react-dom@16/umd/react-dom.development.js',\n      globalName: 'ReactDOM',\n    },\n  },\n});\n```\n\nEach property of the configuration follows this structure:\n\n```javascript\n[entryName]: {\n  [packageName]: {\n    url: [url],\n    globalName: [globalName]\n  }\n}\n```\n\n| Part             | Description                                                                                               |\n| ---------------- | --------------------------------------------------------------------------------------------------------- |\n| `entryName`\\*    | The name of one of your webpack [Entry Points](https://webpack.js.org/concepts/entry-points/).            |\n| `packageName`\\*  | The name of the import for your externalized dependency (like 'react-dom').                               |\n| `url`\\*          | The URL from which to load your dependency file.                                                          |\n| `globalName`     | The UMD name of your dependency (like `ReactDOM`). [See below for details](#globalname-and-other-details) |\n| `urlTransformer` | A path or module path to a module that exports a url transforming function.                               |\n| \\*               | _required_                                                                                                |\n\n## `globalName` and other details\n\nIf `globalName` is not provided, `IsolatedExternalsPlugin` will try to match the `packageName` to one of your [`externals`](https://webpack.js.org/configuration/externals/#externals) entries, and will use the value from that as the `globalName`\n\nThe external files will be loaded and applied to your context in the order that they're listed, so if you have dependencies that depend on other dependencies (like `ReactDOM` depends on `React`), then you'll want to make sure you list the ones they depend on first.\n\n## How It Works\n\n`IsolatedExternalsPlugin` loads the text of your externals URLs via a shared [Cache](https://developer.mozilla.org/en-US/docs/Web/API/Cache) (or a shared global object if `Cache` is not available), and processes the text on a context object which is singular to your bundle. This allows you to load multiple bundles per page with different versions of a dependency—or with the same version of a dependency separately—without polluting a global scope, and without loading the same dependency over the wire more than once. This keeps bundle sizes down while also providing complete autonomy to any individual JS bundle.\n\n## Why load externals locally instead of globally?\n\nHere are two valid use cases. There may be others, but these are the reason we built this plugin!:\n\n1. You want to load different javascript apps on the same page with different versions of the same dependency (like React).\n2. You want to load more than one javascript app onto the same page with the same dependency, but ignorant of each other and the global context (like in micro frontends). This allows each app to be small in byte size, and allows the overall page to never load the same dependency more than once.\n\n## Contributing\n\nThis package uses `semantic-release`. Changes will be compiled into a changelog and the package versioned, tagged and published automatically.\nPlease ensure your commit messages adhere to the following structure:\n\n```\n<type>: <subject>\n<BLANK LINE>\n<body>\n```\n\nOnly the header is mandatory. The supported types are based off of the [ESLint Convention](https://github.com/conventional-changelog/conventional-changelog/tree/35e279d40603b0969c6d622514f5c0984c5bf309/packages/conventional-changelog-eslint).\n","gitHead":"a406231009eb29a937b4dfc55852147cec10ff8c","scripts":{"lint":"eslint --ext .js,.jsx,.ts,.tsx ./src","test":"npm run lint && npm run build && jest","build":"tsc && cd src/util && tsc","prepare":"husky install","pre-commit":"lint-staged","startExamples":"npm run build && webpack-dev-server --config ./example-app/webpack.config.js","prepublishOnly":"npm run build"},"_npmUser":{"name":"stevematney","email":"steve.matney@gmail.com"},"repository":{"url":"git+https://github.com/WTW-IM/isolated-externals-plugin.git","type":"git"},"_npmVersion":"9.7.1","description":"[![Build Status](https://travis-ci.com/WTW-IM/isolated-externals-plugin.svg?branch=master)](https://travis-ci.com/github/WTW-IM/isolated-externals-plugin) [![npm version](https://badge.fury.io/js/isolated-externals-plugin.svg)](https://badge.fury.io/js/is","directories":{},"lint-staged":{"*.md":["prettier --write --parser markdown"],"src/**/*.(j|t)s?(x)":["prettier --write","eslint --fix"]},"_nodeVersion":"18.16.0","dependencies":{"schema-utils":"^4.0.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"ajv":"^8.11.2","jest":"^29.3.1","husky":"^6.0.0","react":"^17.0.1","eslint":"^7.19.0","webpack":"^5.86.0","prettier":"2.2.1","react-dom":"^17.0.1","@babel/cli":"^7.19.3","typescript":"^4.9.3","@types/jest":"^29.2.3","lint-staged":"^10.5.4","react-modal":"^3.16.1","webpack-cli":"^5.0.0","babel-loader":"^9.1.0","@types/webpack":"^5.28.1","@commitlint/cli":"^11.0.0","semantic-release":"^21.0.3","@babel/preset-env":"^7.12.13","@types/react-modal":"^3.16.0","webpack-dev-server":"^4.11.1","@babel/preset-react":"^7.18.6","@types/randomstring":"^1.1.8","eslint-plugin-react":"^7.22.0","html-webpack-plugin":"^5.5.3","@babel/eslint-parser":"^7.19.1","@semantic-release/git":"^10.0.1","eslint-config-prettier":"^7.2.0","@babel/preset-typescript":"^7.12.13","@typescript-eslint/parser":"^4.14.2","@semantic-release/changelog":"^6.0.1","conventional-changelog-eslint":"^3.0.9","@commitlint/config-conventional":"^11.0.0","@typescript-eslint/eslint-plugin":"^4.14.2"},"peerDependencies":{"webpack":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/isolated-externals-plugin_2.4.0-preload-non-esm-e559461.12_1687115743591_0.23989225631391076","host":"s3://npm-registry-packages"}},"2.4.0-preload-non-esm-e559461.13":{"name":"isolated-externals-plugin","version":"2.4.0-preload-non-esm-e559461.13","keywords":["Web Components","webpack","webpack4","webpack-plugin","isolated","externals","embedded"],"author":{"name":"Steve Matney"},"license":"ISC","_id":"isolated-externals-plugin@2.4.0-preload-non-esm-e559461.13","maintainers":[{"name":"jrios","email":"jacobrios@fastmail.com"},{"name":"darrken","email":"ken.james.adams+npm@gmail.com"},{"name":"aabenoja","email":"abenojaalex@gmail.com"},{"name":"stevematney","email":"steve.matney@gmail.com"}],"homepage":"https://github.com/WTW-IM/isolated-externals-plugin#readme","bugs":{"url":"https://github.com/WTW-IM/isolated-externals-plugin/issues"},"dist":{"shasum":"61c2776c0bee34554c30d3c34381acb326f9ffb7","tarball":"https://registry.npmjs.org/isolated-externals-plugin/-/isolated-externals-plugin-2.4.0-preload-non-esm-e559461.13.tgz","fileCount":32,"integrity":"sha512-KNDGY53PM65fe5WFiHgyG/RSjqltkMdM0A4cz3B0VlrMRz21HubOgQK1r6NUHuaODYAwhE/dBc6Zap/GyqVYjg==","signatures":[{"sig":"MEQCIA0GGdF1DWqYhupwuqXPbnjV4TcZT1l97r2mkhD97GkcAiB1GT4gvJdw8p2tYWmOesTnWsjUubjV5cu+5HvkvJZx0w==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":82419},"main":"dist/index.js","types":"dist/index.d.ts","readme":"# isolated-externals-plugin\n\n[![Build Status](https://travis-ci.com/WTW-IM/isolated-externals-plugin.svg?branch=master)](https://travis-ci.com/github/WTW-IM/isolated-externals-plugin)\n[![npm version](https://badge.fury.io/js/isolated-externals-plugin.svg)](https://badge.fury.io/js/isolated-externals-plugin)\n\n## Installation\n\nTo install, simply run:\n\n```bash\nnpm install --save-dev isolated-externals-plugin\n```\n\n## Usage\n\nThe `IsolatedExternalsPlugin` allows you to load external dependencies inside the scope of your webpack bundle without having to have them in your global scope. If you're curious about why you might want this, there are [some use cases listed below](#why-load-externals-locally-instead-of-globally).\n\nIt's an opinionated plugin in this way:\n\n- The externals set with the `IsolatedExternalsPlugin` utilize [`externalsType.promise`](https://webpack.js.org/configuration/externals/#externalstypepromise), which utilizes `async`/`await` syntax.\n\nThe plugin is built as an ES Module, so you'll need to load it in by using the `default` property:\n\n```javascript\nconst IsolatedExternalsPlugin = require('isolated-externals-plugin').default;\n```\n\nAn `IsolatedExternalsPlugin` configuration might look like the following:\n\n```javascript\nnew IsolatedExternalsPlugin({\n  entry1: {\n    react: {\n      url: 'https://unpkg.com/react@16/umd/react.development.js',\n      globalName: 'React',\n    },\n    ['react-dom']: {\n      url: 'https://unpkg.com/react-dom@16/umd/react-dom.development.js',\n      globalName: 'ReactDOM',\n    },\n  },\n  entry2: {\n    react: {\n      url: 'https://unpkg.com/react@16/umd/react.development.js',\n      globalName: 'React',\n    },\n    ['react-dom']: {\n      url: 'https://unpkg.com/react-dom@16/umd/react-dom.development.js',\n      globalName: 'ReactDOM',\n    },\n  },\n});\n```\n\nEach property of the configuration follows this structure:\n\n```javascript\n[entryName]: {\n  [packageName]: {\n    url: [url],\n    globalName: [globalName]\n  }\n}\n```\n\n| Part             | Description                                                                                               |\n| ---------------- | --------------------------------------------------------------------------------------------------------- |\n| `entryName`\\*    | The name of one of your webpack [Entry Points](https://webpack.js.org/concepts/entry-points/).            |\n| `packageName`\\*  | The name of the import for your externalized dependency (like 'react-dom').                               |\n| `url`\\*          | The URL from which to load your dependency file.                                                          |\n| `globalName`     | The UMD name of your dependency (like `ReactDOM`). [See below for details](#globalname-and-other-details) |\n| `urlTransformer` | A path or module path to a module that exports a url transforming function.                               |\n| \\*               | _required_                                                                                                |\n\n## `globalName` and other details\n\nIf `globalName` is not provided, `IsolatedExternalsPlugin` will try to match the `packageName` to one of your [`externals`](https://webpack.js.org/configuration/externals/#externals) entries, and will use the value from that as the `globalName`\n\nThe external files will be loaded and applied to your context in the order that they're listed, so if you have dependencies that depend on other dependencies (like `ReactDOM` depends on `React`), then you'll want to make sure you list the ones they depend on first.\n\n## How It Works\n\n`IsolatedExternalsPlugin` loads the text of your externals URLs via a shared [Cache](https://developer.mozilla.org/en-US/docs/Web/API/Cache) (or a shared global object if `Cache` is not available), and processes the text on a context object which is singular to your bundle. This allows you to load multiple bundles per page with different versions of a dependency—or with the same version of a dependency separately—without polluting a global scope, and without loading the same dependency over the wire more than once. This keeps bundle sizes down while also providing complete autonomy to any individual JS bundle.\n\n## Why load externals locally instead of globally?\n\nHere are two valid use cases. There may be others, but these are the reason we built this plugin!:\n\n1. You want to load different javascript apps on the same page with different versions of the same dependency (like React).\n2. You want to load more than one javascript app onto the same page with the same dependency, but ignorant of each other and the global context (like in micro frontends). This allows each app to be small in byte size, and allows the overall page to never load the same dependency more than once.\n\n## Contributing\n\nThis package uses `semantic-release`. Changes will be compiled into a changelog and the package versioned, tagged and published automatically.\nPlease ensure your commit messages adhere to the following structure:\n\n```\n<type>: <subject>\n<BLANK LINE>\n<body>\n```\n\nOnly the header is mandatory. The supported types are based off of the [ESLint Convention](https://github.com/conventional-changelog/conventional-changelog/tree/35e279d40603b0969c6d622514f5c0984c5bf309/packages/conventional-changelog-eslint).\n","gitHead":"3a5757a2c60bc42df0df64e82a746948b56fdd67","scripts":{"lint":"eslint --ext .js,.jsx,.ts,.tsx ./src","test":"npm run lint && npm run build && jest","build":"tsc && cd src/util && tsc","prepare":"husky install","pre-commit":"lint-staged","startExamples":"npm run build && webpack-dev-server --config ./example-app/webpack.config.js","prepublishOnly":"npm run build"},"_npmUser":{"name":"stevematney","email":"steve.matney@gmail.com"},"repository":{"url":"git+https://github.com/WTW-IM/isolated-externals-plugin.git","type":"git"},"_npmVersion":"9.7.1","description":"[![Build Status](https://travis-ci.com/WTW-IM/isolated-externals-plugin.svg?branch=master)](https://travis-ci.com/github/WTW-IM/isolated-externals-plugin) [![npm version](https://badge.fury.io/js/isolated-externals-plugin.svg)](https://badge.fury.io/js/is","directories":{},"lint-staged":{"*.md":["prettier --write --parser markdown"],"src/**/*.(j|t)s?(x)":["prettier --write","eslint --fix"]},"_nodeVersion":"18.16.0","dependencies":{"schema-utils":"^4.0.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"ajv":"^8.11.2","jest":"^29.3.1","husky":"^6.0.0","react":"^17.0.1","eslint":"^7.19.0","webpack":"^5.86.0","prettier":"2.2.1","react-dom":"^17.0.1","@babel/cli":"^7.19.3","typescript":"^4.9.3","@types/jest":"^29.2.3","lint-staged":"^10.5.4","react-modal":"^3.16.1","webpack-cli":"^5.0.0","babel-loader":"^9.1.0","@types/webpack":"^5.28.1","@commitlint/cli":"^11.0.0","semantic-release":"^21.0.3","@babel/preset-env":"^7.12.13","@types/react-modal":"^3.16.0","webpack-dev-server":"^4.11.1","@babel/preset-react":"^7.18.6","@types/randomstring":"^1.1.8","eslint-plugin-react":"^7.22.0","html-webpack-plugin":"^5.5.3","@babel/eslint-parser":"^7.19.1","@semantic-release/git":"^10.0.1","eslint-config-prettier":"^7.2.0","@babel/preset-typescript":"^7.12.13","@typescript-eslint/parser":"^4.14.2","@semantic-release/changelog":"^6.0.1","conventional-changelog-eslint":"^3.0.9","@commitlint/config-conventional":"^11.0.0","@typescript-eslint/eslint-plugin":"^4.14.2"},"peerDependencies":{"webpack":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/isolated-externals-plugin_2.4.0-preload-non-esm-e559461.13_1687147638186_0.7338260203693068","host":"s3://npm-registry-packages"}},"2.4.0-preload-non-esm-e559461.14":{"name":"isolated-externals-plugin","version":"2.4.0-preload-non-esm-e559461.14","keywords":["Web Components","webpack","webpack4","webpack-plugin","isolated","externals","embedded"],"author":{"name":"Steve Matney"},"license":"ISC","_id":"isolated-externals-plugin@2.4.0-preload-non-esm-e559461.14","maintainers":[{"name":"jrios","email":"jacobrios@fastmail.com"},{"name":"darrken","email":"ken.james.adams+npm@gmail.com"},{"name":"aabenoja","email":"abenojaalex@gmail.com"},{"name":"stevematney","email":"steve.matney@gmail.com"}],"homepage":"https://github.com/WTW-IM/isolated-externals-plugin#readme","bugs":{"url":"https://github.com/WTW-IM/isolated-externals-plugin/issues"},"dist":{"shasum":"5a2251b4484ae1eebbf62aa3be7a9c6a4f6dcbaa","tarball":"https://registry.npmjs.org/isolated-externals-plugin/-/isolated-externals-plugin-2.4.0-preload-non-esm-e559461.14.tgz","fileCount":32,"integrity":"sha512-8g9ZqlM+VzZTV9S0rn+KZC9MyMOMxl1lP1NNSfIIcsWhgZR5uULlryQjwL6RoC3lz50HE3uuzOAn7FX+tFxhsg==","signatures":[{"sig":"MEUCID6guM7z00bUbvzXuW3p+kUGDjECDhihVVpb861iIGd7AiEA0LUchjaIBCMyy+BKXkVGNCaChUIbGR/ShYyy1YguW6A=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":81789},"main":"dist/index.js","types":"dist/index.d.ts","readme":"# isolated-externals-plugin\n\n[![Build Status](https://travis-ci.com/WTW-IM/isolated-externals-plugin.svg?branch=master)](https://travis-ci.com/github/WTW-IM/isolated-externals-plugin)\n[![npm version](https://badge.fury.io/js/isolated-externals-plugin.svg)](https://badge.fury.io/js/isolated-externals-plugin)\n\n## Installation\n\nTo install, simply run:\n\n```bash\nnpm install --save-dev isolated-externals-plugin\n```\n\n## Usage\n\nThe `IsolatedExternalsPlugin` allows you to load external dependencies inside the scope of your webpack bundle without having to have them in your global scope. If you're curious about why you might want this, there are [some use cases listed below](#why-load-externals-locally-instead-of-globally).\n\nIt's an opinionated plugin in this way:\n\n- The externals set with the `IsolatedExternalsPlugin` utilize [`externalsType.promise`](https://webpack.js.org/configuration/externals/#externalstypepromise), which utilizes `async`/`await` syntax.\n\nThe plugin is built as an ES Module, so you'll need to load it in by using the `default` property:\n\n```javascript\nconst IsolatedExternalsPlugin = require('isolated-externals-plugin').default;\n```\n\nAn `IsolatedExternalsPlugin` configuration might look like the following:\n\n```javascript\nnew IsolatedExternalsPlugin({\n  entry1: {\n    react: {\n      url: 'https://unpkg.com/react@16/umd/react.development.js',\n      globalName: 'React',\n    },\n    ['react-dom']: {\n      url: 'https://unpkg.com/react-dom@16/umd/react-dom.development.js',\n      globalName: 'ReactDOM',\n    },\n  },\n  entry2: {\n    react: {\n      url: 'https://unpkg.com/react@16/umd/react.development.js',\n      globalName: 'React',\n    },\n    ['react-dom']: {\n      url: 'https://unpkg.com/react-dom@16/umd/react-dom.development.js',\n      globalName: 'ReactDOM',\n    },\n  },\n});\n```\n\nEach property of the configuration follows this structure:\n\n```javascript\n[entryName]: {\n  [packageName]: {\n    url: [url],\n    globalName: [globalName]\n  }\n}\n```\n\n| Part             | Description                                                                                               |\n| ---------------- | --------------------------------------------------------------------------------------------------------- |\n| `entryName`\\*    | The name of one of your webpack [Entry Points](https://webpack.js.org/concepts/entry-points/).            |\n| `packageName`\\*  | The name of the import for your externalized dependency (like 'react-dom').                               |\n| `url`\\*          | The URL from which to load your dependency file.                                                          |\n| `globalName`     | The UMD name of your dependency (like `ReactDOM`). [See below for details](#globalname-and-other-details) |\n| `urlTransformer` | A path or module path to a module that exports a url transforming function.                               |\n| \\*               | _required_                                                                                                |\n\n## `globalName` and other details\n\nIf `globalName` is not provided, `IsolatedExternalsPlugin` will try to match the `packageName` to one of your [`externals`](https://webpack.js.org/configuration/externals/#externals) entries, and will use the value from that as the `globalName`\n\nThe external files will be loaded and applied to your context in the order that they're listed, so if you have dependencies that depend on other dependencies (like `ReactDOM` depends on `React`), then you'll want to make sure you list the ones they depend on first.\n\n## How It Works\n\n`IsolatedExternalsPlugin` loads the text of your externals URLs via a shared [Cache](https://developer.mozilla.org/en-US/docs/Web/API/Cache) (or a shared global object if `Cache` is not available), and processes the text on a context object which is singular to your bundle. This allows you to load multiple bundles per page with different versions of a dependency—or with the same version of a dependency separately—without polluting a global scope, and without loading the same dependency over the wire more than once. This keeps bundle sizes down while also providing complete autonomy to any individual JS bundle.\n\n## Why load externals locally instead of globally?\n\nHere are two valid use cases. There may be others, but these are the reason we built this plugin!:\n\n1. You want to load different javascript apps on the same page with different versions of the same dependency (like React).\n2. You want to load more than one javascript app onto the same page with the same dependency, but ignorant of each other and the global context (like in micro frontends). This allows each app to be small in byte size, and allows the overall page to never load the same dependency more than once.\n\n## Contributing\n\nThis package uses `semantic-release`. Changes will be compiled into a changelog and the package versioned, tagged and published automatically.\nPlease ensure your commit messages adhere to the following structure:\n\n```\n<type>: <subject>\n<BLANK LINE>\n<body>\n```\n\nOnly the header is mandatory. The supported types are based off of the [ESLint Convention](https://github.com/conventional-changelog/conventional-changelog/tree/35e279d40603b0969c6d622514f5c0984c5bf309/packages/conventional-changelog-eslint).\n","gitHead":"0c1fb5827fdf1fb7613aa672c16b500d257c5e76","scripts":{"lint":"eslint --ext .js,.jsx,.ts,.tsx ./src","test":"npm run lint && npm run build && jest","build":"tsc && cd src/util && tsc","prepare":"husky install","pre-commit":"lint-staged","startExamples":"npm run build && webpack-dev-server --config ./example-app/webpack.config.js","prepublishOnly":"npm run build"},"_npmUser":{"name":"stevematney","email":"steve.matney@gmail.com"},"repository":{"url":"git+https://github.com/WTW-IM/isolated-externals-plugin.git","type":"git"},"_npmVersion":"9.7.1","description":"[![Build Status](https://travis-ci.com/WTW-IM/isolated-externals-plugin.svg?branch=master)](https://travis-ci.com/github/WTW-IM/isolated-externals-plugin) [![npm version](https://badge.fury.io/js/isolated-externals-plugin.svg)](https://badge.fury.io/js/is","directories":{},"lint-staged":{"*.md":["prettier --write --parser markdown"],"src/**/*.(j|t)s?(x)":["prettier --write","eslint --fix"]},"_nodeVersion":"18.16.0","dependencies":{"schema-utils":"^4.0.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"ajv":"^8.11.2","jest":"^29.3.1","husky":"^6.0.0","react":"^17.0.1","eslint":"^7.19.0","webpack":"^5.86.0","prettier":"2.2.1","react-dom":"^17.0.1","@babel/cli":"^7.19.3","typescript":"^4.9.3","@types/jest":"^29.2.3","lint-staged":"^10.5.4","react-modal":"^3.16.1","webpack-cli":"^5.0.0","babel-loader":"^9.1.0","@types/webpack":"^5.28.1","@commitlint/cli":"^11.0.0","semantic-release":"^21.0.3","@babel/preset-env":"^7.12.13","@types/react-modal":"^3.16.0","webpack-dev-server":"^4.11.1","@babel/preset-react":"^7.18.6","@types/randomstring":"^1.1.8","eslint-plugin-react":"^7.22.0","html-webpack-plugin":"^5.5.3","@babel/eslint-parser":"^7.19.1","@semantic-release/git":"^10.0.1","eslint-config-prettier":"^7.2.0","@babel/preset-typescript":"^7.12.13","@typescript-eslint/parser":"^4.14.2","@semantic-release/changelog":"^6.0.1","conventional-changelog-eslint":"^3.0.9","@commitlint/config-conventional":"^11.0.0","@typescript-eslint/eslint-plugin":"^4.14.2"},"peerDependencies":{"webpack":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/isolated-externals-plugin_2.4.0-preload-non-esm-e559461.14_1687150755374_0.5567468546430561","host":"s3://npm-registry-packages"}},"2.4.0-preload-non-esm-e559461.15":{"name":"isolated-externals-plugin","version":"2.4.0-preload-non-esm-e559461.15","keywords":["Web Components","webpack","webpack4","webpack-plugin","isolated","externals","embedded"],"author":{"name":"Steve Matney"},"license":"ISC","_id":"isolated-externals-plugin@2.4.0-preload-non-esm-e559461.15","maintainers":[{"name":"jrios","email":"jacobrios@fastmail.com"},{"name":"darrken","email":"ken.james.adams+npm@gmail.com"},{"name":"aabenoja","email":"abenojaalex@gmail.com"},{"name":"stevematney","email":"steve.matney@gmail.com"}],"homepage":"https://github.com/WTW-IM/isolated-externals-plugin#readme","bugs":{"url":"https://github.com/WTW-IM/isolated-externals-plugin/issues"},"dist":{"shasum":"5ba91e22a27e6097f6a0685960c613b3f3494490","tarball":"https://registry.npmjs.org/isolated-externals-plugin/-/isolated-externals-plugin-2.4.0-preload-non-esm-e559461.15.tgz","fileCount":32,"integrity":"sha512-2rd4wySbZt47ybPG317uWQQo1ZWOksKE04x98gJRUF+lPtTHYHd8fiWQ1nfzlwWmX/kl9a27QiHK47iMepKz8w==","signatures":[{"sig":"MEYCIQCvqBCNhjtwauAmU/j0KU7R5dIXa77pGJFvq5ZvuWNXTQIhANcfq0hXduBbQcbFZnAkbq2jhtBZQlkClV6EP38gMZNZ","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":81745},"main":"dist/index.js","types":"dist/index.d.ts","readme":"# isolated-externals-plugin\n\n[![Build Status](https://travis-ci.com/WTW-IM/isolated-externals-plugin.svg?branch=master)](https://travis-ci.com/github/WTW-IM/isolated-externals-plugin)\n[![npm version](https://badge.fury.io/js/isolated-externals-plugin.svg)](https://badge.fury.io/js/isolated-externals-plugin)\n\n## Installation\n\nTo install, simply run:\n\n```bash\nnpm install --save-dev isolated-externals-plugin\n```\n\n## Usage\n\nThe `IsolatedExternalsPlugin` allows you to load external dependencies inside the scope of your webpack bundle without having to have them in your global scope. If you're curious about why you might want this, there are [some use cases listed below](#why-load-externals-locally-instead-of-globally).\n\nIt's an opinionated plugin in this way:\n\n- The externals set with the `IsolatedExternalsPlugin` utilize [`externalsType.promise`](https://webpack.js.org/configuration/externals/#externalstypepromise), which utilizes `async`/`await` syntax.\n\nThe plugin is built as an ES Module, so you'll need to load it in by using the `default` property:\n\n```javascript\nconst IsolatedExternalsPlugin = require('isolated-externals-plugin').default;\n```\n\nAn `IsolatedExternalsPlugin` configuration might look like the following:\n\n```javascript\nnew IsolatedExternalsPlugin({\n  entry1: {\n    react: {\n      url: 'https://unpkg.com/react@16/umd/react.development.js',\n      globalName: 'React',\n    },\n    ['react-dom']: {\n      url: 'https://unpkg.com/react-dom@16/umd/react-dom.development.js',\n      globalName: 'ReactDOM',\n    },\n  },\n  entry2: {\n    react: {\n      url: 'https://unpkg.com/react@16/umd/react.development.js',\n      globalName: 'React',\n    },\n    ['react-dom']: {\n      url: 'https://unpkg.com/react-dom@16/umd/react-dom.development.js',\n      globalName: 'ReactDOM',\n    },\n  },\n});\n```\n\nEach property of the configuration follows this structure:\n\n```javascript\n[entryName]: {\n  [packageName]: {\n    url: [url],\n    globalName: [globalName]\n  }\n}\n```\n\n| Part             | Description                                                                                               |\n| ---------------- | --------------------------------------------------------------------------------------------------------- |\n| `entryName`\\*    | The name of one of your webpack [Entry Points](https://webpack.js.org/concepts/entry-points/).            |\n| `packageName`\\*  | The name of the import for your externalized dependency (like 'react-dom').                               |\n| `url`\\*          | The URL from which to load your dependency file.                                                          |\n| `globalName`     | The UMD name of your dependency (like `ReactDOM`). [See below for details](#globalname-and-other-details) |\n| `urlTransformer` | A path or module path to a module that exports a url transforming function.                               |\n| \\*               | _required_                                                                                                |\n\n## `globalName` and other details\n\nIf `globalName` is not provided, `IsolatedExternalsPlugin` will try to match the `packageName` to one of your [`externals`](https://webpack.js.org/configuration/externals/#externals) entries, and will use the value from that as the `globalName`\n\nThe external files will be loaded and applied to your context in the order that they're listed, so if you have dependencies that depend on other dependencies (like `ReactDOM` depends on `React`), then you'll want to make sure you list the ones they depend on first.\n\n## How It Works\n\n`IsolatedExternalsPlugin` loads the text of your externals URLs via a shared [Cache](https://developer.mozilla.org/en-US/docs/Web/API/Cache) (or a shared global object if `Cache` is not available), and processes the text on a context object which is singular to your bundle. This allows you to load multiple bundles per page with different versions of a dependency—or with the same version of a dependency separately—without polluting a global scope, and without loading the same dependency over the wire more than once. This keeps bundle sizes down while also providing complete autonomy to any individual JS bundle.\n\n## Why load externals locally instead of globally?\n\nHere are two valid use cases. There may be others, but these are the reason we built this plugin!:\n\n1. You want to load different javascript apps on the same page with different versions of the same dependency (like React).\n2. You want to load more than one javascript app onto the same page with the same dependency, but ignorant of each other and the global context (like in micro frontends). This allows each app to be small in byte size, and allows the overall page to never load the same dependency more than once.\n\n## Contributing\n\nThis package uses `semantic-release`. Changes will be compiled into a changelog and the package versioned, tagged and published automatically.\nPlease ensure your commit messages adhere to the following structure:\n\n```\n<type>: <subject>\n<BLANK LINE>\n<body>\n```\n\nOnly the header is mandatory. The supported types are based off of the [ESLint Convention](https://github.com/conventional-changelog/conventional-changelog/tree/35e279d40603b0969c6d622514f5c0984c5bf309/packages/conventional-changelog-eslint).\n","gitHead":"27877c803b14179ac6f0578df20c035901d2bcca","scripts":{"lint":"eslint --ext .js,.jsx,.ts,.tsx ./src","test":"npm run lint && npm run build && jest","build":"tsc && cd src/util && tsc","prepare":"husky install","pre-commit":"lint-staged","startExamples":"npm run build && webpack-dev-server --config ./example-app/webpack.config.js","prepublishOnly":"npm run build"},"_npmUser":{"name":"stevematney","email":"steve.matney@gmail.com"},"repository":{"url":"git+https://github.com/WTW-IM/isolated-externals-plugin.git","type":"git"},"_npmVersion":"9.7.1","description":"[![Build Status](https://travis-ci.com/WTW-IM/isolated-externals-plugin.svg?branch=master)](https://travis-ci.com/github/WTW-IM/isolated-externals-plugin) [![npm version](https://badge.fury.io/js/isolated-externals-plugin.svg)](https://badge.fury.io/js/is","directories":{},"lint-staged":{"*.md":["prettier --write --parser markdown"],"src/**/*.(j|t)s?(x)":["prettier --write","eslint --fix"]},"_nodeVersion":"18.16.0","dependencies":{"schema-utils":"^4.0.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"ajv":"^8.11.2","jest":"^29.3.1","husky":"^6.0.0","react":"^17.0.1","eslint":"^7.19.0","webpack":"^5.86.0","prettier":"2.2.1","react-dom":"^17.0.1","@babel/cli":"^7.19.3","typescript":"^4.9.3","@types/jest":"^29.2.3","lint-staged":"^10.5.4","react-modal":"^3.16.1","webpack-cli":"^5.0.0","babel-loader":"^9.1.0","@types/webpack":"^5.28.1","@commitlint/cli":"^11.0.0","semantic-release":"^21.0.3","@babel/preset-env":"^7.12.13","@types/react-modal":"^3.16.0","webpack-dev-server":"^4.11.1","@babel/preset-react":"^7.18.6","@types/randomstring":"^1.1.8","eslint-plugin-react":"^7.22.0","html-webpack-plugin":"^5.5.3","@babel/eslint-parser":"^7.19.1","@semantic-release/git":"^10.0.1","eslint-config-prettier":"^7.2.0","@babel/preset-typescript":"^7.12.13","@typescript-eslint/parser":"^4.14.2","@semantic-release/changelog":"^6.0.1","conventional-changelog-eslint":"^3.0.9","@commitlint/config-conventional":"^11.0.0","@typescript-eslint/eslint-plugin":"^4.14.2"},"peerDependencies":{"webpack":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/isolated-externals-plugin_2.4.0-preload-non-esm-e559461.15_1687181819737_0.8655736618756609","host":"s3://npm-registry-packages"}},"2.4.0-preload-non-esm-e559461.16":{"name":"isolated-externals-plugin","version":"2.4.0-preload-non-esm-e559461.16","keywords":["Web Components","webpack","webpack4","webpack-plugin","isolated","externals","embedded"],"author":{"name":"Steve Matney"},"license":"ISC","_id":"isolated-externals-plugin@2.4.0-preload-non-esm-e559461.16","maintainers":[{"name":"jrios","email":"jacobrios@fastmail.com"},{"name":"darrken","email":"ken.james.adams+npm@gmail.com"},{"name":"aabenoja","email":"abenojaalex@gmail.com"},{"name":"stevematney","email":"steve.matney@gmail.com"}],"homepage":"https://github.com/WTW-IM/isolated-externals-plugin#readme","bugs":{"url":"https://github.com/WTW-IM/isolated-externals-plugin/issues"},"dist":{"shasum":"725c281198856ede74e2f2765207ea7dc390dac7","tarball":"https://registry.npmjs.org/isolated-externals-plugin/-/isolated-externals-plugin-2.4.0-preload-non-esm-e559461.16.tgz","fileCount":32,"integrity":"sha512-uQ5z1M97wyiG406X4kyGBIgq7rE5PTtQuUJ0qsXRR6INjdBpqdva7GqTxhB6ms3wSXFdysTCwQZNROopeXalRA==","signatures":[{"sig":"MEQCIAZK3LHYWGjU7hK/e27bDKZDfe/P5NWMUScbazHxQ9aKAiARy7sY8s9ULkSRstBcZm1ndVEvQTQr+G1vn+HVitAYew==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":82130},"main":"dist/index.js","types":"dist/index.d.ts","readme":"# isolated-externals-plugin\n\n[![Build Status](https://travis-ci.com/WTW-IM/isolated-externals-plugin.svg?branch=master)](https://travis-ci.com/github/WTW-IM/isolated-externals-plugin)\n[![npm version](https://badge.fury.io/js/isolated-externals-plugin.svg)](https://badge.fury.io/js/isolated-externals-plugin)\n\n## Installation\n\nTo install, simply run:\n\n```bash\nnpm install --save-dev isolated-externals-plugin\n```\n\n## Usage\n\nThe `IsolatedExternalsPlugin` allows you to load external dependencies inside the scope of your webpack bundle without having to have them in your global scope. If you're curious about why you might want this, there are [some use cases listed below](#why-load-externals-locally-instead-of-globally).\n\nIt's an opinionated plugin in this way:\n\n- The externals set with the `IsolatedExternalsPlugin` utilize [`externalsType.promise`](https://webpack.js.org/configuration/externals/#externalstypepromise), which utilizes `async`/`await` syntax.\n\nThe plugin is built as an ES Module, so you'll need to load it in by using the `default` property:\n\n```javascript\nconst IsolatedExternalsPlugin = require('isolated-externals-plugin').default;\n```\n\nAn `IsolatedExternalsPlugin` configuration might look like the following:\n\n```javascript\nnew IsolatedExternalsPlugin({\n  entry1: {\n    react: {\n      url: 'https://unpkg.com/react@16/umd/react.development.js',\n      globalName: 'React',\n    },\n    ['react-dom']: {\n      url: 'https://unpkg.com/react-dom@16/umd/react-dom.development.js',\n      globalName: 'ReactDOM',\n    },\n  },\n  entry2: {\n    react: {\n      url: 'https://unpkg.com/react@16/umd/react.development.js',\n      globalName: 'React',\n    },\n    ['react-dom']: {\n      url: 'https://unpkg.com/react-dom@16/umd/react-dom.development.js',\n      globalName: 'ReactDOM',\n    },\n  },\n});\n```\n\nEach property of the configuration follows this structure:\n\n```javascript\n[entryName]: {\n  [packageName]: {\n    url: [url],\n    globalName: [globalName]\n  }\n}\n```\n\n| Part             | Description                                                                                               |\n| ---------------- | --------------------------------------------------------------------------------------------------------- |\n| `entryName`\\*    | The name of one of your webpack [Entry Points](https://webpack.js.org/concepts/entry-points/).            |\n| `packageName`\\*  | The name of the import for your externalized dependency (like 'react-dom').                               |\n| `url`\\*          | The URL from which to load your dependency file.                                                          |\n| `globalName`     | The UMD name of your dependency (like `ReactDOM`). [See below for details](#globalname-and-other-details) |\n| `urlTransformer` | A path or module path to a module that exports a url transforming function.                               |\n| \\*               | _required_                                                                                                |\n\n## `globalName` and other details\n\nIf `globalName` is not provided, `IsolatedExternalsPlugin` will try to match the `packageName` to one of your [`externals`](https://webpack.js.org/configuration/externals/#externals) entries, and will use the value from that as the `globalName`\n\nThe external files will be loaded and applied to your context in the order that they're listed, so if you have dependencies that depend on other dependencies (like `ReactDOM` depends on `React`), then you'll want to make sure you list the ones they depend on first.\n\n## How It Works\n\n`IsolatedExternalsPlugin` loads the text of your externals URLs via a shared [Cache](https://developer.mozilla.org/en-US/docs/Web/API/Cache) (or a shared global object if `Cache` is not available), and processes the text on a context object which is singular to your bundle. This allows you to load multiple bundles per page with different versions of a dependency—or with the same version of a dependency separately—without polluting a global scope, and without loading the same dependency over the wire more than once. This keeps bundle sizes down while also providing complete autonomy to any individual JS bundle.\n\n## Why load externals locally instead of globally?\n\nHere are two valid use cases. There may be others, but these are the reason we built this plugin!:\n\n1. You want to load different javascript apps on the same page with different versions of the same dependency (like React).\n2. You want to load more than one javascript app onto the same page with the same dependency, but ignorant of each other and the global context (like in micro frontends). This allows each app to be small in byte size, and allows the overall page to never load the same dependency more than once.\n\n## Contributing\n\nThis package uses `semantic-release`. Changes will be compiled into a changelog and the package versioned, tagged and published automatically.\nPlease ensure your commit messages adhere to the following structure:\n\n```\n<type>: <subject>\n<BLANK LINE>\n<body>\n```\n\nOnly the header is mandatory. The supported types are based off of the [ESLint Convention](https://github.com/conventional-changelog/conventional-changelog/tree/35e279d40603b0969c6d622514f5c0984c5bf309/packages/conventional-changelog-eslint).\n","gitHead":"b73670d736917581f9936a59b6d2ce9fda18a20b","scripts":{"lint":"eslint --ext .js,.jsx,.ts,.tsx ./src","test":"npm run lint && npm run build && jest","build":"tsc && cd src/util && tsc","prepare":"husky install","pre-commit":"lint-staged","startExamples":"npm run build && webpack-dev-server --config ./example-app/webpack.config.js","prepublishOnly":"npm run build"},"_npmUser":{"name":"stevematney","email":"steve.matney@gmail.com"},"repository":{"url":"git+https://github.com/WTW-IM/isolated-externals-plugin.git","type":"git"},"_npmVersion":"9.7.1","description":"[![Build Status](https://travis-ci.com/WTW-IM/isolated-externals-plugin.svg?branch=master)](https://travis-ci.com/github/WTW-IM/isolated-externals-plugin) [![npm version](https://badge.fury.io/js/isolated-externals-plugin.svg)](https://badge.fury.io/js/is","directories":{},"lint-staged":{"*.md":["prettier --write --parser markdown"],"src/**/*.(j|t)s?(x)":["prettier --write","eslint --fix"]},"_nodeVersion":"18.16.0","dependencies":{"schema-utils":"^4.0.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"ajv":"^8.11.2","jest":"^29.3.1","husky":"^6.0.0","react":"^17.0.1","eslint":"^7.19.0","webpack":"^5.86.0","prettier":"2.2.1","react-dom":"^17.0.1","@babel/cli":"^7.19.3","typescript":"^4.9.3","@types/jest":"^29.2.3","lint-staged":"^10.5.4","react-modal":"^3.16.1","webpack-cli":"^5.0.0","babel-loader":"^9.1.0","@types/webpack":"^5.28.1","@commitlint/cli":"^11.0.0","semantic-release":"^21.0.3","@babel/preset-env":"^7.12.13","@types/react-modal":"^3.16.0","webpack-dev-server":"^4.11.1","@babel/preset-react":"^7.18.6","@types/randomstring":"^1.1.8","eslint-plugin-react":"^7.22.0","html-webpack-plugin":"^5.5.3","@babel/eslint-parser":"^7.19.1","@semantic-release/git":"^10.0.1","eslint-config-prettier":"^7.2.0","@babel/preset-typescript":"^7.12.13","@typescript-eslint/parser":"^4.14.2","@semantic-release/changelog":"^6.0.1","conventional-changelog-eslint":"^3.0.9","@commitlint/config-conventional":"^11.0.0","@typescript-eslint/eslint-plugin":"^4.14.2"},"peerDependencies":{"webpack":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/isolated-externals-plugin_2.4.0-preload-non-esm-e559461.16_1687205799202_0.4119415492178957","host":"s3://npm-registry-packages"}},"2.4.0":{"name":"isolated-externals-plugin","version":"2.4.0","keywords":["Web Components","webpack","webpack4","webpack-plugin","isolated","externals","embedded"],"author":{"name":"Steve Matney"},"license":"ISC","_id":"isolated-externals-plugin@2.4.0","maintainers":[{"name":"jrios","email":"jacobrios@fastmail.com"},{"name":"darrken","email":"ken.james.adams+npm@gmail.com"},{"name":"aabenoja","email":"abenojaalex@gmail.com"},{"name":"stevematney","email":"steve.matney@gmail.com"}],"homepage":"https://github.com/WTW-IM/isolated-externals-plugin#readme","bugs":{"url":"https://github.com/WTW-IM/isolated-externals-plugin/issues"},"dist":{"shasum":"f77c8dbd290164214036448feca97ae06660bff1","tarball":"https://registry.npmjs.org/isolated-externals-plugin/-/isolated-externals-plugin-2.4.0.tgz","fileCount":32,"integrity":"sha512-7ZwX4aSseoP6bliwJV26tb0PuVfe0XPhiqYfUpqnP7ruY6OXceXN6bc7rU1MglMyeVcOljBzivqvNowIXu7wGw==","signatures":[{"sig":"MEUCIDL7iicEwa8KSqwmYMLeZda06/UbpE5lFSPuKsO2aDhFAiEAwm1K0vgX75HoCYw2bo+x3nLwq1KIJWglLCRE/ZrVuiA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":82103},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"3a852d815be7ccd790cb16e402153b8eb0da219f","scripts":{"lint":"eslint --ext .js,.jsx,.ts,.tsx ./src","test":"npm run lint && npm run build && jest","build":"tsc && cd src/util && tsc","prepare":"husky install","pre-commit":"lint-staged","startExamples":"npm run build && webpack-dev-server --config ./example-app/webpack.config.js","prepublishOnly":"npm run build"},"_npmUser":{"name":"stevematney","email":"steve.matney@gmail.com"},"repository":{"url":"git+https://github.com/WTW-IM/isolated-externals-plugin.git","type":"git"},"_npmVersion":"9.7.1","description":"[![Build Status](https://travis-ci.com/WTW-IM/isolated-externals-plugin.svg?branch=master)](https://travis-ci.com/github/WTW-IM/isolated-externals-plugin) [![npm version](https://badge.fury.io/js/isolated-externals-plugin.svg)](https://badge.fury.io/js/is","directories":{},"lint-staged":{"*.md":["prettier --write --parser markdown"],"src/**/*.(j|t)s?(x)":["prettier --write","eslint --fix"]},"_nodeVersion":"18.16.0","dependencies":{"schema-utils":"^4.0.0"},"_hasShrinkwrap":false,"devDependencies":{"ajv":"^8.11.2","jest":"^29.3.1","husky":"^6.0.0","react":"^17.0.1","eslint":"^7.19.0","webpack":"^5.86.0","prettier":"2.2.1","react-dom":"^17.0.1","@babel/cli":"^7.19.3","typescript":"^4.9.3","@types/jest":"^29.2.3","lint-staged":"^10.5.4","react-modal":"^3.16.1","webpack-cli":"^5.0.0","babel-loader":"^9.1.0","@types/webpack":"^5.28.1","@commitlint/cli":"^11.0.0","semantic-release":"^21.0.3","@babel/preset-env":"^7.12.13","@types/react-modal":"^3.16.0","webpack-dev-server":"^4.11.1","@babel/preset-react":"^7.18.6","@types/randomstring":"^1.1.8","eslint-plugin-react":"^7.22.0","html-webpack-plugin":"^5.5.3","@babel/eslint-parser":"^7.19.1","@semantic-release/git":"^10.0.1","eslint-config-prettier":"^7.2.0","@babel/preset-typescript":"^7.12.13","@typescript-eslint/parser":"^4.14.2","@semantic-release/changelog":"^6.0.1","conventional-changelog-eslint":"^3.0.9","@commitlint/config-conventional":"^11.0.0","@typescript-eslint/eslint-plugin":"^4.14.2"},"peerDependencies":{"webpack":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/isolated-externals-plugin_2.4.0_1687206882456_0.10553368955207554","host":"s3://npm-registry-packages"}},"2.4.1-fix-parent-updates-a33dc0e.1":{"name":"isolated-externals-plugin","version":"2.4.1-fix-parent-updates-a33dc0e.1","keywords":["Web Components","webpack","webpack4","webpack-plugin","isolated","externals","embedded"],"author":{"name":"Steve Matney"},"license":"ISC","_id":"isolated-externals-plugin@2.4.1-fix-parent-updates-a33dc0e.1","maintainers":[{"name":"jrios","email":"jacobrios@fastmail.com"},{"name":"darrken","email":"ken.james.adams+npm@gmail.com"},{"name":"aabenoja","email":"abenojaalex@gmail.com"},{"name":"stevematney","email":"steve.matney@gmail.com"}],"homepage":"https://github.com/WTW-IM/isolated-externals-plugin#readme","bugs":{"url":"https://github.com/WTW-IM/isolated-externals-plugin/issues"},"dist":{"shasum":"215989baf6a7136d8d9bcbbf793c6e04c8ec3ad6","tarball":"https://registry.npmjs.org/isolated-externals-plugin/-/isolated-externals-plugin-2.4.1-fix-parent-updates-a33dc0e.1.tgz","fileCount":32,"integrity":"sha512-G2KmE+qmfvtb8JZKyHNdaXbmQJQPhEAlS8UP6ffuWqaGueB/3TtIyHQjZLuzv21y/eb8oHetpyw0nn0TlgF47g==","signatures":[{"sig":"MEUCIQCTmd+rY9bX0FdczCTsb3oA3GssmiaPBmQ820DPt7RqCgIgbinAeUmLXCeYIs/OJSRxttNam4le37SpogFoTOpxAxc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":82127},"main":"dist/index.js","types":"dist/index.d.ts","readme":"# isolated-externals-plugin\n\n[![Build Status](https://travis-ci.com/WTW-IM/isolated-externals-plugin.svg?branch=master)](https://travis-ci.com/github/WTW-IM/isolated-externals-plugin)\n[![npm version](https://badge.fury.io/js/isolated-externals-plugin.svg)](https://badge.fury.io/js/isolated-externals-plugin)\n\n## Installation\n\nTo install, simply run:\n\n```bash\nnpm install --save-dev isolated-externals-plugin\n```\n\n## Usage\n\nThe `IsolatedExternalsPlugin` allows you to load external dependencies inside the scope of your webpack bundle without having to have them in your global scope. If you're curious about why you might want this, there are [some use cases listed below](#why-load-externals-locally-instead-of-globally).\n\nIt's an opinionated plugin in this way:\n\n- The externals set with the `IsolatedExternalsPlugin` utilize [`externalsType.promise`](https://webpack.js.org/configuration/externals/#externalstypepromise), which utilizes `async`/`await` syntax.\n\nThe plugin is built as an ES Module, so you'll need to load it in by using the `default` property:\n\n```javascript\nconst IsolatedExternalsPlugin = require('isolated-externals-plugin').default;\n```\n\nAn `IsolatedExternalsPlugin` configuration might look like the following:\n\n```javascript\nnew IsolatedExternalsPlugin({\n  entry1: {\n    react: {\n      url: 'https://unpkg.com/react@16/umd/react.development.js',\n      globalName: 'React',\n    },\n    ['react-dom']: {\n      url: 'https://unpkg.com/react-dom@16/umd/react-dom.development.js',\n      globalName: 'ReactDOM',\n    },\n  },\n  entry2: {\n    react: {\n      url: 'https://unpkg.com/react@16/umd/react.development.js',\n      globalName: 'React',\n    },\n    ['react-dom']: {\n      url: 'https://unpkg.com/react-dom@16/umd/react-dom.development.js',\n      globalName: 'ReactDOM',\n    },\n  },\n});\n```\n\nEach property of the configuration follows this structure:\n\n```javascript\n[entryName]: {\n  [packageName]: {\n    url: [url],\n    globalName: [globalName]\n  }\n}\n```\n\n| Part             | Description                                                                                               |\n| ---------------- | --------------------------------------------------------------------------------------------------------- |\n| `entryName`\\*    | The name of one of your webpack [Entry Points](https://webpack.js.org/concepts/entry-points/).            |\n| `packageName`\\*  | The name of the import for your externalized dependency (like 'react-dom').                               |\n| `url`\\*          | The URL from which to load your dependency file.                                                          |\n| `globalName`     | The UMD name of your dependency (like `ReactDOM`). [See below for details](#globalname-and-other-details) |\n| `urlTransformer` | A path or module path to a module that exports a url transforming function.                               |\n| \\*               | _required_                                                                                                |\n\n## `globalName` and other details\n\nIf `globalName` is not provided, `IsolatedExternalsPlugin` will try to match the `packageName` to one of your [`externals`](https://webpack.js.org/configuration/externals/#externals) entries, and will use the value from that as the `globalName`\n\nThe external files will be loaded and applied to your context in the order that they're listed, so if you have dependencies that depend on other dependencies (like `ReactDOM` depends on `React`), then you'll want to make sure you list the ones they depend on first.\n\n## How It Works\n\n`IsolatedExternalsPlugin` loads the text of your externals URLs via a shared [Cache](https://developer.mozilla.org/en-US/docs/Web/API/Cache) (or a shared global object if `Cache` is not available), and processes the text on a context object which is singular to your bundle. This allows you to load multiple bundles per page with different versions of a dependency—or with the same version of a dependency separately—without polluting a global scope, and without loading the same dependency over the wire more than once. This keeps bundle sizes down while also providing complete autonomy to any individual JS bundle.\n\n## Why load externals locally instead of globally?\n\nHere are two valid use cases. There may be others, but these are the reason we built this plugin!:\n\n1. You want to load different javascript apps on the same page with different versions of the same dependency (like React).\n2. You want to load more than one javascript app onto the same page with the same dependency, but ignorant of each other and the global context (like in micro frontends). This allows each app to be small in byte size, and allows the overall page to never load the same dependency more than once.\n\n## Contributing\n\nThis package uses `semantic-release`. Changes will be compiled into a changelog and the package versioned, tagged and published automatically.\nPlease ensure your commit messages adhere to the following structure:\n\n```\n<type>: <subject>\n<BLANK LINE>\n<body>\n```\n\nOnly the header is mandatory. The supported types are based off of the [ESLint Convention](https://github.com/conventional-changelog/conventional-changelog/tree/35e279d40603b0969c6d622514f5c0984c5bf309/packages/conventional-changelog-eslint).\n","gitHead":"a33dc0e0a08bf22b38c8cc10d412a6e9f97c4b1a","scripts":{"lint":"eslint --ext .js,.jsx,.ts,.tsx ./src","test":"npm run lint && npm run build && jest","build":"tsc && cd src/util && tsc","prepare":"husky install","pre-commit":"lint-staged","startExamples":"npm run build && webpack-dev-server --config ./example-app/webpack.config.js","prepublishOnly":"npm run build"},"_npmUser":{"name":"stevematney","email":"steve.matney@gmail.com"},"repository":{"url":"git+https://github.com/WTW-IM/isolated-externals-plugin.git","type":"git"},"_npmVersion":"9.7.1","description":"[![Build Status](https://travis-ci.com/WTW-IM/isolated-externals-plugin.svg?branch=master)](https://travis-ci.com/github/WTW-IM/isolated-externals-plugin) [![npm version](https://badge.fury.io/js/isolated-externals-plugin.svg)](https://badge.fury.io/js/is","directories":{},"lint-staged":{"*.md":["prettier --write --parser markdown"],"src/**/*.(j|t)s?(x)":["prettier --write","eslint --fix"]},"_nodeVersion":"18.16.1","dependencies":{"schema-utils":"^4.0.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"ajv":"^8.11.2","jest":"^29.3.1","husky":"^6.0.0","react":"^17.0.1","eslint":"^7.19.0","webpack":"^5.86.0","prettier":"2.2.1","react-dom":"^17.0.1","@babel/cli":"^7.19.3","typescript":"^4.9.3","@types/jest":"^29.2.3","lint-staged":"^10.5.4","react-modal":"^3.16.1","webpack-cli":"^5.0.0","babel-loader":"^9.1.0","@types/webpack":"^5.28.1","@commitlint/cli":"^11.0.0","semantic-release":"^21.0.3","@babel/preset-env":"^7.12.13","@types/react-modal":"^3.16.0","webpack-dev-server":"^4.11.1","@babel/preset-react":"^7.18.6","@types/randomstring":"^1.1.8","eslint-plugin-react":"^7.22.0","html-webpack-plugin":"^5.5.3","@babel/eslint-parser":"^7.19.1","@semantic-release/git":"^10.0.1","eslint-config-prettier":"^7.2.0","@babel/preset-typescript":"^7.12.13","@typescript-eslint/parser":"^4.14.2","@semantic-release/changelog":"^6.0.1","conventional-changelog-eslint":"^3.0.9","@commitlint/config-conventional":"^11.0.0","@typescript-eslint/eslint-plugin":"^4.14.2"},"peerDependencies":{"webpack":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/isolated-externals-plugin_2.4.1-fix-parent-updates-a33dc0e.1_1688597944570_0.7197683741894256","host":"s3://npm-registry-packages"}},"2.4.1":{"name":"isolated-externals-plugin","version":"2.4.1","keywords":["Web Components","webpack","webpack4","webpack-plugin","isolated","externals","embedded"],"author":{"name":"Steve Matney"},"license":"ISC","_id":"isolated-externals-plugin@2.4.1","maintainers":[{"name":"jrios","email":"jacobrios@fastmail.com"},{"name":"darrken","email":"ken.james.adams+npm@gmail.com"},{"name":"aabenoja","email":"abenojaalex@gmail.com"},{"name":"stevematney","email":"steve.matney@gmail.com"}],"homepage":"https://github.com/WTW-IM/isolated-externals-plugin#readme","bugs":{"url":"https://github.com/WTW-IM/isolated-externals-plugin/issues"},"dist":{"shasum":"30dc9029029747943f426a4824392aa3930d904a","tarball":"https://registry.npmjs.org/isolated-externals-plugin/-/isolated-externals-plugin-2.4.1.tgz","fileCount":32,"integrity":"sha512-x3Rvn3oGIJCx3rVuBbhjlwGmKzMNZ9XNvwKs1Or+dA7J6vrkz5DwUKhnJ9meLasGTTjdjaKaoebJ7ll1tz0FRA==","signatures":[{"sig":"MEUCIQCnt4SJkj77c04wl2EadWrXMx1GabuByDBagJR6YDVclAIge0vu1kbRSP5VQyP/QNxHLhG/oUJ8XcHUDy8Vxdi6S1c=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":82098},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"6f9666461ad248355f3d802252c17874d521abca","scripts":{"lint":"eslint --ext .js,.jsx,.ts,.tsx ./src","test":"npm run lint && npm run build && jest","build":"tsc && cd src/util && tsc","prepare":"husky install","pre-commit":"lint-staged","startExamples":"npm run build && webpack-dev-server --config ./example-app/webpack.config.js","prepublishOnly":"npm run build"},"_npmUser":{"name":"stevematney","email":"steve.matney@gmail.com"},"repository":{"url":"git+https://github.com/WTW-IM/isolated-externals-plugin.git","type":"git"},"_npmVersion":"9.7.1","description":"[![Build Status](https://travis-ci.com/WTW-IM/isolated-externals-plugin.svg?branch=master)](https://travis-ci.com/github/WTW-IM/isolated-externals-plugin) [![npm version](https://badge.fury.io/js/isolated-externals-plugin.svg)](https://badge.fury.io/js/is","directories":{},"lint-staged":{"*.md":["prettier --write --parser markdown"],"src/**/*.(j|t)s?(x)":["prettier --write","eslint --fix"]},"_nodeVersion":"18.16.1","dependencies":{"schema-utils":"^4.0.0"},"_hasShrinkwrap":false,"devDependencies":{"ajv":"^8.11.2","jest":"^29.3.1","husky":"^6.0.0","react":"^17.0.1","eslint":"^7.19.0","webpack":"^5.86.0","prettier":"2.2.1","react-dom":"^17.0.1","@babel/cli":"^7.19.3","typescript":"^4.9.3","@types/jest":"^29.2.3","lint-staged":"^10.5.4","react-modal":"^3.16.1","webpack-cli":"^5.0.0","babel-loader":"^9.1.0","@types/webpack":"^5.28.1","@commitlint/cli":"^11.0.0","semantic-release":"^21.0.3","@babel/preset-env":"^7.12.13","@types/react-modal":"^3.16.0","webpack-dev-server":"^4.11.1","@babel/preset-react":"^7.18.6","@types/randomstring":"^1.1.8","eslint-plugin-react":"^7.22.0","html-webpack-plugin":"^5.5.3","@babel/eslint-parser":"^7.19.1","@semantic-release/git":"^10.0.1","eslint-config-prettier":"^7.2.0","@babel/preset-typescript":"^7.12.13","@typescript-eslint/parser":"^4.14.2","@semantic-release/changelog":"^6.0.1","conventional-changelog-eslint":"^3.0.9","@commitlint/config-conventional":"^11.0.0","@typescript-eslint/eslint-plugin":"^4.14.2"},"peerDependencies":{"webpack":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/isolated-externals-plugin_2.4.1_1688603056541_0.7961026797432778","host":"s3://npm-registry-packages"}},"2.4.2-fix-module-resolution-5c8bf43.1":{"name":"isolated-externals-plugin","version":"2.4.2-fix-module-resolution-5c8bf43.1","keywords":["Web Components","webpack","webpack4","webpack-plugin","isolated","externals","embedded"],"author":{"name":"Steve Matney"},"license":"ISC","_id":"isolated-externals-plugin@2.4.2-fix-module-resolution-5c8bf43.1","maintainers":[{"name":"jrios","email":"jacobrios@fastmail.com"},{"name":"darrken","email":"ken.james.adams+npm@gmail.com"},{"name":"aabenoja","email":"abenojaalex@gmail.com"},{"name":"stevematney","email":"steve.matney@gmail.com"}],"homepage":"https://github.com/WTW-IM/isolated-externals-plugin#readme","bugs":{"url":"https://github.com/WTW-IM/isolated-externals-plugin/issues"},"dist":{"shasum":"83b4faa46294cec67ab73a2d5ab83dcd5bbeb0f0","tarball":"https://registry.npmjs.org/isolated-externals-plugin/-/isolated-externals-plugin-2.4.2-fix-module-resolution-5c8bf43.1.tgz","fileCount":33,"integrity":"sha512-fSHT92j+dpqlh0AktMckrJ/ody6p4QLVrLozY9yPcnQxj8ET21wlwCb75JzRmzV2IMbkWzEdl1i6c/mJ7JKbOA==","signatures":[{"sig":"MEUCIDp2BzxxucfjafzYZkejhPu6Q/wESaBQlZd+Fwkz1m8FAiEAgzvEGJfoM9L87RviZAMxXw/n3O7OVLPV/qKGHPmQ+Gg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":121314},"main":"dist/index.js","types":"dist/index.d.ts","readme":"# isolated-externals-plugin\n\n[![Build Status](https://travis-ci.com/WTW-IM/isolated-externals-plugin.svg?branch=master)](https://travis-ci.com/github/WTW-IM/isolated-externals-plugin)\n[![npm version](https://badge.fury.io/js/isolated-externals-plugin.svg)](https://badge.fury.io/js/isolated-externals-plugin)\n\n## Installation\n\nTo install, simply run:\n\n```bash\nnpm install --save-dev isolated-externals-plugin\n```\n\n## Usage\n\nThe `IsolatedExternalsPlugin` allows you to load external dependencies inside the scope of your webpack bundle without having to have them in your global scope. If you're curious about why you might want this, there are [some use cases listed below](#why-load-externals-locally-instead-of-globally).\n\nIt's an opinionated plugin in this way:\n\n- The externals set with the `IsolatedExternalsPlugin` utilize [`externalsType.promise`](https://webpack.js.org/configuration/externals/#externalstypepromise), which utilizes `async`/`await` syntax.\n\nThe plugin is built as an ES Module, so you'll need to load it in by using the `default` property:\n\n```javascript\nconst IsolatedExternalsPlugin = require('isolated-externals-plugin').default;\n```\n\nAn `IsolatedExternalsPlugin` configuration might look like the following:\n\n```javascript\nnew IsolatedExternalsPlugin({\n  entry1: {\n    react: {\n      url: 'https://unpkg.com/react@16/umd/react.development.js',\n      globalName: 'React',\n    },\n    ['react-dom']: {\n      url: 'https://unpkg.com/react-dom@16/umd/react-dom.development.js',\n      globalName: 'ReactDOM',\n    },\n  },\n  entry2: {\n    react: {\n      url: 'https://unpkg.com/react@16/umd/react.development.js',\n      globalName: 'React',\n    },\n    ['react-dom']: {\n      url: 'https://unpkg.com/react-dom@16/umd/react-dom.development.js',\n      globalName: 'ReactDOM',\n    },\n  },\n});\n```\n\nEach property of the configuration follows this structure:\n\n```javascript\n[entryName]: {\n  [packageName]: {\n    url: [url],\n    globalName: [globalName]\n  }\n}\n```\n\n| Part             | Description                                                                                               |\n| ---------------- | --------------------------------------------------------------------------------------------------------- |\n| `entryName`\\*    | The name of one of your webpack [Entry Points](https://webpack.js.org/concepts/entry-points/).            |\n| `packageName`\\*  | The name of the import for your externalized dependency (like 'react-dom').                               |\n| `url`\\*          | The URL from which to load your dependency file.                                                          |\n| `globalName`     | The UMD name of your dependency (like `ReactDOM`). [See below for details](#globalname-and-other-details) |\n| `urlTransformer` | A path or module path to a module that exports a url transforming function.                               |\n| \\*               | _required_                                                                                                |\n\n## `globalName` and other details\n\nIf `globalName` is not provided, `IsolatedExternalsPlugin` will try to match the `packageName` to one of your [`externals`](https://webpack.js.org/configuration/externals/#externals) entries, and will use the value from that as the `globalName`\n\nThe external files will be loaded and applied to your context in the order that they're listed, so if you have dependencies that depend on other dependencies (like `ReactDOM` depends on `React`), then you'll want to make sure you list the ones they depend on first.\n\n## How It Works\n\n`IsolatedExternalsPlugin` loads the text of your externals URLs via a shared [Cache](https://developer.mozilla.org/en-US/docs/Web/API/Cache) (or a shared global object if `Cache` is not available), and processes the text on a context object which is singular to your bundle. This allows you to load multiple bundles per page with different versions of a dependency—or with the same version of a dependency separately—without polluting a global scope, and without loading the same dependency over the wire more than once. This keeps bundle sizes down while also providing complete autonomy to any individual JS bundle.\n\n## Why load externals locally instead of globally?\n\nHere are two valid use cases. There may be others, but these are the reason we built this plugin!:\n\n1. You want to load different javascript apps on the same page with different versions of the same dependency (like React).\n2. You want to load more than one javascript app onto the same page with the same dependency, but ignorant of each other and the global context (like in micro frontends). This allows each app to be small in byte size, and allows the overall page to never load the same dependency more than once.\n\n## Contributing\n\nThis package uses `semantic-release`. Changes will be compiled into a changelog and the package versioned, tagged and published automatically.\nPlease ensure your commit messages adhere to the following structure:\n\n```\n<type>: <subject>\n<BLANK LINE>\n<body>\n```\n\nOnly the header is mandatory. The supported types are based off of the [ESLint Convention](https://github.com/conventional-changelog/conventional-changelog/tree/35e279d40603b0969c6d622514f5c0984c5bf309/packages/conventional-changelog-eslint).\n","gitHead":"5c8bf43d7316a77a204e0030adb140dae815211f","scripts":{"lint":"eslint --ext .js,.jsx,.ts,.tsx ./src --config .eslintrc.js","test":"npm run lint && jest","build":"tsc --build","prepare":"husky install","pre-commit":"lint-staged","startExamples":"npm run build && webpack-dev-server --config ./example-app/webpack.config.js","prepublishOnly":"npm run build"},"_npmUser":{"name":"stevematney","email":"steve.matney@gmail.com"},"repository":{"url":"git+https://github.com/WTW-IM/isolated-externals-plugin.git","type":"git"},"_npmVersion":"9.8.1","description":"[![Build Status](https://travis-ci.com/WTW-IM/isolated-externals-plugin.svg?branch=master)](https://travis-ci.com/github/WTW-IM/isolated-externals-plugin) [![npm version](https://badge.fury.io/js/isolated-externals-plugin.svg)](https://badge.fury.io/js/is","directories":{},"lint-staged":{"*.md":["prettier --write --parser markdown"],"src/**/*.(j|t)s?(x)":["prettier --write","eslint --fix"]},"_nodeVersion":"18.16.1","dependencies":{"schema-utils":"^4.0.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"ajv":"^8.11.2","jest":"^29.3.1","husky":"^6.0.0","react":"^17.0.1","eslint":"^8.45.0","webpack":"^5.86.0","prettier":"2.2.1","react-dom":"^17.0.1","@babel/cli":"^7.19.3","typescript":"^5.1.6","@types/jest":"^29.2.3","lint-staged":"^10.5.4","react-modal":"^3.16.1","webpack-cli":"^5.0.0","babel-loader":"^9.1.0","@types/webpack":"^5.28.1","@commitlint/cli":"^17.6.7","semantic-release":"^21.0.7","@babel/preset-env":"^7.12.13","@types/react-modal":"^3.16.0","webpack-dev-server":"^4.11.1","@babel/preset-react":"^7.18.6","@types/randomstring":"^1.1.8","eslint-plugin-react":"^7.22.0","html-webpack-plugin":"^5.5.3","@babel/eslint-parser":"^7.19.1","@semantic-release/git":"^10.0.1","eslint-config-prettier":"^7.2.0","@babel/preset-typescript":"^7.12.13","@typescript-eslint/parser":"^6.1.0","@semantic-release/changelog":"^6.0.1","conventional-changelog-eslint":"^3.0.9","@commitlint/config-conventional":"^11.0.0","@typescript-eslint/eslint-plugin":"^6.1.0"},"peerDependencies":{"webpack":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/isolated-externals-plugin_2.4.2-fix-module-resolution-5c8bf43.1_1689877333245_0.4306736751582485","host":"s3://npm-registry-packages"}},"2.4.2-fix-module-resolution-0ccaa07.1":{"name":"isolated-externals-plugin","version":"2.4.2-fix-module-resolution-0ccaa07.1","keywords":["Web Components","webpack","webpack4","webpack-plugin","isolated","externals","embedded"],"author":{"name":"Steve Matney"},"license":"ISC","_id":"isolated-externals-plugin@2.4.2-fix-module-resolution-0ccaa07.1","maintainers":[{"name":"jrios","email":"jacobrios@fastmail.com"},{"name":"darrken","email":"ken.james.adams+npm@gmail.com"},{"name":"aabenoja","email":"abenojaalex@gmail.com"},{"name":"stevematney","email":"steve.matney@gmail.com"}],"homepage":"https://github.com/WTW-IM/isolated-externals-plugin#readme","bugs":{"url":"https://github.com/WTW-IM/isolated-externals-plugin/issues"},"dist":{"shasum":"66b1f71aafd4cfd2af06f2eb102352ab8cbd7017","tarball":"https://registry.npmjs.org/isolated-externals-plugin/-/isolated-externals-plugin-2.4.2-fix-module-resolution-0ccaa07.1.tgz","fileCount":33,"integrity":"sha512-3mWtVttqh0lYsTDTYCUFCEoeZVjXt2T01/18/oaZXc50wlNTpAuJQ6KkJqdiJWro4cqPXWYAZQRgDx/qlQdbOA==","signatures":[{"sig":"MEYCIQCWGXtZOdsShuGlHozUwKjzj4CpxGxdIF0Zhzdr+tUVEgIhAOAJnoTyAEXpJ7UYQeV0aW7dGE25jmGOJzxvCOrXNRou","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":121259},"main":"dist/index.js","types":"dist/index.d.ts","readme":"# isolated-externals-plugin\n\n[![Build Status](https://travis-ci.com/WTW-IM/isolated-externals-plugin.svg?branch=master)](https://travis-ci.com/github/WTW-IM/isolated-externals-plugin)\n[![npm version](https://badge.fury.io/js/isolated-externals-plugin.svg)](https://badge.fury.io/js/isolated-externals-plugin)\n\n## Installation\n\nTo install, simply run:\n\n```bash\nnpm install --save-dev isolated-externals-plugin\n```\n\n## Usage\n\nThe `IsolatedExternalsPlugin` allows you to load external dependencies inside the scope of your webpack bundle without having to have them in your global scope. If you're curious about why you might want this, there are [some use cases listed below](#why-load-externals-locally-instead-of-globally).\n\nIt's an opinionated plugin in this way:\n\n- The externals set with the `IsolatedExternalsPlugin` utilize [`externalsType.promise`](https://webpack.js.org/configuration/externals/#externalstypepromise), which utilizes `async`/`await` syntax.\n\nThe plugin is built as an ES Module, so you'll need to load it in by using the `default` property:\n\n```javascript\nconst IsolatedExternalsPlugin = require('isolated-externals-plugin').default;\n```\n\nAn `IsolatedExternalsPlugin` configuration might look like the following:\n\n```javascript\nnew IsolatedExternalsPlugin({\n  entry1: {\n    react: {\n      url: 'https://unpkg.com/react@16/umd/react.development.js',\n      globalName: 'React',\n    },\n    ['react-dom']: {\n      url: 'https://unpkg.com/react-dom@16/umd/react-dom.development.js',\n      globalName: 'ReactDOM',\n    },\n  },\n  entry2: {\n    react: {\n      url: 'https://unpkg.com/react@16/umd/react.development.js',\n      globalName: 'React',\n    },\n    ['react-dom']: {\n      url: 'https://unpkg.com/react-dom@16/umd/react-dom.development.js',\n      globalName: 'ReactDOM',\n    },\n  },\n});\n```\n\nEach property of the configuration follows this structure:\n\n```javascript\n[entryName]: {\n  [packageName]: {\n    url: [url],\n    globalName: [globalName]\n  }\n}\n```\n\n| Part             | Description                                                                                               |\n| ---------------- | --------------------------------------------------------------------------------------------------------- |\n| `entryName`\\*    | The name of one of your webpack [Entry Points](https://webpack.js.org/concepts/entry-points/).            |\n| `packageName`\\*  | The name of the import for your externalized dependency (like 'react-dom').                               |\n| `url`\\*          | The URL from which to load your dependency file.                                                          |\n| `globalName`     | The UMD name of your dependency (like `ReactDOM`). [See below for details](#globalname-and-other-details) |\n| `urlTransformer` | A path or module path to a module that exports a url transforming function.                               |\n| \\*               | _required_                                                                                                |\n\n## `globalName` and other details\n\nIf `globalName` is not provided, `IsolatedExternalsPlugin` will try to match the `packageName` to one of your [`externals`](https://webpack.js.org/configuration/externals/#externals) entries, and will use the value from that as the `globalName`\n\nThe external files will be loaded and applied to your context in the order that they're listed, so if you have dependencies that depend on other dependencies (like `ReactDOM` depends on `React`), then you'll want to make sure you list the ones they depend on first.\n\n## How It Works\n\n`IsolatedExternalsPlugin` loads the text of your externals URLs via a shared [Cache](https://developer.mozilla.org/en-US/docs/Web/API/Cache) (or a shared global object if `Cache` is not available), and processes the text on a context object which is singular to your bundle. This allows you to load multiple bundles per page with different versions of a dependency—or with the same version of a dependency separately—without polluting a global scope, and without loading the same dependency over the wire more than once. This keeps bundle sizes down while also providing complete autonomy to any individual JS bundle.\n\n## Why load externals locally instead of globally?\n\nHere are two valid use cases. There may be others, but these are the reason we built this plugin!:\n\n1. You want to load different javascript apps on the same page with different versions of the same dependency (like React).\n2. You want to load more than one javascript app onto the same page with the same dependency, but ignorant of each other and the global context (like in micro frontends). This allows each app to be small in byte size, and allows the overall page to never load the same dependency more than once.\n\n## Contributing\n\nThis package uses `semantic-release`. Changes will be compiled into a changelog and the package versioned, tagged and published automatically.\nPlease ensure your commit messages adhere to the following structure:\n\n```\n<type>: <subject>\n<BLANK LINE>\n<body>\n```\n\nOnly the header is mandatory. The supported types are based off of the [ESLint Convention](https://github.com/conventional-changelog/conventional-changelog/tree/35e279d40603b0969c6d622514f5c0984c5bf309/packages/conventional-changelog-eslint).\n","gitHead":"0ccaa076ed9c8f9b4915a67053a95c5a35a90d12","scripts":{"lint":"eslint --ext .js,.jsx,.ts,.tsx ./src --config .eslintrc.js","test":"npm run lint && jest","build":"tsc --build","prepare":"husky install","pre-commit":"lint-staged","startExamples":"npm run build && webpack-dev-server --config ./example-app/webpack.config.js","prepublishOnly":"npm run build"},"_npmUser":{"name":"stevematney","email":"steve.matney@gmail.com"},"repository":{"url":"git+https://github.com/WTW-IM/isolated-externals-plugin.git","type":"git"},"_npmVersion":"9.8.1","description":"[![Build Status](https://travis-ci.com/WTW-IM/isolated-externals-plugin.svg?branch=master)](https://travis-ci.com/github/WTW-IM/isolated-externals-plugin) [![npm version](https://badge.fury.io/js/isolated-externals-plugin.svg)](https://badge.fury.io/js/is","directories":{},"lint-staged":{"*.md":["prettier --write --parser markdown"],"src/**/*.(j|t)s?(x)":["prettier --write","eslint --fix"]},"_nodeVersion":"18.16.1","dependencies":{"schema-utils":"^4.0.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"ajv":"^8.11.2","jest":"^29.3.1","husky":"^6.0.0","react":"^17.0.1","eslint":"^8.45.0","webpack":"^5.86.0","prettier":"2.2.1","react-dom":"^17.0.1","@babel/cli":"^7.19.3","typescript":"^5.1.6","@types/jest":"^29.2.3","lint-staged":"^10.5.4","react-modal":"^3.16.1","webpack-cli":"^5.0.0","babel-loader":"^9.1.0","@types/webpack":"^5.28.1","@commitlint/cli":"^17.6.7","semantic-release":"^21.0.7","@babel/preset-env":"^7.12.13","@types/react-modal":"^3.16.0","webpack-dev-server":"^4.11.1","@babel/preset-react":"^7.18.6","@types/randomstring":"^1.1.8","eslint-plugin-react":"^7.22.0","html-webpack-plugin":"^5.5.3","@babel/eslint-parser":"^7.19.1","@semantic-release/git":"^10.0.1","eslint-config-prettier":"^7.2.0","@babel/preset-typescript":"^7.12.13","@typescript-eslint/parser":"^6.1.0","@semantic-release/changelog":"^6.0.1","conventional-changelog-eslint":"^3.0.9","@commitlint/config-conventional":"^11.0.0","@typescript-eslint/eslint-plugin":"^6.1.0"},"peerDependencies":{"webpack":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/isolated-externals-plugin_2.4.2-fix-module-resolution-0ccaa07.1_1689886865406_0.5440683200884395","host":"s3://npm-registry-packages"}},"2.4.2":{"name":"isolated-externals-plugin","version":"2.4.2","keywords":["Web Components","webpack","webpack4","webpack-plugin","isolated","externals","embedded"],"author":{"name":"Steve Matney"},"license":"ISC","_id":"isolated-externals-plugin@2.4.2","maintainers":[{"name":"jrios","email":"jacobrios@fastmail.com"},{"name":"darrken","email":"ken.james.adams+npm@gmail.com"},{"name":"aabenoja","email":"abenojaalex@gmail.com"},{"name":"stevematney","email":"steve.matney@gmail.com"}],"homepage":"https://github.com/WTW-IM/isolated-externals-plugin#readme","bugs":{"url":"https://github.com/WTW-IM/isolated-externals-plugin/issues"},"dist":{"shasum":"49c24adc4aeb3d93a5a1efeea2e6e4ad8ae367bf","tarball":"https://registry.npmjs.org/isolated-externals-plugin/-/isolated-externals-plugin-2.4.2.tgz","fileCount":33,"integrity":"sha512-hOgiCkMHZSIyrxzih3vBh8D+dQfaMybxYoSQeg69TwbwS+8xquao1cr4c/aP8O+MlXEQK0Mrdf5byUpnbc/Ufw==","signatures":[{"sig":"MEQCIDASjzNDTq064GNDNhTBTgm4vNgwJ17/d7NzLJUfqvGnAiAAsa4GirgtDRODmV+UzltnviJYJD0XY7AX0cGLy4+5sA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":121185},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"e5f55d684e84039db40cd42c4910cb53c9dc46fa","scripts":{"lint":"eslint --ext .js,.jsx,.ts,.tsx ./src --config .eslintrc.js","test":"npm run lint && jest","build":"tsc --build","prepare":"husky install","pre-commit":"lint-staged","startExamples":"npm run build && webpack-dev-server --config ./example-app/webpack.config.js","prepublishOnly":"npm run build"},"_npmUser":{"name":"stevematney","email":"steve.matney@gmail.com"},"repository":{"url":"git+https://github.com/WTW-IM/isolated-externals-plugin.git","type":"git"},"_npmVersion":"9.8.1","description":"[![Build Status](https://travis-ci.com/WTW-IM/isolated-externals-plugin.svg?branch=master)](https://travis-ci.com/github/WTW-IM/isolated-externals-plugin) [![npm version](https://badge.fury.io/js/isolated-externals-plugin.svg)](https://badge.fury.io/js/is","directories":{},"lint-staged":{"*.md":["prettier --write --parser markdown"],"src/**/*.(j|t)s?(x)":["prettier --write","eslint --fix"]},"_nodeVersion":"18.16.1","dependencies":{"schema-utils":"^4.0.0"},"_hasShrinkwrap":false,"devDependencies":{"ajv":"^8.11.2","jest":"^29.3.1","husky":"^6.0.0","react":"^17.0.1","eslint":"^8.45.0","webpack":"^5.86.0","prettier":"2.2.1","react-dom":"^17.0.1","@babel/cli":"^7.19.3","typescript":"^5.1.6","@types/jest":"^29.2.3","lint-staged":"^10.5.4","react-modal":"^3.16.1","webpack-cli":"^5.0.0","babel-loader":"^9.1.0","@types/webpack":"^5.28.1","@commitlint/cli":"^17.6.7","semantic-release":"^21.0.7","@babel/preset-env":"^7.12.13","@types/react-modal":"^3.16.0","webpack-dev-server":"^4.11.1","@babel/preset-react":"^7.18.6","@types/randomstring":"^1.1.8","eslint-plugin-react":"^7.22.0","html-webpack-plugin":"^5.5.3","@babel/eslint-parser":"^7.19.1","@semantic-release/git":"^10.0.1","eslint-config-prettier":"^7.2.0","@babel/preset-typescript":"^7.12.13","@typescript-eslint/parser":"^6.1.0","@semantic-release/changelog":"^6.0.1","conventional-changelog-eslint":"^3.0.9","@commitlint/config-conventional":"^11.0.0","@typescript-eslint/eslint-plugin":"^6.1.0"},"peerDependencies":{"webpack":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/isolated-externals-plugin_2.4.2_1689890146039_0.5798086626474419","host":"s3://npm-registry-packages"}},"2.4.3-fix-safari-private-cache-d09b245.1":{"name":"isolated-externals-plugin","version":"2.4.3-fix-safari-private-cache-d09b245.1","keywords":["Web Components","webpack","webpack4","webpack-plugin","isolated","externals","embedded"],"author":{"name":"Steve Matney"},"license":"ISC","_id":"isolated-externals-plugin@2.4.3-fix-safari-private-cache-d09b245.1","homepage":"https://github.com/im-open/isolated-externals-plugin#readme","bugs":{"url":"https://github.com/im-open/isolated-externals-plugin/issues"},"dist":{"shasum":"f85b3c262e7ba5e398227248934e24b60ae2676f","tarball":"https://registry.npmjs.org/isolated-externals-plugin/-/isolated-externals-plugin-2.4.3-fix-safari-private-cache-d09b245.1.tgz","fileCount":33,"integrity":"sha512-TromS/VI3OJmY1UPeFBAJqHfMdVKou/LQ+1HEiPZpwjZp5jf2dH/z/CCxYRJWwb6Euqq+NK1ingvLvsfuiJ/cQ==","signatures":[{"sig":"MEUCIQDDHHNSFGVYn5W5/LDyapph2oJlSyu+BN3dedXcmp3HWgIgW3uslkAyHj/pTubpIOo9yqIVyLVNX/Suft8sNC6s8IE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":122803},"main":"dist/index.js","types":"dist/index.d.ts","readme":"# isolated-externals-plugin\n\n![Build Status](https://github.com/im-open/isolated-externals-plugin/actions/workflows/main.yml/badge.svg)\n[![npm version](https://badge.fury.io/js/isolated-externals-plugin.svg)](https://badge.fury.io/js/isolated-externals-plugin)\n\n## Installation\n\nTo install, simply run:\n\n```bash\nnpm install --save-dev isolated-externals-plugin\n```\n\n## Usage\n\nThe `IsolatedExternalsPlugin` allows you to load external dependencies inside the scope of your webpack bundle without having to have them in your global scope. If you're curious about why you might want this, there are [some use cases listed below](#why-load-externals-locally-instead-of-globally).\n\nIt's an opinionated plugin in this way:\n\n- The externals set with the `IsolatedExternalsPlugin` utilize [`externalsType.promise`](https://webpack.js.org/configuration/externals/#externalstypepromise), which utilizes `async`/`await` syntax.\n\nThe plugin is built as an ES Module, so you'll need to load it in by using the `default` property:\n\n```javascript\nconst IsolatedExternalsPlugin = require('isolated-externals-plugin').default;\n```\n\nAn `IsolatedExternalsPlugin` configuration might look like the following:\n\n```javascript\nnew IsolatedExternalsPlugin({\n  entry1: {\n    react: {\n      url: 'https://unpkg.com/react@16/umd/react.development.js',\n      globalName: 'React',\n    },\n    ['react-dom']: {\n      url: 'https://unpkg.com/react-dom@16/umd/react-dom.development.js',\n      globalName: 'ReactDOM',\n    },\n  },\n  entry2: {\n    react: {\n      url: 'https://unpkg.com/react@16/umd/react.development.js',\n      globalName: 'React',\n    },\n    ['react-dom']: {\n      url: 'https://unpkg.com/react-dom@16/umd/react-dom.development.js',\n      globalName: 'ReactDOM',\n    },\n  },\n});\n```\n\nEach property of the configuration follows this structure:\n\n```javascript\n[entryName]: {\n  [packageName]: {\n    url: [url],\n    globalName: [globalName]\n  }\n}\n```\n\n| Part             | Description                                                                                               |\n| ---------------- | --------------------------------------------------------------------------------------------------------- |\n| `entryName`\\*    | The name of one of your webpack [Entry Points](https://webpack.js.org/concepts/entry-points/).            |\n| `packageName`\\*  | The name of the import for your externalized dependency (like 'react-dom').                               |\n| `url`\\*          | The URL from which to load your dependency file.                                                          |\n| `globalName`     | The UMD name of your dependency (like `ReactDOM`). [See below for details](#globalname-and-other-details) |\n| `urlTransformer` | A path or module path to a module that exports a url transforming function.                               |\n| \\*               | _required_                                                                                                |\n\n## `globalName` and other details\n\nIf `globalName` is not provided, `IsolatedExternalsPlugin` will try to match the `packageName` to one of your [`externals`](https://webpack.js.org/configuration/externals/#externals) entries, and will use the value from that as the `globalName`\n\nThe external files will be loaded and applied to your context in the order that they're listed, so if you have dependencies that depend on other dependencies (like `ReactDOM` depends on `React`), then you'll want to make sure you list the ones they depend on first.\n\n## How It Works\n\n`IsolatedExternalsPlugin` loads the text of your externals URLs via a shared [Cache](https://developer.mozilla.org/en-US/docs/Web/API/Cache) (or a shared global object if `Cache` is not available), and processes the text on a context object which is singular to your bundle. This allows you to load multiple bundles per page with different versions of a dependency—or with the same version of a dependency separately—without polluting a global scope, and without loading the same dependency over the wire more than once. This keeps bundle sizes down while also providing complete autonomy to any individual JS bundle.\n\n## Why load externals locally instead of globally?\n\nHere are two valid use cases. There may be others, but these are the reason we built this plugin!:\n\n1. You want to load different javascript apps on the same page with different versions of the same dependency (like React).\n2. You want to load more than one javascript app onto the same page with the same dependency, but ignorant of each other and the global context (like in micro frontends). This allows each app to be small in byte size, and allows the overall page to never load the same dependency more than once.\n\n## Contributing\n\nThis package uses `semantic-release`. Changes will be compiled into a changelog and the package versioned, tagged and published automatically.\nPlease ensure your commit messages adhere to the following structure:\n\n```\n<type>: <subject>\n<BLANK LINE>\n<body>\n```\n\nOnly the header is mandatory. The supported types are based off of the [ESLint Convention](https://github.com/conventional-changelog/conventional-changelog/tree/35e279d40603b0969c6d622514f5c0984c5bf309/packages/conventional-changelog-eslint).\n","gitHead":"d09b24512502e27d30cc2d70bc6e0d212fc538ac","scripts":{"lint":"eslint --ext .js,.jsx,.ts,.tsx ./src --config .eslintrc.js","test":"npm run lint && jest","build":"tsc --build","prepare":"husky install","pre-commit":"lint-staged","startExamples":"npm run build && webpack-dev-server --config ./example-app/webpack.config.js","prepublishOnly":"npm run build"},"_npmUser":{"name":"stevematney","email":"steve.matney@gmail.com"},"repository":{"url":"git+https://github.com/im-open/isolated-externals-plugin.git","type":"git"},"_npmVersion":"10.8.1","description":"![Build Status](https://github.com/im-open/isolated-externals-plugin/actions/workflows/main.yml/badge.svg) [![npm version](https://badge.fury.io/js/isolated-externals-plugin.svg)](https://badge.fury.io/js/isolated-externals-plugin)","directories":{},"lint-staged":{"*.md":["prettier --write --parser markdown"],"src/**/*.(j|t)s?(x)":["prettier --write","eslint --fix"]},"_nodeVersion":"20.14.0","dependencies":{"schema-utils":"^4.0.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"ajv":"^8.11.2","jest":"^29.7.0","husky":"^6.0.0","react":"^17.0.1","eslint":"^8.45.0","webpack":"^5.92.1","prettier":"2.2.1","react-dom":"^17.0.1","@babel/cli":"^7.24.7","typescript":"^5.1.6","@types/jest":"^29.2.3","lint-staged":"^10.5.4","react-modal":"^3.16.1","webpack-cli":"^5.0.0","babel-loader":"^9.1.3","@types/webpack":"^5.28.5","@commitlint/cli":"^19.3.0","semantic-release":"^24.0.0","@babel/preset-env":"^7.24.7","@types/react-modal":"^3.16.0","webpack-dev-server":"^4.11.1","@babel/preset-react":"^7.18.6","@types/randomstring":"^1.1.8","eslint-plugin-react":"^7.22.0","html-webpack-plugin":"^5.5.3","@babel/eslint-parser":"^7.19.1","@semantic-release/git":"^10.0.1","@semantic-release/npm":"^12.0.1","eslint-config-prettier":"^7.2.0","@babel/preset-typescript":"^7.12.13","@semantic-release/github":"^10.0.6","@typescript-eslint/parser":"^6.1.0","@semantic-release/changelog":"^6.0.3","conventional-changelog-eslint":"^6.0.0","@commitlint/config-conventional":"^19.2.2","@typescript-eslint/eslint-plugin":"^6.1.0","@semantic-release/commit-analyzer":"^13.0.0","@semantic-release/release-notes-generator":"^14.0.0"},"peerDependencies":{"webpack":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/isolated-externals-plugin_2.4.3-fix-safari-private-cache-d09b245.1_1718905122154_0.9367470220400154","host":"s3://npm-registry-packages"}},"2.5.0-fix-safari-private-cache-0834389.1":{"name":"isolated-externals-plugin","version":"2.5.0-fix-safari-private-cache-0834389.1","keywords":["Web Components","webpack","webpack4","webpack-plugin","isolated","externals","embedded"],"author":{"name":"Steve Matney"},"license":"ISC","_id":"isolated-externals-plugin@2.5.0-fix-safari-private-cache-0834389.1","homepage":"https://github.com/im-open/isolated-externals-plugin#readme","bugs":{"url":"https://github.com/im-open/isolated-externals-plugin/issues"},"dist":{"shasum":"84fbb081db210d80f1a387193a1352f39b40ad41","tarball":"https://registry.npmjs.org/isolated-externals-plugin/-/isolated-externals-plugin-2.5.0-fix-safari-private-cache-0834389.1.tgz","fileCount":33,"integrity":"sha512-o1/ZtWumQQLupuhOM+8tTlzGsHFM18YqTKb/1gAVyXsQ0iW40r4IYYeHCNRbjeSXLbrNQ0o/vPUNH5ooqTGOhg==","signatures":[{"sig":"MEYCIQDlLaCE68JGKimqchRpbG1mD7psSjgerDCCw356Qp0YqgIhALbXgOrwy4EKjVuWU5bmtyBDvWo7fUECZ5bHZJ3097ww","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":123861},"main":"dist/index.js","types":"dist/index.d.ts","readme":"# isolated-externals-plugin\n\n![Build Status](https://github.com/im-open/isolated-externals-plugin/actions/workflows/main.yml/badge.svg)\n[![npm version](https://badge.fury.io/js/isolated-externals-plugin.svg)](https://badge.fury.io/js/isolated-externals-plugin)\n\n## Installation\n\nTo install, simply run:\n\n```bash\nnpm install --save-dev isolated-externals-plugin\n```\n\n## Usage\n\nThe `IsolatedExternalsPlugin` allows you to load external dependencies inside the scope of your webpack bundle without having to have them in your global scope. If you're curious about why you might want this, there are [some use cases listed below](#why-load-externals-locally-instead-of-globally).\n\nIt's an opinionated plugin in this way:\n\n- The externals set with the `IsolatedExternalsPlugin` utilize [`externalsType.promise`](https://webpack.js.org/configuration/externals/#externalstypepromise), which utilizes `async`/`await` syntax.\n\nThe plugin is built as an ES Module, so you'll need to load it in by using the `default` property:\n\n```javascript\nconst IsolatedExternalsPlugin = require('isolated-externals-plugin').default;\n```\n\nAn `IsolatedExternalsPlugin` configuration might look like the following:\n\n```javascript\nnew IsolatedExternalsPlugin({\n  entry1: {\n    react: {\n      url: 'https://unpkg.com/react@16/umd/react.development.js',\n      globalName: 'React',\n    },\n    ['react-dom']: {\n      url: 'https://unpkg.com/react-dom@16/umd/react-dom.development.js',\n      globalName: 'ReactDOM',\n    },\n  },\n  entry2: {\n    react: {\n      url: 'https://unpkg.com/react@16/umd/react.development.js',\n      globalName: 'React',\n    },\n    ['react-dom']: {\n      url: 'https://unpkg.com/react-dom@16/umd/react-dom.development.js',\n      globalName: 'ReactDOM',\n    },\n  },\n});\n```\n\nEach property of the configuration follows this structure:\n\n```javascript\n[entryName]: {\n  [packageName]: {\n    url: [url],\n    globalName: [globalName]\n  }\n}\n```\n\n| Part             | Description                                                                                               |\n| ---------------- | --------------------------------------------------------------------------------------------------------- |\n| `entryName`\\*    | The name of one of your webpack [Entry Points](https://webpack.js.org/concepts/entry-points/).            |\n| `packageName`\\*  | The name of the import for your externalized dependency (like 'react-dom').                               |\n| `url`\\*          | The URL from which to load your dependency file.                                                          |\n| `globalName`     | The UMD name of your dependency (like `ReactDOM`). [See below for details](#globalname-and-other-details) |\n| `urlTransformer` | A path or module path to a module that exports a url transforming function.                               |\n| \\*               | _required_                                                                                                |\n\n## `globalName` and other details\n\nIf `globalName` is not provided, `IsolatedExternalsPlugin` will try to match the `packageName` to one of your [`externals`](https://webpack.js.org/configuration/externals/#externals) entries, and will use the value from that as the `globalName`\n\nThe external files will be loaded and applied to your context in the order that they're listed, so if you have dependencies that depend on other dependencies (like `ReactDOM` depends on `React`), then you'll want to make sure you list the ones they depend on first.\n\n## How It Works\n\n`IsolatedExternalsPlugin` loads the text of your externals URLs via a shared [Cache](https://developer.mozilla.org/en-US/docs/Web/API/Cache) (or a shared global object if `Cache` is not available), and processes the text on a context object which is singular to your bundle. This allows you to load multiple bundles per page with different versions of a dependency—or with the same version of a dependency separately—without polluting a global scope, and without loading the same dependency over the wire more than once. This keeps bundle sizes down while also providing complete autonomy to any individual JS bundle.\n\n## Why load externals locally instead of globally?\n\nHere are two valid use cases. There may be others, but these are the reason we built this plugin!:\n\n1. You want to load different javascript apps on the same page with different versions of the same dependency (like React).\n2. You want to load more than one javascript app onto the same page with the same dependency, but ignorant of each other and the global context (like in micro frontends). This allows each app to be small in byte size, and allows the overall page to never load the same dependency more than once.\n\n## Contributing\n\nThis package uses `semantic-release`. Changes will be compiled into a changelog and the package versioned, tagged and published automatically.\nPlease ensure your commit messages adhere to the following structure:\n\n```\n<type>: <subject>\n<BLANK LINE>\n<body>\n```\n\nOnly the header is mandatory. The supported types are based off of the [ESLint Convention](https://github.com/conventional-changelog/conventional-changelog/tree/35e279d40603b0969c6d622514f5c0984c5bf309/packages/conventional-changelog-eslint).\n","gitHead":"0834389c1c2695924c7bccaac70736eec2cdcf70","scripts":{"lint":"eslint --ext .js,.jsx,.ts,.tsx ./src --config .eslintrc.js","test":"npm run lint && jest","build":"tsc --build","prepare":"husky install","pre-commit":"lint-staged","startExamples":"npm run build && webpack-dev-server --config ./example-app/webpack.config.js","prepublishOnly":"npm run build"},"_npmUser":{"name":"stevematney","email":"steve.matney@gmail.com"},"repository":{"url":"git+https://github.com/im-open/isolated-externals-plugin.git","type":"git"},"_npmVersion":"10.8.1","description":"![Build Status](https://github.com/im-open/isolated-externals-plugin/actions/workflows/main.yml/badge.svg) [![npm version](https://badge.fury.io/js/isolated-externals-plugin.svg)](https://badge.fury.io/js/isolated-externals-plugin)","directories":{},"lint-staged":{"*.md":["prettier --write --parser markdown"],"src/**/*.(j|t)s?(x)":["prettier --write","eslint --fix"]},"_nodeVersion":"20.14.0","dependencies":{"schema-utils":"^4.0.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"ajv":"^8.11.2","jest":"^29.7.0","husky":"^6.0.0","react":"^17.0.1","eslint":"^8.45.0","webpack":"^5.92.1","prettier":"2.2.1","react-dom":"^17.0.1","@babel/cli":"^7.24.7","typescript":"^5.1.6","@types/jest":"^29.2.3","lint-staged":"^10.5.4","react-modal":"^3.16.1","webpack-cli":"^5.0.0","babel-loader":"^9.1.3","@types/webpack":"^5.28.5","@commitlint/cli":"^19.3.0","semantic-release":"^24.0.0","@babel/preset-env":"^7.24.7","@types/react-modal":"^3.16.0","webpack-dev-server":"^4.11.1","@babel/preset-react":"^7.18.6","@types/randomstring":"^1.1.8","eslint-plugin-react":"^7.22.0","html-webpack-plugin":"^5.5.3","@babel/eslint-parser":"^7.19.1","@semantic-release/git":"^10.0.1","@semantic-release/npm":"^12.0.1","eslint-config-prettier":"^7.2.0","@babel/preset-typescript":"^7.12.13","@semantic-release/github":"^10.0.6","@typescript-eslint/parser":"^6.1.0","@semantic-release/changelog":"^6.0.3","conventional-changelog-eslint":"^6.0.0","@commitlint/config-conventional":"^19.2.2","@typescript-eslint/eslint-plugin":"^6.1.0","@semantic-release/commit-analyzer":"^13.0.0","@semantic-release/release-notes-generator":"^14.0.0"},"peerDependencies":{"webpack":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/isolated-externals-plugin_2.5.0-fix-safari-private-cache-0834389.1_1718993051764_0.9578277081427926","host":"s3://npm-registry-packages"}},"2.5.0-fix-safari-private-cache-4eb6444.1":{"name":"isolated-externals-plugin","version":"2.5.0-fix-safari-private-cache-4eb6444.1","keywords":["Web Components","webpack","webpack4","webpack-plugin","isolated","externals","embedded"],"author":{"name":"Steve Matney"},"license":"ISC","_id":"isolated-externals-plugin@2.5.0-fix-safari-private-cache-4eb6444.1","homepage":"https://github.com/im-open/isolated-externals-plugin#readme","bugs":{"url":"https://github.com/im-open/isolated-externals-plugin/issues"},"dist":{"shasum":"0c11db7759a5bc58ef53a3b34f3963f27c04008c","tarball":"https://registry.npmjs.org/isolated-externals-plugin/-/isolated-externals-plugin-2.5.0-fix-safari-private-cache-4eb6444.1.tgz","fileCount":33,"integrity":"sha512-14nWyVUSJDUhkjZM5KtqQoG2WXpv+pzFdmdEGUUyBX1eOdO2grS6sXzHsaC8sJk3fNNyvcugRAHfqCyRdWCWVg==","signatures":[{"sig":"MEQCIBPCc9TLVI9yD/36wjT5EQ04xCNc2DYa5CyWGeHJWJSaAiAUFC1mmTn4U2AAhwSaxsee3z4GeRuwmwx+BkvbL2dUrw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":123883},"main":"dist/index.js","types":"dist/index.d.ts","readme":"# isolated-externals-plugin\n\n![Build Status](https://github.com/im-open/isolated-externals-plugin/actions/workflows/main.yml/badge.svg)\n[![npm version](https://badge.fury.io/js/isolated-externals-plugin.svg)](https://badge.fury.io/js/isolated-externals-plugin)\n\n## Installation\n\nTo install, simply run:\n\n```bash\nnpm install --save-dev isolated-externals-plugin\n```\n\n## Usage\n\nThe `IsolatedExternalsPlugin` allows you to load external dependencies inside the scope of your webpack bundle without having to have them in your global scope. If you're curious about why you might want this, there are [some use cases listed below](#why-load-externals-locally-instead-of-globally).\n\nIt's an opinionated plugin in this way:\n\n- The externals set with the `IsolatedExternalsPlugin` utilize [`externalsType.promise`](https://webpack.js.org/configuration/externals/#externalstypepromise), which utilizes `async`/`await` syntax.\n\nThe plugin is built as an ES Module, so you'll need to load it in by using the `default` property:\n\n```javascript\nconst IsolatedExternalsPlugin = require('isolated-externals-plugin').default;\n```\n\nAn `IsolatedExternalsPlugin` configuration might look like the following:\n\n```javascript\nnew IsolatedExternalsPlugin({\n  entry1: {\n    react: {\n      url: 'https://unpkg.com/react@16/umd/react.development.js',\n      globalName: 'React',\n    },\n    ['react-dom']: {\n      url: 'https://unpkg.com/react-dom@16/umd/react-dom.development.js',\n      globalName: 'ReactDOM',\n    },\n  },\n  entry2: {\n    react: {\n      url: 'https://unpkg.com/react@16/umd/react.development.js',\n      globalName: 'React',\n    },\n    ['react-dom']: {\n      url: 'https://unpkg.com/react-dom@16/umd/react-dom.development.js',\n      globalName: 'ReactDOM',\n    },\n  },\n});\n```\n\nEach property of the configuration follows this structure:\n\n```javascript\n[entryName]: {\n  [packageName]: {\n    url: [url],\n    globalName: [globalName]\n  }\n}\n```\n\n| Part             | Description                                                                                               |\n| ---------------- | --------------------------------------------------------------------------------------------------------- |\n| `entryName`\\*    | The name of one of your webpack [Entry Points](https://webpack.js.org/concepts/entry-points/).            |\n| `packageName`\\*  | The name of the import for your externalized dependency (like 'react-dom').                               |\n| `url`\\*          | The URL from which to load your dependency file.                                                          |\n| `globalName`     | The UMD name of your dependency (like `ReactDOM`). [See below for details](#globalname-and-other-details) |\n| `urlTransformer` | A path or module path to a module that exports a url transforming function.                               |\n| \\*               | _required_                                                                                                |\n\n## `globalName` and other details\n\nIf `globalName` is not provided, `IsolatedExternalsPlugin` will try to match the `packageName` to one of your [`externals`](https://webpack.js.org/configuration/externals/#externals) entries, and will use the value from that as the `globalName`\n\nThe external files will be loaded and applied to your context in the order that they're listed, so if you have dependencies that depend on other dependencies (like `ReactDOM` depends on `React`), then you'll want to make sure you list the ones they depend on first.\n\n## How It Works\n\n`IsolatedExternalsPlugin` loads the text of your externals URLs via a shared [Cache](https://developer.mozilla.org/en-US/docs/Web/API/Cache) (or a shared global object if `Cache` is not available), and processes the text on a context object which is singular to your bundle. This allows you to load multiple bundles per page with different versions of a dependency—or with the same version of a dependency separately—without polluting a global scope, and without loading the same dependency over the wire more than once. This keeps bundle sizes down while also providing complete autonomy to any individual JS bundle.\n\n## Why load externals locally instead of globally?\n\nHere are two valid use cases. There may be others, but these are the reason we built this plugin!:\n\n1. You want to load different javascript apps on the same page with different versions of the same dependency (like React).\n2. You want to load more than one javascript app onto the same page with the same dependency, but ignorant of each other and the global context (like in micro frontends). This allows each app to be small in byte size, and allows the overall page to never load the same dependency more than once.\n\n## Contributing\n\nThis package uses `semantic-release`. Changes will be compiled into a changelog and the package versioned, tagged and published automatically.\nPlease ensure your commit messages adhere to the following structure:\n\n```\n<type>: <subject>\n<BLANK LINE>\n<body>\n```\n\nOnly the header is mandatory. The supported types are based off of the [ESLint Convention](https://github.com/conventional-changelog/conventional-changelog/tree/35e279d40603b0969c6d622514f5c0984c5bf309/packages/conventional-changelog-eslint).\n","gitHead":"4eb6444632a087bec875e5a76d56c21903b67fbd","scripts":{"lint":"eslint --ext .js,.jsx,.ts,.tsx ./src --config .eslintrc.js","test":"npm run lint && jest","build":"tsc --build","prepare":"husky install","pre-commit":"lint-staged","startExamples":"npm run build && webpack-dev-server --config ./example-app/webpack.config.js","prepublishOnly":"npm run build"},"_npmUser":{"name":"stevematney","email":"steve.matney@gmail.com"},"repository":{"url":"git+https://github.com/im-open/isolated-externals-plugin.git","type":"git"},"_npmVersion":"10.8.1","description":"![Build Status](https://github.com/im-open/isolated-externals-plugin/actions/workflows/main.yml/badge.svg) [![npm version](https://badge.fury.io/js/isolated-externals-plugin.svg)](https://badge.fury.io/js/isolated-externals-plugin)","directories":{},"lint-staged":{"*.md":["prettier --write --parser markdown"],"src/**/*.(j|t)s?(x)":["prettier --write","eslint --fix"]},"_nodeVersion":"20.14.0","dependencies":{"schema-utils":"^4.0.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"ajv":"^8.11.2","jest":"^29.7.0","husky":"^6.0.0","react":"^17.0.1","eslint":"^8.45.0","webpack":"^5.92.1","prettier":"2.2.1","react-dom":"^17.0.1","@babel/cli":"^7.24.7","typescript":"^5.1.6","@types/jest":"^29.2.3","lint-staged":"^10.5.4","react-modal":"^3.16.1","webpack-cli":"^5.0.0","babel-loader":"^9.1.3","@types/webpack":"^5.28.5","@commitlint/cli":"^19.3.0","semantic-release":"^24.0.0","@babel/preset-env":"^7.24.7","@types/react-modal":"^3.16.0","webpack-dev-server":"^4.11.1","@babel/preset-react":"^7.18.6","@types/randomstring":"^1.1.8","eslint-plugin-react":"^7.22.0","html-webpack-plugin":"^5.5.3","@babel/eslint-parser":"^7.19.1","@semantic-release/git":"^10.0.1","@semantic-release/npm":"^12.0.1","eslint-config-prettier":"^7.2.0","@babel/preset-typescript":"^7.12.13","@semantic-release/github":"^10.0.6","@typescript-eslint/parser":"^6.1.0","@semantic-release/changelog":"^6.0.3","conventional-changelog-eslint":"^6.0.0","@commitlint/config-conventional":"^19.2.2","@typescript-eslint/eslint-plugin":"^6.1.0","@semantic-release/commit-analyzer":"^13.0.0","@semantic-release/release-notes-generator":"^14.0.0"},"peerDependencies":{"webpack":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/isolated-externals-plugin_2.5.0-fix-safari-private-cache-4eb6444.1_1719012767311_0.6339534150679689","host":"s3://npm-registry-packages"}},"2.5.0":{"name":"isolated-externals-plugin","version":"2.5.0","description":"![Build Status](https://github.com/im-open/isolated-externals-plugin/actions/workflows/main.yml/badge.svg) [![npm version](https://badge.fury.io/js/isolated-externals-plugin.svg)](https://badge.fury.io/js/isolated-externals-plugin)","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"test":"npm run lint && jest","build":"tsc --build","lint":"eslint --ext .js,.jsx,.ts,.tsx ./src --config .eslintrc.js","pre-commit":"lint-staged","prepublishOnly":"npm run build","startExamples":"npm run build && webpack-dev-server --config ./example-app/webpack.config.js","prepare":"husky install"},"repository":{"type":"git","url":"git+https://github.com/im-open/isolated-externals-plugin.git"},"keywords":["Web Components","webpack","webpack4","webpack-plugin","isolated","externals","embedded"],"author":{"name":"Steve Matney"},"license":"ISC","bugs":{"url":"https://github.com/im-open/isolated-externals-plugin/issues"},"homepage":"https://github.com/im-open/isolated-externals-plugin#readme","lint-staged":{"src/**/*.(j|t)s?(x)":["prettier --write","eslint --fix"],"*.md":["prettier --write --parser markdown"]},"peerDependencies":{"webpack":"^5.0.0"},"devDependencies":{"@babel/cli":"^7.24.7","@babel/eslint-parser":"^7.19.1","@babel/preset-env":"^7.24.7","@babel/preset-react":"^7.18.6","@babel/preset-typescript":"^7.12.13","@commitlint/cli":"^19.3.0","@commitlint/config-conventional":"^19.2.2","@semantic-release/changelog":"^6.0.3","@semantic-release/commit-analyzer":"^13.0.0","@semantic-release/git":"^10.0.1","@semantic-release/github":"^10.0.6","@semantic-release/npm":"^12.0.1","@semantic-release/release-notes-generator":"^14.0.0","@types/jest":"^29.2.3","@types/randomstring":"^1.1.8","@types/react-modal":"^3.16.0","@types/webpack":"^5.28.5","@typescript-eslint/eslint-plugin":"^6.1.0","@typescript-eslint/parser":"^6.1.0","ajv":"^8.11.2","babel-loader":"^9.1.3","conventional-changelog-eslint":"^6.0.0","eslint":"^8.45.0","eslint-config-prettier":"^7.2.0","eslint-plugin-react":"^7.22.0","html-webpack-plugin":"^5.5.3","husky":"^6.0.0","jest":"^29.7.0","lint-staged":"^10.5.4","prettier":"2.2.1","react":"^17.0.1","react-dom":"^17.0.1","react-modal":"^3.16.1","semantic-release":"^24.0.0","typescript":"^5.1.6","webpack":"^5.92.1","webpack-cli":"^5.0.0","webpack-dev-server":"^4.11.1"},"dependencies":{"schema-utils":"^4.0.0"},"_id":"isolated-externals-plugin@2.5.0","gitHead":"e66c8ab7a916ced985d0ed6ba35f3917c430861b","_nodeVersion":"20.14.0","_npmVersion":"10.8.1","dist":{"integrity":"sha512-+uUuJhkoJrIY8sT1kg4rbLR0cTAjSbfQ+3lA8ySrPtjX7p/Xmp1XKseEbznQRsHddnHVuJCzbtnq/0/e46APmQ==","shasum":"9cab15c661d88e9ff0618b662537e542b85cc52c","tarball":"https://registry.npmjs.org/isolated-externals-plugin/-/isolated-externals-plugin-2.5.0.tgz","fileCount":33,"unpackedSize":123848,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDtiifCHBjM8DNex929vYcysFiCpjC1+GCb74MIm4JuagIgV+P32g/hpMndY8G9xzIiOpkz3YK9Gcj3H08GQ5lpuTQ="}]},"_npmUser":{"name":"stevematney","email":"steve.matney@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/isolated-externals-plugin_2.5.0_1719252681234_0.40506321979551974"},"_hasShrinkwrap":false}},"time":{"created":"2020-04-13T16:17:44.903Z","modified":"2024-06-24T18:11:21.706Z","1.0.0":"2020-04-13T16:17:45.064Z","1.1.0":"2020-04-22T17:18:21.045Z","1.2.0":"2020-04-24T19:46:02.352Z","1.3.0":"2020-07-09T17:19:32.829Z","1.4.0":"2020-07-24T20:10:08.944Z","1.5.0":"2021-02-08T17:51:56.976Z","1.6.0":"2021-02-11T21:33:18.156Z","1.7.0":"2021-03-31T22:45:34.063Z","1.7.1":"2021-04-07T18:00:35.773Z","1.8.0":"2021-05-05T15:06:36.470Z","1.8.1":"2021-06-01T15:49:02.338Z","1.9.0":"2021-06-18T15:49:59.993Z","1.10.0":"2021-08-06T19:11:30.102Z","1.10.1":"2021-08-09T15:59:25.177Z","1.10.2":"2021-12-15T19:57:12.694Z","2.0.0-webpack-5-integration.1":"2022-11-29T22:37:57.698Z","2.0.0-webpack-5-integration-7ba8dfb.1":"2022-12-05T19:02:33.368Z","2.0.0-webpack-5-integration-8db7536.1":"2022-12-05T22:36:21.947Z","2.0.0-webpack-5-integration-8db7536.2":"2022-12-06T23:25:27.956Z","2.0.0-webpack-5-integration-8db7536.3":"2022-12-07T16:42:47.664Z","2.0.0":"2022-12-08T22:39:33.705Z","2.1.0-refactor-externals-271a26a.1":"2023-01-06T16:55:26.914Z","2.1.0-refactor-externals-7654a7b.1":"2023-01-06T18:33:53.469Z","2.1.0-refactor-externals-ee5e344.1":"2023-01-07T01:09:28.154Z","2.1.0-refactor-externals-ee5e344.2":"2023-01-07T19:48:19.107Z","2.1.0-refactor-externals-ee5e344.3":"2023-01-08T02:41:04.404Z","1.0.0-refactor-externals-e247cb9.1":"2023-01-08T04:05:22.642Z","2.1.0-refactor-externals-ee5e344.4":"2023-01-08T05:00:36.228Z","2.1.0":"2023-01-09T17:45:08.152Z","2.2.0":"2023-01-09T18:02:11.780Z","2.3.0-global-url-modifier-3cd931d.1":"2023-02-14T23:50:58.927Z","2.3.0-global-url-modifier-3cd931d.2":"2023-02-15T16:59:29.213Z","2.3.0-global-url-modifier-c83fba1.1":"2023-02-15T20:06:11.615Z","2.3.0":"2023-02-15T22:36:59.601Z","2.3.1-timeout-external-cache-open-5d4b190.1":"2023-03-16T22:24:35.044Z","2.3.1":"2023-03-16T23:37:19.417Z","2.4.0-preload-non-esm-2bc7b8b.1":"2023-06-09T17:54:35.664Z","2.4.0-preload-non-esm-fef1d9c.1":"2023-06-12T23:25:05.008Z","2.4.0-preload-non-esm-fb1da61.1":"2023-06-12T23:41:43.730Z","2.4.0-preload-non-esm-197f0c5.1":"2023-06-13T20:43:24.297Z","2.4.0-preload-non-esm-e559461.1":"2023-06-13T20:49:50.024Z","2.4.0-preload-non-esm-e559461.2":"2023-06-13T22:45:52.840Z","2.4.0-preload-non-esm-e559461.3":"2023-06-14T00:00:50.996Z","2.4.0-preload-non-esm-e559461.4":"2023-06-14T00:34:48.613Z","2.4.0-preload-non-esm-e559461.5":"2023-06-14T15:23:05.083Z","2.4.0-preload-non-esm-e559461.6":"2023-06-14T15:44:10.753Z","2.4.0-preload-non-esm-e559461.7":"2023-06-14T16:32:24.516Z","2.4.0-preload-non-esm-e559461.8":"2023-06-14T17:01:16.466Z","2.4.0-preload-non-esm-e559461.9":"2023-06-14T17:14:03.748Z","2.4.0-preload-non-esm-e559461.10":"2023-06-15T00:06:22.727Z","2.4.0-preload-non-esm-e559461.11":"2023-06-15T21:06:38.559Z","2.4.0-preload-non-esm-e559461.12":"2023-06-18T19:15:43.788Z","2.4.0-preload-non-esm-e559461.13":"2023-06-19T04:07:18.394Z","2.4.0-preload-non-esm-e559461.14":"2023-06-19T04:59:15.541Z","2.4.0-preload-non-esm-e559461.15":"2023-06-19T13:36:59.908Z","2.4.0-preload-non-esm-e559461.16":"2023-06-19T20:16:39.457Z","2.4.0":"2023-06-19T20:34:42.629Z","2.4.1-fix-parent-updates-a33dc0e.1":"2023-07-05T22:59:04.760Z","2.4.1":"2023-07-06T00:24:16.827Z","2.4.2-fix-module-resolution-5c8bf43.1":"2023-07-20T18:22:13.423Z","2.4.2-fix-module-resolution-0ccaa07.1":"2023-07-20T21:01:05.577Z","2.4.2":"2023-07-20T21:55:46.200Z","2.4.3-fix-safari-private-cache-d09b245.1":"2024-06-20T17:38:42.348Z","2.5.0-fix-safari-private-cache-0834389.1":"2024-06-21T18:04:11.954Z","2.5.0-fix-safari-private-cache-4eb6444.1":"2024-06-21T23:32:47.522Z","2.5.0":"2024-06-24T18:11:21.459Z"},"maintainers":[{"name":"aabenoja","email":"abenojaalex@gmail.com"},{"name":"jrios","email":"jacobrios@fastmail.com"},{"name":"darrken","email":"ken.james.adams+npm@gmail.com"},{"name":"stevematney","email":"steve.matney@gmail.com"}],"author":{"name":"Steve Matney"},"repository":{"type":"git","url":"git+https://github.com/im-open/isolated-externals-plugin.git"},"keywords":["Web Components","webpack","webpack4","webpack-plugin","isolated","externals","embedded"],"license":"ISC","homepage":"https://github.com/im-open/isolated-externals-plugin#readme","bugs":{"url":"https://github.com/im-open/isolated-externals-plugin/issues"},"readme":"# isolated-externals-plugin\n\n![Build Status](https://github.com/im-open/isolated-externals-plugin/actions/workflows/main.yml/badge.svg)\n[![npm version](https://badge.fury.io/js/isolated-externals-plugin.svg)](https://badge.fury.io/js/isolated-externals-plugin)\n\n## Installation\n\nTo install, simply run:\n\n```bash\nnpm install --save-dev isolated-externals-plugin\n```\n\n## Usage\n\nThe `IsolatedExternalsPlugin` allows you to load external dependencies inside the scope of your webpack bundle without having to have them in your global scope. If you're curious about why you might want this, there are [some use cases listed below](#why-load-externals-locally-instead-of-globally).\n\nIt's an opinionated plugin in this way:\n\n- The externals set with the `IsolatedExternalsPlugin` utilize [`externalsType.promise`](https://webpack.js.org/configuration/externals/#externalstypepromise), which utilizes `async`/`await` syntax.\n\nThe plugin is built as an ES Module, so you'll need to load it in by using the `default` property:\n\n```javascript\nconst IsolatedExternalsPlugin = require('isolated-externals-plugin').default;\n```\n\nAn `IsolatedExternalsPlugin` configuration might look like the following:\n\n```javascript\nnew IsolatedExternalsPlugin({\n  entry1: {\n    react: {\n      url: 'https://unpkg.com/react@16/umd/react.development.js',\n      globalName: 'React',\n    },\n    ['react-dom']: {\n      url: 'https://unpkg.com/react-dom@16/umd/react-dom.development.js',\n      globalName: 'ReactDOM',\n    },\n  },\n  entry2: {\n    react: {\n      url: 'https://unpkg.com/react@16/umd/react.development.js',\n      globalName: 'React',\n    },\n    ['react-dom']: {\n      url: 'https://unpkg.com/react-dom@16/umd/react-dom.development.js',\n      globalName: 'ReactDOM',\n    },\n  },\n});\n```\n\nEach property of the configuration follows this structure:\n\n```javascript\n[entryName]: {\n  [packageName]: {\n    url: [url],\n    globalName: [globalName]\n  }\n}\n```\n\n| Part             | Description                                                                                               |\n| ---------------- | --------------------------------------------------------------------------------------------------------- |\n| `entryName`\\*    | The name of one of your webpack [Entry Points](https://webpack.js.org/concepts/entry-points/).            |\n| `packageName`\\*  | The name of the import for your externalized dependency (like 'react-dom').                               |\n| `url`\\*          | The URL from which to load your dependency file.                                                          |\n| `globalName`     | The UMD name of your dependency (like `ReactDOM`). [See below for details](#globalname-and-other-details) |\n| `urlTransformer` | A path or module path to a module that exports a url transforming function.                               |\n| \\*               | _required_                                                                                                |\n\n## `globalName` and other details\n\nIf `globalName` is not provided, `IsolatedExternalsPlugin` will try to match the `packageName` to one of your [`externals`](https://webpack.js.org/configuration/externals/#externals) entries, and will use the value from that as the `globalName`\n\nThe external files will be loaded and applied to your context in the order that they're listed, so if you have dependencies that depend on other dependencies (like `ReactDOM` depends on `React`), then you'll want to make sure you list the ones they depend on first.\n\n## How It Works\n\n`IsolatedExternalsPlugin` loads the text of your externals URLs via a shared [Cache](https://developer.mozilla.org/en-US/docs/Web/API/Cache) (or a shared global object if `Cache` is not available), and processes the text on a context object which is singular to your bundle. This allows you to load multiple bundles per page with different versions of a dependency—or with the same version of a dependency separately—without polluting a global scope, and without loading the same dependency over the wire more than once. This keeps bundle sizes down while also providing complete autonomy to any individual JS bundle.\n\n## Why load externals locally instead of globally?\n\nHere are two valid use cases. There may be others, but these are the reason we built this plugin!:\n\n1. You want to load different javascript apps on the same page with different versions of the same dependency (like React).\n2. You want to load more than one javascript app onto the same page with the same dependency, but ignorant of each other and the global context (like in micro frontends). This allows each app to be small in byte size, and allows the overall page to never load the same dependency more than once.\n\n## Contributing\n\nThis package uses `semantic-release`. Changes will be compiled into a changelog and the package versioned, tagged and published automatically.\nPlease ensure your commit messages adhere to the following structure:\n\n```\n<type>: <subject>\n<BLANK LINE>\n<body>\n```\n\nOnly the header is mandatory. The supported types are based off of the [ESLint Convention](https://github.com/conventional-changelog/conventional-changelog/tree/35e279d40603b0969c6d622514f5c0984c5bf309/packages/conventional-changelog-eslint).\n","readmeFilename":"README.md"}