{"_id":"inject-stylesheet","_rev":"16-e1be9ca16d4a6e835d43af0c49b1c365","name":"inject-stylesheet","dist-tags":{"latest":"7.1.0"},"versions":{"1.0.0":{"name":"inject-stylesheet","version":"1.0.0","author":{"name":"Braintree","email":"code@getbraintree.com"},"license":"MIT","_id":"inject-stylesheet@1.0.0","maintainers":[{"name":"braintree","email":"devs@getbraintree.com"}],"homepage":"https://github.com/braintree/inject-stylesheet#readme","bugs":{"url":"https://github.com/braintree/inject-stylesheet/issues"},"dist":{"shasum":"f673047458ee58f109fee4cfb66b09f362ccc261","tarball":"https://registry.npmjs.org/inject-stylesheet/-/inject-stylesheet-1.0.0.tgz","integrity":"sha512-Fs66MaQNHQTFO+PkuOSXlxPS+MMD+UOhTdiGtevn3/GLWyxtgkmPJIWLYdOpXEaA89QxYNyKViuU5IMNVqh21A==","signatures":[{"sig":"MEYCIQDq+YcpaygatVf+0bnncDUy+X5kWn/zdl843sWKbfqQSgIhAOcpdcoKE3s+onK/r1ev7/nvGRB8ApqfrUQCOKKhTKOl","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"f673047458ee58f109fee4cfb66b09f362ccc261","gitHead":"a97224d2f5fb8b18b353befa3bda28759b3f2f27","scripts":{"lint":"eslint .","test":"npm run lint && karma start config/karma.js --single-run"},"_npmUser":{"name":"braintree","email":"devs@getbraintree.com"},"repository":{"url":"git+https://github.com/braintree/inject-stylesheet.git","type":"git"},"_npmVersion":"2.15.1","description":"Create a <style> element with CSS properties, filtering input using a whitelist or blacklist","directories":{},"_nodeVersion":"4.4.4","devDependencies":{"chai":"3.4.1","karma":"0.13.19","mocha":"2.3.4","sinon":"1.17.2","eslint":"2.7.0","browserify":"12.0.1","sinon-chai":"2.8.0","karma-mocha":"0.2.1","karma-browserify":"4.4.2","karma-chai-sinon":"0.1.5","phantomjs-prebuilt":"2.1.7","eslint-config-braintree":"1.0.0","karma-phantomjs-launcher":"1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/inject-stylesheet-1.0.0.tgz_1463165374947_0.857791657326743","host":"packages-12-west.internal.npmjs.com"}},"2.0.0":{"name":"inject-stylesheet","version":"2.0.0","author":{"name":"Braintree","email":"code@getbraintree.com"},"license":"MIT","_id":"inject-stylesheet@2.0.0","maintainers":[{"name":"braintree","email":"devs@getbraintree.com"}],"homepage":"https://github.com/braintree/inject-stylesheet#readme","bugs":{"url":"https://github.com/braintree/inject-stylesheet/issues"},"dist":{"shasum":"5153437cbb30c55a203613a6f079a94089b6c361","tarball":"https://registry.npmjs.org/inject-stylesheet/-/inject-stylesheet-2.0.0.tgz","fileCount":10,"integrity":"sha512-XiItpXWDXRrH1VhG5AnHghuZdpDp6UeugiOKBr3RGmANucucHwKuT0BPSB0zpDqiX3P+rhhJFip1rxOI18+/Tw==","signatures":[{"sig":"MEQCIHhQsEcz8jfICbD3TLZQrlRBEJOEvyFsZtfX95u/R02CAiANA5n8oaNP/havCIDvTfGi/YT6Pp/eH6J0FLsMai+x8w==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8719,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc5G5FCRA9TVsSAnZWagAA2MgP/3v8IziHnA13XvC+7zb4\n9fXfwE7TuR+mWPiAeLoeKmU4KmsBhMgnncXlgvcOXmXcKJa8yzBLkbWHmC+y\nNSQY4GoA3ERWTJbn42kPYe/CDi0MoFpTcz/Skty1Hpd7081mGETrlD4LN8Xb\n5wMrZjBZPTLjSygj4WOXNmLMYdQK3slh5qvylNwL9obMSo9AT7b0xf2CuljA\nmqYfOnBftCX4nPCxM5WvLcKo0hFdu/YOS5Pb2dWamhtdVp3MQ7y+6fv9Ajlv\n0T+Iej3xnqFNu6NlI3vfLyE41WOTS/RNNsc44N8s7+D8qgaEWRWAtUZQEA0R\nSobK3G7WYPj4X8lK3sn5Cf3rDn2uwLt2UuBsSqhyHyhZSgYeQiu9RKPZEMsx\nX8PBcd/TD6fi1HaLRnK+gsz8O9Bq1rTon6eYVyWpxZe0hV6QAI/byKdeA65Z\nQQOcLJFZVNeOyyXWVL4I1zMdht6HoC1arnjXV5UCKgaGINczvj2eNhYL7eBp\n2W0xHkfhz/b2ror8BstMHsGOrUsXTese3rdYgiAmwy2ZcoH+P2H8YR/vnzT6\nFYRX4/46jOij0qD5TLFsHl/Pn0WlOC2Ay6DcmGbXHx2hGjXfLK7XuyDcfpEe\n8EkePMP/UKamslY9kwuRdzJ+jt4KvPZcBhUkxTpT54IvEylGI6ON1KehU66+\nK7UM\r\n=aHdH\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"6a699ceb02bdde906c9c76bdea32227b64fbb615","scripts":{"lint":"eslint .","test":"npm run lint && karma start config/karma.js --single-run"},"_npmUser":{"name":"braintree","email":"devs+npm@getbraintree.com"},"repository":{"url":"git+https://github.com/braintree/inject-stylesheet.git","type":"git"},"_npmVersion":"6.4.1","description":"Create a style element with CSS properties, filtering input using a allowlist or blocklist","directories":{},"_nodeVersion":"10.13.0","_hasShrinkwrap":false,"devDependencies":{"chai":"^4.2.0","karma":"^4.1.0","mocha":"^6.1.4","sinon":"^7.3.2","eslint":"^5.16.0","browserify":"^16.2.3","sinon-chai":"^3.3.0","karma-mocha":"^1.3.0","karma-browserify":"^6.0.0","karma-chai-sinon":"0.1.5","phantomjs-prebuilt":"^2.1.16","eslint-config-braintree":"^2.0.0","karma-phantomjs-launcher":"^1.0.4"},"_npmOperationalInternal":{"tmp":"tmp/inject-stylesheet_2.0.0_1558474309195_0.259729106205965","host":"s3://npm-registry-packages"}},"3.0.0":{"name":"inject-stylesheet","version":"3.0.0","author":{"name":"Braintree","email":"code@getbraintree.com"},"license":"MIT","_id":"inject-stylesheet@3.0.0","maintainers":[{"name":"braintree","email":"devs@getbraintree.com"}],"homepage":"https://github.com/braintree/inject-stylesheet#readme","bugs":{"url":"https://github.com/braintree/inject-stylesheet/issues"},"dist":{"shasum":"f006fb7b83565c90163f1d4459e961d819ab6a17","tarball":"https://registry.npmjs.org/inject-stylesheet/-/inject-stylesheet-3.0.0.tgz","fileCount":31,"integrity":"sha512-DAUy90jErk9FJRYUH5GPI8ojf9uQ9rBht6s8jDr0o4MJBElM5FnLJoNCBu3/FRqYQz/QWhua9xZiLE9t0s917A==","signatures":[{"sig":"MEUCIFiHpKn26cuPD1GxJ0QbW6bOtfK0MzUb6VNbE05CBj36AiEAhvmsxHRaSKJ2fGQipI+98206gnMHzcGTH5scakjQqdE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":23586,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfDJB6CRA9TVsSAnZWagAAeJQP/3xErxQUeR3HXWTFnyjJ\n0Q/8fz4064OhnRPlTpZA6uhh0uIoBIsR0w6bd65FoG9SEX6J/WgOFOLGbr7R\nyJPZvK7nbHM0l4qQ5qHLTfQdZLd9UOt0OGSwWLXNPPgkOG2Vy9lsguTPouhC\nt22QcoN7AOSnZXlS2kRyAAmrYntm+5PPEWjWxxwt25SmOponNEWN+hl7OMgL\ndlE1UYeN17H5r4qJTc9xCQfH65yUTCMuObUa1eAlkqZ/mQIYuGbwmR5boWCW\nqbtVaBeLY9uFtQ3JXjbCrZxZqb/P3JF36d077LlIV3+T7aCS/oOz7uwgwpSD\njrKFMnSvFswAo/fRorpD3NTDi19ApjrZ6LiwGAJgEfeBn6vFlEPl3ZSmbYBq\n5SYUtUikCzbkE71YJXAPofzSvpmErtxq52CWLVBrv1vDLe5b6GYCcMtV9K/L\n0EadjmUVu9Als9a8JcUYp1m1drCwkwFOs0ozL5haCncp6RQ9FZzkJzHwyV2I\n9eqdmZjNrE63A2AxwrIOizzoQTvmJWc35TRYMXSagn2vcc+DBcqiXah/d7u8\nrPtN/Lhz8XpoCXnU8vAeF/4GSC1NuKmTesdIXppTPrg3di1+c32w2rIZSLGd\n1EIZ7ioSfQ3+rhsbvbmthkeeXlK0x0T4gY5nprFI3SI7XEpaNYSylk8arEjo\ncd/6\r\n=4UML\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"src/__tests__/tsconfig.json"}}},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"d78fabe5148b6b948a7f0c53d3ae5df3b5e3f11e","scripts":{"lint":"eslint --ext js,ts .","test":"jest","build":"tsc --declaration","posttest":"npm run lint","prebuild":"prettier --write .","prepublishOnly":"npm run build"},"_npmUser":{"name":"braintree","email":"team-sdk@getbraintree.com"},"repository":{"url":"git+https://github.com/braintree/inject-stylesheet.git","type":"git"},"_npmVersion":"6.14.5","description":"Create a style element with CSS properties, filtering input using a allowlist or blocklist","directories":{},"_nodeVersion":"12.18.2","_hasShrinkwrap":false,"devDependencies":{"jest":"^25.3.0","eslint":"^6.8.0","ts-jest":"^25.3.1","prettier":"^2.0.4","typescript":"^3.8.3","@types/jest":"^25.2.1","eslint-config-braintree":"^5.0.0-typescript-prep-rc.17"},"_npmOperationalInternal":{"tmp":"tmp/inject-stylesheet_3.0.0_1594658938115_0.024048840155395323","host":"s3://npm-registry-packages"}},"4.0.0":{"name":"inject-stylesheet","version":"4.0.0","author":{"name":"Braintree","email":"code@getbraintree.com"},"license":"MIT","_id":"inject-stylesheet@4.0.0","maintainers":[{"name":"braintree","email":"devs@getbraintree.com"}],"homepage":"https://github.com/braintree/inject-stylesheet#readme","bugs":{"url":"https://github.com/braintree/inject-stylesheet/issues"},"dist":{"shasum":"9c2080b227fe17e7f8d5c0aabc42130de4f415c0","tarball":"https://registry.npmjs.org/inject-stylesheet/-/inject-stylesheet-4.0.0.tgz","fileCount":31,"integrity":"sha512-EULSmN+gdAMR4w9kk57HJ1Lz6Xp+9OGgTbxpNV2QSncG+LWlihH1d/Clm8ui6b+LAqmIVcrtWfwDrMEgDiUpjg==","signatures":[{"sig":"MEQCIBNClwZiknWy0ecUGIdA4BXtVRK6M4lHwCiLFAZf2pt2AiAexr5aP84guWDCLjKiEGrHX2ldKLMngmJFK1ENJ9YA2A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":25443,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfKx5LCRA9TVsSAnZWagAABAgP/1gRM9ejiqzY/Hh2PIek\nMd233aW7XXSX23a1byLydUPGpTDuAw5+cop6VmURtveYmfEUwjVKldzzy5PR\ngGEXUbtNyJt44L62uiGTGGfLS2TCNbjABGgdR2iDhoSypreO+ERYQIKHWJQc\nF4V5NUfSTkQMnFM8IKXrRqu94k3m55g6aWaaZ9Oaeua1J8XIYdv7AeD7vEYl\nHigV/BS0xEm8pZgfv2Gm5o17xMqxSDHk8qQ1uNrtWl6gJACFJVguKT2Oulmz\nJhrjY7RoiaWk4xv/xC0SQze38zBs0e8eI5JFeC8I4IqB2APFpL7bfqT77JJf\nYwW5ASotAiH7LeoRK9lZOzsIrSgfN1RCbYPUl2W3KdLY4MWa9WZ1ynesTe+J\n/FxjNJG+6goWyS4Rzlg/BafkUMFYqUnZBvZMbjbWGVRGPRyJyyq0oAbakB15\nSLSHY2xo217GgSh5ezKxJ1zMiJaidrEesYMzJML9cXKhXJHvw0oTm/XTK0zu\nU+K53cUUDit87sBb1OPT7rnh9wvJfTq2yY22aWiArJs2t3Y/qPmO0T1RmTqW\nUD31JvTI9axly8jQQJNilPWIsyxPw1bJ+FHLDzibsIu/i0C7DjQ2cItUY+Tn\nUC8Uleo3wYJvee47JgkJLuCEi8//6ZxNgHqxv3ta2O81qEiPGUTE9gluUQo6\nScSB\r\n=hd/z\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"src/__tests__/tsconfig.json"}}},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"e9b601e91c24bfddaf28df9ff79aa15113dd9512","scripts":{"lint":"eslint --ext js,ts .","test":"jest","build":"tsc --declaration","posttest":"npm run lint","prebuild":"prettier --write .","prepublishOnly":"npm run build"},"_npmUser":{"name":"braintree","email":"team-sdk@getbraintree.com"},"repository":{"url":"git+https://github.com/braintree/inject-stylesheet.git","type":"git"},"_npmVersion":"6.14.5","description":"Create a style element with CSS properties, filtering input using a allowlist or blocklist","directories":{},"_nodeVersion":"12.18.2","_hasShrinkwrap":false,"devDependencies":{"jest":"^26.1.0","eslint":"^7.4.0","ts-jest":"^26.1.3","prettier":"^2.0.5","typescript":"^3.9.7","@types/jest":"^26.0.4","eslint-config-braintree":"^5.0.0-typescript-prep-rc.17"},"_npmOperationalInternal":{"tmp":"tmp/inject-stylesheet_4.0.0_1596661323536_0.14851398596109866","host":"s3://npm-registry-packages"}},"5.0.0":{"name":"inject-stylesheet","version":"5.0.0","author":{"name":"Braintree","email":"code@getbraintree.com"},"license":"MIT","_id":"inject-stylesheet@5.0.0","maintainers":[{"name":"braintree","email":"team-bt-sdk@paypal.com"}],"homepage":"https://github.com/braintree/inject-stylesheet#readme","bugs":{"url":"https://github.com/braintree/inject-stylesheet/issues"},"dist":{"shasum":"bb34acf05ca6ed86e5763d886cd6c9b19f360ab1","tarball":"https://registry.npmjs.org/inject-stylesheet/-/inject-stylesheet-5.0.0.tgz","fileCount":33,"integrity":"sha512-GzncrJP8E/pavMQzoO93CXoYCfTttwVm2cX2TyXJdgtVE0cCvWSFCn1/uMsM6ZkEg7LUsOcKuamcLiGWlv2p9A==","signatures":[{"sig":"MEQCIEPHzzZnuN5CkRXLbMnmQg+SiNVrjOYLgCzl+jp2AK+AAiBHj4MgwCABZsrxWqDtf7w6zqT6NNa/hR50eiS4vL2E7A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":27966,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh2vyWCRA9TVsSAnZWagAAE10P/2ogrMq5dnKbm+E+ArVG\nmyz5JDu7rRSSfJnygHmvYFBDxcCBtxR26fK1wdWzatnv1baSZxiG6eskHkxN\ncKHcPAqDRWyVtvyoH4EdoHh7M6AinkRcL/AHky3e8euYlEesT5WWQklTpXQw\njEEr3xgdwHpHyM59hCdk146M5RnJ8MP5aripJYtg6804SLXt6e4BtAWfN99e\ntCdnOylMQm4T2nFiKqoQacQ9Zv2vhZRVOf1VBoMe1XpV2OKjOknDYtIRJbGu\npgwhQiaLSCPXxH9Re0Y7lxYvigBj/wkF27WF/N0n9YXIIdbbKy8y2z6HcFnK\nXWQxE3Y+YxenAwQFK/m5AgwsyER2Wg4K+EN6OT3/KL0WKEwAyW8iW6V69pjS\noQvtq8+MpNk1gzab9e38lGdQZ5lDg31TJN+ODYAR/RJlL0ISUlz1f3tyt9lh\niZPcAu8sjhsNey1tQ7WSfEWbHdIcHFg95v8rqS1YwSkLSk28BFwNq1WvQ8nT\nK+oTbfZWJ3+1xibsBYnzaVlPTMQVurlXIUr18/nLKsNLrmifrN0NYVA0y2Pm\nZultcM6X6p5uILUGUzRrO8Gp/6nerZfm9znvhyViz+k++0CSkdg1UClHLZSG\nrWQuB51unIrEv34diFgFJd9S44qqctHWsog5w31ekqTc4rBAHWS8Vzj9e2id\nUnaJ\r\n=Ow90\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsconfig":"src/__tests__/tsconfig.json"}},"testEnvironment":"jsdom"},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"e23fe3dc8fe0d57d341676373079842631ff53ee","scripts":{"lint":"eslint --ext js,ts .","test":"jest","build":"tsc --declaration","posttest":"npm run lint","prebuild":"prettier --write .","prepublishOnly":"npm run build"},"_npmUser":{"name":"braintree","email":"team-bt-sdk@paypal.com"},"repository":{"url":"git+https://github.com/braintree/inject-stylesheet.git","type":"git"},"_npmVersion":"6.14.15","description":"Create a style element with CSS properties, filtering input using a allowlist or blocklist","directories":{},"_nodeVersion":"14.17.6","_hasShrinkwrap":false,"devDependencies":{"jest":"^27.2.1","eslint":"^7.32.0","ts-jest":"^27.0.5","prettier":"^2.4.1","typescript":"^4.4.3","@types/jest":"^27.0.2","eslint-config-braintree":"^5.0.0-typescript-prep-rc.18"},"_npmOperationalInternal":{"tmp":"tmp/inject-stylesheet_5.0.0_1632843552580_0.20030970110950852","host":"s3://npm-registry-packages"}},"6.0.0":{"name":"inject-stylesheet","version":"6.0.0","author":{"name":"Braintree","email":"code@getbraintree.com"},"license":"MIT","_id":"inject-stylesheet@6.0.0","maintainers":[{"name":"braintree","email":"sdk-package-registries@paypal.com"}],"homepage":"https://github.com/braintree/inject-stylesheet#readme","bugs":{"url":"https://github.com/braintree/inject-stylesheet/issues"},"dist":{"shasum":"54bc6afec20209264243b25ea9cbe3f7d0ad1f1f","tarball":"https://registry.npmjs.org/inject-stylesheet/-/inject-stylesheet-6.0.0.tgz","fileCount":33,"integrity":"sha512-Jif6MVcLPYqsX3jsgEekKDpNbU9+iOQrDLIcEOhKe4Xrm9uC6fYUxSXCJ4ZnfZu7il3kCjcILLfMGRnR79Cuwg==","signatures":[{"sig":"MEQCIDFH0fqNxI+fXTqluJJZsIgnrpnM+MFKYmocFtRiV25vAiBmWtoWGZxpH5VmJErdIvCAHGjs32dTdjqdcrGvbIG0xg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":28300},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsconfig":"src/__tests__/tsconfig.json"}},"testEnvironment":"jsdom"},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"42dab22b0f6357b1d83ae8805185b716ebd240b3","scripts":{"lint":"eslint --ext js,ts .","test":"jest","build":"tsc --declaration","posttest":"npm run lint","prebuild":"prettier --write .","prepublishOnly":"npm run build"},"_npmUser":{"name":"braintree","email":"sdk-package-registries@paypal.com"},"repository":{"url":"git+https://github.com/braintree/inject-stylesheet.git","type":"git"},"_npmVersion":"9.6.7","description":"Create a style element with CSS properties, filtering input using a allowlist or blocklist","directories":{},"_nodeVersion":"18.17.1","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.5.0","eslint":"^8.35.0","ts-jest":"^29.0.5","prettier":"^3.0.2","typescript":"^5.1.6","@types/jest":"^29.5.4","eslint-plugin-prettier":"^5.0.0","jest-environment-jsdom":"^29.5.0","eslint-config-braintree":"^6.0.0-typescript-prep-rc.2","@typescript-eslint/eslint-plugin":"^5.54.1"},"_npmOperationalInternal":{"tmp":"tmp/inject-stylesheet_6.0.0_1701795744116_0.9352001166674175","host":"s3://npm-registry-packages"}},"6.0.1":{"name":"inject-stylesheet","version":"6.0.1","author":{"name":"Braintree","email":"code@getbraintree.com"},"license":"MIT","_id":"inject-stylesheet@6.0.1","homepage":"https://github.com/braintree/inject-stylesheet#readme","bugs":{"url":"https://github.com/braintree/inject-stylesheet/issues"},"dist":{"shasum":"ab724474ac300684875e8980d1285cb4e99b33ae","tarball":"https://registry.npmjs.org/inject-stylesheet/-/inject-stylesheet-6.0.1.tgz","fileCount":33,"integrity":"sha512-2fvune1D4+8mvJoLVo95ncY4HrDkIaYIReRzXv8tkWFgdG9iuc5QuX57gtSDPWTWQI/f5BGwwtH85wxHouzucg==","signatures":[{"sig":"MEQCICTnxi1pI5Ke/ulWlaxnsk7JMyel77/0BptehErNG97ZAiB9OwweuGlYogy60BvWTL6qjmN6MmKg04PfMJxdux3pCQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":28336},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsconfig":"src/__tests__/tsconfig.json"}},"testEnvironment":"jsdom"},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"78a9e714c2961fb67a6dcef969f89fec7a578dea","scripts":{"lint":"eslint --ext js,ts .","test":"jest","build":"tsc --declaration","posttest":"npm run lint","prebuild":"prettier --write .","prepublishOnly":"npm run build"},"_npmUser":{"name":"braintree","email":"sdk-package-registries@paypal.com"},"repository":{"url":"git+https://github.com/braintree/inject-stylesheet.git","type":"git"},"_npmVersion":"10.7.0","description":"Create a style element with CSS properties, filtering input using a allowlist or blocklist","directories":{},"_nodeVersion":"18.20.3","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.5.0","eslint":"^8.35.0","ts-jest":"^29.0.5","prettier":"^3.0.2","typescript":"^5.1.6","@types/jest":"^29.5.4","eslint-plugin-prettier":"^5.0.0","jest-environment-jsdom":"^29.5.0","eslint-config-braintree":"^6.0.0-typescript-prep-rc.2","@typescript-eslint/eslint-plugin":"^5.54.1"},"_npmOperationalInternal":{"tmp":"tmp/inject-stylesheet_6.0.1_1719875106135_0.43768117805537776","host":"s3://npm-registry-packages"}},"6.0.2":{"name":"inject-stylesheet","version":"6.0.2","author":{"name":"Braintree","email":"code@getbraintree.com"},"license":"MIT","_id":"inject-stylesheet@6.0.2","maintainers":[{"name":"braintree","email":"sdk-package-registries@paypal.com"}],"homepage":"https://github.com/braintree/inject-stylesheet#readme","bugs":{"url":"https://github.com/braintree/inject-stylesheet/issues"},"dist":{"shasum":"afa30a3e799136f03e65dd2f9518ffbff77d66a2","tarball":"https://registry.npmjs.org/inject-stylesheet/-/inject-stylesheet-6.0.2.tgz","fileCount":33,"integrity":"sha512-sswMueya1LXEfwcy7KXPuq3zAW6HvgAeViApEhIaCviCkP4XYoKrQj8ftEmxPmIHn88X4R3xOAsnN/QCPvVKWw==","signatures":[{"sig":"MEUCIFWvD7I3X88t5P0P6CS2Bf21LkP3pvPuwqmuebybKdHyAiEArakxIMZfwcvnwfrnqzfh4B0mVmmHnKWGCG8iZqUx53k=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":28431},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsconfig":"src/__tests__/tsconfig.json"}},"testEnvironment":"jsdom"},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"1691fd650a015b73ed8244b6cba0f308cb003656","scripts":{"lint":"eslint --ext js,ts .","test":"jest","build":"tsc --declaration","posttest":"npm run lint","prebuild":"prettier --write .","prepublishOnly":"npm run build"},"_npmUser":{"name":"braintree","email":"sdk-package-registries@paypal.com"},"repository":{"url":"git+https://github.com/braintree/inject-stylesheet.git","type":"git"},"_npmVersion":"10.8.2","description":"Create a style element with CSS properties, filtering input using a allowlist or blocklist","directories":{},"_nodeVersion":"18.20.5","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.5.0","eslint":"^8.35.0","ts-jest":"^29.0.5","prettier":"^3.0.2","typescript":"^5.1.6","@types/jest":"^29.5.4","eslint-plugin-prettier":"^5.0.0","jest-environment-jsdom":"^29.5.0","eslint-config-braintree":"^6.0.0-typescript-prep-rc.2","@typescript-eslint/eslint-plugin":"^5.54.1"},"_npmOperationalInternal":{"tmp":"tmp/inject-stylesheet_6.0.2_1734729237402_0.6796447823697931","host":"s3://npm-registry-packages-npm-production"}},"7.0.0":{"name":"inject-stylesheet","version":"7.0.0","author":{"name":"Braintree","email":"code@getbraintree.com"},"license":"MIT","_id":"inject-stylesheet@7.0.0","maintainers":[{"name":"braintree","email":"sdk-package-registries@paypal.com"}],"homepage":"https://github.com/braintree/inject-stylesheet#readme","bugs":{"url":"https://github.com/braintree/inject-stylesheet/issues"},"dist":{"shasum":"4a97d0a78398d6cfb322048e9b1638e0194e7feb","tarball":"https://registry.npmjs.org/inject-stylesheet/-/inject-stylesheet-7.0.0.tgz","fileCount":36,"integrity":"sha512-PjZfvYXKKPz7Y8uDAQPbY3qGMzgB5sjU5PDvvdlkqw751iipPULS4pIBzmrWkDV9fgObgSUpxwHGTSufESoPZQ==","signatures":[{"sig":"MEUCIBlWITwwMoY/63SAe/J5PZ7206tL8jv7iRrzpWCv3025AiEAvdklCtgIWTgqTlKufdF2pJsXX0fQi1CuPt5Drrzah7E=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":31878},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsconfig":"src/__tests__/tsconfig.json"}},"testEnvironment":"jsdom"},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"c2e733c311b24438028fef1826e9ba2f392c51a4","scripts":{"lint":"eslint --ext js,ts .","test":"jest","build":"tsc --declaration","posttest":"npm run lint","prebuild":"prettier --write .","prepublishOnly":"npm run build"},"_npmUser":{"name":"braintree","email":"sdk-package-registries@paypal.com"},"repository":{"url":"git+https://github.com/braintree/inject-stylesheet.git","type":"git"},"_npmVersion":"10.8.2","description":"Create a style element with CSS properties, filtering input using a allowlist or blocklist","directories":{},"_nodeVersion":"18.20.8","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.5.0","eslint":"^8.35.0","ts-jest":"^29.0.5","prettier":"^3.0.2","typescript":"^5.1.6","@types/jest":"^29.5.4","eslint-plugin-prettier":"^5.0.0","jest-environment-jsdom":"^29.5.0","eslint-config-braintree":"^6.0.0-typescript-prep-rc.2","@typescript-eslint/eslint-plugin":"^5.54.1"},"_npmOperationalInternal":{"tmp":"tmp/inject-stylesheet_7.0.0_1765918552279_0.40568012132155795","host":"s3://npm-registry-packages-npm-production"}},"7.0.2":{"name":"inject-stylesheet","version":"7.0.2","author":{"name":"Braintree","email":"code@getbraintree.com"},"license":"MIT","_id":"inject-stylesheet@7.0.2","maintainers":[{"name":"braintree","email":"sdk-package-registries@paypal.com"}],"homepage":"https://github.com/braintree/inject-stylesheet#readme","bugs":{"url":"https://github.com/braintree/inject-stylesheet/issues"},"dist":{"shasum":"4db385edfe298a456ef67afdf899f856623497ca","tarball":"https://registry.npmjs.org/inject-stylesheet/-/inject-stylesheet-7.0.2.tgz","fileCount":36,"integrity":"sha512-nagRfplq1xLrf/e1d/WAm6V1feDjivSeWtwKJimfVL1hQADeQLuVqz8xk/fPtSkt75C5jNB2+OXkLjGDqAC9cQ==","signatures":[{"sig":"MEYCIQDleW0E259ZRK2NSxRfNE9yoFVGhG4fRyjlsfhNsAU1FgIhAOCzXKFFMAUG6zVZIasZ98kAJtPc1hxh/518pxQ/pLaW","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":31961},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsconfig":"src/__tests__/tsconfig.json"}},"testEnvironment":"jsdom"},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"f0c7bfd6ac93d100515ca29b81d4429e5b7d27c5","scripts":{"lint":"eslint --ext js,ts .","test":"jest","build":"tsc --declaration","posttest":"npm run lint","prebuild":"prettier --write .","prepublishOnly":"npm run build"},"_npmUser":{"name":"braintree","email":"sdk-package-registries@paypal.com"},"repository":{"url":"git+https://github.com/braintree/inject-stylesheet.git","type":"git"},"_npmVersion":"11.6.2","description":"Create a style element with CSS properties, filtering input using a allowlist or blocklist","directories":{},"_nodeVersion":"24.11.1","_hasShrinkwrap":false,"devDependencies":{"jest":"^30.2.0","eslint":"^8.57.1","ts-jest":"^29.4.6","prettier":"^3.7.4","typescript":"^5.9.3","@types/jest":"^30.0.0","@types/node":"^24.0.0","eslint-plugin-prettier":"^5.0.0","jest-environment-jsdom":"^29.5.0","eslint-config-braintree":"^6.0.0-typescript-prep-rc.2","@typescript-eslint/eslint-plugin":"^5.54.1"},"_npmOperationalInternal":{"tmp":"tmp/inject-stylesheet_7.0.2_1769710511491_0.8136417933034852","host":"s3://npm-registry-packages-npm-production"}},"7.1.0":{"_id":"inject-stylesheet@7.1.0","bugs":{"url":"https://github.com/braintree/inject-stylesheet/issues"},"dist":{"shasum":"34f812d5d7c21f3305800eaf4ea90e8691e0ef5e","tarball":"https://registry.npmjs.org/inject-stylesheet/-/inject-stylesheet-7.1.0.tgz","fileCount":64,"integrity":"sha512-ZlIaWtpbqdNf88dFqniEpDftLc9504obcBbflglb7LBMiZuIlmr0w6UsikyCnVNc2fzRzL2gZPJa8PW4MXIw+g==","signatures":[{"sig":"MEYCIQCkVLHspweJUPv4I+26pouWAvlPwLJ+ov1n2k8Qk9BZBQIhALkjvpTaU2TrYlQZYtXnrEuLiFtCh8HR6Fjzj8C+RwlF","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIAG4lRAZtOM0VZhBHoAGIqg2/1/B+pk8yFirwPjJOjDMAiBgKnM1jaLDM0U4dY+KACfuCUShTXnaJMBFtC5SKswKOg=="}],"unpackedSize":160939},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsconfig":"src/__tests__/tsconfig.json"}},"collectCoverage":true,"testEnvironment":"jsdom","coverageThreshold":{"global":{"lines":80,"branches":80,"functions":80,"statements":80}},"collectCoverageFrom":["src/**/*.ts","!src/__tests__/**"]},"main":"dist/index.js","name":"inject-stylesheet","types":"dist/index.d.ts","author":{"name":"Braintree","email":"code@getbraintree.com"},"config":{"commitizen":{"path":"./node_modules/cz-customizable"}},"gitHead":"ea72e9b68eeecd63d3800dd797160509b4951218","license":"MIT","scripts":{"lint":"eslint --ext js,ts .","test":"jest","build":"tsc --declaration","commit":"cz","prepare":"husky","posttest":"npm run lint","prebuild":"prettier --write .","prepublishOnly":"npm run build"},"version":"7.1.0","_npmUser":{"name":"braintree","email":"sdk-package-registries@paypal.com"},"homepage":"https://github.com/braintree/inject-stylesheet#readme","repository":{"url":"git+https://github.com/braintree/inject-stylesheet.git","type":"git"},"_npmVersion":"11.19.0","description":"Create a style element with CSS properties, filtering input using a allowlist or blocklist","directories":{},"maintainers":[{"name":"braintree","email":"sdk-package-registries@paypal.com"}],"_nodeVersion":"26.7.0","_hasShrinkwrap":false,"devDependencies":{"jest":"^30.2.0","husky":"^9.1.7","eslint":"^8.57.1","ts-jest":"^29.4.6","prettier":"^3.7.4","commitizen":"^4.3.1","typescript":"^5.9.3","@types/jest":"^30.0.0","@types/node":"^24.0.0","@commitlint/cli":"^20.5.0","cz-customizable":"^7.5.4","eslint-plugin-prettier":"^5.0.0","jest-environment-jsdom":"^29.5.0","eslint-config-braintree":"^6.0.0-typescript-prep-rc.2","@commitlint/config-conventional":"^20.5.0","@typescript-eslint/eslint-plugin":"^5.54.1"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/inject-stylesheet_7.1.0_1790629022976_0.6645065984415144"}}},"time":{"created":"2016-05-13T18:49:37.335Z","modified":"2026-09-28T20:57:03.216Z","1.0.0":"2016-05-13T18:49:37.335Z","2.0.0":"2019-05-21T21:31:49.344Z","3.0.0":"2020-07-13T16:48:58.234Z","4.0.0":"2020-08-05T21:02:03.669Z","5.0.0":"2021-09-28T15:39:12.771Z","6.0.0":"2023-12-05T17:02:24.321Z","6.0.1":"2024-07-01T23:05:06.345Z","6.0.2":"2024-12-20T21:13:57.581Z","7.0.0":"2025-12-16T20:55:52.408Z","7.0.2":"2026-01-29T18:15:11.636Z","7.1.0":"2026-09-28T20:57:03.072Z"},"bugs":{"url":"https://github.com/braintree/inject-stylesheet/issues"},"author":{"name":"Braintree","email":"code@getbraintree.com"},"license":"MIT","homepage":"https://github.com/braintree/inject-stylesheet#readme","repository":{"url":"git+https://github.com/braintree/inject-stylesheet.git","type":"git"},"description":"Create a style element with CSS properties, filtering input using a allowlist or blocklist","maintainers":[{"name":"braintree","email":"sdk-package-registries@paypal.com"}],"readme":"# inject-stylesheet\n\nThis library takes a blocklist (or allowlist) of CSS properties and sanitizes for known CSS exploits.\n\n## API\n\nWhere mentioned, `styles` is an object with its keys being CSS selectors and values being CSS property key-value pairs.\n\n```\nvar stylesheet = injectStylesheet.injectWithBlocklist(styles [, blocklist]);\nvar stylesheet = injectStylesheet.injectWithAllowlist(styles [, allowlist]);\n```\n\nAfter usage, `stylesheet` will refer to the `<style>` tag that was injected into the `<head>` of the document.\n\n```javascript\nvar injectStylesheet = require(\"inject-stylesheet\");\nvar styles = {\n  input: {\n    \"font-size\": \"16pt\",\n    color: \"#3A3A3A\",\n  },\n  \".invalid\": {\n    color: \"tomato\",\n  },\n  \"@media screen and (max-width: 700px)\": {\n    input: {\n      \"font-size\": \"14pt\",\n    },\n  },\n};\nvar allowlist = [\"font-size\", \"color\"];\nvar blocklist = [\"background\", \"display\"];\n\ninjectStylesheet.injectWithBlocklist(styles, blocklist);\ninjectStylesheet.injectWithAllowlist(styles, allowlist);\n```\n\n## Sanitization\n\n### Selectors\n\nSelectors are filtered for things such as `{}`, `@import`, etc.\n\n### Keys\n\nKeys are filtered based on whether or not a blocklist or allowlist was given. `injectStylesheet` will assume that its second parameter is a blocklist unless the third parameter is `true`, which will designate it as a allowlist. This listing is used to filter the given CSS properties for exclusion or inclusion.\n\n### Values\n\nValues are checked against usages of `url()`, `evaluate()`, and other potentially abused and powerful CSS functions.\n\n## Browser Support\n\nAll modern browsers, and IE9+\n","readmeFilename":"README.md"}