{"_id":"@chubbyts/chubbyts-cors","_rev":"9-137117770f008d8b72580ca230e01ec9","name":"@chubbyts/chubbyts-cors","dist-tags":{"latest":"1.2.1"},"versions":{"1.0.0":{"name":"@chubbyts/chubbyts-cors","version":"1.0.0","description":"A CORS middleware for @chubbyts/chubbyts-http-types.","keywords":[],"author":{"name":"Dominik Zogg"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/chubbyts/chubbyts-cors.git"},"scripts":{"cs-fix":"prettier --write src tests","cs":"prettier --check src tests","test":"jest","infection":"stryker run","build":"tsc","prepare":"rm -Rf dist && npm run build && npm run cs && npm run test"},"jest":{"preset":"ts-jest","testEnvironment":"node","collectCoverageFrom":["src/**/*.ts"],"coverageThreshold":{"global":{"lines":100}}},"prettier":{"printWidth":120,"tabWidth":2,"singleQuote":true,"trailingComma":"all"},"engines":{"node":">=14"},"dependencies":{"@chubbyts/chubbyts-http-types":"^1.0.0"},"devDependencies":{"@stryker-mutator/core":"^6.0.2","@stryker-mutator/jest-runner":"^6.0.2","@types/jest":"^27.5.1","@types/node":"^14","jest":"^28.1.0","prettier":"^2.6.2","ts-jest":"^28.0.3","typescript":"^4.7.2"},"publishConfig":{"access":"public"},"gitHead":"efcf389b920232fda1ecbd1a921fa9c7d6bcd1db","bugs":{"url":"https://github.com/chubbyts/chubbyts-cors/issues"},"homepage":"https://github.com/chubbyts/chubbyts-cors#readme","_id":"@chubbyts/chubbyts-cors@1.0.0","_nodeVersion":"16.15.0","_npmVersion":"8.5.5","dist":{"integrity":"sha512-vsFSQ4MUoBf7D3jcprI1QPxLhHBA779EUqOQvTT3FkoJjQOZyh98EmQlmxfJ0so3f85RZsOl5CY3EqZyeC1XMQ==","shasum":"4a5ceef00fb82a6da31933a36120042b51bb84c0","tarball":"https://registry.npmjs.org/@chubbyts/chubbyts-cors/-/chubbyts-cors-1.0.0.tgz","fileCount":7,"unpackedSize":13471,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAs2kuQyR1P9DtoDCSm3YQ1Gu+UrI+miyWsdAmFjdaTgAiB9srTAvh8wYUfehmVyXccZRVZaJWIFugEWfec2SN1o9A=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJizZrVACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpXNw/9EXmv7x81cO90jMREWXlAMLFmeikBnFKTl6z4y6ZI4byStbTv\r\nCG5BbAVJNzoa9y+8iUD0f2BzJAEu/hb0yFet0162rMS1a0N6jGBaQ/GW8OQf\r\nw8QaiE0RnmAf0ebJotYutrHaihN0DUDosYOAvxAYuk/RjXfkP3pKrcsfdQxt\r\nrkieOQXXZUdltoX/ozw6VxY/l+JdRuZKqTyqZ7YW1+SLZWebzfeKHXtgmbNT\r\nqGTS8FaB0LkRwSuT6g4R2soOdnsoKAziI4h1/3+Zba0e524kWlQpJ29bM34m\r\npVLmog95N+LmxEPIKbdwdERxx653PKgmSdIqAvR4qBi5aUHCGFkv2LfmoXsF\r\nH+8bM2nhWy4UUOy8TcrgBhdVWyvKxSm5EQcBPYiPBVb4Bd2vsJ4qWBDw/JSc\r\nY7FiO5X/aJI9RTZKe4njOp77rcYTaimwDFFwIpHZru7menTHRWV61E3EQI5l\r\nOQq6/qhgen9ruTETHByXnwG3x0LG+81ZTdhL7iJjwHq4t9LRLm5T12e/IFrq\r\nKVVKDDGGlfEuEnwzBQ0FzETZAgk/pIBpC98Lp+K1HepRZHqQ52aWJc67sBQl\r\nOx/jNO+MB3JyKf+J2w0NzXhf7em1FI1Tf/AJUokVKVugDnlBJzS4HnBWMcmu\r\nU0+AttBxgrcYJdL0AMx+0eC8+3+rhg+bKBs=\r\n=+yb1\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"dominikzogg","email":"dominik.zogg@hotmail.com"},"directories":{},"maintainers":[{"name":"dominikzogg","email":"dominik.zogg@hotmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/chubbyts-cors_1.0.0_1657641685737_0.004020638995209325"},"_hasShrinkwrap":false,"deprecated":"use @chubbyts/chubbyts-http-cors"},"1.0.1":{"name":"@chubbyts/chubbyts-cors","version":"1.0.1","description":"A CORS middleware for @chubbyts/chubbyts-http-types.","keywords":[],"author":{"name":"Dominik Zogg"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/chubbyts/chubbyts-cors.git"},"scripts":{"cs-fix":"prettier --write src tests","cs":"prettier --check src tests","test":"jest","infection":"stryker run","build":"tsc","prepare":"rm -Rf dist && npm run build && npm run cs && npm run test"},"jest":{"preset":"ts-jest","testEnvironment":"node","collectCoverageFrom":["src/**/*.ts"],"coverageThreshold":{"global":{"lines":100}}},"prettier":{"printWidth":120,"tabWidth":2,"singleQuote":true,"trailingComma":"all"},"engines":{"node":">=14"},"dependencies":{"@chubbyts/chubbyts-http-types":"^1.0.0"},"devDependencies":{"@stryker-mutator/core":"^6.0.2","@stryker-mutator/jest-runner":"^6.0.2","@types/jest":"^27.5.1","@types/node":"^14","jest":"^28.1.0","prettier":"^2.6.2","ts-jest":"^28.0.3","typescript":"^4.7.2"},"publishConfig":{"access":"public"},"gitHead":"35bbf3ea607be4e3f8f50a39d19bb732b6082b2a","bugs":{"url":"https://github.com/chubbyts/chubbyts-cors/issues"},"homepage":"https://github.com/chubbyts/chubbyts-cors#readme","_id":"@chubbyts/chubbyts-cors@1.0.1","_nodeVersion":"16.15.0","_npmVersion":"8.5.5","dist":{"integrity":"sha512-D1QcOkfndMQilMoPns10h7TfZYwQfsRvVNjHKpo/wl2Rks+03y7UNX6MQMoRdWmGWRiVUsZ/29How4RvqVQX0Q==","shasum":"aa9902e518e20f634d4de510e2607594d2c4673e","tarball":"https://registry.npmjs.org/@chubbyts/chubbyts-cors/-/chubbyts-cors-1.0.1.tgz","fileCount":7,"unpackedSize":13574,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFDHZ7wkEbdtBNVw0xbhPxOCgrl5WDRBIHS2pBfbI28mAiB2iMfGH1LjqJh9ljsYrXk+Ycjhbf02nHxJTJ0dz7GP3A=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJizaW4ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmog8g/8DP9Yfmy1qtnXbS/qVZ2/7Ho1trZYyMuANwrcwPItoDygffv0\r\nZLU58w9mchoz/ChJd53YjTs+5mqSiFpPRGmWHKQnoytEpOeZLBoFnrmLxAmJ\r\nHSv+RocYUg0BDowXLGW8f5NjAVLitB5Blq55oMhdOGgFuuwUSmzxfWU/qtIu\r\nuIaFoni44+iR/ezHRND0TdCI49orDlZfPRo94iQB4fa5XUop1OdN8hX8jJE6\r\nQHnEceMlIGjyWpK7tr9EZN5mSBk5v4wcajZ7lXxeN124KcjJZcwXbOZJZ5/y\r\n6EqH+IYZjdZqSW9bOvfA8zxzZM8uZjvUby+jm0kehRaaXoVGcDsWu47Zhc4F\r\nQ/fav26nX5/BUd8i8qTGWxOTDw5FS38kfPEDzTi4d95jfyTpk/tMhrv7serN\r\n2Cgr5IT5sONWtUy2l1BfHepmX1EYUYITBVuKoWUN4QCQFr5OPOjzfZ5K2KMg\r\nzozgeD/FxrSb4JNlBR3H/nt9gTyJSv2nXAgDtQDVy1tA4N1AKThbqQjXBtpz\r\nVWlsjhp/ljBiPryv0FbueTOx4Q4qShavTmVqQjvoaUKAXzazxKIQhCJ/LBH7\r\nuocQw/6GqDxFrPjYG8AYYg6ICNfkmtP/0g4P0KQIiTvmtiTNBYyYh+45JFcR\r\ncnRluGwmbjWc5hCxI9yx3Pb1Lv81F93urRk=\r\n=dhLk\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"dominikzogg","email":"dominik.zogg@hotmail.com"},"directories":{},"maintainers":[{"name":"dominikzogg","email":"dominik.zogg@hotmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/chubbyts-cors_1.0.1_1657644471992_0.25505085924647863"},"_hasShrinkwrap":false,"deprecated":"use @chubbyts/chubbyts-http-cors"},"1.0.2":{"name":"@chubbyts/chubbyts-cors","version":"1.0.2","description":"A CORS middleware for @chubbyts/chubbyts-http-types.","keywords":[],"author":{"name":"Dominik Zogg"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/chubbyts/chubbyts-cors.git"},"scripts":{"cs-fix":"prettier --write src tests","cs":"prettier --check src tests","test":"jest","infection":"stryker run","build":"tsc","prepare":"rm -Rf dist && npm run build && npm run cs && npm run test"},"jest":{"preset":"ts-jest","testEnvironment":"node","collectCoverageFrom":["src/**/*.ts"],"coverageThreshold":{"global":{"lines":100}}},"prettier":{"printWidth":120,"tabWidth":2,"singleQuote":true,"trailingComma":"all"},"engines":{"node":">=14"},"dependencies":{"@chubbyts/chubbyts-http-types":"^1.0.0"},"devDependencies":{"@stryker-mutator/core":"^6.0.2","@stryker-mutator/jest-runner":"^6.0.2","@types/jest":"^27.5.1","@types/node":"^14","jest":"^28.1.0","prettier":"^2.6.2","ts-jest":"^28.0.3","typescript":"^4.7.2"},"publishConfig":{"access":"public"},"gitHead":"bec78b30ddfb4239736181d5957c094a5e2b3495","bugs":{"url":"https://github.com/chubbyts/chubbyts-cors/issues"},"homepage":"https://github.com/chubbyts/chubbyts-cors#readme","_id":"@chubbyts/chubbyts-cors@1.0.2","_nodeVersion":"16.15.0","_npmVersion":"8.5.5","dist":{"integrity":"sha512-IZVeHAsPgBDec06pywYcC3/C0q/ThMCZXQjt921zqdjiovYleEWT/m7Q8sp9wAmO+STvp8WXbiRUxWYKzEVtPA==","shasum":"ab0e97adb815b05685a0d8d9eaf5e6906ae22bd4","tarball":"https://registry.npmjs.org/@chubbyts/chubbyts-cors/-/chubbyts-cors-1.0.2.tgz","fileCount":7,"unpackedSize":13512,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDvwIFmQUQJ/mRknX9M0w0GtFuhC46ktVoxqhMsmuciQQIhAMr+DXETwzd4rvkHBIbfm8S/H7fl6tQB7ceOlp7CoN/x"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi0HrBACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrQQBAAg2y1WufrgP39jsCVdpT97fmZPQmVzSDpzqKMxClhYWI23WuF\r\nsI24tjSd1CZvz1o5BKEfevsHn2Ie87dxm1xRT+RdDkNTU7r1N3YJGQ5DXRRV\r\ntv13fNAVEgoaBZzoI1DK4tR7JYtMxGbr6tS2kFm740gEeJF8zYwIPSDTHjcl\r\nJ/Gau4yDSn2rTiPoVjOwngboKwSkNbnA6VPEHMdsJVig+Wep1bBqDJEF9N+9\r\n4JCbmXy6PbZaoi45oEzJ37lCYW+RoaCkdC46euoILM+eBJjiX7sittMtz1bh\r\nwx9Oi1Kn/u8zUn9x9c1LqZ/+19LeoWRlxTuLI7LMXsgRsdLW6KiFVsUhOrQ7\r\niqa0o8ZRdoo06Lbiy7DupnTNZuBbawnKvfJ0iZENu9+od+YXXyfHLtLyfrLw\r\nbc+hT+6PWeBiwRLlZC1I479DnqW3h4d87qpz8OZrqcsZW9+Xb7422DWsi9C2\r\nWbNFM5iVe/db/OqAfJL5SIw5guGcGO3OWQlP0nyyiO2/3irkzrUfWtApVQQd\r\nsJ+0sssGI12ZbfTv73eqcyiyedhQp5zxZxMhAV0xHdd4r8tYYprJSliD/q6r\r\nol6u7lDpPFieQS+t8GA0Juoshejrdu/kZrAwmUs6LZjLgJkxja1WvaIc/Pt1\r\nFa09BImy6+khp6TiRzLOx5CXSjR1JosslNk=\r\n=5qsb\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"dominikzogg","email":"dominik.zogg@hotmail.com"},"directories":{},"maintainers":[{"name":"dominikzogg","email":"dominik.zogg@hotmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/chubbyts-cors_1.0.2_1657830081017_0.9986056539189803"},"_hasShrinkwrap":false,"deprecated":"use @chubbyts/chubbyts-http-cors"},"1.0.3":{"name":"@chubbyts/chubbyts-cors","version":"1.0.3","description":"A CORS middleware for @chubbyts/chubbyts-http-types.","keywords":[],"author":{"name":"Dominik Zogg"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/chubbyts/chubbyts-cors.git"},"scripts":{"cs-fix":"prettier --write src tests","cs":"prettier --check src tests","test":"jest","infection":"stryker run","build":"tsc","prepare":"rm -Rf dist && npm run build && npm run cs && npm run test"},"jest":{"preset":"ts-jest","testEnvironment":"node","collectCoverageFrom":["src/**/*.ts"],"coverageThreshold":{"global":{"lines":100}}},"prettier":{"printWidth":120,"tabWidth":2,"singleQuote":true,"trailingComma":"all"},"engines":{"node":">=14"},"dependencies":{"@chubbyts/chubbyts-http-types":"^1.0.0"},"devDependencies":{"@stryker-mutator/core":"^6.0.2","@stryker-mutator/jest-runner":"^6.0.2","@types/jest":"^27.5.1","@types/node":"^14","jest":"^28.1.0","prettier":"^2.6.2","ts-jest":"^28.0.3","typescript":"^4.7.2"},"publishConfig":{"access":"public"},"gitHead":"2037e43d57d60ed93e976a18d4f882d6bbf63ca8","bugs":{"url":"https://github.com/chubbyts/chubbyts-cors/issues"},"homepage":"https://github.com/chubbyts/chubbyts-cors#readme","_id":"@chubbyts/chubbyts-cors@1.0.3","_nodeVersion":"16.15.0","_npmVersion":"8.5.5","dist":{"integrity":"sha512-NSeW2BVwERMJ4+6GIdfSAylQ4Mq0TyNh0gg+Yci+4lb1FGlb6D/WCVQdqowJm6zBZFOGqQSPF7bnd6TUo6VsBA==","shasum":"3d10960937fc52d56581af85422d53a89b92199e","tarball":"https://registry.npmjs.org/@chubbyts/chubbyts-cors/-/chubbyts-cors-1.0.3.tgz","fileCount":7,"unpackedSize":13537,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDSduN15qTn4WqAranI1cWM5I+Pid9hf505ApzzNrhX2AiBpn2odlLymGrfFSG1khIUtTcPLIkFAw8o3JEiPizPoUA=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi0H1VACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrCyQ/9Et1fnSiWnLR+5vk/1zkrov7NqmQu7hc9Udj2iP3RLI42mRCT\r\n8xfiv/RvDAoEPBGmNOrODm/8wG65ocMcfTrGCbhUEfMQlcuGHayLaKGYRcym\r\nzzMIhzmtxsCp673n9eSJd6LkXj4sIlRFV0CCjXOdbRO2y3Y9h42g7c/w/kWW\r\nl9946Z9xplZUqeFAtpC7GuMt5PJBGi6B6H4oB9S3b09xdmK0gqG79qpWQMbw\r\nVA9rEMU9x7I4aSkkRmGYRv1DKcYI5mWufNiZBJmAWpcHKkeF39hqLrxxteJS\r\noshBI5TCZqB9eRAoONXmj3QwMoCTjg0zTGZqTQnrC/+UAg0cmCAedUq4n2FO\r\ncQA/9Ry4IaUSK7WASIUi3wo0YbUks/WgSuQob9BlzDisbVNae7Jl4u6pLbkh\r\nTCVk7Ui0OZZ321oUqFcTOHqvN/hbqsVbR1e8NoFXMn4KKTI/44tFSrco52H2\r\nzPnDwzyQB9Sh7mb0mSkw8tb0g9qpGxC/nJrdulBjQYTTrEytaAYDTTeEiKYZ\r\nB2K+C/15/IFL6cW3zva0XmMBIJ8x/kU+Ce4t+FJPINF/dGihHm3ySZOA5KnA\r\naR224sUhqwKXtSBxZXaEAWT4ADYI6bz27TtK/Oo54cLSWoKmJfszlZBnOMSZ\r\nU4HyG6PhsddlP8YX8M6ngyE+jW07aZ9F7FE=\r\n=gDxb\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"dominikzogg","email":"dominik.zogg@hotmail.com"},"directories":{},"maintainers":[{"name":"dominikzogg","email":"dominik.zogg@hotmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/chubbyts-cors_1.0.3_1657830741196_0.42645989675131357"},"_hasShrinkwrap":false,"deprecated":"use @chubbyts/chubbyts-http-cors"},"1.0.4":{"name":"@chubbyts/chubbyts-cors","version":"1.0.4","description":"A CORS middleware for @chubbyts/chubbyts-http-types.","keywords":[],"author":{"name":"Dominik Zogg"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/chubbyts/chubbyts-cors.git"},"scripts":{"cs-fix":"prettier --write src tests","cs":"prettier --check src tests","test":"jest","infection":"stryker run","build":"rm -Rf dist && tsc","prepare":"npm run build"},"jest":{"preset":"ts-jest","testEnvironment":"node","collectCoverageFrom":["src/**/*.ts"],"coverageThreshold":{"global":{"lines":100}}},"prettier":{"printWidth":120,"tabWidth":2,"singleQuote":true,"trailingComma":"all"},"engines":{"node":">=14"},"dependencies":{"@chubbyts/chubbyts-http-types":"^1.0.0"},"devDependencies":{"@stryker-mutator/core":"^6.4.1","@stryker-mutator/jest-runner":"^6.4.1","@types/jest":"^29.5.0","@types/node":"^18.15.3","jest":"^29.5.0","prettier":"^2.8.4","ts-jest":"^29.0.5","typescript":"^4.9.5"},"publishConfig":{"access":"public"},"gitHead":"3d90668c09256663c7c834debe1d3024420b81b3","bugs":{"url":"https://github.com/chubbyts/chubbyts-cors/issues"},"homepage":"https://github.com/chubbyts/chubbyts-cors#readme","_id":"@chubbyts/chubbyts-cors@1.0.4","_nodeVersion":"18.14.0","_npmVersion":"9.3.1","dist":{"integrity":"sha512-1X/uvnRddyQZ7P6rpldm3W1+mC/kRE2q5cjj3OAKTX4EMjJ9ZBgDrlDqLUPhnovC8QFVlTp09Z6vUBiHoHaOFg==","shasum":"808128931dfec9dc23d00cd3ffbaa2c56410389f","tarball":"https://registry.npmjs.org/@chubbyts/chubbyts-cors/-/chubbyts-cors-1.0.4.tgz","fileCount":7,"unpackedSize":13480,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCZgxiJ9xnN858TvDPWmA7hmCetpPMxBtAWy9276nzZcgIhAKtI6EqABgmysRPdW60IKv9J9XuHU6JrnU8H6DRb7JSE"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkFdesACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr9hg//fngMqySPrj9rcQ40jjdJYbNp2SZcqPD5TVFkfcYkkPo3tkEI\r\npR4dmz8dXNkpG8qOCbR9Gktd4UGcFp8/3aAkWV2Rx3pax0pjv/CI8ILXnVTn\r\nX2OwULy6eHWGNFnSSvyeJmK9dFw5HrkGzezU3obC3wa1++scGWQL80n6PMnx\r\nJ2P2+EO81KujtNS0i6gD87s6sILiM/J5gZDQChCT9oyu+FwfeYpw/28ysEUc\r\nCJluHU3fLOTW90jQeKPT8rV/J077GS7by6oZcYR9QL4rpGTRRKD+S/m+2Niw\r\nb/6ZNLx4wfEcnW2UIjmMFJ7PPEUe83mdh6u+v0vqAcYR5cn/zh0O+TunS8Fl\r\n8BOfZvt4KicWiZLOAAO3ho/OQ3W6i/IO6j+nqEcxiboXOcCNiDsvNUPiSpQW\r\nQ+MpK/ga2gX/pQF/xlK+EeOJy38DUJyFVX/alEqb/jgImn8fy9pxdxuXcPrb\r\n6cRG/ZyqAf0TaxV47n2QLhkhKBotzOWxlxgJiNH78BleAayjPKnkbj6ydRoc\r\nZL6GxzQqyHRzBB+FPobZGVC4On7XVr4EsjesFdyzEQf8LATI2IFSnwVVud9A\r\n2Qs79oW4nY2S3l+gWL6z8K+4ZnVq3gu163UN00OodYzmBIhW8PuLT02LApYi\r\nkUtxT6S0ahsNBVW9/OKnogq831DVGjO0wd8=\r\n=hrYJ\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"dominikzogg","email":"dominik.zogg@hotmail.com"},"directories":{},"maintainers":[{"name":"dominikzogg","email":"dominik.zogg@hotmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/chubbyts-cors_1.0.4_1679153068649_0.16851400705870634"},"_hasShrinkwrap":false,"deprecated":"use @chubbyts/chubbyts-http-cors"},"1.1.0":{"name":"@chubbyts/chubbyts-cors","version":"1.1.0","description":"A CORS middleware for @chubbyts/chubbyts-http-types.","keywords":[],"author":{"name":"Dominik Zogg"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/chubbyts/chubbyts-cors.git"},"scripts":{"cs-fix":"prettier --write src tests","cs":"prettier --check src tests","lint-fix":"eslint src tests --fix","lint":"eslint src tests","test":"jest","infection":"stryker run","build":"rm -Rf dist && tsc","prepare":"npm run build"},"jest":{"preset":"ts-jest","testEnvironment":"node","collectCoverageFrom":["src/**/*.ts"],"coverageThreshold":{"global":{"lines":100}}},"prettier":{"printWidth":120,"tabWidth":2,"singleQuote":true,"trailingComma":"all"},"engines":{"node":">=16"},"dependencies":{"@chubbyts/chubbyts-http-types":"^1.1.0"},"devDependencies":{"@chubbyts/chubbyts-eslint":"^1.1.1","@chubbyts/chubbyts-function-mock":"^1.3.3","@stryker-mutator/core":"^6.4.2","@stryker-mutator/jest-runner":"^6.4.2","@types/jest":"^29.5.1","@types/node":"^20.1.4","jest":"^29.5.0","prettier":"^2.8.8","ts-jest":"^29.1.0","typescript":"^5.0.4"},"publishConfig":{"access":"public"},"gitHead":"e808afc0094cfef4401cbe86e60a31b13e9a9cfc","bugs":{"url":"https://github.com/chubbyts/chubbyts-cors/issues"},"homepage":"https://github.com/chubbyts/chubbyts-cors#readme","_id":"@chubbyts/chubbyts-cors@1.1.0","_nodeVersion":"18.16.0","_npmVersion":"9.5.1","dist":{"integrity":"sha512-rk+HMWFLe6IAsNMpgCZMlkNsoeGeG9CkUcvTcP8EMJ71evSeiDZAiUVj17xMD3d0VFkYsp+Lg+Q3KDvx614rwQ==","shasum":"aa6e82a0dccb4d0fa647e2783da8d409828a9e9d","tarball":"https://registry.npmjs.org/@chubbyts/chubbyts-cors/-/chubbyts-cors-1.1.0.tgz","fileCount":7,"unpackedSize":13777,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBy3f08i26g25pPznMbij4ia+yqxGRo1eQI3seWAKAAHAiEAmfEz7tKNqDcfPBK07DuJQr4/sj1Va4FtCYwkmaveV20="}]},"_npmUser":{"name":"dominikzogg","email":"dominik.zogg@hotmail.com"},"directories":{},"maintainers":[{"name":"dominikzogg","email":"dominik.zogg@hotmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/chubbyts-cors_1.1.0_1684056314064_0.3390432016984648"},"_hasShrinkwrap":false,"deprecated":"use @chubbyts/chubbyts-http-cors"},"1.1.1":{"name":"@chubbyts/chubbyts-cors","version":"1.1.1","description":"A CORS middleware for @chubbyts/chubbyts-http-types.","keywords":[],"author":{"name":"Dominik Zogg"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/chubbyts/chubbyts-cors.git"},"scripts":{"cs-fix":"prettier --write src tests","cs":"prettier --check src tests","lint-fix":"eslint src tests --fix","lint":"eslint src tests","test":"jest","infection":"stryker run","build":"rm -Rf dist && tsc","prepare":"npm run build"},"jest":{"preset":"ts-jest","testEnvironment":"node","collectCoverageFrom":["src/**/*.ts"],"coverageThreshold":{"global":{"lines":100}}},"prettier":{"printWidth":120,"tabWidth":2,"singleQuote":true,"trailingComma":"all"},"engines":{"node":">=16"},"dependencies":{"@chubbyts/chubbyts-http-types":"^1.1.1"},"devDependencies":{"@chubbyts/chubbyts-eslint":"^1.1.2","@chubbyts/chubbyts-function-mock":"^1.3.6","@stryker-mutator/core":"^7.1.0","@stryker-mutator/jest-runner":"^7.1.0","@types/jest":"^29.5.3","@types/node":"^20.4.1","jest":"^29.6.1","prettier":"^3.0.0","ts-jest":"^29.1.1","typescript":"^5.1.6"},"publishConfig":{"access":"public"},"gitHead":"d7662b07a4af6cd5c9ac35513b5e9ca3ef1e179a","bugs":{"url":"https://github.com/chubbyts/chubbyts-cors/issues"},"homepage":"https://github.com/chubbyts/chubbyts-cors#readme","_id":"@chubbyts/chubbyts-cors@1.1.1","_nodeVersion":"18.16.1","_npmVersion":"9.7.2","dist":{"integrity":"sha512-hZTNWyfC91C/9V3+uINJZqeR/WJl3x4mcTCza81abUu3Yu60r6g9Ip/fD1Ca/eVDO+5L7GQGh7kq8SWrZpL9qA==","shasum":"627689bd8781e01fec697bf16ad2123c293a36c9","tarball":"https://registry.npmjs.org/@chubbyts/chubbyts-cors/-/chubbyts-cors-1.1.1.tgz","fileCount":7,"unpackedSize":13777,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGWYydPNIoUNCG8HnudFne4zRLop7jX0l8B+BT7Jc/2AAiEAuUQFnckUl/e1yPx/to05EgkipjSRwuL60vTYHt4Y20I="}]},"_npmUser":{"name":"dominikzogg","email":"dominik.zogg@hotmail.com"},"directories":{},"maintainers":[{"name":"dominikzogg","email":"dominik.zogg@hotmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/chubbyts-cors_1.1.1_1689191830277_0.8664895263311836"},"_hasShrinkwrap":false,"deprecated":"use @chubbyts/chubbyts-http-cors"},"1.2.0":{"name":"@chubbyts/chubbyts-cors","type":"module","version":"1.2.0","description":"A CORS middleware for @chubbyts/chubbyts-http-types.","keywords":[],"author":{"name":"Dominik Zogg"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/chubbyts/chubbyts-cors.git"},"scripts":{"build":"rm -rf ./dist && tsc -b ./tsconfig.types.json ./tsconfig.esm.json ./tsconfig.cjs.json && node ./rename-commonjs.js","cs-fix":"prettier --write src tests","cs":"prettier --check src tests","infection":"stryker run","lint-fix":"eslint src tests --fix","lint":"eslint src tests","prepare":"npm run build","test":"jest"},"jest":{"preset":"ts-jest","testEnvironment":"node","collectCoverageFrom":["src/**/*.ts"],"coverageThreshold":{"global":{"lines":100}}},"prettier":{"printWidth":120,"tabWidth":2,"singleQuote":true,"trailingComma":"all"},"exports":{"./*":{"types":"./*.d.ts","require":"./*.cjs","import":"./*.js","default":"./*.js"}},"engines":{"node":">=16"},"dependencies":{"@chubbyts/chubbyts-http-types":"^1.2.2"},"devDependencies":{"@chubbyts/chubbyts-eslint":"^2.0.2","@chubbyts/chubbyts-function-mock":"^1.4.0","@chubbyts/chubbyts-packaging":"^1.0.3","@stryker-mutator/core":"^7.1.1","@stryker-mutator/jest-runner":"^7.1.1","@types/jest":"^29.5.3","@types/node":"^20.4.5","jest":"^29.6.1","prettier":"^3.0.0","ts-jest":"^29.1.1","typescript":"^5.1.6"},"publishConfig":{"access":"public"},"gitHead":"bf7ecbcbac16ee5791d9fd2b3a7f95bf338c33f8","bugs":{"url":"https://github.com/chubbyts/chubbyts-cors/issues"},"homepage":"https://github.com/chubbyts/chubbyts-cors#readme","_id":"@chubbyts/chubbyts-cors@1.2.0","_nodeVersion":"18.16.1","_npmVersion":"9.7.2","dist":{"integrity":"sha512-c1KvkBxItTHrJ40RTnFEFhFVbgufcLTV6mIVKFXTN3o3MFG1QP7LMXJCjZI9n0qSTjkPanOD7zmwDIWKqdxEyg==","shasum":"bc2ec0a87392d3933ed39cdb51930dfd3b5ee79b","tarball":"https://registry.npmjs.org/@chubbyts/chubbyts-cors/-/chubbyts-cors-1.2.0.tgz","fileCount":9,"unpackedSize":19274,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIA3FltvQVb7B+9SJOGq5KVlE5z5jewXqbhtfP1Rv3XteAiEAtBmcSv/yDSjupFA4NLAkXEPw9Zz8fM0l5MJ2eTLfu+4="}]},"_npmUser":{"name":"dominikzogg","email":"dominik.zogg@hotmail.com"},"directories":{},"maintainers":[{"name":"dominikzogg","email":"dominik.zogg@hotmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/chubbyts-cors_1.2.0_1690317047142_0.04910636570981897"},"_hasShrinkwrap":false,"deprecated":"use @chubbyts/chubbyts-http-cors"},"1.2.1":{"name":"@chubbyts/chubbyts-cors","type":"module","version":"1.2.1","description":"A CORS middleware for @chubbyts/chubbyts-http-types.","keywords":[],"author":{"name":"Dominik Zogg"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/chubbyts/chubbyts-cors.git"},"scripts":{"build":"node ./build.js","cs-fix":"prettier --write src tests","cs":"prettier --check src tests","infection":"stryker run","lint-fix":"eslint src tests --fix","lint":"eslint src tests","prepare":"npm run build","test":"jest"},"jest":{"preset":"ts-jest","testEnvironment":"node","collectCoverageFrom":["src/**/*.ts"],"coverageThreshold":{"global":{"lines":100}}},"prettier":{"printWidth":120,"tabWidth":2,"singleQuote":true,"trailingComma":"all"},"exports":{"./*":{"types":"./*.d.ts","require":"./*.cjs","import":"./*.mjs","default":"./*.mjs"}},"engines":{"node":">=16"},"dependencies":{"@chubbyts/chubbyts-http-types":"^1.2.3"},"devDependencies":{"@chubbyts/chubbyts-eslint":"^2.0.3","@chubbyts/chubbyts-function-mock":"^1.4.1","@chubbyts/chubbyts-packaging":"^2.0.4","@stryker-mutator/core":"^7.1.1","@stryker-mutator/jest-runner":"^7.1.1","@types/jest":"^29.5.3","@types/node":"^20.4.5","jest":"^29.6.1","prettier":"^3.0.0","ts-jest":"^29.1.1","typescript":"^5.1.6"},"publishConfig":{"access":"public"},"gitHead":"20a7f8f5df33ed62bf864d5842c2ba3909833e88","bugs":{"url":"https://github.com/chubbyts/chubbyts-cors/issues"},"homepage":"https://github.com/chubbyts/chubbyts-cors#readme","_id":"@chubbyts/chubbyts-cors@1.2.1","_nodeVersion":"18.16.1","_npmVersion":"9.7.2","dist":{"integrity":"sha512-9atonmdB1lhQvB+pHajs2WIn3JWen3+WD0mtJu3iyJkT5tOLNcuCu7XX/02GO8cLgijcP43mk1ayVr0We1gaYQ==","shasum":"558c68335505b4e1353ed65e40c90d001f37d8f1","tarball":"https://registry.npmjs.org/@chubbyts/chubbyts-cors/-/chubbyts-cors-1.2.1.tgz","fileCount":9,"unpackedSize":19177,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICUiSzK8colwzv3QMS42coBp9+DifNala7PSA1LaHXktAiEA+68t2Rdo9gdgKApFISt8DscOA22FhD2a4NDyHIPxO14="}]},"_npmUser":{"name":"dominikzogg","email":"dominik.zogg@hotmail.com"},"directories":{},"maintainers":[{"name":"dominikzogg","email":"dominik.zogg@hotmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/chubbyts-cors_1.2.1_1690402517234_0.43965810192368004"},"_hasShrinkwrap":false,"deprecated":"use @chubbyts/chubbyts-http-cors"}},"time":{"created":"2022-07-12T16:01:25.673Z","1.0.0":"2022-07-12T16:01:25.957Z","modified":"2024-02-27T19:38:27.901Z","1.0.1":"2022-07-12T16:47:52.154Z","1.0.2":"2022-07-14T20:21:21.179Z","1.0.3":"2022-07-14T20:32:21.420Z","1.0.4":"2023-03-18T15:24:28.809Z","1.1.0":"2023-05-14T09:25:14.220Z","1.1.1":"2023-07-12T19:57:10.455Z","1.2.0":"2023-07-25T20:30:47.314Z","1.2.1":"2023-07-26T20:15:17.462Z"},"maintainers":[{"name":"dominikzogg","email":"dominik.zogg@hotmail.com"}],"description":"A CORS middleware for @chubbyts/chubbyts-http-types.","homepage":"https://github.com/chubbyts/chubbyts-cors#readme","keywords":[],"repository":{"type":"git","url":"git+https://github.com/chubbyts/chubbyts-cors.git"},"author":{"name":"Dominik Zogg"},"bugs":{"url":"https://github.com/chubbyts/chubbyts-cors/issues"},"license":"MIT","readme":"# chubbyts-cors\n\n[![CI](https://github.com/chubbyts/chubbyts-cors/workflows/CI/badge.svg?branch=master)](https://github.com/chubbyts/chubbyts-cors/actions?query=workflow%3ACI)\n[![Coverage Status](https://coveralls.io/repos/github/chubbyts/chubbyts-cors/badge.svg?branch=master)](https://coveralls.io/github/chubbyts/chubbyts-cors?branch=master)\n[![Infection MSI](https://badge.stryker-mutator.io/github.com/chubbyts/chubbyts-cors/master)](https://dashboard.stryker-mutator.io/reports/github.com/chubbyts/chubbyts-cors/master)\n[![npm-version](https://img.shields.io/npm/v/@chubbyts/chubbyts-cors.svg)](https://www.npmjs.com/package/@chubbyts/chubbyts-cors)\n\n[![bugs](https://sonarcloud.io/api/project_badges/measure?project=chubbyts_chubbyts-cors&metric=bugs)](https://sonarcloud.io/dashboard?id=chubbyts_chubbyts-cors)\n[![code_smells](https://sonarcloud.io/api/project_badges/measure?project=chubbyts_chubbyts-cors&metric=code_smells)](https://sonarcloud.io/dashboard?id=chubbyts_chubbyts-cors)\n[![coverage](https://sonarcloud.io/api/project_badges/measure?project=chubbyts_chubbyts-cors&metric=coverage)](https://sonarcloud.io/dashboard?id=chubbyts_chubbyts-cors)\n[![duplicated_lines_density](https://sonarcloud.io/api/project_badges/measure?project=chubbyts_chubbyts-cors&metric=duplicated_lines_density)](https://sonarcloud.io/dashboard?id=chubbyts_chubbyts-cors)\n[![ncloc](https://sonarcloud.io/api/project_badges/measure?project=chubbyts_chubbyts-cors&metric=ncloc)](https://sonarcloud.io/dashboard?id=chubbyts_chubbyts-cors)\n[![sqale_rating](https://sonarcloud.io/api/project_badges/measure?project=chubbyts_chubbyts-cors&metric=sqale_rating)](https://sonarcloud.io/dashboard?id=chubbyts_chubbyts-cors)\n[![alert_status](https://sonarcloud.io/api/project_badges/measure?project=chubbyts_chubbyts-cors&metric=alert_status)](https://sonarcloud.io/dashboard?id=chubbyts_chubbyts-cors)\n[![reliability_rating](https://sonarcloud.io/api/project_badges/measure?project=chubbyts_chubbyts-cors&metric=reliability_rating)](https://sonarcloud.io/dashboard?id=chubbyts_chubbyts-cors)\n[![security_rating](https://sonarcloud.io/api/project_badges/measure?project=chubbyts_chubbyts-cors&metric=security_rating)](https://sonarcloud.io/dashboard?id=chubbyts_chubbyts-cors)\n[![sqale_index](https://sonarcloud.io/api/project_badges/measure?project=chubbyts_chubbyts-cors&metric=sqale_index)](https://sonarcloud.io/dashboard?id=chubbyts_chubbyts-cors)\n[![vulnerabilities](https://sonarcloud.io/api/project_badges/measure?project=chubbyts_chubbyts-cors&metric=vulnerabilities)](https://sonarcloud.io/dashboard?id=chubbyts_chubbyts-cors)\n\n## Description\n\nA CORS middleware for @chubbyts/chubbyts-http-types.\n\n*Apply toLowerCase() to each related request header name before pass the request to this middleware.*\n\n## Requirements\n\n * node: 16\n * [@chubbyts/chubbyts-http-types][2]: ^1.2.3\n\n## Installation\n\nThrough [NPM](https://www.npmjs.com) as [@chubbyts/chubbyts-cors][1].\n\n```ts\nnpm i @chubbyts/chubbyts-cors@^1.2.1\n```\n\n## Usage\n\n```ts\nimport { createCorsMiddleware } from '@chubbyts/chubbyts-cors/dist/middleware';\nimport {\n  createAllowOriginRegex,\n  createHeadersNegotiator,\n  createMethodNegotiator,\n  createOriginNegotiator,\n} from '@chubbyts/chubbyts-cors/dist/negotiation';\nimport { createResponseFactory } from '@chubbyts/chubbyts-http/dist/message-factory';\nimport { Method } from '@chubbyts/chubbyts-http-types/dist/message';\n\nconst corsMiddleware = createCorsMiddleware(\n  createResponseFactory(),\n  createOriginNegotiator([createAllowOriginRegex(/^https?\\:\\/\\/localhost(\\:\\d+)?$/)]),\n  createMethodNegotiator([Method.GET, Method.POST, Method.PUT, Method.DELETE]),\n  createHeadersNegotiator(['Content-Type', 'Accept']),\n);\n\n(async () => {\n  const response = await corsMiddleware(request, handler);\n})();\n```\n\n## Copyright\n\n2023 Dominik Zogg\n\n[1]: https://www.npmjs.com/package/@chubbyts/chubbyts-cors\n[2]: https://www.npmjs.com/package/@chubbyts/chubbyts-http-types\n","readmeFilename":"README.md"}