{"_id":"restrict-imports-loader","_rev":"11-9e3fb6c6932278fffede26796fea95d2","name":"restrict-imports-loader","dist-tags":{"latest":"3.2.6"},"versions":{"1.0.0":{"name":"restrict-imports-loader","version":"1.0.0","description":"A Webpack loader to restrict imports in ES and TypeScript","keywords":["loader","import","package","module","restrict","forbidden","TypeScript","ES6","webpack"],"author":{"name":"Simon Alling","email":"alling.simon@gmail.com","url":"https://simonalling.se"},"license":"MIT","homepage":"https://github.com/simonalling/restrict-imports-loader","repository":{"type":"git","url":"git+https://github.com/simonalling/restrict-imports-loader.git"},"bugs":{"url":"https://github.com/simonalling/restrict-imports-loader"},"main":"dist/index","scripts":{"build-cjs":"npm run clean && npm run compile-cjs","build-esm":"npm run clean && npm run compile-esm","compile-cjs":"tsc -d --module CommonJS -p .","compile-esm":"tsc -d -p .","build":"npm run clean && npm run compile-esm && npm run rename && npm run compile-cjs","clean":"rm -rf dist/*","lint":"tslint --project .","prepublishOnly":"npm run verify && cli-confirm 'Publish?'","rename":"renamer --force --find \"/\\.js$/\" --replace \".mjs\" \"dist/**\"","test":"jest","verify":"npm run lint && npm run build && npm test && npm pack"},"sideEffects":false,"jest":{"globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.json"}},"transform":{"^.+\\.ts$":"ts-jest"},"testRegex":".+\\.test\\.ts$","moduleFileExtensions":["ts","js"]},"devDependencies":{"@types/jest":"^24.0.23","cli-confirm":"^1.0.1","jest":"^24.9.0","no-emit-webpack-plugin":"^2.0.1","renamer":"^1.1.4","ts-jest":"^24.1.0","tslint":"^5.20.1","typescript":"^3.7.2"},"dependencies":{"@types/json-schema":"^7.0.3","@types/loader-utils":"^1.1.3","@types/schema-utils":"^2.4.0","@types/webpack":"^4.39.9","awesome-typescript-loader":"^5.2.0","loader-utils":"^1.2.3","schema-utils":"^2.5.0","webpack":"^4.41.2"},"gitHead":"4c109e3105ff447dbdde3b44973b58a6f6cdb990","_id":"restrict-imports-loader@1.0.0","_npmVersion":"6.4.1","_nodeVersion":"8.15.1","_npmUser":{"name":"alling","email":"alling.simon@gmail.com"},"dist":{"integrity":"sha512-0wM/dLKXMBV1cVqNYbNZQMYsoE9q5b4ImeiD+xb5BTNyWjvO+z3K/A0pD01an6RHu/5fex+osJ0r8IDIh1Wlng==","shasum":"aa96e7103c77c33841b129d633dcc7cd1b913892","tarball":"https://registry.npmjs.org/restrict-imports-loader/-/restrict-imports-loader-1.0.0.tgz","fileCount":19,"unpackedSize":24597,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd3ZN7CRA9TVsSAnZWagAA3xEP/AtS0NOj3+2R6/5Yj9RH\nPi7TtrcfrU82J4mz+VMbeMREbjGpsOXOgsUJjMkTfcYkwaxINPGSLgu3lQeO\ndOdBUdbA6ZZk9SVw+fZOR0/DuYfapuLbL9qtylAbWs9Vor7Rky/ik3X6j5GL\n0KKLIalw9uyTSs4i77abfw5mixCRlRf8PMuAR6OnDwy1QzgyeG5F0XOIW+wT\nG5qoCurt3pgLm2LWohS6LwvR+bSNAYK1f6tSyNq51vuecYIHxLXFLDSWKX/g\n3vYuS8iRteQpBbb7f4hdI9n3jKfJfiDIIJCuttODVx4BZBrUuczz0LEAJiqB\nubzdV1wLNHB48QjrKZgDqMU5x0JoaFgi2gWqPOB6GIzjeX5sUa3mjxnFn7I/\nwqkenErAySzanQX6k09xxqh6tJahWCEK05WURVKq4rKTVeQElBB85UWG2qeX\nGSQ3OWEFY2n7c3APq09oMybvKpQ72b5lkpLny3EnPuZyoUPwAuyRccTqENNq\nmqVQIvil2aUFdGxs6C5MepVpxyhyBKMIjpjUrSSiD1HLW/GFXwBI3dQVaT+x\nmtbX26NDLXQDPAcycDEOTUZQw41axZDXV5ea8PeIjFH8ivJzUFEEjJpku0H/\nkFzgB8xadS793Dqriiti5Zrdh4lF/cklszB1UZGHTLblOZrmCsq7s3ju8E8I\nV3j9\r\n=D19f\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHn/JBPFUn6Bd587/dr/0BggXt7FE6ZdFFoiUongBHVGAiA2AdtF0dUQP4pHcl8JK/N7KKPwQzfn4uQsAXCJKbpMdg=="}]},"maintainers":[{"name":"alling","email":"alling.simon@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/restrict-imports-loader_1.0.0_1574802299085_0.401098480733199"},"_hasShrinkwrap":false},"2.0.0":{"name":"restrict-imports-loader","version":"2.0.0","description":"A Webpack loader to restrict imports in ES and TypeScript","keywords":["loader","import","package","module","restrict","forbidden","TypeScript","ES6","webpack"],"author":{"name":"Simon Alling","email":"alling.simon@gmail.com","url":"https://simonalling.se"},"license":"MIT","homepage":"https://github.com/simonalling/restrict-imports-loader","repository":{"type":"git","url":"git+https://github.com/simonalling/restrict-imports-loader.git"},"bugs":{"url":"https://github.com/simonalling/restrict-imports-loader"},"main":"dist/index","scripts":{"build-cjs":"npm run clean && npm run compile-cjs","build-esm":"npm run clean && npm run compile-esm","compile-cjs":"tsc -d --module CommonJS -p .","compile-esm":"tsc -d -p .","build":"npm run clean && npm run compile-esm && npm run rename && npm run compile-cjs","clean":"rm -rf dist/*","lint":"tslint --project .","prepublishOnly":"npm run verify && cli-confirm 'Publish?'","rename":"renamer --force --find \"/\\.js$/\" --replace \".mjs\" \"dist/**\"","jest":"jest","test":"npm run lint && npm run jest","verify":"repository-check-dirty && npm run build && npm test && npm pack"},"sideEffects":false,"jest":{"globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.json"}},"transform":{"^.+\\.ts$":"ts-jest"},"testRegex":".+\\.test\\.ts$","moduleFileExtensions":["ts","js"]},"devDependencies":{"@types/jest":"^24.0.23","@types/webpack":"^4.39.9","awesome-typescript-loader":"^5.2.0","cli-confirm":"^1.0.1","jest":"^24.9.0","no-emit-webpack-plugin":"^2.0.1","renamer":"^1.1.4","repository-check-dirty":"^1.0.2","ts-jest":"^24.1.0","tslint":"^5.20.1","typescript":"^3.7.2","webpack":"^4.41.2"},"dependencies":{"@types/json-schema":"^7.0.3","@types/loader-utils":"^1.1.3","@types/schema-utils":"^2.4.0","loader-utils":"^1.2.3","schema-utils":"^2.5.0"},"gitHead":"32671c5f64e1a980a1431204e6ad350545ffdee1","_id":"restrict-imports-loader@2.0.0","_npmVersion":"6.4.1","_nodeVersion":"8.15.1","_npmUser":{"name":"alling","email":"alling.simon@gmail.com"},"dist":{"integrity":"sha512-u71n9mdcH9/Hvi49WEAlH5RZQ+ZdoZN3uCk9GB2P7RDf/bzrO19QYPQiUAicqc+C9HhbIk57yRIITF191y+oqA==","shasum":"69249136c5559406d7283cd5a5422b65461fb6f6","tarball":"https://registry.npmjs.org/restrict-imports-loader/-/restrict-imports-loader-2.0.0.tgz","fileCount":23,"unpackedSize":28625,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd49xPCRA9TVsSAnZWagAA20oQAIlSQmRMtBU3LPhA2B+W\nvurCoaHFsQ4lyByP/b8hMMC7TYYGPMb6GdIbr8miSoCwqBWsunFpR0dFVC79\nKMo17X6FeaPjPa5xdDrJSb450tSuWZFw/MVhlQx5gd6odB8dY3dfsKySnIMm\ny99F3e3/kumQt1UEBgB23QPnB6VcHvSOXAmJuMZ9w+KTdZXOR0zphXTJnZ4q\n7YXJrJfnROazbeoNuAsyz96gnhwf3fSkotMgKIol1mZoIowaEHROBvE/gL/J\nCkQq/KXEaVrBr/rQSEDiqHN0+SSDuy/uETGU8m7KzYWwvZuID+bvQ53zcysq\nvAfzSAePl+/EHavd5m4vMoolFxduZbZuPiycH7TLeRW+ZsGD//YGrEwhqfwt\nH5Lj3CCF10i+gJm9LjQfh23HQB+pKIrFKOKqUKYTelJVIZF5PX30TsAWlGG4\nQX0aHspF9vB1kiY6+kQ0dP9TOgje6BvlwnOnxx4Axs4tuCf6usaPeo0lhb2w\nY0XRHhzGe25f6cx5o9HsyNvLI/KfZ4mAwvEyIW73EwasKYQjQDDoTRm7dhKV\njtjHzsXFWbSRqqjMlFsXs5/fdcZFmHhP6JycU1fbsoXjiDG5FunHwBHsGN8C\nZ4aG5+JUCkWpRGn7934j8NhAKjDFCWDPcAqIBogDf0KA6HOEMRbPTgkJE7q/\nrJzG\r\n=ki+x\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEFbP2bS93WT33zBwm+v57frN1irHWxfoC4IOZA9V+D8AiBGHNFkuPqW2k+SFj0GHLBIhN+Ap9IysjL6LhbaPDIfig=="}]},"maintainers":[{"name":"alling","email":"alling.simon@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/restrict-imports-loader_2.0.0_1575214159224_0.48124504415358804"},"_hasShrinkwrap":false},"3.0.0":{"name":"restrict-imports-loader","version":"3.0.0","description":"A Webpack loader to restrict imports in ES and TypeScript","keywords":["loader","import","package","module","restrict","forbidden","TypeScript","ES6","webpack"],"author":{"name":"Simon Alling","email":"alling.simon@gmail.com","url":"https://simonalling.se"},"license":"MIT","homepage":"https://github.com/simonalling/restrict-imports-loader","repository":{"type":"git","url":"git+https://github.com/simonalling/restrict-imports-loader.git"},"bugs":{"url":"https://github.com/simonalling/restrict-imports-loader"},"main":"dist/index","scripts":{"build-cjs":"npm run clean && npm run compile-cjs","build-esm":"npm run clean && npm run compile-esm","compile-cjs":"tsc -d --module CommonJS -p .","compile-esm":"tsc -d -p .","build":"npm run clean && npm run compile-esm && npm run rename && npm run compile-cjs","clean":"rm -rf dist/*","lint":"tslint --project .","prepublishOnly":"npm run verify && cli-confirm 'Publish?'","rename":"renamer --force --find \"/\\.js$/\" --replace \".mjs\" \"dist/**\"","test":"jest","test-clean":"jest --no-cache","verify":"repository-check-dirty && npm run build && npm run lint && npm run test-clean && npm pack"},"sideEffects":false,"jest":{"globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.json"}},"transform":{"^.+\\.ts$":"ts-jest"},"testRegex":".+\\.test\\.ts$","moduleFileExtensions":["ts","js"]},"devDependencies":{"@types/enhanced-resolve":"^3.0.6","@types/jest":"^24.0.23","@types/webpack":"^4.39.9","awesome-typescript-loader":"^5.2.0","cli-confirm":"^1.0.1","enhanced-resolve":"^4.1.1","jest":"^24.9.0","no-emit-webpack-plugin":"^2.0.1","renamer":"^1.1.4","repository-check-dirty":"^1.0.2","ts-jest":"^24.1.0","tslint":"^5.20.1","typescript":"^3.7.2","webpack":"^4.41.2"},"dependencies":{"@types/json-schema":"^7.0.3","@types/loader-utils":"^1.1.3","@types/schema-utils":"^2.4.0","loader-utils":"^1.2.3","schema-utils":"^2.5.0"},"gitHead":"818e8936284d35bacf51795e3f9da6a144b18e90","_id":"restrict-imports-loader@3.0.0","_npmVersion":"6.4.1","_nodeVersion":"8.15.1","_npmUser":{"name":"alling","email":"alling.simon@gmail.com"},"dist":{"integrity":"sha512-bK+UKIxmsUd8rbcgyo9ABx8fUKcgz/Fg3dCYFv3Z126E7aX4Ir7z+vsepOdiHBstBpRtBHHVt6o+MaxXo2HgfQ==","shasum":"2ea44b284d8d43626ac24f603dedd759a5a7c0d2","tarball":"https://registry.npmjs.org/restrict-imports-loader/-/restrict-imports-loader-3.0.0.tgz","fileCount":27,"unpackedSize":39608,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd8Tc6CRA9TVsSAnZWagAAobQP/RQaMXV9RevoKEwQx6lL\n13Bx+e0/YzixsulaJE+X97PF1b+wZqlsPRXWWhfu6KjPqISx6+nfDd0O4WrM\nHDRrA7+A5c5Y1126rl4E2TPr2C8OVWDQUiA77e7YMVa2xZYw/SYp0U6C6nYN\nbAhPNvx9jLyZc+JugybZgzWciYqNtdLk6//r3l5m6Ts5ofJB23RuMNr73w0n\nkvWpcE6Hgsu1BWbz58oY+F6Mm1DeDWHLGNyua2g524oZSw7TTLnmg5GqqVbR\nhg0ERcGGRkmmNThiwKUjmDdRMJFZ4/tASsDGRaQ2XKgO/5NfSJZEIrz6QkWd\nyGgPkUkgwLHw5r8JdzdK6nZ4WUfYuCyp1yVAbltMWwTE0Y7vc9s/79RXPbSw\n6x7jUkoSReE8miqdTx0ReylufvjhXo//KWczyUm0/ne7ECuTXsV70hyfRzNx\nF/xYJHh3UroM+wuiw6BCgIzvxecd1IDEPmpZKhxOaHUBvoDmE/3sfhjMXQvA\nTkGQEAG1Ir7Yyq/LGz8HUT+CPjbJVJ9omuk1Kwe4Q4Fhxz6eKA9mF0ZBqzw2\n+LDdQt9FemRtHSmkbKNqAUpDDYpbxrvuZVXm1fCZ0ybLKgHg8XmJi9cCpL4z\n3ApPuAoJkXrUObGXtSIOK4y1tNgw8SOykzFME4kiNqshKgUOJiIpSo1tn7br\nR6e6\r\n=4hOI\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDhD4/kWoSiJaiQbjLv4CRQ29p7tR85nW0iQD13koK2WwIgQuj4tk+50xX/QoW2EsnAcC+L2pyOcOpH5EXTtmIcRbw="}]},"maintainers":[{"name":"alling","email":"alling.simon@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/restrict-imports-loader_3.0.0_1576089401266_0.8519350310946956"},"_hasShrinkwrap":false},"3.1.0":{"name":"restrict-imports-loader","version":"3.1.0","description":"A Webpack loader to restrict imports in ES and TypeScript","keywords":["loader","import","package","module","restrict","forbidden","TypeScript","ES6","webpack"],"author":{"name":"Simon Alling","email":"alling.simon@gmail.com","url":"https://simonalling.se"},"license":"MIT","homepage":"https://github.com/simonalling/restrict-imports-loader","repository":{"type":"git","url":"git+https://github.com/simonalling/restrict-imports-loader.git"},"bugs":{"url":"https://github.com/simonalling/restrict-imports-loader"},"main":"dist/index","scripts":{"build-cjs":"npm run clean && npm run compile-cjs","build-esm":"npm run clean && npm run compile-esm","compile-cjs":"tsc -d --module CommonJS -p .","compile-esm":"tsc -d -p .","build":"npm run clean && npm run compile-esm && npm run rename && npm run compile-cjs","clean":"rm -rf dist/*","lint":"tslint --project .","prepublishOnly":"npm run verify && cli-confirm 'Publish?'","rename":"renamer --force --find \"/\\.js$/\" --replace \".mjs\" \"dist/**\"","test":"jest","test-clean":"jest --no-cache","verify":"repository-check-dirty && npm run build && npm run lint && npm run test-clean && npm pack"},"sideEffects":false,"jest":{"globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.json"}},"transform":{"^.+\\.ts$":"ts-jest"},"testRegex":".+\\.test\\.ts$","moduleFileExtensions":["ts","js"]},"devDependencies":{"@types/enhanced-resolve":"^3.0.6","@types/jest":"^24.0.23","@types/webpack":"^4.39.9","awesome-typescript-loader":"^5.2.0","cli-confirm":"^1.0.1","enhanced-resolve":"^4.1.1","jest":"^24.9.0","no-emit-webpack-plugin":"^2.0.1","renamer":"^1.1.4","repository-check-dirty":"^1.0.2","ts-jest":"^24.1.0","tslint":"^5.20.1","typescript":"^3.7.2","webpack":"^4.41.2"},"dependencies":{"@types/json-schema":"^7.0.3","@types/loader-utils":"^1.1.3","@types/schema-utils":"^2.4.0","loader-utils":"^1.2.3","schema-utils":"^2.5.0"},"gitHead":"de6365632ea9639d8dab980ff0ccc48b31d2d4d3","_id":"restrict-imports-loader@3.1.0","_npmVersion":"6.4.1","_nodeVersion":"8.15.1","_npmUser":{"name":"alling","email":"alling.simon@gmail.com"},"dist":{"integrity":"sha512-hNL4aEj8oyRySmk1Shto59pwY52JJA9IE0cDAOx7kW6NbypUq01yDw6Bg19m5XIimktamKSDK3g5FCuoeCvxuQ==","shasum":"78e9e3fbdeea76ad8b576b22303c4db9c03efdcb","tarball":"https://registry.npmjs.org/restrict-imports-loader/-/restrict-imports-loader-3.1.0.tgz","fileCount":27,"unpackedSize":42797,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd9qMcCRA9TVsSAnZWagAAYLYP/jpzdPblvXN5tkt4jSJe\n7a4F0FV2FIVApzLm2wpsudAs3zx3iGLlVHV4Rtdgaiub7sEsxHKOG6wwv4Dg\nW8eVfLgzFo3krtFJERX9WYc+5GDKS+LVroGZw79nZrgh0tL/Xv1BFoYZUKdS\nvozvGemIlPBqfRIdzitCURcz44R3+Ubug3a00Z+uKaYmFvR2TMRU/t2EsWo4\nJnTEdEVAkkof+5gTZzJLk7P5dY12qfa/a/Z0F6skqzJ0U6EtJmFefpoG79e1\n50kcXi5p8A8u5qBBDAUnfypcrpnOZfhZt4nfhoUyPeFAqmHYhwdaBUCpwUjR\nAx6CTIb8bdnMKcHK9rUzvf2OfZZ0JGceAx5w2oDlGk6Xr4kNWwg/wlSnA8Aj\ngMKTSluqG5RJ97KkMt6VlDNVyFCS9gdKAltaDRiaCP5yaXubxEXA/z7IjJFo\n5nVNHy7A0115OrTsza2DAmtuVI+ap8bNksk3+cqMyVtAC87wKKt3QOSTpUcK\n56+e3F4yvPai5FN9qboyn/GCGG2n2UTdtBJyv1M5xod1j7fooOhAsZV66/sW\nJ5TArQDQRuYrSyRtnvbd3/A1u47VaWcD/pNNrFGyXdYMmu+3HNPfnm5yu1IN\noa39q2UiuOGYqi2w7whZWmvupG3APqJ1D16SJtLHTSg3cJ81YpdWA05RprAd\ncE9t\r\n=1wyu\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDVpth8MmjBF1ChmYpGOHBDUD95Q1qvh//Ti84xSOXOyQIhAPvo1iURHodo2BHqH421yS8xldFoZt3pg1dMJvUmZ1P5"}]},"maintainers":[{"name":"alling","email":"alling.simon@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/restrict-imports-loader_3.1.0_1576444700457_0.2563860330260148"},"_hasShrinkwrap":false},"3.2.0":{"name":"restrict-imports-loader","version":"3.2.0","description":"A Webpack loader to restrict imports in ES and TypeScript","keywords":["loader","import","package","module","restrict","forbidden","TypeScript","ES6","webpack"],"author":{"name":"Simon Alling","email":"alling.simon@gmail.com","url":"https://simonalling.se"},"license":"MIT","homepage":"https://github.com/simonalling/restrict-imports-loader","repository":{"type":"git","url":"git+https://github.com/simonalling/restrict-imports-loader.git"},"bugs":{"url":"https://github.com/simonalling/restrict-imports-loader"},"main":"dist/index","scripts":{"build-cjs":"npm run clean && npm run compile-cjs","build-esm":"npm run clean && npm run compile-esm","compile-cjs":"tsc -d --module CommonJS -p .","compile-esm":"tsc -d -p .","build":"npm run clean && npm run compile-esm && npm run rename && npm run compile-cjs","clean":"rm -rf dist/*","lint":"tslint --project .","prepublishOnly":"npm run verify && cli-confirm 'Publish?'","rename":"renamer --force --find \"/\\.js$/\" --replace \".mjs\" \"dist/**\"","test":"jest","test-clean":"jest --no-cache","verify":"repository-check-dirty && npm run build && npm run lint && npm run test-clean && npm pack"},"sideEffects":false,"jest":{"globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.json"}},"transform":{"^.+\\.ts$":"ts-jest"},"testRegex":".+\\.test\\.ts$","moduleFileExtensions":["ts","js"]},"devDependencies":{"@types/enhanced-resolve":"^3.0.6","@types/jest":"^24.0.23","@types/webpack":"^4.39.9","awesome-typescript-loader":"^5.2.0","cli-confirm":"^1.0.1","enhanced-resolve":"^4.1.1","jest":"^24.9.0","no-emit-webpack-plugin":"^2.0.1","renamer":"^1.1.4","repository-check-dirty":"^1.0.2","ts-jest":"^24.1.0","tslint":"^5.20.1","typescript":"^3.7.2","webpack":"^4.41.2"},"dependencies":{"@types/json-schema":"^7.0.3","@types/loader-utils":"^1.1.3","@types/schema-utils":"^2.4.0","loader-utils":"^1.2.3","schema-utils":"^2.5.0"},"gitHead":"abf0309a7c7fdc9e2797ace6e43f502e77ca8fde","_id":"restrict-imports-loader@3.2.0","_npmVersion":"6.4.1","_nodeVersion":"8.15.1","_npmUser":{"name":"alling","email":"alling.simon@gmail.com"},"dist":{"integrity":"sha512-9ocli1nw+bYyIPbrsJs9ZrMJk0xQw6G9Bh0+x4D/xE6kQYPyRA7WgpVTYSnyfDSEm1XtBd48JUJMlJ0Kur8ABQ==","shasum":"f17a821182f4912ca78c129cee63cd329408f8af","tarball":"https://registry.npmjs.org/restrict-imports-loader/-/restrict-imports-loader-3.2.0.tgz","fileCount":27,"unpackedSize":43088,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd/i52CRA9TVsSAnZWagAACtoP/0B1Hmc5xI+fPRfr7KtG\nLW/US61XY5g1ypqUw3XWvasWenUCpvXhuw7g+VRhxzmcb3bcM9dlRul2pTzm\nO9FG3KHeYJDXW+6XBioCVDp05VZho//x+f6PS+ofDTzHaiP+dRvGkm5rgrKX\nIcijWdCjgHolNOVCGKOILu9SpbNg4nXdZsDvzevTCl8CDMdGALqRJbqJcWIT\n6+7pLnrODWumLrmOImBhAvkW8++cSO85AqGuUyTHnUSnEGuoD5N2ky75loHu\nXQEkuHNUECEN/kZpLUVfX7EqOG1J0f0awr59LwDdq9PpGzNvT0gmUeDghlua\nK5PRwNSmrkBgeRjKv1sOZ9bI9j22sZXOwSPnbD0QJYMZeoPXDDo1f6TGnP0A\n5nQHcX75LG3iwExeqv/7Vud0OdIzKvANxM9JQjcYCg0cuku7W/d+5K4tGNVd\neyYp6Dp+p3of89UfskgCU4K9NYm27A+/0lzXKkQD9Ck9rv2p5Tv2Ek1h4Sci\n9UnyTWLDkzN/TrvPntIPW8rQy5AlEHk7mYj+w/niMxViSe4simVVaLSKjR8H\nuEgl6fY81G/ddMn6f2tBMS3Kmwmbts6ewoxSXt/c+FbGpRgPH4cCKp2mhnKc\nplnOMKUym1plzzg9dxldyqTuJkM98ZGa2x7pO6avEd+jSysDYiTgyDNi05og\nJtL6\r\n=+eEx\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDZowLbHh4Pv62ObJcX8tgkBKuCC7vgsqSy1N9Veev6ugIhAJPBjonUPWzFZBpQ5HdgbsT8XU9dmeulbKYWdVao09Y7"}]},"maintainers":[{"name":"alling","email":"alling.simon@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/restrict-imports-loader_3.2.0_1576939125895_0.956463138281358"},"_hasShrinkwrap":false},"3.2.1":{"name":"restrict-imports-loader","version":"3.2.1","description":"A Webpack loader to restrict imports in ES and TypeScript","keywords":["loader","import","package","module","restrict","forbidden","TypeScript","ES6","webpack"],"author":{"name":"Simon Alling","email":"alling.simon@gmail.com","url":"https://simonalling.se"},"license":"MIT","homepage":"https://github.com/simonalling/restrict-imports-loader","repository":{"type":"git","url":"git+https://github.com/simonalling/restrict-imports-loader.git"},"bugs":{"url":"https://github.com/simonalling/restrict-imports-loader"},"main":"dist/index","scripts":{"build-cjs":"npm run clean && npm run compile-cjs","build-esm":"npm run clean && npm run compile-esm","compile-cjs":"tsc -d --module CommonJS -p .","compile-esm":"tsc -d -p .","build":"npm run clean && npm run compile-esm && npm run rename && npm run compile-cjs","clean":"rm -rf dist/*","lint":"tslint --project .","prepublishOnly":"npm run verify && cli-confirm 'Publish?'","rename":"renamer --force --find \"/\\.js$/\" --replace \".mjs\" \"dist/**\"","test":"jest","test-clean":"jest --no-cache","verify":"repository-check-dirty && npm run build && npm run lint && npm run test-clean && npm pack"},"sideEffects":false,"jest":{"globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.json"}},"transform":{"^.+\\.ts$":"ts-jest"},"testRegex":".+\\.test\\.ts$","moduleFileExtensions":["ts","js"]},"devDependencies":{"@types/enhanced-resolve":"^3.0.6","@types/jest":"^24.0.23","@types/webpack":"^4.39.9","awesome-typescript-loader":"^5.2.0","cli-confirm":"^1.0.1","enhanced-resolve":"^4.1.1","jest":"^24.9.0","no-emit-webpack-plugin":"^2.0.1","renamer":"^1.1.4","repository-check-dirty":"^1.0.2","ts-jest":"^24.1.0","tslint":"^5.20.1","typescript":"^3.7.2","webpack":"^4.41.2"},"dependencies":{"@types/json-schema":"^7.0.3","@types/loader-utils":"^1.1.3","@types/schema-utils":"^2.4.0","loader-utils":"^1.2.3","schema-utils":"^2.5.0","typescript":"^3.7.2"},"gitHead":"bdbd0a9de61bacdb599212d9cdec188b1b9e0650","_id":"restrict-imports-loader@3.2.1","_npmVersion":"6.4.1","_nodeVersion":"8.15.1","_npmUser":{"name":"alling","email":"alling.simon@gmail.com"},"dist":{"integrity":"sha512-fYTgA/B2+gRmrEdxF75gPLuXkxpXOAfBZoOalSe2yvrcvSwjORYstnjQTC0M3ep9QbiBfwl2MvLnIi6dmrPnGA==","shasum":"514d934f246e9b59de46320e01351255a1791084","tarball":"https://registry.npmjs.org/restrict-imports-loader/-/restrict-imports-loader-3.2.1.tgz","fileCount":27,"unpackedSize":43116,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeB/MACRA9TVsSAnZWagAAqCMP/RWMbyzX+FupQwsuCpKG\ncqmYVe39x4muJ0e4CHya6xiiTctkJEo+wtkBvM80/rk36i3yRiK0ZQqqiPjf\nCWNKgqfkl10eCnqzrL+lfQjt6AOwRuMNdmx19P1JGPwuJmSNM4ivw8w9SC91\nVpzrigP8TY/mD+0ej4no+piRtH9iyYpFTz5KBmHP7ICVZZgqbFvpz4ihjglV\nCqPyZzn0IjVjpTvqMUhSF3nfn3UrxaQkTI5AyfGOyiNAoPsQrNKDrYyLUBVn\nqbjgrIHEow7lRYsZnE6z33W4F/5+o4bw0LkGT64RigU2XvvB6E2pMCkoETnM\n/FJkA1CcDGYdEWNc+Djz8fKeF7Q+obsBqUGQd/rRJhSGv74NuRZNEqCcSr8K\nmoagpg473EMLlvzLOpPTZfhJZUQ1BItkYh2Qx9C30LWAki4EjO4ma4f/+jb8\ngvMXtvYXaDnqw08uLIF83H0gLh4UfrO/y2Hzr8l+vEyrAezVBTBT83AWDdUo\n8C5G5crI23zHvu7rDMtjpt8lu32W+j7XtTmCKL7N7u0W0o2Ec/mn9RCahSNk\nzlt3I3AYKEMdO0EXS4VnV+oPvmWhTD65CAIvJ9woT2Na8YLqW3ze0SCfTX5q\n8NnDKfglMcuXGQPvt+2YN1GUiISWgfB3v5IEfqOiqHVVFYlZHqLlWL62osaK\nQj8c\r\n=RdQp\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEULGHMlrzey/mTuT0ISLL4FU/krfjRBss83L3WgOSGzAiBdG1/9m+1hJtyHYsZ6ERugRSU9Lf9L/10KC4rNdU83xA=="}]},"maintainers":[{"name":"alling","email":"alling.simon@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/restrict-imports-loader_3.2.1_1577579264212_0.9379998594872323"},"_hasShrinkwrap":false},"3.2.2":{"name":"restrict-imports-loader","version":"3.2.2","description":"A Webpack loader to restrict imports in ES and TypeScript","keywords":["loader","import","package","module","restrict","forbidden","TypeScript","ES6","webpack"],"author":{"name":"Simon Alling","email":"alling.simon@gmail.com","url":"https://simonalling.se"},"license":"MIT","homepage":"https://github.com/simonalling/restrict-imports-loader","repository":{"type":"git","url":"git+https://github.com/simonalling/restrict-imports-loader.git"},"bugs":{"url":"https://github.com/simonalling/restrict-imports-loader"},"main":"dist/index","scripts":{"build-cjs":"npm run clean && npm run compile-cjs","build-esm":"npm run clean && npm run compile-esm","compile-cjs":"tsc -d --module CommonJS -p .","compile-esm":"tsc -d -p .","build":"npm run clean && npm run compile-esm && npm run rename && npm run compile-cjs","clean":"rm -rf dist/*","lint":"tslint --project .","prepublishOnly":"npm run verify && cli-confirm 'Publish?'","rename":"renamer --force --find \"/\\.js$/\" --replace \".mjs\" \"dist/**\"","test":"jest","test-clean":"jest --no-cache","verify":"repository-check-dirty && npm run build && npm run lint && npm run test-clean && npm pack"},"sideEffects":false,"jest":{"globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.json"}},"transform":{"^.+\\.ts$":"ts-jest"},"testRegex":".+\\.test\\.ts$","moduleFileExtensions":["ts","js"]},"devDependencies":{"@types/enhanced-resolve":"^3.0.6","@types/jest":"^24.0.23","@types/webpack":"^4.39.9","awesome-typescript-loader":"^5.2.0","cli-confirm":"^1.0.1","enhanced-resolve":"^4.1.1","jest":"^24.9.0","no-emit-webpack-plugin":"^2.0.1","renamer":"^1.1.4","repository-check-dirty":"^1.0.2","ts-jest":"^24.1.0","tslint":"^5.20.1","typescript":"^3.7.2","webpack":"^4.41.2"},"dependencies":{"@types/json-schema":"^7.0.3","@types/loader-utils":"^1.1.3","@types/schema-utils":"^2.4.0","loader-utils":"^1.2.3","schema-utils":"^2.5.0","typescript":"^3.7.2"},"types":"./dist/index.d.ts","gitHead":"7e779c25c2b2cebfb76f93c6e121390232c9475a","_id":"restrict-imports-loader@3.2.2","_nodeVersion":"16.17.1","_npmVersion":"8.15.0","dist":{"integrity":"sha512-i/gJrOw604Qja6B0g4aqtR3SnMGVOwq/A4KczSLZTuwJck8DYXMWSZ9es3lHZRrBmuxRqtGU0W5Ta9iVkR2ZGg==","shasum":"952182c04e2bb0fb98c141c7c41207ae96e9dd6e","tarball":"https://registry.npmjs.org/restrict-imports-loader/-/restrict-imports-loader-3.2.2.tgz","fileCount":27,"unpackedSize":43116,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDmpRk+JfykWqL9XikDHXZhA1MDvC5ZVEnPsdEzIrsLtAIhAPHjPEJH7f0ouQW5e3k9Z2Krm3T2VLoJpkhQS1JVHmHH"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkPwApACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrEYxAAoZ/3kmksY79OXpbkUkB5HtR/4VcBANmZl0+YgphZn/SKGd5W\r\n+79439kaecPpzr9vbKh/cdxuL3qRsGBuzoTS5NknFYWmyQuiu67Q108O0ecp\r\niwfgvhVHZpMJIKcBfWcQtvlaiO11vv1T/b5Er6Bl+eHAXHKJw6u9Uekftvx1\r\n7McGuR0Xv8ZafFPvYPmcpeGuRC6qwb6ksYxJ3aREg//NEZIGWm6vSuAuELOd\r\nAaJJcedp9np/2+738am3zNGu/AcKLPsONwYh0By9CZbtJG5UBRUxqD+KFBp1\r\nI1QAJsP5eXvINpFX2d12qINNx7pqmPY7cQzYFa0DVviE/NStiKBwIkG380L/\r\n0BGXBDV7T1MfqpFyTr5ziiFnToQcoKW/ft7yyhtw/JYbBzP1PR8jfaLjoGnw\r\nji9eFB0jsTq6nkzEy5zdPiFtOosrqcqr3nUuiLtCjpGpA1x3COtleFE4dutH\r\n/wPDIMCzu75p0zfawwo0tjtv9VGosRVLe43figWKOK1kaUxytH510qlMySuQ\r\nFtPuNJeWItbHQVplgHLMZOPJfYLD94TlYkuABCCIe2GmcOEo1XQCK+KNDMsS\r\nH1uj7KODL+PJdQmm8DnwwjgsKOi2QE4g0SX+a/PuEQTkfk2iF/rNKssXV9im\r\nO9Xaxs//dvzrb08b8X41DqZTpWer0Z9bMd0=\r\n=vON9\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"alling","email":"alling.simon@gmail.com"},"directories":{},"maintainers":[{"name":"alling","email":"alling.simon@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/restrict-imports-loader_3.2.2_1681850408880_0.5911035411148178"},"_hasShrinkwrap":false},"3.2.3":{"name":"restrict-imports-loader","version":"3.2.3","description":"A Webpack loader to restrict imports in ES and TypeScript","keywords":["loader","import","package","module","restrict","forbidden","TypeScript","ES6","webpack"],"author":{"name":"Simon Alling","email":"alling.simon@gmail.com","url":"https://simonalling.se"},"license":"MIT","homepage":"https://github.com/simonalling/restrict-imports-loader","repository":{"type":"git","url":"git+https://github.com/simonalling/restrict-imports-loader.git"},"bugs":{"url":"https://github.com/simonalling/restrict-imports-loader"},"main":"dist/index","scripts":{"build-cjs":"npm run clean && npm run compile-cjs","build-esm":"npm run clean && npm run compile-esm","compile-cjs":"tsc -d --module CommonJS -p .","compile-esm":"tsc -d -p .","build":"npm run clean && npm run compile-esm && npm run rename && npm run compile-cjs","clean":"rm -rf dist/*","lint":"tslint --project .","prepublishOnly":"npm run verify && cli-confirm 'Publish?'","rename":"renamer --force --find \"/\\.js$/\" --replace \".mjs\" \"dist/**\"","test":"jest","test-clean":"jest --no-cache","verify":"repository-check-dirty && npm run build && npm run lint && npm run test-clean && npm pack"},"sideEffects":false,"jest":{"globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.json"}},"transform":{"^.+\\.ts$":"ts-jest"},"testRegex":".+\\.test\\.ts$","moduleFileExtensions":["ts","js"]},"devDependencies":{"@types/enhanced-resolve":"^3.0.6","@types/jest":"^24.0.23","@types/webpack":"^4.39.9","awesome-typescript-loader":"^5.2.0","cli-confirm":"^1.0.1","enhanced-resolve":"^4.1.1","jest":"^24.9.0","no-emit-webpack-plugin":"^2.0.1","renamer":"^1.1.4","repository-check-dirty":"^1.0.2","ts-jest":"^24.1.0","tslint":"^5.20.1","typescript":"^3.7.2","webpack":"^4.41.2"},"dependencies":{"@types/json-schema":"^7.0.3","@types/loader-utils":"^1.1.3","@types/schema-utils":"^2.4.0","loader-utils":"^1.2.3","schema-utils":"^2.5.0","typescript":"^3.7.2"},"gitHead":"de3743e420b6d3b30e80594e137d72c4ca46197b","_id":"restrict-imports-loader@3.2.3","_nodeVersion":"12.22.12","_npmVersion":"6.14.16","dist":{"integrity":"sha512-TU6kTL0Zqolwr+be8eeaTD5S+5DdPID0qijhpie6Wyu9nyvRVIUMLo4BoWOOq8kG7kqQEEjr2/+1uTqtcIVcuQ==","shasum":"c2c16cdbe22fa67877659b40a79f8695ce0c67d7","tarball":"https://registry.npmjs.org/restrict-imports-loader/-/restrict-imports-loader-3.2.3.tgz","fileCount":27,"unpackedSize":43116,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGkQ8U5ccr3uawipzoMCsTtkCubwj0S3QX2SEbtK/fpzAiEAtCoNwcYFunPJjrq3yYt3oOYTNh7mHXZnrm0PFQ7pruo="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkPwJMACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmrmxw//VrHXQv9p5pCqDhheOTwn6Rj96Tt3oIGuoPtEyyaNiIpr3FWN\r\nHgsnaweO/u+eg7EVe7Fbsp3k5glHOokz/zR95S89UsXjlBVH5paSayTsivMJ\r\nRZ+p4ouQhlY3uXSOGuNLMl2xt4T3/cn1sAtkV78QXd/xhM1Kjgwkz/3L4hq9\r\ngICWjJJ4gSnDJJZbvoZAIImWX5brju1H9TvUhKg3LJM3pT0rERsSlNZpy6K0\r\niZYUQG8qOZiuYK7Jb33rZBrEwXQ6iTM8dh0Wa763VMUJLiXpKSYIuFqQVbBB\r\nKsK9H7NkEN3teb7lJWu0cSY7vtC5WfbHVTynYY2OYn727W+9GK7i0NMNTh2w\r\n7bvFp1OLv0+C+RPp6vEcYbTfCRwaruQ6G5GUlx4xoWImb+H3YWYIaHfsxRIh\r\nosK5rBdLacOKksEq30Cwb9MKSHA4Zyptm7kG29DM68mlW29IV4NT8wDvgtec\r\nS/gI4w8pxhOiNGRX+dOMAGaqSosEiy4FKEWR5/JftEjDYnAzB4xMgfovfYJ/\r\nkms6J5sQnx41hWwBr3KJO94uvvY3Etgwq4hqiE1OOgrHeOlqUb9JaABE00Nv\r\nap8ydH1Lj/x+JsfDnvPRpJwbyRNyzTJcdoi/tiyM1+Ob+HhD+mFw6Wc2b6TO\r\nwrJ6IgdctwRYAVEYCpLns95YhJoeC/8T4+s=\r\n=+hmV\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"alling","email":"alling.simon@gmail.com"},"directories":{},"maintainers":[{"name":"alling","email":"alling.simon@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/restrict-imports-loader_3.2.3_1681850956073_0.042279386704136446"},"_hasShrinkwrap":false},"3.2.4":{"name":"restrict-imports-loader","version":"3.2.4","description":"A Webpack loader to restrict imports in ES and TypeScript","keywords":["loader","import","package","module","restrict","forbidden","TypeScript","ES6","webpack"],"author":{"name":"Simon Alling","email":"alling.simon@gmail.com","url":"https://simonalling.se"},"license":"MIT","homepage":"https://github.com/simonalling/restrict-imports-loader","repository":{"type":"git","url":"git+https://github.com/simonalling/restrict-imports-loader.git"},"bugs":{"url":"https://github.com/simonalling/restrict-imports-loader"},"main":"dist/index","scripts":{"build-cjs":"npm run clean && npm run compile-cjs","build-esm":"npm run clean && npm run compile-esm","compile-cjs":"tsc -d --module CommonJS -p .","compile-esm":"tsc -d -p .","build":"npm run clean && npm run compile-esm && npm run rename && npm run compile-cjs","clean":"rm -rf dist/*","lint":"tslint --project .","prepublishOnly":"npm run verify && cli-confirm 'Publish?'","rename":"renamer --force --find \"/\\.js$/\" --replace \".mjs\" \"dist/**\"","test":"jest","test-clean":"jest --no-cache","verify":"repository-check-dirty && npm run build && npm run lint && npm run test-clean && npm pack"},"sideEffects":false,"jest":{"globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.json"}},"transform":{"^.+\\.ts$":"ts-jest"},"testRegex":".+\\.test\\.ts$","moduleFileExtensions":["ts","js"]},"devDependencies":{"@types/enhanced-resolve":"^3.0.6","@types/jest":"^24.0.23","@types/webpack":"^4.39.9","awesome-typescript-loader":"^5.2.0","cli-confirm":"^1.0.1","enhanced-resolve":"^4.1.1","jest":"^24.9.0","no-emit-webpack-plugin":"^2.0.1","renamer":"^1.1.4","repository-check-dirty":"^1.0.2","ts-jest":"^24.1.0","tslint":"^5.20.1","typescript":"^3.7.2","webpack":"^4.41.2"},"dependencies":{"@types/json-schema":"^7.0.3","@types/loader-utils":"^1.1.3","@types/schema-utils":"^2.4.0","loader-utils":"^1.2.3","schema-utils":"^2.5.0","typescript":"^3.7.2"},"gitHead":"6c9224316a93a2127979cf80e5178dfc9559ed80","_id":"restrict-imports-loader@3.2.4","_nodeVersion":"12.22.12","_npmVersion":"6.14.16","dist":{"integrity":"sha512-lVh7t919aNhCK1tCjoh1eK8fzVA+xVUC++gHpb9Ti5GWd91t9kIu5K4Y0ug8WxU0Aff7NM49Nt/cN1sEr9XAwQ==","shasum":"4ed915d7ab78aa2b0d1484441972db3c9876733d","tarball":"https://registry.npmjs.org/restrict-imports-loader/-/restrict-imports-loader-3.2.4.tgz","fileCount":27,"unpackedSize":43116,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBhBvnzM/gQEMTL22S4tSPb45Qs38euGGQJ3M7SYv9izAiAW3XgUZ4bR8njw5Zb57CpVjpuggOoISxevRFMowCop/w=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkPwOpACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr8+g//bEBbyEhuY8UrNODg5vMbcVUm2wBrHhJ3wbCk7GLv4VOkn3zD\r\nNHAjV7l3vGYJVGqpF36Mnh1p34y7HeXvUXm11B1u+G+bJ4nkntrQveL84f06\r\nQBVVSKtImo4SMWL0gp/qwYOdvg8WQrWXOaiuHCSbDk28XUBKOJMtW43ksJlp\r\nhIQY4xoTxN60rH596Vwpua2XU8eJx8YX5qNOtgQ70Zs36RwSTaFBgXApH3iC\r\nWZVV90po342hy8KgY+Q6IwTcTMbq29arDzWBCcqNgP7ditKo4Frv26vc4yRQ\r\nUSBBdpyQTN9Cf25B2wzcLWKHeQ9xrYniMYZ5tFkbplAfLg9C9zbH+SEmtR4X\r\n74Shj+S+L6NYx20afLVLX7C+BtzWKgjgQl/RGHhmVbVObAs6lc5w1iuaeTzW\r\n0Vy4OPE2fCmLREvPcgLn48cvMjI1GC6kboS5EXyMLhbCczSA9tRNIZP7LcR1\r\nrRuLZFFtRPT3yYI6l9rBc6xgkupqNQXCf1ebrLhy2kv1yiw3797/scRd3qyP\r\n2P1EqK8pWU40wJIiNdiwXOUOv5muNVfXaXl9p6p//A/7aQOJCAt9+/A7h7uY\r\n6cIlQM+SruCdKg5IUrGbJVKYWAA20oyMkDHijKZqX22EyqqQSMMJz9uNkaif\r\n0+1nc0ZTLFM8+Q5eSKRxuYC2Xmdwv3a+cZg=\r\n=AEAI\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"alling","email":"alling.simon@gmail.com"},"directories":{},"maintainers":[{"name":"alling","email":"alling.simon@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/restrict-imports-loader_3.2.4_1681851305359_0.3123745424424109"},"_hasShrinkwrap":false},"3.2.5":{"name":"restrict-imports-loader","version":"3.2.5","description":"A Webpack loader to restrict imports in ES and TypeScript","keywords":["loader","import","package","module","restrict","forbidden","TypeScript","ES6","webpack"],"author":{"name":"Simon Alling","email":"alling.simon@gmail.com","url":"https://simonalling.se"},"license":"MIT","homepage":"https://github.com/simonalling/restrict-imports-loader","repository":{"type":"git","url":"git+https://github.com/simonalling/restrict-imports-loader.git"},"bugs":{"url":"https://github.com/simonalling/restrict-imports-loader"},"main":"dist/index","scripts":{"build-cjs":"npm run clean && npm run compile-cjs","build-esm":"npm run clean && npm run compile-esm","compile-cjs":"tsc -d --module CommonJS -p .","compile-esm":"tsc -d -p .","build":"npm run clean && npm run compile-esm && npm run rename && npm run compile-cjs","clean":"rm -rf dist/*","lint":"tslint --project .","prepublishOnly":"npm run verify && cli-confirm 'Publish?'","rename":"renamer --force --find \"/\\.js$/\" --replace \".mjs\" \"dist/**\"","test":"jest","test-clean":"jest --no-cache","verify":"repository-check-dirty && npm run build && npm run lint && npm run test-clean && npm pack"},"sideEffects":false,"jest":{"globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.json"}},"transform":{"^.+\\.ts$":"ts-jest"},"testRegex":".+\\.test\\.ts$","moduleFileExtensions":["ts","js"]},"devDependencies":{"@types/enhanced-resolve":"^3.0.6","@types/jest":"^24.0.23","@types/webpack":"^4.39.9","cli-confirm":"^1.0.1","enhanced-resolve":"^4.1.1","jest":"^24.9.0","no-emit-webpack-plugin":"^2.0.1","renamer":"^1.1.4","repository-check-dirty":"^1.0.2","ts-jest":"^24.1.0","ts-loader":"^8.4.0","tslint":"^5.20.1","typescript":"^3.7.2","webpack":"^4.41.2"},"dependencies":{"@types/json-schema":"^7.0.3","@types/loader-utils":"^1.1.3","loader-utils":"^1.2.3","schema-utils":"^2.5.0","typescript":"^3.7.2"},"types":"./dist/index.d.ts","gitHead":"54d148abb4894e9274332e50e20e635a36837b04","_id":"restrict-imports-loader@3.2.5","_nodeVersion":"16.18.0","_npmVersion":"8.19.2","dist":{"integrity":"sha512-donLB0ciPOb33f1exhJB2ui3z5o3M4/frjAGcR+9wkxeXZgVFlFMIj4GDyq1HLrHo1iF0DHSV0KIRhzxhFXHTg==","shasum":"458d345973ddec57195b35354755e572ebddee3c","tarball":"https://registry.npmjs.org/restrict-imports-loader/-/restrict-imports-loader-3.2.5.tgz","fileCount":27,"unpackedSize":43047,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDm5eNqr/+yUh0ifepcQlpdGi8Sac6cUT3HDKvcXX3bowIhAKn7gVsWvnxHi4qzGYT9yaqCf/fGVDc+pgfoqwJFK9PC"}]},"_npmUser":{"name":"alling","email":"alling.simon@gmail.com"},"directories":{},"maintainers":[{"name":"alling","email":"alling.simon@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/restrict-imports-loader_3.2.5_1685262369572_0.2821036402412884"},"_hasShrinkwrap":false},"3.2.6":{"name":"restrict-imports-loader","version":"3.2.6","description":"A Webpack loader to restrict imports in ES and TypeScript","keywords":["loader","import","package","module","restrict","forbidden","TypeScript","ES6","webpack"],"author":{"name":"Simon Alling","email":"alling.simon@gmail.com","url":"https://simonalling.se"},"license":"MIT","homepage":"https://github.com/simonalling/restrict-imports-loader","repository":{"type":"git","url":"git+https://github.com/simonalling/restrict-imports-loader.git"},"bugs":{"url":"https://github.com/simonalling/restrict-imports-loader"},"main":"dist/index","scripts":{"build-cjs":"npm run clean && npm run compile-cjs","build-esm":"npm run clean && npm run compile-esm","compile-cjs":"tsc -d --module CommonJS -p .","compile-esm":"tsc -d -p .","build":"npm run clean && npm run compile-esm && npm run rename && npm run compile-cjs","clean":"rm -rf dist/*","lint":"tslint --project .","prepublishOnly":"npm run verify && cli-confirm 'Publish?'","rename":"renamer --force --find \"/\\.js$/\" --replace \".mjs\" \"dist/**\"","test":"jest","test-clean":"jest --no-cache","verify":"repository-check-dirty && npm run build && npm run lint && npm run test-clean && npm pack"},"sideEffects":false,"jest":{"globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.json"}},"transform":{"^.+\\.ts$":"ts-jest"},"testRegex":".+\\.test\\.ts$","moduleFileExtensions":["ts","js"]},"devDependencies":{"@types/enhanced-resolve":"^3.0.6","@types/jest":"^24.0.23","@types/webpack":"^4.39.9","cli-confirm":"^1.0.1","enhanced-resolve":"^4.1.1","jest":"^24.9.0","no-emit-webpack-plugin":"^2.0.1","renamer":"^1.1.4","repository-check-dirty":"^1.0.2","ts-jest":"^24.1.0","ts-loader":"^8.4.0","tslint":"^5.20.1","typescript":"^3.7.2","webpack":"^4.41.2"},"dependencies":{"@types/json-schema":"^7.0.3","@types/loader-utils":"^1.1.3","loader-utils":"^1.2.3","schema-utils":"^2.5.0","typescript":"^3.7.2"},"types":"./dist/index.d.ts","gitHead":"0a8aa0d4aba10496ef8dd80b8a67bada6b656b00","_id":"restrict-imports-loader@3.2.6","_nodeVersion":"16.18.0","_npmVersion":"8.19.2","dist":{"integrity":"sha512-n7aDGBo4JaxMxjlJ8AmRO1zuzMBzWPaSP0Oo5saA6m3DIj/7Mz++JeE2TYiryFNkDWov3v5EWlYN4d16Q4UsAQ==","shasum":"a0af993d78c6d2e0d7249401530c490b8669a088","tarball":"https://registry.npmjs.org/restrict-imports-loader/-/restrict-imports-loader-3.2.6.tgz","fileCount":27,"unpackedSize":43047,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDkawUfcaX4yDQlbk3yz+MBCATx9a/GDiQ6x9yQL1ZzeAIgdL/DZtNz9FxW9/dm/hBVVNgf/32u/gLXUmY8oUqPylU="}]},"_npmUser":{"name":"alling","email":"alling.simon@gmail.com"},"directories":{},"maintainers":[{"name":"alling","email":"alling.simon@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/restrict-imports-loader_3.2.6_1685263151678_0.3697794753957011"},"_hasShrinkwrap":false}},"time":{"created":"2019-11-26T21:04:59.085Z","1.0.0":"2019-11-26T21:04:59.177Z","modified":"2023-05-28T08:39:12.004Z","2.0.0":"2019-12-01T15:29:19.322Z","3.0.0":"2019-12-11T18:36:41.399Z","3.1.0":"2019-12-15T21:18:20.614Z","3.2.0":"2019-12-21T14:38:46.062Z","3.2.1":"2019-12-29T00:27:44.443Z","3.2.2":"2023-04-18T20:40:09.074Z","3.2.3":"2023-04-18T20:49:16.237Z","3.2.4":"2023-04-18T20:55:05.638Z","3.2.5":"2023-05-28T08:26:09.742Z","3.2.6":"2023-05-28T08:39:11.898Z"},"maintainers":[{"name":"alling","email":"alling.simon@gmail.com"}],"description":"A Webpack loader to restrict imports in ES and TypeScript","homepage":"https://github.com/simonalling/restrict-imports-loader","keywords":["loader","import","package","module","restrict","forbidden","TypeScript","ES6","webpack"],"repository":{"type":"git","url":"git+https://github.com/simonalling/restrict-imports-loader.git"},"author":{"name":"Simon Alling","email":"alling.simon@gmail.com","url":"https://simonalling.se"},"bugs":{"url":"https://github.com/simonalling/restrict-imports-loader"},"license":"MIT","readme":"# restrict-imports-loader\n\nA Webpack loader to restrict imports in ES and TypeScript.\n\n## Installation\n\n```\nnpm install --save-dev restrict-imports-loader\n```\n\n## Usage\n\n**NOTE:** Only static imports are supported; see [_Limitations_](#limitations).\n\n_See also [the complete example repo](https://github.com/SimonAlling/restrict-imports-loader-example)._\n\nConfiguration example (`webpack.config.js`):\n\n```javascript\nmodule.exports = {\n  // ...\n  module: {\n    rules: [\n      {\n        test: /\\.tsx?$/,\n        include: path.resolve(__dirname, \"src\"),\n        use: [\n          {\n            loader: \"ts-loader\", // or babel-loader, etc\n          },\n          {\n            loader: \"restrict-imports-loader\",\n            options: {\n              severity: \"error\",\n              rules: [\n                {\n                  restricted: /^lodash$/,\n                },\n              ],\n            },\n          },\n        ],\n      },\n    ],\n  },\n}\n```\n\nSource code (e.g. `src/index.ts`):\n\n```typescript\nimport * as ts from \"typescript\"; // OK\nimport * as _ from \"lodash\"; // error\nimport * as fp from \"lodash/fp\"; // OK (see \"Restricting an entire package\" for more info)\n```\n\nWebpack output:\n\n```\nERROR in ./src/index.ts\nModule build failed (from ../restrict-imports-loader/dist/index.js):\nFound restricted imports:\n\n  • \"lodash\", imported on line 2:\n\n        import * as _ from \"lodash\";\n```\n\n\n### Options\n\n#### `severity`\n\nYou can control what happens if a restricted import is found by setting the `severity` option to either `\"fatal\"` (stop compilation), `\"error\"` (emit error) or `\"warning\"` (emit warning).\nThe severity level can be overridden for individual rules; see below.\n\n\n#### `rules`\n\nMust be a list in which each element has a `restricted` property with a `RegExp` or function value.\nEach rule can also override the `severity` defined for the loader.\nExample:\n\n```javascript\n{\n  loader: \"restrict-imports-loader\",\n  options: {\n    severity: \"error\",\n    rules: [\n      {\n        restricted: /^lodash$/,\n        // inherits severity: \"error\"\n        info: \"Please import submodules instead of the full lodash package.\",\n      },\n      {\n        restricted: /^typescript$/,\n        severity: \"warning\",\n        // no info specified; default is \"Found restricted imports:\"\n      },\n    ],\n  },\n},\n```\n\n##### Using a function as decider\n\nIf you provide a function as the `restricted` value, it must have the type\n\n```typescript\n(string, webpack.loader.LoaderContext) => Promise<boolean>\n```\n\nwhere the `string` parameter represents the import path in each import statement, e.g. `typescript` in `import * as ts from \"typescript\";`.\n\nThis way, you can use any algorithm you want to determine if an import should be restricted, possibly depending on the loader context.\nIn the example below (written in TypeScript), if `decider` is used as the `restricted` value, all imports from outside the project root directory are restricted.\n(The \"project root directory\" is whatever directory you've specified using [Webpack's `context` option](https://webpack.js.org/configuration/entry-context/#context), or, if not specified, the \"current working directory\" as seen from Webpack's perspective.)\n\n```typescript\nimport { LoaderDecider } from \"restrict-imports-loader\";\n\nconst decider: LoaderDecider = (importPath, loaderContext) => new Promise((resolve, reject) => {\n  loaderContext.resolve(loaderContext.context, importPath, (err, result) => {\n    if (err === null) {\n      resolve(false === result.startsWith(loaderContext.rootContext));\n    } else {\n      reject(err.message);\n    }\n  });\n});\n```\n\n\n#### `detailedErrorMessages`\n\nBy default, error messages include the faulty import statements exactly as written, as well as any extra info provided by the decider, for example:\n\n```\nFound restricted imports:\n\n  • \"typescript\", imported on line 1:\n\n        import * as _ from \"typescript\";\n\n    (resolved: node_modules/typescript/lib/typescript.js)\n```\n\nSetting `detailedErrorMessages` to `false` means that error messages will only include the import path and line number:\n\n```\nFound restricted imports:\n\n  • \"typescript\", imported on line 1\n```\n\nNote that Webpack will always show the file name (e.g. `ERROR in ./src/main.ts`).\n\n\n### Restricting an entire package\n\nIf you want to restrict an entire package, including its submodules, you can use `everythingInPackage` for convenience and readability:\n\n```javascript\nconst { everythingInPackage } = require(\"restrict-imports-loader\");\n\nmodule.exports = {\n  // ...\n  {\n    loader: \"restrict-imports-loader\",\n    options: {\n      severity: \"error\",\n      rules: [\n        {\n          restricted: everythingInPackage(\"lodash\"),\n        },\n      ],\n    },\n  },\n};\n```\n\nCode:\n\n```typescript\nimport * as ts from \"typescript\"; // OK\nimport * as ld from \"lodasher\"; // OK\nimport * as _ from \"lodash\"; // error\nimport * as fp from \"lodash/fp\"; // error\n```\n\n**Note:** `everythingInPackage` is `RegExp`-based, so it can't prevent the programmer from importing the restricted package using a relative import:\n\n```typescript\nimport * as _ from \"../node_modules/lodash\"; // OK\n```\n\nYou must [use a function as decider](#using-a-function-as-decider) if you want to prevent that.\nSee [_Blacklisting or whitelisting directories_](#blacklisting-or-whitelisting-directories) for a convenient approach.\n\n\n### Blacklisting or whitelisting directories\n\nYou can use `everythingInside` or `everythingOutside` to blacklist or whitelist, respectively, a set of **absolute** directories:\n\n```typescript\nconst { everythingOutside } = require(\"restrict-imports-loader\");\n\nmodule.exports = {\n  // ...\n  {\n    loader: \"restrict-imports-loader\",\n    options: {\n      severity: \"warning\",\n      rules: [\n        {\n          restricted: everythingOutside([\n            path.resolve(__dirname, \"node_modules\"),\n            path.resolve(__dirname, \"src\"),\n          ]),\n          info: `Imports should resolve to 'node_modules' or 'src'. These do not:`,\n        },\n      ],\n    },\n  },\n};\n```\n\n\n### Restricting excessive directory climbing\n\nYou can restrict the number of consecutive `../`s an import may contain.\n(`.././../` counts as two consecutive `../`s.)\n\n```typescript\nconst { climbingUpwardsMoreThan } = require(\"restrict-imports-loader\");\n\nmodule.exports = {\n  // ...\n  {\n    loader: \"restrict-imports-loader\",\n    options: {\n      severity: \"warning\",\n      rules: [\n        {\n          restricted: climbingUpwardsMoreThan(1),\n          info: `These imports climb the directory tree excessively:`,\n        },\n      ],\n    },\n  },\n};\n```\n\nThis example allows `\"../foo\"` but restricts `\"../../foo\"`.\n\n\n### Limitations\n\nOnly **static ES2015 (ES6) imports** are supported, for example:\n\n  * `import {} from \"typescript\";`\n  * `import * as ts from \"typescript\";`\n  * `import ts from \"typescript\";`\n  * `import \"typescript\";`\n  * `export {} from \"typescript\";`\n  * [`import ts = require(\"typescript\");`](https://github.com/microsoft/TypeScript/blob/7cf6c70d90b60e962db417d80290288eb786b5fd/doc/spec.md#1133-import-require-declarations) _(works only in TypeScript)_\n\nDynamic imports are **not supported**:\n\n  * `const ts = require(\"typescript\");`\n  * `const ts = import(\"typescript\");`\n\n\n\n## Contribute\n\n```bash\nnpm install\nnpm run verify # build, lint and test\n```\n","readmeFilename":"README.md"}