{"versions":{"1.0.0-pre.0":{"name":"@lit/context","version":"1.0.0-pre.0","description":"Helpers and controllers for using Context protocol","license":"BSD-3-Clause","homepage":"https://lit.dev/","repository":{"type":"git","url":"git+https://github.com/lit/lit.git","directory":"packages/context"},"type":"module","main":"index.js","module":"index.js","typings":"index.d.ts","directories":{"test":"test"},"exports":{".":{"types":"./development/index.d.ts","development":"./development/index.js","default":"./index.js"}},"scripts":{"build":"wireit","build:ts":"wireit","build:ts:std-decorators-tests":"wireit","build:ts:types":"wireit","build:rollup":"wireit","test":"wireit","test:dev":"wireit","test:prod":"wireit","checksize":"wireit"},"wireit":{"build":{"dependencies":["build:rollup","build:ts","build:ts:std-decorators-tests","build:ts:types","../lit:build","../reactive-element:build","../labs/testing:build"]},"build:ts":{"command":"tsc --build --pretty","dependencies":["../lit:build:ts:types","../reactive-element:build:ts:types"],"clean":"if-file-deleted","files":["tsconfig.json","src/**/*.ts","!src/test/std-decorators"],"output":["development","!development/test/std-decorators","tsconfig.tsbuildinfo"]},"build:ts:std-decorators-tests":{"#comment":"This is a separate script from build:ts because it needs a tsconfig without experimentalDecorators.","command":"tsc --pretty --project tsconfig.std-decorators-tests.json","clean":"if-file-deleted","dependencies":["build:ts"],"files":["src/test/std-decorators/**/*.ts","tsconfig.std-decorators-tests.json"],"output":["development/test/std-decorators","tsconfig.std-decorators-tests.tsbuildinfo"]},"build:ts:types":{"command":"treemirror development . \"**/*.d.ts{,.map}\" \"!test\"","dependencies":["../internal-scripts:build","build:ts"],"files":[],"output":["*.d.ts{,.map}","lib/**/*.d.ts{,.map}"]},"build:rollup":{"command":"rollup -c","dependencies":["build:ts"],"files":["rollup.config.js","../../../rollup-common.js"],"output":["index.js{,.map}","lib/**/*.js{,.map}"]},"checksize":{"command":"rollup -c --environment=CHECKSIZE","dependencies":["build:ts"],"files":["rollup.config.js","../../../rollup-common.js"],"output":[]},"test":{"dependencies":["test:dev","test:prod"]},"test:dev":{"command":"MODE=dev node ../tests/run-web-tests.js \"development/**/*_test.js\" --config ../tests/web-test-runner.config.js","dependencies":["build:ts","build:ts:std-decorators-tests","../tests:build"],"env":{"BROWSERS":{"external":true}},"files":[],"output":[]},"test:prod":{"command":"MODE=prod node ../tests/run-web-tests.js \"development/**/*_test.js\" --config ../tests/web-test-runner.config.js","dependencies":["build","build:ts:std-decorators-tests","../tests:build"],"env":{"BROWSERS":{"external":true}},"files":[],"output":[]}},"author":{"name":"Google LLC"},"dependencies":{"@lit/reactive-element":"^2.0.0-pre.1","lit":"^3.0.0-pre.1"},"devDependencies":{"@esm-bundle/chai":"^4.3.4-fix.0","@lit-internal/scripts":"^1.0.1-pre.0","@lit-labs/testing":"^0.2.2-pre.0","@types/trusted-types":"^2.0.2"},"publishConfig":{"access":"public"},"_id":"@lit/context@1.0.0-pre.0","gitHead":"76d73c62c32c1277a16de2238686f6358be97213","bugs":{"url":"https://github.com/lit/lit/issues"},"_nodeVersion":"20.7.0","_npmVersion":"10.1.0","dist":{"integrity":"sha512-svubKJsq9ZQFxl8Zv0GgCPTH8qImydQh5DHJLsQqCkWCcVuhUTe91POlczzr4VfXgCtfMr/2/apmUT9grdqhXA==","shasum":"2556bc2f9f60a118eabef93859d115f5919c9e66","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@lit/context/-/context-1.0.0-pre.0.tgz","fileCount":84,"unpackedSize":205496,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHldgl4dvhGNRciqGmfj1Whg0/iFcvnvpCoH71uqp0v4AiAxZNeNPFJPuJ5nXesqH+d8dZ0U/10ugqlKzjRYqsFLng=="}],"size":39097},"_npmUser":{"name":"anonymous","email":"lit-robot@google.com"},"maintainers":[{"name":"anonymous","email":"ajk830@gmail.com"},{"name":"anonymous","email":"lit-robot@google.com"},{"name":"anonymous","email":"kevinpschaaf@gmail.com"},{"name":"anonymous","email":"jb@jbingham.com"},{"name":"anonymous","email":"sorvell@google.com"},{"name":"anonymous","email":"rictic@gmail.com"},{"name":"anonymous","email":"gray@stanfordalumni.org"},{"name":"anonymous","email":"justin@fagnani.com"},{"name":"anonymous","email":"aomarks@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/context_1.0.0-pre.0_1695945897763_0.04039907430542278"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-09-29T00:04:57.960Z","publish_time":1695945897960,"_source_registry_name":"default","contributors":[]},"1.0.0":{"name":"@lit/context","version":"1.0.0","description":"Helpers and controllers for using Context protocol","license":"BSD-3-Clause","homepage":"https://lit.dev/","repository":{"type":"git","url":"git+https://github.com/lit/lit.git","directory":"packages/context"},"type":"module","main":"index.js","module":"index.js","typings":"index.d.ts","directories":{"test":"test"},"exports":{".":{"types":"./development/index.d.ts","development":"./development/index.js","default":"./index.js"}},"scripts":{"build":"wireit","build:ts":"wireit","build:ts:std-decorators-tests":"wireit","build:ts:types":"wireit","build:rollup":"wireit","test":"wireit","test:dev":"wireit","test:prod":"wireit","checksize":"wireit"},"wireit":{"build":{"dependencies":["build:rollup","build:ts","build:ts:std-decorators-tests","build:ts:types","../lit:build","../reactive-element:build","../labs/testing:build"]},"build:ts":{"command":"tsc --build --pretty","dependencies":["../lit:build:ts:types","../reactive-element:build:ts:types"],"clean":"if-file-deleted","files":["tsconfig.json","src/**/*.ts","!src/test/std-decorators"],"output":["development","!development/test/std-decorators","tsconfig.tsbuildinfo"]},"build:ts:std-decorators-tests":{"#comment":"This is a separate script from build:ts because it needs a tsconfig without experimentalDecorators.","command":"tsc --pretty --project tsconfig.std-decorators-tests.json","clean":"if-file-deleted","dependencies":["build:ts"],"files":["src/test/std-decorators/**/*.ts","tsconfig.std-decorators-tests.json"],"output":["development/test/std-decorators","tsconfig.std-decorators-tests.tsbuildinfo"]},"build:ts:types":{"command":"treemirror development . \"**/*.d.ts{,.map}\" \"!test\"","dependencies":["../internal-scripts:build","build:ts"],"files":[],"output":["*.d.ts{,.map}","lib/**/*.d.ts{,.map}"]},"build:rollup":{"command":"rollup -c","dependencies":["build:ts"],"files":["rollup.config.js","../../../rollup-common.js"],"output":["index.js{,.map}","lib/**/*.js{,.map}"]},"checksize":{"command":"rollup -c --environment=CHECKSIZE","dependencies":["build:ts"],"files":["rollup.config.js","../../../rollup-common.js"],"output":[]},"test":{"dependencies":["test:dev","test:prod"]},"test:dev":{"command":"MODE=dev node ../tests/run-web-tests.js \"development/**/*_test.js\" --config ../tests/web-test-runner.config.js","dependencies":["build:ts","build:ts:std-decorators-tests","../tests:build"],"env":{"BROWSERS":{"external":true}},"files":[],"output":[]},"test:prod":{"command":"MODE=prod node ../tests/run-web-tests.js \"development/**/*_test.js\" --config ../tests/web-test-runner.config.js","dependencies":["build","build:ts:std-decorators-tests","../tests:build"],"env":{"BROWSERS":{"external":true}},"files":[],"output":[]}},"author":{"name":"Google LLC"},"dependencies":{"@lit/reactive-element":"^1.6.2 || ^2.0.0","lit":"^2.7.5 || ^3.0.0"},"devDependencies":{"@esm-bundle/chai":"^4.3.4-fix.0","@lit-internal/scripts":"^1.0.1-pre.0","@lit-labs/testing":"^0.2.2-pre.0","@types/trusted-types":"^2.0.2"},"publishConfig":{"access":"public"},"_id":"@lit/context@1.0.0","gitHead":"c4818c507771d9da58b13eaddd800f57f1846ea6","bugs":{"url":"https://github.com/lit/lit/issues"},"_nodeVersion":"20.8.0","_npmVersion":"10.1.0","dist":{"integrity":"sha512-bdqj6z6Mj+TpYfo2seHy1mlBzYrW+CyHnDQLD0DI7iQLELs2Fk6icZwvbvbskR0E94QG4aO/35j6PTJ9wWTv0Q==","shasum":"0a174c76373ba45c6eb666b833da3f2232daa853","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@lit/context/-/context-1.0.0.tgz","fileCount":84,"unpackedSize":205625,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIB3AjlzFMhxJcoS/83IhKzBwL05ryRivk+79rGWOlp/rAiEAvTvHR87vhkjacqP2db1MyEpHJthNB5/uUoPXpToIc9s="}],"size":39096},"_npmUser":{"name":"anonymous","email":"lit-robot@google.com"},"maintainers":[{"name":"anonymous","email":"ajk830@gmail.com"},{"name":"anonymous","email":"lit-robot@google.com"},{"name":"anonymous","email":"kevinpschaaf@gmail.com"},{"name":"anonymous","email":"jb@jbingham.com"},{"name":"anonymous","email":"sorvell@google.com"},{"name":"anonymous","email":"rictic@gmail.com"},{"name":"anonymous","email":"gray@stanfordalumni.org"},{"name":"anonymous","email":"justin@fagnani.com"},{"name":"anonymous","email":"aomarks@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/context_1.0.0_1696914935497_0.7879182043366968"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-10-10T05:15:35.739Z","publish_time":1696914935739,"_source_registry_name":"default","contributors":[]},"1.0.1":{"name":"@lit/context","version":"1.0.1","description":"Helpers and controllers for using Context protocol","license":"BSD-3-Clause","homepage":"https://lit.dev/","repository":{"type":"git","url":"git+https://github.com/lit/lit.git","directory":"packages/context"},"type":"module","main":"index.js","module":"index.js","typings":"index.d.ts","directories":{"test":"test"},"exports":{".":{"types":"./development/index.d.ts","development":"./development/index.js","default":"./index.js"}},"scripts":{"build":"wireit","build:ts":"wireit","build:ts:std-decorators-tests":"wireit","build:ts:lit2-tests":"wireit","build:ts:lit2":"wireit","build:ts:types":"wireit","build:rollup":"wireit","test":"wireit","test:dev":"wireit","test:prod":"wireit","checksize":"wireit"},"wireit":{"build":{"dependencies":["build:rollup","build:ts","build:ts:std-decorators-tests","build:ts:lit2-tests","build:ts:types","../lit:build","../reactive-element:build","../labs/testing:build"]},"build:ts":{"command":"tsc --build --pretty","dependencies":["../lit:build:ts:types","../reactive-element:build:ts:types"],"clean":"if-file-deleted","files":["tsconfig.json","src/**/*.ts","!src/test/std-decorators"],"output":["development","!development/test/std-decorators","tsconfig.tsbuildinfo"]},"build:ts:std-decorators-tests":{"#comment":"This is a separate script from build:ts because it needs a tsconfig without experimentalDecorators.","command":"tsc --pretty --project tsconfig.std-decorators-tests.json","clean":"if-file-deleted","dependencies":["build:ts"],"files":["src/test/std-decorators/**/*.ts","tsconfig.std-decorators-tests.json"],"output":["development/test/std-decorators","tsconfig.std-decorators-tests.tsbuildinfo"]},"build:ts:lit2-tests":{"#comment":"Run this to install and build additional cross-version type tests.","command":"tsc --pretty --project tsconfig.lit2-tests.json","clean":"if-file-deleted","dependencies":["build:ts:lit2","install:lit2"],"files":["src/test/**/*.ts","!src/test/std-decorators/**/*.ts","tsconfig.lit2-tests.json"],"output":["lit2/context/test","tsconfig.lit2-tests.tsbuildinfo"]},"install:lit2":{"command":"cd lit2/lit2-scope && npm ci","clean":"if-file-deleted","dependencies":[],"files":["lit2/lit2-scope/package.json","lit2/lit2-scope/package-lock.json"],"output":[]},"build:ts:lit2":{"#comment":"This is a separate script from build:ts because it needs a tsconfig that maps in lit@2.","command":"tsc --pretty --project tsconfig.lit2.json","clean":"if-file-deleted","dependencies":["build:ts"],"files":["src/**/*.ts","!src/test/**/*.ts","tsconfig.lit2.json"],"output":["lit2/lit2-scope/context","lit2/lit2-scope/tsconfig.lit2.tsbuildinfo"]},"build:ts:types":{"command":"treemirror development . \"**/*.d.ts{,.map}\" \"!test\"","dependencies":["../internal-scripts:build","build:ts"],"files":[],"output":["*.d.ts{,.map}","lib/**/*.d.ts{,.map}"]},"build:rollup":{"command":"rollup -c","dependencies":["build:ts"],"files":["rollup.config.js","../../../rollup-common.js"],"output":["index.js{,.map}","lib/**/*.js{,.map}"]},"checksize":{"command":"rollup -c --environment=CHECKSIZE","dependencies":["build:ts"],"files":["rollup.config.js","../../../rollup-common.js"],"output":[]},"test":{"dependencies":["test:dev","test:prod"]},"test:dev":{"command":"MODE=dev node ../tests/run-web-tests.js \"development/**/*_test.js\" --config ../tests/web-test-runner.config.js","dependencies":["build:ts","../tests:build"],"env":{"BROWSERS":{"external":true}},"files":[],"output":[]},"test:prod":{"command":"MODE=prod node ../tests/run-web-tests.js \"development/**/*_test.js\" --config ../tests/web-test-runner.config.js","dependencies":["build","../tests:build"],"env":{"BROWSERS":{"external":true}},"files":[],"output":[]}},"author":{"name":"Google LLC"},"dependencies":{"@lit/reactive-element":"^1.6.2 || ^2.0.0"},"devDependencies":{"@esm-bundle/chai":"^4.3.4-fix.0","@lit-internal/scripts":"^1.0.1","@lit-labs/testing":"^0.2.2","@types/trusted-types":"^2.0.2","lit":"^3.0.0"},"publishConfig":{"access":"public"},"_id":"@lit/context@1.0.1","gitHead":"62d7818e6c0d11741886fe7e6c093667fccb1559","bugs":{"url":"https://github.com/lit/lit/issues"},"_nodeVersion":"20.9.0","_npmVersion":"10.1.0","dist":{"integrity":"sha512-ujQEV42vRjhNzCu/YNc+dy8eq48cEYO2SvEl7iCmMzt8X7ixUYcDt8DPV1UBr58FJ7EUe9vTLPv/0soAi9bfRw==","shasum":"4f4293096d4a1c9386f4ef7c0dbadf418ab4ece6","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@lit/context/-/context-1.0.1.tgz","fileCount":84,"unpackedSize":207865,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIES7aSgDiUvHFJGg48IVfsDY8RKgDpq/j0ZvaP8nYlgBAiEA2gdQTT1XFt+900FdEbXrXHngtyGDaVkWKjMfiw8P2Dc="}],"size":39394},"_npmUser":{"name":"anonymous","email":"lit-robot@google.com"},"maintainers":[{"name":"anonymous","email":"ajk830@gmail.com"},{"name":"anonymous","email":"lit-robot@google.com"},{"name":"anonymous","email":"kevinpschaaf@gmail.com"},{"name":"anonymous","email":"jb@jbingham.com"},{"name":"anonymous","email":"sorvell@google.com"},{"name":"anonymous","email":"rictic@gmail.com"},{"name":"anonymous","email":"gray@stanfordalumni.org"},{"name":"anonymous","email":"justin@fagnani.com"},{"name":"anonymous","email":"aomarks@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/context_1.0.1_1698461813392_0.6060084410907085"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-10-28T02:56:53.701Z","publish_time":1698461813701,"_source_registry_name":"default","contributors":[]},"1.1.0":{"name":"@lit/context","version":"1.1.0","description":"Helpers and controllers for using Context protocol","license":"BSD-3-Clause","homepage":"https://lit.dev/","repository":{"type":"git","url":"git+https://github.com/lit/lit.git","directory":"packages/context"},"type":"module","main":"index.js","module":"index.js","typings":"index.d.ts","directories":{"test":"test"},"exports":{".":{"types":"./development/index.d.ts","development":"./development/index.js","default":"./index.js"}},"scripts":{"build":"wireit","build:ts":"wireit","build:ts:std-decorators-tests":"wireit","build:ts:lit2-tests":"wireit","build:ts:lit2":"wireit","build:ts:types":"wireit","build:rollup":"wireit","test":"wireit","test:dev":"wireit","test:prod":"wireit","checksize":"wireit"},"wireit":{"build":{"dependencies":["build:rollup","build:ts","build:ts:std-decorators-tests","build:ts:types","../lit:build","../reactive-element:build","../labs/testing:build"]},"build:ts":{"command":"tsc --build --pretty","dependencies":["../lit:build:ts:types","../reactive-element:build:ts:types"],"clean":"if-file-deleted","files":["tsconfig.json","src/**/*.ts","!src/test/std-decorators"],"output":["development","!development/test/std-decorators","tsconfig.tsbuildinfo"]},"build:ts:std-decorators-tests":{"#comment":"This is a separate script from build:ts because it needs a tsconfig without experimentalDecorators.","command":"tsc --pretty --project tsconfig.std-decorators-tests.json","clean":"if-file-deleted","dependencies":["build:ts"],"files":["src/test/std-decorators/**/*.ts","tsconfig.std-decorators-tests.json"],"output":["development/test/std-decorators","tsconfig.std-decorators-tests.tsbuildinfo"]},"build:ts:lit2-tests":{"#comment":"Run this to install and build additional cross-version type tests.","command":"tsc --pretty --project tsconfig.lit2-tests.json","clean":"if-file-deleted","dependencies":["build:ts:lit2","install:lit2"],"files":["src/test/**/*.ts","!src/test/std-decorators/**/*.ts","tsconfig.lit2-tests.json"],"output":["lit2/context/test","tsconfig.lit2-tests.tsbuildinfo"]},"install:lit2":{"command":"cd lit2/lit2-scope && npm ci","clean":"if-file-deleted","dependencies":[],"files":["lit2/lit2-scope/package.json","lit2/lit2-scope/package-lock.json"],"output":[]},"build:ts:lit2":{"#comment":"This is a separate script from build:ts because it needs a tsconfig that maps in lit@2.","command":"tsc --pretty --project tsconfig.lit2.json","clean":"if-file-deleted","dependencies":["build:ts"],"files":["src/**/*.ts","!src/test/**/*.ts","tsconfig.lit2.json"],"output":["lit2/lit2-scope/context","lit2/lit2-scope/tsconfig.lit2.tsbuildinfo"]},"build:ts:types":{"command":"treemirror development . \"**/*.d.ts{,.map}\" \"!test\"","dependencies":["../internal-scripts:build","build:ts"],"files":[],"output":["*.d.ts{,.map}","lib/**/*.d.ts{,.map}"]},"build:rollup":{"command":"rollup -c","dependencies":["build:ts"],"files":["rollup.config.js","../../../rollup-common.js"],"output":["index.js{,.map}","lib/**/*.js{,.map}"]},"checksize":{"command":"rollup -c --environment=CHECKSIZE","dependencies":["build:ts"],"files":["rollup.config.js","../../../rollup-common.js"],"output":[]},"test":{"dependencies":["test:dev","test:prod"]},"test:dev":{"command":"MODE=dev node ../tests/run-web-tests.js \"development/**/*_test.js\" --config ../tests/web-test-runner.config.js","dependencies":["build:ts","../tests:build"],"env":{"BROWSERS":{"external":true}},"files":[],"output":[]},"test:prod":{"command":"MODE=prod node ../tests/run-web-tests.js \"development/**/*_test.js\" --config ../tests/web-test-runner.config.js","dependencies":["build","../tests:build"],"env":{"BROWSERS":{"external":true}},"files":[],"output":[]}},"author":{"name":"Google LLC"},"dependencies":{"@lit/reactive-element":"^1.6.2 || ^2.0.0"},"devDependencies":{"@esm-bundle/chai":"^4.3.4-fix.0","@lit-internal/scripts":"^1.0.1","@lit-labs/testing":"^0.2.2","@types/trusted-types":"^2.0.2","lit":"^3.1.0"},"publishConfig":{"access":"public"},"_id":"@lit/context@1.1.0","gitHead":"f5f68b842b5dbf472ec4b7ffdceb76a211cffe12","bugs":{"url":"https://github.com/lit/lit/issues"},"_nodeVersion":"20.9.0","_npmVersion":"10.1.0","dist":{"integrity":"sha512-fCyv4dsH05wCNm3AKbB+PdYbXGJd/XT8OOwo4hVmD4COq5wOWJlQreGAMDvmHZ7osqxuu06Y4nmP6ooXpN7ErA==","shasum":"c45be81b3fbcefe6844b86d9ca66aa7d88953c3d","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@lit/context/-/context-1.1.0.tgz","fileCount":84,"unpackedSize":210689,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGIiQRLx4SW3ADw5gKxBy1zvxKYH0xuwBaNml4G78AyhAiEAqdkC3VSPK7FxNB+GNiNncpuV+WqHSTeocdh9oDW+l4Y="}],"size":40211},"_npmUser":{"name":"anonymous","email":"lit-robot@google.com"},"maintainers":[{"name":"anonymous","email":"ajk830@gmail.com"},{"name":"anonymous","email":"lit-robot@google.com"},{"name":"anonymous","email":"kevinpschaaf@gmail.com"},{"name":"anonymous","email":"jb@jbingham.com"},{"name":"anonymous","email":"sorvell@google.com"},{"name":"anonymous","email":"rictic@gmail.com"},{"name":"anonymous","email":"gray@stanfordalumni.org"},{"name":"anonymous","email":"justin@fagnani.com"},{"name":"anonymous","email":"aomarks@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/context_1.1.0_1700095525873_0.4926439449297628"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-11-16T00:45:26.025Z","publish_time":1700095526025,"_source_registry_name":"default","contributors":[]},"1.1.1":{"name":"@lit/context","version":"1.1.1","description":"Helpers and controllers for using Context protocol","license":"BSD-3-Clause","homepage":"https://lit.dev/","repository":{"type":"git","url":"git+https://github.com/lit/lit.git","directory":"packages/context"},"type":"module","main":"index.js","module":"index.js","typings":"index.d.ts","directories":{"test":"test"},"exports":{".":{"types":"./development/index.d.ts","development":"./development/index.js","default":"./index.js"}},"scripts":{"build":"wireit","build:ts":"wireit","build:ts:std-decorators-tests":"wireit","build:ts:lit2-tests":"wireit","build:ts:lit2":"wireit","build:ts:types":"wireit","build:rollup":"wireit","test":"wireit","test:dev":"wireit","test:prod":"wireit","checksize":"wireit"},"wireit":{"build":{"dependencies":["build:rollup","build:ts","build:ts:std-decorators-tests","build:ts:types","../lit:build","../reactive-element:build","../labs/testing:build"]},"build:ts":{"command":"tsc --build --pretty","dependencies":["../lit:build:ts:types","../reactive-element:build:ts:types"],"clean":"if-file-deleted","files":["tsconfig.json","src/**/*.ts","!src/test/std-decorators"],"output":["development","!development/test/std-decorators","tsconfig.tsbuildinfo"]},"build:ts:std-decorators-tests":{"#comment":"This is a separate script from build:ts because it needs a tsconfig without experimentalDecorators.","command":"tsc --pretty --project tsconfig.std-decorators-tests.json","clean":"if-file-deleted","dependencies":["build:ts"],"files":["src/test/std-decorators/**/*.ts","tsconfig.std-decorators-tests.json"],"output":["development/test/std-decorators","tsconfig.std-decorators-tests.tsbuildinfo"]},"build:ts:lit2-tests":{"#comment":"Run this to install and build additional cross-version type tests.","command":"tsc --pretty --project tsconfig.lit2-tests.json","clean":"if-file-deleted","dependencies":["build:ts:lit2","install:lit2"],"files":["src/test/**/*.ts","!src/test/std-decorators/**/*.ts","tsconfig.lit2-tests.json"],"output":["lit2/context/test","tsconfig.lit2-tests.tsbuildinfo"]},"install:lit2":{"command":"cd lit2/lit2-scope && npm ci","clean":"if-file-deleted","dependencies":[],"files":["lit2/lit2-scope/package.json","lit2/lit2-scope/package-lock.json"],"output":[]},"build:ts:lit2":{"#comment":"This is a separate script from build:ts because it needs a tsconfig that maps in lit@2.","command":"tsc --pretty --project tsconfig.lit2.json","clean":"if-file-deleted","dependencies":["build:ts"],"files":["src/**/*.ts","!src/test/**/*.ts","tsconfig.lit2.json"],"output":["lit2/lit2-scope/context","lit2/lit2-scope/tsconfig.lit2.tsbuildinfo"]},"build:ts:types":{"command":"treemirror development . \"**/*.d.ts{,.map}\" \"!test\"","dependencies":["../internal-scripts:build","build:ts"],"files":[],"output":["*.d.ts{,.map}","lib/**/*.d.ts{,.map}"]},"build:rollup":{"command":"rollup -c","dependencies":["build:ts"],"files":["rollup.config.js","../../../rollup-common.js"],"output":["index.js{,.map}","lib/**/*.js{,.map}"]},"checksize":{"command":"rollup -c --environment=CHECKSIZE","dependencies":["build:ts"],"files":["rollup.config.js","../../../rollup-common.js"],"output":[]},"test":{"dependencies":["test:dev","test:prod"]},"test:dev":{"command":"MODE=dev node ../tests/run-web-tests.js \"development/**/*_test.js\" --config ../tests/web-test-runner.config.js","dependencies":["build:ts","../tests:build"],"env":{"BROWSERS":{"external":true}},"files":[],"output":[]},"test:prod":{"command":"MODE=prod node ../tests/run-web-tests.js \"development/**/*_test.js\" --config ../tests/web-test-runner.config.js","dependencies":["build","../tests:build"],"env":{"BROWSERS":{"external":true}},"files":[],"output":[]}},"author":{"name":"Google LLC"},"dependencies":{"@lit/reactive-element":"^1.6.2 || ^2.0.0"},"devDependencies":{"@esm-bundle/chai":"^4.3.4-fix.0","@lit-internal/scripts":"^1.0.1","@lit-labs/testing":"^0.2.2","@types/trusted-types":"^2.0.2","lit":"^3.1.0"},"publishConfig":{"access":"public"},"_id":"@lit/context@1.1.1","gitHead":"700799b9ad4025412796153e09eb048d19957ac0","bugs":{"url":"https://github.com/lit/lit/issues"},"_nodeVersion":"20.12.1","_npmVersion":"10.5.0","dist":{"integrity":"sha512-q/Rw7oWSJidUP43f/RUPwqZ6f5VlY8HzinTWxL/gW1Hvm2S5q2hZvV+qM8WFcC+oLNNknc3JKsd5TwxLk1hbdg==","shasum":"4acbbd78d6ab6e2772dd40ff1a4dc8248ea7fb9a","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@lit/context/-/context-1.1.1.tgz","fileCount":84,"unpackedSize":211235,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICSkDqhILueQkuelLsNrnpmfYSJhoOLGwf15YXI0F6srAiEAqg6E0PsTE7Acln6PQD0apHYj2uL8p4mYK7tQ6W5b50s="}],"size":40450},"_npmUser":{"name":"anonymous","email":"lit-robot@google.com"},"maintainers":[{"name":"anonymous","email":"ajk830@gmail.com"},{"name":"anonymous","email":"lit-robot@google.com"},{"name":"anonymous","email":"kevinpschaaf@gmail.com"},{"name":"anonymous","email":"jb@jbingham.com"},{"name":"anonymous","email":"sorvell@google.com"},{"name":"anonymous","email":"rictic@gmail.com"},{"name":"anonymous","email":"gray@stanfordalumni.org"},{"name":"anonymous","email":"justin@fagnani.com"},{"name":"anonymous","email":"aomarks@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/context_1.1.1_1713222959739_0.9954529444509195"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-04-15T23:15:59.928Z","publish_time":1713222959928,"_source_registry_name":"default","contributors":[]},"1.1.2":{"name":"@lit/context","version":"1.1.2","description":"Helpers and controllers for using Context protocol","license":"BSD-3-Clause","homepage":"https://lit.dev/","repository":{"type":"git","url":"git+https://github.com/lit/lit.git","directory":"packages/context"},"type":"module","main":"index.js","module":"index.js","typings":"index.d.ts","directories":{"test":"test"},"exports":{".":{"types":"./development/index.d.ts","development":"./development/index.js","default":"./index.js"}},"scripts":{"build":"wireit","build:ts":"wireit","build:ts:std-decorators-tests":"wireit","build:ts:lit2-tests":"wireit","build:ts:lit2":"wireit","build:ts:types":"wireit","build:rollup":"wireit","test":"wireit","test:dev":"wireit","test:prod":"wireit","checksize":"wireit"},"wireit":{"build":{"dependencies":["build:rollup","build:ts","build:ts:std-decorators-tests","build:ts:types","../lit:build","../reactive-element:build","../labs/testing:build"]},"build:ts":{"command":"tsc --build --pretty","dependencies":["../lit:build:ts:types","../reactive-element:build:ts:types"],"clean":"if-file-deleted","files":["tsconfig.json","src/**/*.ts","!src/test/std-decorators"],"output":["development","!development/test/std-decorators","tsconfig.tsbuildinfo"]},"build:ts:std-decorators-tests":{"#comment":"This is a separate script from build:ts because it needs a tsconfig without experimentalDecorators.","command":"tsc --pretty --project tsconfig.std-decorators-tests.json","clean":"if-file-deleted","dependencies":["build:ts"],"files":["src/test/std-decorators/**/*.ts","tsconfig.std-decorators-tests.json"],"output":["development/test/std-decorators","tsconfig.std-decorators-tests.tsbuildinfo"]},"build:ts:lit2-tests":{"#comment":"Run this to install and build additional cross-version type tests.","command":"tsc --pretty --project tsconfig.lit2-tests.json","clean":"if-file-deleted","dependencies":["build:ts:lit2","install:lit2"],"files":["src/test/**/*.ts","!src/test/std-decorators/**/*.ts","tsconfig.lit2-tests.json"],"output":["lit2/context/test","tsconfig.lit2-tests.tsbuildinfo"]},"install:lit2":{"command":"cd lit2/lit2-scope && npm ci","clean":"if-file-deleted","dependencies":[],"files":["lit2/lit2-scope/package.json","lit2/lit2-scope/package-lock.json"],"output":[]},"build:ts:lit2":{"#comment":"This is a separate script from build:ts because it needs a tsconfig that maps in lit@2.","command":"tsc --pretty --project tsconfig.lit2.json","clean":"if-file-deleted","dependencies":["build:ts"],"files":["src/**/*.ts","!src/test/**/*.ts","tsconfig.lit2.json"],"output":["lit2/lit2-scope/context","lit2/lit2-scope/tsconfig.lit2.tsbuildinfo"]},"build:ts:types":{"command":"treemirror development . \"**/*.d.ts{,.map}\" \"!test\"","dependencies":["../internal-scripts:build","build:ts"],"files":[],"output":["*.d.ts{,.map}","lib/**/*.d.ts{,.map}"]},"build:rollup":{"command":"rollup -c","dependencies":["build:ts"],"files":["rollup.config.js","../../../rollup-common.js"],"output":["index.js{,.map}","lib/**/*.js{,.map}"]},"checksize":{"command":"rollup -c --environment=CHECKSIZE","dependencies":["build:ts"],"files":["rollup.config.js","../../../rollup-common.js"],"output":[]},"test":{"dependencies":["test:dev","test:prod"]},"test:dev":{"command":"MODE=dev node ../tests/run-web-tests.js \"development/**/*_test.js\" --config ../tests/web-test-runner.config.js","dependencies":["build:ts","../tests:build"],"env":{"BROWSERS":{"external":true}},"files":[],"output":[]},"test:prod":{"command":"MODE=prod node ../tests/run-web-tests.js \"development/**/*_test.js\" --config ../tests/web-test-runner.config.js","dependencies":["build","../tests:build"],"env":{"BROWSERS":{"external":true}},"files":[],"output":[]}},"author":{"name":"Google LLC"},"dependencies":{"@lit/reactive-element":"^1.6.2 || ^2.0.0"},"devDependencies":{"chai":"^5.1.0","@lit-internal/scripts":"^1.0.1","@lit-labs/testing":"^0.2.2","@types/trusted-types":"^2.0.2","lit":"^3.1.0"},"publishConfig":{"access":"public"},"_id":"@lit/context@1.1.2","gitHead":"921752718ce1034c4f0ff3b15402429b3a6267fe","bugs":{"url":"https://github.com/lit/lit/issues"},"_nodeVersion":"20.13.1","_npmVersion":"10.5.2","dist":{"integrity":"sha512-S0nw2C6Tkm7fVX5TGYqeROGD+Z9Coa2iFpW+ysYBDH3YvCqOY3wVQvSgwbaliLJkjTnSEYCBe9qFqKV8WUFpVw==","shasum":"c67b37352117eb252143aa9763f75f7bfa284f88","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@lit/context/-/context-1.1.2.tgz","fileCount":84,"unpackedSize":210503,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDV20D/wzcw7R1RD1rbd7cZ3W+71nQBfT6FVkgKg1PzqwIhAOHtmVWxeYkUNKO22EuKjDumn7Fc9pPkv8DEaRhDzce5"}],"size":40358},"_npmUser":{"name":"anonymous","email":"lit-robot@google.com"},"maintainers":[{"name":"anonymous","email":"ajk830@gmail.com"},{"name":"anonymous","email":"lit-robot@google.com"},{"name":"anonymous","email":"kevinpschaaf@gmail.com"},{"name":"anonymous","email":"jb@jbingham.com"},{"name":"anonymous","email":"sorvell@google.com"},{"name":"anonymous","email":"rictic@gmail.com"},{"name":"anonymous","email":"gray@stanfordalumni.org"},{"name":"anonymous","email":"justin@fagnani.com"},{"name":"anonymous","email":"aomarks@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/context_1.1.2_1717538710273_0.7271343597396944"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-06-04T22:05:10.429Z","publish_time":1717538710429,"_source_registry_name":"default","contributors":[]},"1.1.3":{"name":"@lit/context","version":"1.1.3","description":"Helpers and controllers for using Context protocol","license":"BSD-3-Clause","homepage":"https://lit.dev/","repository":{"type":"git","url":"git+https://github.com/lit/lit.git","directory":"packages/context"},"type":"module","main":"index.js","module":"index.js","typings":"index.d.ts","directories":{"test":"test"},"exports":{".":{"types":"./development/index.d.ts","development":"./development/index.js","default":"./index.js"}},"scripts":{"build":"wireit","build:ts":"wireit","build:ts:std-decorators-tests":"wireit","build:ts:lit2-tests":"wireit","build:ts:lit2":"wireit","build:ts:types":"wireit","build:rollup":"wireit","test":"wireit","test:dev":"wireit","test:prod":"wireit","checksize":"wireit"},"wireit":{"build":{"dependencies":["build:rollup","build:ts","build:ts:std-decorators-tests","build:ts:types","../lit:build","../reactive-element:build","../labs/testing:build"]},"build:ts":{"command":"tsc --build --pretty","dependencies":["../lit:build:ts:types","../reactive-element:build:ts:types"],"clean":"if-file-deleted","files":["tsconfig.json","src/**/*.ts","!src/test/std-decorators"],"output":["development","!development/test/std-decorators","tsconfig.tsbuildinfo"]},"build:ts:std-decorators-tests":{"#comment":"This is a separate script from build:ts because it needs a tsconfig without experimentalDecorators.","command":"tsc --pretty --project tsconfig.std-decorators-tests.json","clean":"if-file-deleted","dependencies":["build:ts"],"files":["src/test/std-decorators/**/*.ts","tsconfig.std-decorators-tests.json"],"output":["development/test/std-decorators","tsconfig.std-decorators-tests.tsbuildinfo"]},"build:ts:lit2-tests":{"#comment":"Run this to install and build additional cross-version type tests.","command":"tsc --pretty --project tsconfig.lit2-tests.json","clean":"if-file-deleted","dependencies":["build:ts:lit2","install:lit2"],"files":["src/test/**/*.ts","!src/test/std-decorators/**/*.ts","tsconfig.lit2-tests.json"],"output":["lit2/context/test","tsconfig.lit2-tests.tsbuildinfo"]},"install:lit2":{"command":"cd lit2/lit2-scope && npm ci","clean":"if-file-deleted","dependencies":[],"files":["lit2/lit2-scope/package.json","lit2/lit2-scope/package-lock.json"],"output":[]},"build:ts:lit2":{"#comment":"This is a separate script from build:ts because it needs a tsconfig that maps in lit@2.","command":"tsc --pretty --project tsconfig.lit2.json","clean":"if-file-deleted","dependencies":["build:ts"],"files":["src/**/*.ts","!src/test/**/*.ts","tsconfig.lit2.json"],"output":["lit2/lit2-scope/context","lit2/lit2-scope/tsconfig.lit2.tsbuildinfo"]},"build:ts:types":{"command":"treemirror development . \"**/*.d.ts{,.map}\" \"!test\"","dependencies":["../internal-scripts:build","build:ts"],"files":[],"output":["*.d.ts{,.map}","lib/**/*.d.ts{,.map}"]},"build:rollup":{"command":"rollup -c","dependencies":["build:ts"],"files":["rollup.config.js","../../../rollup-common.js"],"output":["index.js{,.map}","lib/**/*.js{,.map}"]},"checksize":{"command":"rollup -c --environment=CHECKSIZE","dependencies":["build:ts"],"files":["rollup.config.js","../../../rollup-common.js"],"output":[]},"test":{"dependencies":["test:dev","test:prod"]},"test:dev":{"command":"MODE=dev node ../tests/run-web-tests.js \"development/**/*_test.js\" --config ../tests/web-test-runner.config.js","dependencies":["build:ts","../tests:build"],"env":{"BROWSERS":{"external":true}},"files":[],"output":[]},"test:prod":{"command":"MODE=prod node ../tests/run-web-tests.js \"development/**/*_test.js\" --config ../tests/web-test-runner.config.js","dependencies":["build","../tests:build"],"env":{"BROWSERS":{"external":true}},"files":[],"output":[]}},"author":{"name":"Google LLC"},"dependencies":{"@lit/reactive-element":"^1.6.2 || ^2.0.0"},"devDependencies":{"chai":"^5.1.0","@lit-internal/scripts":"^1.0.1","@lit-labs/testing":"^0.2.2","@types/trusted-types":"^2.0.2","lit":"^3.1.0"},"publishConfig":{"access":"public"},"_id":"@lit/context@1.1.3","gitHead":"03771e01e9a5d21a78905fc0d5bffb876373307f","bugs":{"url":"https://github.com/lit/lit/issues"},"_nodeVersion":"20.17.0","_npmVersion":"10.8.2","dist":{"integrity":"sha512-Auh37F4S0PZM93HTDfZWs97mmzaQ7M3vnTc9YvxAGyP3UItSK/8Fs0vTOGT+njuvOwbKio/l8Cx/zWL4vkutpQ==","shasum":"66f8832e57f760f51f39c9d658ca6bd78f809e19","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@lit/context/-/context-1.1.3.tgz","fileCount":84,"unpackedSize":210612,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIH1Md5PbvvF5ED7R1jIhDnxvWZo3WCOK1N9Gd1p+Gz71AiAlaTq7vPkwtwI1j4yFGJfTtnxmv19r4Hj2Cf0cMUf4MA=="}],"size":40363},"_npmUser":{"name":"anonymous","email":"lit-robot@google.com"},"maintainers":[{"name":"anonymous","email":"ajk830@gmail.com"},{"name":"anonymous","email":"lit-robot@google.com"},{"name":"anonymous","email":"kevinpschaaf@gmail.com"},{"name":"anonymous","email":"sorvell@google.com"},{"name":"anonymous","email":"rictic@gmail.com"},{"name":"anonymous","email":"gray@stanfordalumni.org"},{"name":"anonymous","email":"justin@fagnani.com"},{"name":"anonymous","email":"aomarks@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/context_1.1.3_1728327649439_0.17939637408135223"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-10-07T19:00:49.711Z","publish_time":1728327649711,"_source_registry_name":"default","contributors":[]},"1.1.4":{"name":"@lit/context","version":"1.1.4","description":"Helpers and controllers for using Context protocol","license":"BSD-3-Clause","homepage":"https://lit.dev/","repository":{"type":"git","url":"git+https://github.com/lit/lit.git","directory":"packages/context"},"type":"module","main":"index.js","module":"index.js","typings":"index.d.ts","directories":{"test":"test"},"exports":{".":{"types":"./development/index.d.ts","development":"./development/index.js","default":"./index.js"}},"scripts":{"build":"wireit","build:ts":"wireit","build:ts:std-decorators-tests":"wireit","build:ts:lit2-tests":"wireit","build:ts:lit2":"wireit","build:ts:types":"wireit","build:rollup":"wireit","test":"wireit","test:dev":"wireit","test:prod":"wireit","checksize":"wireit"},"wireit":{"build":{"dependencies":["build:rollup","build:ts","build:ts:std-decorators-tests","build:ts:types","../lit:build","../reactive-element:build","../labs/testing:build"]},"build:ts":{"command":"tsc --build --pretty","dependencies":["../lit:build:ts:types","../reactive-element:build:ts:types"],"clean":"if-file-deleted","files":["tsconfig.json","src/**/*.ts","!src/test/std-decorators"],"output":["development","!development/test/std-decorators","tsconfig.tsbuildinfo"]},"build:ts:std-decorators-tests":{"#comment":"This is a separate script from build:ts because it needs a tsconfig without experimentalDecorators.","command":"tsc --pretty --project tsconfig.std-decorators-tests.json","clean":"if-file-deleted","dependencies":["build:ts"],"files":["src/test/std-decorators/**/*.ts","tsconfig.std-decorators-tests.json"],"output":["development/test/std-decorators","tsconfig.std-decorators-tests.tsbuildinfo"]},"build:ts:lit2-tests":{"#comment":"Run this to install and build additional cross-version type tests.","command":"tsc --pretty --project tsconfig.lit2-tests.json","clean":"if-file-deleted","dependencies":["build:ts:lit2","install:lit2"],"files":["src/test/**/*.ts","!src/test/std-decorators/**/*.ts","tsconfig.lit2-tests.json"],"output":["lit2/context/test","tsconfig.lit2-tests.tsbuildinfo"]},"install:lit2":{"command":"cd lit2/lit2-scope && npm ci","clean":"if-file-deleted","dependencies":[],"files":["lit2/lit2-scope/package.json","lit2/lit2-scope/package-lock.json"],"output":[]},"build:ts:lit2":{"#comment":"This is a separate script from build:ts because it needs a tsconfig that maps in lit@2.","command":"tsc --pretty --project tsconfig.lit2.json","clean":"if-file-deleted","dependencies":["build:ts"],"files":["src/**/*.ts","!src/test/**/*.ts","tsconfig.lit2.json"],"output":["lit2/lit2-scope/context","lit2/lit2-scope/tsconfig.lit2.tsbuildinfo"]},"build:ts:types":{"command":"treemirror development . \"**/*.d.ts{,.map}\" \"!test\"","dependencies":["../internal-scripts:build","build:ts"],"files":[],"output":["*.d.ts{,.map}","lib/**/*.d.ts{,.map}"]},"build:rollup":{"command":"rollup -c","dependencies":["build:ts"],"files":["rollup.config.js","../../../rollup-common.js"],"output":["index.js{,.map}","lib/**/*.js{,.map}"]},"checksize":{"command":"rollup -c --environment=CHECKSIZE","dependencies":["build:ts"],"files":["rollup.config.js","../../../rollup-common.js"],"output":[]},"test":{"dependencies":["test:dev","test:prod"]},"test:dev":{"command":"MODE=dev node ../tests/run-web-tests.js \"development/**/*_test.js\" --config ../tests/web-test-runner.config.js","dependencies":["build:ts","../tests:build"],"env":{"BROWSERS":{"external":true}},"files":[],"output":[]},"test:prod":{"command":"MODE=prod node ../tests/run-web-tests.js \"development/**/*_test.js\" --config ../tests/web-test-runner.config.js","dependencies":["build","../tests:build"],"env":{"BROWSERS":{"external":true}},"files":[],"output":[]}},"author":{"name":"Google LLC"},"dependencies":{"@lit/reactive-element":"^1.6.2 || ^2.0.0"},"devDependencies":{"chai":"^5.1.0","@lit-internal/scripts":"^1.0.1","@lit-labs/testing":"^0.2.2","@types/trusted-types":"^2.0.2","lit":"^3.1.0"},"publishConfig":{"access":"public"},"_id":"@lit/context@1.1.4","gitHead":"7db8eadb285c2a55fe4aa78c491585e1e90d3b1c","bugs":{"url":"https://github.com/lit/lit/issues"},"_nodeVersion":"20.18.2","_npmVersion":"10.8.2","dist":{"integrity":"sha512-0b8wOWNUPcXjGHFtVP+odwhrZBZw+PpCjKWn8IGO10iHT95Xd6FcUAxe1aE7PUtOBvHZoxvrfdBzweYnDW7VNQ==","shasum":"5f124ba8c6c9d62e217b78a76e8e3f8837b81765","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@lit/context/-/context-1.1.4.tgz","fileCount":84,"unpackedSize":212416,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@lit%2fcontext@1.1.4","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQC9bH2AnWu2WkJqYRHdcADuDqSUvRMT0RXQjieSnqphMwIhAOSVfh16QjnovoLlCGdZ2iSQEv0TRYddPFDzKdLCGScD"}],"size":40475},"_npmUser":{"name":"anonymous","email":"lit-robot@google.com"},"maintainers":[{"name":"anonymous","email":"kevinpschaaf@gmail.com"},{"name":"anonymous","email":"sorvell@google.com"},{"name":"anonymous","email":"rictic@gmail.com"},{"name":"anonymous","email":"gray@stanfordalumni.org"},{"name":"anonymous","email":"justin@fagnani.com"},{"name":"anonymous","email":"aomarks@gmail.com"},{"name":"anonymous","email":"lit-robot@google.com"},{"name":"anonymous","email":"ajk830@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/context_1.1.4_1739553899805_0.5996743730656535"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-02-14T17:24:59.986Z","publish_time":1739553899986,"_source_registry_name":"default","contributors":[]},"1.1.5":{"name":"@lit/context","version":"1.1.5","description":"Helpers and controllers for using Context protocol","license":"BSD-3-Clause","homepage":"https://lit.dev/","repository":{"type":"git","url":"git+https://github.com/lit/lit.git","directory":"packages/context"},"type":"module","main":"index.js","module":"index.js","typings":"index.d.ts","directories":{"test":"test"},"exports":{".":{"types":"./development/index.d.ts","development":"./development/index.js","default":"./index.js"}},"scripts":{"build":"wireit","build:ts":"wireit","build:ts:std-decorators-tests":"wireit","build:ts:lit2-tests":"wireit","build:ts:lit2":"wireit","build:ts:types":"wireit","build:rollup":"wireit","test":"wireit","test:dev":"wireit","test:prod":"wireit","checksize":"wireit"},"wireit":{"build":{"dependencies":["build:rollup","build:ts","build:ts:std-decorators-tests","build:ts:types","../lit:build","../reactive-element:build","../labs/testing:build"]},"build:ts":{"command":"tsc --build --pretty","dependencies":["../lit:build:ts:types","../reactive-element:build:ts:types"],"clean":"if-file-deleted","files":["tsconfig.json","src/**/*.ts","!src/test/std-decorators"],"output":["development","!development/test/std-decorators","tsconfig.tsbuildinfo"]},"build:ts:std-decorators-tests":{"#comment":"This is a separate script from build:ts because it needs a tsconfig without experimentalDecorators.","command":"tsc --pretty --project tsconfig.std-decorators-tests.json","clean":"if-file-deleted","dependencies":["build:ts"],"files":["src/test/std-decorators/**/*.ts","tsconfig.std-decorators-tests.json"],"output":["development/test/std-decorators","tsconfig.std-decorators-tests.tsbuildinfo"]},"build:ts:lit2-tests":{"#comment":"Run this to install and build additional cross-version type tests.","command":"tsc --pretty --project tsconfig.lit2-tests.json","clean":"if-file-deleted","dependencies":["build:ts:lit2","install:lit2"],"files":["src/test/**/*.ts","!src/test/std-decorators/**/*.ts","tsconfig.lit2-tests.json"],"output":["lit2/context/test","tsconfig.lit2-tests.tsbuildinfo"]},"install:lit2":{"command":"cd lit2/lit2-scope && npm ci","clean":"if-file-deleted","dependencies":[],"files":["lit2/lit2-scope/package.json","lit2/lit2-scope/package-lock.json"],"output":[]},"build:ts:lit2":{"#comment":"This is a separate script from build:ts because it needs a tsconfig that maps in lit@2.","command":"tsc --pretty --project tsconfig.lit2.json","clean":"if-file-deleted","dependencies":["build:ts"],"files":["src/**/*.ts","!src/test/**/*.ts","tsconfig.lit2.json"],"output":["lit2/lit2-scope/context","lit2/lit2-scope/tsconfig.lit2.tsbuildinfo"]},"build:ts:types":{"command":"treemirror development . \"**/*.d.ts{,.map}\" \"!test\"","dependencies":["../internal-scripts:build","build:ts"],"files":[],"output":["*.d.ts{,.map}","lib/**/*.d.ts{,.map}"]},"build:rollup":{"command":"rollup -c","dependencies":["build:ts"],"files":["rollup.config.js","../../../rollup-common.js"],"output":["index.js{,.map}","lib/**/*.js{,.map}"]},"checksize":{"command":"rollup -c --environment=CHECKSIZE","dependencies":["build:ts"],"files":["rollup.config.js","../../../rollup-common.js"],"output":[]},"test":{"dependencies":["test:dev","test:prod"]},"test:dev":{"command":"MODE=dev node ../tests/run-web-tests.js \"development/**/*_test.js\" --config ../tests/web-test-runner.config.js","dependencies":["build:ts","build:ts:std-decorators-tests","../tests:build"],"env":{"BROWSERS":{"external":true}},"files":[],"output":[]},"test:prod":{"command":"MODE=prod node ../tests/run-web-tests.js \"development/**/*_test.js\" --config ../tests/web-test-runner.config.js","dependencies":["build","../tests:build"],"env":{"BROWSERS":{"external":true}},"files":[],"output":[]}},"author":{"name":"Google LLC"},"dependencies":{"@lit/reactive-element":"^1.6.2 || ^2.1.0"},"devDependencies":{"chai":"^5.1.0","@lit-internal/scripts":"^1.0.1","@lit-labs/testing":"^0.2.2","@types/trusted-types":"^2.0.2","lit":"^3.3.0"},"publishConfig":{"access":"public"},"_id":"@lit/context@1.1.5","gitHead":"eb71041517fe054b736823bd8cec5f0c8835e54c","bugs":{"url":"https://github.com/lit/lit/issues"},"_nodeVersion":"20.19.0","_npmVersion":"10.8.2","dist":{"integrity":"sha512-57KyQD9of4RlBXkOIF1N40/BLY1j+1wLB5wRmB207+VtwNIRfXbanLsB6BsnFYXrycOUIp2d8gqTNGwuW1lE9Q==","shasum":"28d1bf9332acc01c3b65c6258e445a0c6129a3d1","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@lit/context/-/context-1.1.5.tgz","fileCount":84,"unpackedSize":212037,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@lit%2fcontext@1.1.5","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIBYjMPvdOC9joR3fS3Qm0mmweBXNGu4tCGCHf+qZUzhUAiEA8budg86c3LnNsgo6wLyHu+iV6VTUduRR1y6QQLmSbJw="}],"size":40488},"_npmUser":{"name":"anonymous","email":"lit-robot@google.com"},"maintainers":[{"name":"anonymous","email":"kevinpschaaf@gmail.com"},{"name":"anonymous","email":"sorvell@google.com"},{"name":"anonymous","email":"rictic@gmail.com"},{"name":"anonymous","email":"gray@stanfordalumni.org"},{"name":"anonymous","email":"justin@fagnani.com"},{"name":"anonymous","email":"aomarks@gmail.com"},{"name":"anonymous","email":"lit-robot@google.com"},{"name":"anonymous","email":"ajk830@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/context_1.1.5_1744385837556_0.06716932907394124"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-04-11T15:37:17.730Z","publish_time":1744385837730,"_source_registry_name":"default","contributors":[]},"1.1.6":{"name":"@lit/context","version":"1.1.6","description":"Helpers and controllers for using Context protocol","license":"BSD-3-Clause","homepage":"https://lit.dev/","repository":{"type":"git","url":"git+https://github.com/lit/lit.git","directory":"packages/context"},"type":"module","main":"index.js","module":"index.js","typings":"index.d.ts","directories":{"test":"test"},"exports":{".":{"types":"./development/index.d.ts","development":"./development/index.js","default":"./index.js"}},"scripts":{"build":"wireit","build:ts":"wireit","build:ts:std-decorators-tests":"wireit","build:ts:lit2-tests":"wireit","build:ts:lit2":"wireit","build:ts:types":"wireit","build:rollup":"wireit","test":"wireit","test:dev":"wireit","test:prod":"wireit","checksize":"wireit"},"wireit":{"build":{"dependencies":["build:rollup","build:ts","build:ts:std-decorators-tests","build:ts:types","../lit:build","../reactive-element:build","../labs/testing:build"]},"build:ts":{"command":"tsc --build --pretty","dependencies":["../lit:build:ts:types","../reactive-element:build:ts:types"],"clean":"if-file-deleted","files":["tsconfig.json","src/**/*.ts","!src/test/std-decorators"],"output":["development","!development/test/std-decorators","tsconfig.tsbuildinfo"]},"build:ts:std-decorators-tests":{"#comment":"This is a separate script from build:ts because it needs a tsconfig without experimentalDecorators.","command":"tsc --pretty --project tsconfig.std-decorators-tests.json","clean":"if-file-deleted","dependencies":["build:ts"],"files":["src/test/std-decorators/**/*.ts","tsconfig.std-decorators-tests.json"],"output":["development/test/std-decorators","tsconfig.std-decorators-tests.tsbuildinfo"]},"build:ts:lit2-tests":{"#comment":"Run this to install and build additional cross-version type tests.","command":"tsc --pretty --project tsconfig.lit2-tests.json","clean":"if-file-deleted","dependencies":["build:ts:lit2","install:lit2"],"files":["src/test/**/*.ts","!src/test/std-decorators/**/*.ts","tsconfig.lit2-tests.json"],"output":["lit2/context/test","tsconfig.lit2-tests.tsbuildinfo"]},"install:lit2":{"command":"cd lit2/lit2-scope && npm ci","clean":"if-file-deleted","dependencies":[],"files":["lit2/lit2-scope/package.json","lit2/lit2-scope/package-lock.json"],"output":[]},"build:ts:lit2":{"#comment":"This is a separate script from build:ts because it needs a tsconfig that maps in lit@2.","command":"tsc --pretty --project tsconfig.lit2.json","clean":"if-file-deleted","dependencies":["build:ts"],"files":["src/**/*.ts","!src/test/**/*.ts","tsconfig.lit2.json"],"output":["lit2/lit2-scope/context","lit2/lit2-scope/tsconfig.lit2.tsbuildinfo"]},"build:ts:types":{"command":"treemirror development . \"**/*.d.ts{,.map}\" \"!test\"","dependencies":["../internal-scripts:build","build:ts"],"files":[],"output":["*.d.ts{,.map}","lib/**/*.d.ts{,.map}"]},"build:rollup":{"command":"rollup -c","dependencies":["build:ts"],"files":["rollup.config.js","../../../rollup-common.js"],"output":["index.js{,.map}","lib/**/*.js{,.map}"]},"checksize":{"command":"rollup -c --environment=CHECKSIZE","dependencies":["build:ts"],"files":["rollup.config.js","../../../rollup-common.js"],"output":[]},"test":{"dependencies":["test:dev","test:prod"]},"test:dev":{"command":"MODE=dev node ../tests/run-web-tests.js \"development/**/*_test.js\" --config ../tests/web-test-runner.config.js","dependencies":["build:ts","build:ts:std-decorators-tests","../tests:build"],"env":{"BROWSERS":{"external":true}},"files":[],"output":[]},"test:prod":{"command":"MODE=prod node ../tests/run-web-tests.js \"development/**/*_test.js\" --config ../tests/web-test-runner.config.js","dependencies":["build","../tests:build"],"env":{"BROWSERS":{"external":true}},"files":[],"output":[]}},"author":{"name":"Google LLC"},"dependencies":{"@lit/reactive-element":"^1.6.2 || ^2.1.0"},"devDependencies":{"chai":"^5.1.0","@lit-internal/scripts":"^1.0.1","@lit-labs/testing":"^0.2.2","@types/trusted-types":"^2.0.2","lit":"^3.3.0"},"publishConfig":{"access":"public"},"_id":"@lit/context@1.1.6","gitHead":"43c6168acc4a30d70091ee30c307f692a02387d5","bugs":{"url":"https://github.com/lit/lit/issues"},"_nodeVersion":"20.19.3","_npmVersion":"10.8.2","dist":{"integrity":"sha512-M26qDE6UkQbZA2mQ3RjJ3Gzd8TxP+/0obMgE5HfkfLhEEyYE3Bui4A5XHiGPjy0MUGAyxB3QgVuw2ciS0kHn6A==","shasum":"ae67126bab4cabda65374a3286e4168f07bc31e6","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@lit/context/-/context-1.1.6.tgz","fileCount":84,"unpackedSize":212758,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@lit%2fcontext@1.1.6","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCVa0vtbmiWlxbPPkTTRRVI/TKU7CLjhUTPaa9U6o6XwQIhAKy8qSczUyeAwciW8rvv0HRXDALO2VWinRyVY3UcXdei"}],"size":40802},"_npmUser":{"name":"anonymous","email":"lit-robot@google.com"},"maintainers":[{"name":"anonymous","email":"kevinpschaaf@gmail.com"},{"name":"anonymous","email":"sorvell@google.com"},{"name":"anonymous","email":"rictic@gmail.com"},{"name":"anonymous","email":"gray@stanfordalumni.org"},{"name":"anonymous","email":"justin@fagnani.com"},{"name":"anonymous","email":"aomarks@gmail.com"},{"name":"anonymous","email":"lit-robot@google.com"},{"name":"anonymous","email":"ajk830@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/context_1.1.6_1752205006157_0.07055432887142454"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-07-11T03:36:46.340Z","publish_time":1752205006340,"_source_registry_name":"default","contributors":[]}},"dist-tags":{"latest":"1.1.6","pre":"1.0.0-pre.0"},"name":"@lit/context","time":{"created":"2023-09-29T00:08:03.925Z","modified":"2025-12-03T15:24:39.037Z","1.0.0-pre.0":"2023-09-29T00:04:57.960Z","1.0.0":"2023-10-10T05:15:35.739Z","1.0.1":"2023-10-28T02:56:53.701Z","1.1.0":"2023-11-16T00:45:26.025Z","1.1.1":"2024-04-15T23:15:59.928Z","1.1.2":"2024-06-04T22:05:10.429Z","1.1.3":"2024-10-07T19:00:49.711Z","1.1.4":"2025-02-14T17:24:59.986Z","1.1.5":"2025-04-11T15:37:17.730Z","1.1.6":"2025-07-11T03:36:46.340Z"},"readme":"# @lit/context\n\nMake data available to entire component subtrees with the context protocol\nimplementation for Lit.\n\n[![Build Status](https://github.com/lit/lit/workflows/Tests/badge.svg)](https://github.com/lit/lit/actions?query=workflow%3ATests)\n[![Published on npm](https://img.shields.io/npm/v/@lit/context.svg?logo=npm)](https://www.npmjs.com/package/@lit/context)\n[![Join our Discord](https://img.shields.io/badge/discord-join%20chat-5865F2.svg?logo=discord&logoColor=fff)](https://lit.dev/discord/)\n[![Mentioned in Awesome Lit](https://awesome.re/mentioned-badge.svg)](https://github.com/web-padawan/awesome-lit)\n\n## Documentation\n\nFull documentation is available at [lit.dev/docs/data/context/](https://lit.dev/docs/data/context/).\n\n## Overview\n\nThis module defines an implementation of controllers and decorators for using the [Context Protocol](https://github.com/webcomponents-cg/community-protocols/blob/main/proposals/context.md) as defined by the Web Components Community Group.\n\nThis protocol facilitates the communication between components lower in the DOM hierarchy with their ancestors, allowing data to be passed down the tree without having to be passed via 'prop drilling' where each element in the path passes on the data.\n\nFor further explanation of the Context Protocol please see the [community protocol documentation](https://github.com/webcomponents-cg/community-protocols/blob/main/proposals/context.md).\n\n## Usage\n\nThere are several different usages of the Context API.\n\n### Creating a Context\n\nFirst lets define a context key we can use elsewhere in our examples:\n\n#### **`logger.ts`**:\n\n```ts\nimport {createContext} from '@lit/context';\n\nexport interface Logger {\n  log: (msg: string) => void;\n}\n\nexport const loggerContext = createContext<Logger>('logger');\n```\n\n### Consuming a Context\n\nNow we can define a consumer for this context - some component in our app needs the logger.\n\nHere we're using the `@consume` property decorator to make a `ContextConsumer` controller\nand update its value when the context changes:\n\n#### **`my-element.ts`**:\n\n```ts\nimport {LitElement, property} from 'lit';\nimport {consume} from '@lit/context';\nimport {Logger, loggerContext} from './logger.js';\n\nexport class MyElement extends LitElement {\n  @consume({context: loggerContext, subscribe: true})\n  @property({attribute: false})\n  public logger?: Logger;\n\n  private doThing() {\n    this.logger?.log('a thing was done');\n  }\n}\n```\n\nAnother way we can use a context in a component is via the `ContextConsumer` controller directly:\n\n#### **`my-element.ts`**:\n\n```ts\nimport {LitElement, property} from 'lit';\nimport {ContextConsumer} from '@lit/context';\nimport {Logger, loggerContext} from './logger.js';\n\nexport class MyElement extends LitElement {\n  public logger = new ContextConsumer(\n    this,\n    loggerContext,\n    undefined, // don't need to pass a callback\n    true // pass true to get updates if the logger changes\n  );\n\n  private doThing() {\n    this.logger.value?.log('a thing was done');\n  }\n}\n```\n\n### Providing a Context\n\nFinally we want to be able to provide this context from somewhere higher in the DOM.\n\nHere we're using a `@provide` property decorator to make a `ContextProvider`\ncontroller and update its value when the property value changes.\n\n#### **`my-app.ts`**:\n\n```ts\nimport {LitElement, property, html} from 'lit';\nimport {provide} from '@lit/context';\nimport {loggerContext, Logger} from './logger.js';\n\nexport class MyApp extends LitElement {\n  @provide({context: loggerContext})\n  @property({attribute: false})\n  public logger: Logger = {\n    log: (msg) => {\n      console.log(`[my-app] ${msg}`);\n    },\n  };\n\n  protected render(): TemplateResult {\n    return html`<my-thing></my-thing>`;\n  }\n}\n```\n\nWe can also use the `ContextProvider` controller directly:\n\n#### **`my-app.ts`**:\n\n```ts\nimport {LitElement, html} from 'lit';\nimport {ContextProvider} from '@lit/context';\nimport {loggerContext, Logger} from './logger.js';\n\nexport class MyApp extends LitElement {\n  // create a provider controller and a default logger\n  private provider = new ContextProvider(this, loggerContext, {\n    log: (msg) => {\n      console.log(`[my-app] ${msg}`);\n    },\n  });\n\n  protected render(): TemplateResult {\n    return html`<my-thing></my-thing>`;\n  }\n\n  public setLogger(newLogger: Logger) {\n    // update the provider with a new logger value\n    this.provider.setValue(newLogger);\n  }\n}\n```\n\n`ContextProvider` can also be used with plain HTML elements. This can be\nuseful to provide a context provider without introducing a custom element:\n\n#### **`my-app.js`**:\n\n```js\nimport {ContextProvider} from '@lit/context';\nimport {loggerContext, Logger} from './logger.js';\n\n// create a provider for the whole document body.\nconst loggingProvider = new ContextProvider(document.body, {\n    context: loggerContext,\n    initialValue: {\n      log: (msg) => {\n        console.log(`[global] ${msg}`);\n      },\n    },\n);\n```\n\nIf the provider is being added when there is already a consumer registered with\na parent of the specified element or with a `ContextRoot`, then\n`.hostConnected()` must be called on the provider after creating it. This\nensures existing downstream consumers will now get their context values from the\nclosest parent provider.\n\n## Known Issues\n\n### Late upgraded Context Providers\n\nIn some cases you might have a context providing element that is upgraded late. LightDOM content below this provider may end up requesting a context that is currently not provided by any provider.\n\nTo solve this case we provide a `ContextRoot` class which can intercept and track unsatisfied `context-request` events and then redispatch these requests when providers are updated.\n\nExample usage:\n\n#### **`index.ts`**:\n\n```ts\nimport {ContextRoot} from '@lit/context';\nconst root = new ContextRoot();\nroot.attach(document.body);\n```\n\nThe `ContextRoot` can be attached to any element and it will gather a list of any context requests which are received at the attached element. The `ContextProvider` controllers will emit `context-provider` events when they are connected to the DOM. These events act as triggers for the `ContextRoot` to redispatch these `context-request` events from their sources.\n\nThis solution has a small overhead, in that if a provider is not within the DOM hierarchy of the unsatisfied requests we are unnecessarily refiring these requests, but this approach is safest and most correct in that it is very hard to manage unstable DOM hierarchies with the semantics of slotting and reparenting that is common in web components implementations.\n\nNote that ContextRoot uses [WeakRefs](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakRef) which are not supported in IE11.\n\n### Protected / Private Properties\n\nYou can use the `@consume` and `@provide` decorators on TypeScript `protected` and `private` properties, but be aware that there is no type checking between the type of the context and the type of the property. This is because the TypeScript compiler does not make type information for protected or private properties available to decorators. Standard `#private` properties are not supported at all.\n\nWe expect to fix all of this when we switch to standard decorators. See [#3926](https://github.com/lit/lit/issues/3926).\n\n## Contributing\n\nPlease see [CONTRIBUTING.md](../../CONTRIBUTING.md).","users":{}}