{"_id":"apollo-link-context","_rev":"215569","name":"apollo-link-context","description":"An easy way to set and cache context changes for Apollo Link","dist-tags":{"beta":"2.0.0-beta.0","latest":"1.0.20"},"maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"peggyrayzis","email":"peggyrayzis@gmail.com"}],"time":{"modified":"2021-06-03T15:35:28.000Z","created":"2017-10-21T00:13:41.394Z","1.0.20":"2020-04-09T18:58:49.884Z","2.0.0-beta.0":"2019-11-15T20:07:30.525Z","1.0.19":"2019-09-06T16:30:48.475Z","1.0.18":"2019-06-14T22:45:00.337Z","1.0.17":"2019-03-14T11:14:30.108Z","1.0.16":"2019-03-14T01:13:07.771Z","1.0.15":"2019-03-05T23:08:44.650Z","1.0.14":"2019-02-01T19:48:44.158Z","1.0.13":"2019-02-01T17:46:29.110Z","1.0.12":"2018-12-15T01:54:53.286Z","1.0.11":"2018-12-13T19:27:43.254Z","1.0.10":"2018-11-21T02:57:47.302Z","1.0.9":"2018-09-15T09:34:24.625Z","1.0.8":"2018-04-12T18:12:48.454Z","1.0.7":"2018-02-23T02:01:15.505Z","1.0.6":"2018-02-21T01:14:32.398Z","1.0.5":"2018-02-08T18:02:07.691Z","1.0.3":"2017-12-08T12:03:18.743Z","1.0.2":"2017-11-30T14:33:35.378Z","1.0.1":"2017-11-15T15:54:59.164Z","1.0.0":"2017-10-24T18:44:52.968Z","0.1.0":"2017-10-21T00:13:41.394Z"},"users":{},"author":{"name":"James Baxley","email":"james@meteor.com"},"repository":{"type":"git","url":"git+https://github.com/apollographql/apollo-link.git"},"versions":{"1.0.20":{"name":"apollo-link-context","version":"1.0.20","description":"An easy way to set and cache context changes for Apollo Link","author":{"name":"James Baxley","email":"james@meteor.com"},"license":"MIT","main":"./lib/index.js","module":"./lib/bundle.esm.js","typings":"./lib/index.d.ts","sideEffects":false,"repository":{"type":"git","url":"git+https://github.com/apollographql/apollo-link.git"},"bugs":{"url":"https://github.com/apollographql/apollo-link/issues"},"homepage":"https://github.com/apollographql/apollo-link#readme","scripts":{"build":"tsc && rollup -c","clean":"rimraf lib/* && rimraf coverage/*","coverage":"jest --coverage","filesize":"../../scripts/minify","lint":"tslint -c \"../../tslint.json\" -p tsconfig.json -c ../../tslint.json src/*.ts","prebuild":"npm run clean","prepare":"npm run build","test":"npm run lint && jest","watch":"tsc -w -p . & rollup -c -w"},"dependencies":{"apollo-link":"^1.2.14","tslib":"^1.9.3"},"devDependencies":{"@types/graphql":"14.2.3","@types/jest":"24.9.0","graphql":"15.0.0","graphql-tag":"2.10.1","jest":"24.9.0","rimraf":"2.7.1","rollup":"1.29.1","ts-jest":"22.4.6","tslint":"5.20.1","typescript":"3.0.3"},"jest":{"transform":{".(ts|tsx)":"ts-jest"},"testRegex":"(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$","moduleFileExtensions":["ts","tsx","js","json"],"testURL":"http://localhost"},"gitHead":"1012934b4fd9ab436c4fdcd5e9b1bb1e4c1b0d98","_id":"apollo-link-context@1.0.20","_nodeVersion":"10.15.3","_npmVersion":"lerna/3.20.2/node@v10.15.3+x64 (darwin)","dist":{"shasum":"1939ac5dc65d6dff0c855ee53521150053c24676","size":5124,"noattachment":false,"key":"/apollo-link-context/-/apollo-link-context-1.0.20.tgz","tarball":"http://registry.cnpm.dingdandao.com/apollo-link-context/download/apollo-link-context-1.0.20.tgz"},"maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"peggyrayzis","email":"peggyrayzis@gmail.com"}],"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/apollo-link-context_1.0.20_1586458729772_0.854749059536642"},"_hasShrinkwrap":false,"publish_time":1586458729884,"_cnpm_publish_time":1586458729884},"2.0.0-beta.0":{"name":"apollo-link-context","version":"2.0.0-beta.0","description":"An easy way to set and cache context changes for Apollo Link","author":{"name":"James Baxley","email":"james@meteor.com"},"license":"MIT","main":"./lib/index.js","module":"./lib/bundle.esm.js","typings":"./lib/index.d.ts","sideEffects":false,"repository":{"type":"git","url":"git+https://github.com/apollographql/apollo-link.git"},"bugs":{"url":"https://github.com/apollographql/apollo-link/issues"},"homepage":"https://github.com/apollographql/apollo-link#readme","scripts":{"build":"tsc && rollup -c","clean":"rimraf lib/* && rimraf coverage/*","coverage":"jest --coverage","filesize":"../../scripts/minify","lint":"tslint -c \"../../tslint.json\" -p tsconfig.json -c ../../tslint.json src/*.ts","prebuild":"npm run clean","prepare":"npm run build","test":"npm run lint && jest","watch":"tsc -w -p . & rollup -c -w"},"dependencies":{"@apollo/client":"^3.0.0-beta.10","tslib":"^1.9.3"},"devDependencies":{"@types/graphql":"14.2.3","@types/jest":"24.0.23","graphql":"14.5.8","graphql-tag":"2.10.1","jest":"24.9.0","rimraf":"2.7.1","rollup":"1.27.0","ts-jest":"22.4.6","tslint":"5.20.1","typescript":"3.0.3"},"jest":{"transform":{".(ts|tsx)":"ts-jest"},"testRegex":"(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$","moduleFileExtensions":["ts","tsx","js","json"],"testURL":"http://localhost"},"gitHead":"150213d6b1ee2ecf5a6c8f7f46acf53b639edb0d","readmeFilename":"README.md","_id":"apollo-link-context@2.0.0-beta.0","_nodeVersion":"10.15.3","_npmVersion":"lerna/3.18.4/node@v10.15.3+x64 (darwin)","dist":{"shasum":"288cbec15ff33e07cc423488d05118554d5688a4","size":5082,"noattachment":false,"key":"/apollo-link-context/-/apollo-link-context-2.0.0-beta.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/apollo-link-context/download/apollo-link-context-2.0.0-beta.0.tgz"},"maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"peggyrayzis","email":"peggyrayzis@gmail.com"}],"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/apollo-link-context_2.0.0-beta.0_1573848450387_0.5653184103504243"},"_hasShrinkwrap":false,"publish_time":1573848450525,"_cnpm_publish_time":1573848450525},"1.0.19":{"name":"apollo-link-context","version":"1.0.19","description":"An easy way to set and cache context changes for Apollo Link","author":{"name":"James Baxley","email":"james@meteor.com"},"license":"MIT","main":"./lib/index.js","module":"./lib/bundle.esm.js","typings":"./lib/index.d.ts","sideEffects":false,"repository":{"type":"git","url":"git+https://github.com/apollographql/apollo-link.git"},"bugs":{"url":"https://github.com/apollographql/apollo-link/issues"},"homepage":"https://github.com/apollographql/apollo-link#readme","scripts":{"build":"tsc && rollup -c","clean":"rimraf lib/* && rimraf coverage/*","coverage":"jest --coverage","filesize":"../../scripts/minify","lint":"tslint -c \"../../tslint.json\" -p tsconfig.json -c ../../tslint.json src/*.ts","prebuild":"npm run clean","prepare":"npm run build","test":"npm run lint && jest","watch":"tsc -w -p . & rollup -c -w"},"dependencies":{"apollo-link":"^1.2.13","tslib":"^1.9.3"},"devDependencies":{"@types/graphql":"14.2.3","@types/jest":"24.0.18","graphql":"14.5.4","graphql-tag":"2.10.1","jest":"24.9.0","rimraf":"2.7.1","rollup":"1.20.3","ts-jest":"22.4.6","tslint":"5.17.0","typescript":"3.0.3"},"jest":{"transform":{".(ts|tsx)":"ts-jest"},"testRegex":"(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$","moduleFileExtensions":["ts","tsx","js","json"],"testURL":"http://localhost"},"gitHead":"74d412528dd474fc41ee0bf504e36e01d7e05e2b","_id":"apollo-link-context@1.0.19","_nodeVersion":"10.15.3","_npmVersion":"lerna/3.16.4/node@v10.15.3+x64 (darwin)","dist":{"shasum":"3c9ba5bf75ed5428567ce057b8837ef874a58987","size":5065,"noattachment":false,"key":"/apollo-link-context/-/apollo-link-context-1.0.19.tgz","tarball":"http://registry.cnpm.dingdandao.com/apollo-link-context/download/apollo-link-context-1.0.19.tgz"},"maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"peggyrayzis","email":"peggyrayzis@gmail.com"}],"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/apollo-link-context_1.0.19_1567787448307_0.13120421710486618"},"_hasShrinkwrap":false,"publish_time":1567787448475,"_cnpm_publish_time":1567787448475},"1.0.18":{"name":"apollo-link-context","version":"1.0.18","description":"An easy way to set and cache context changes for Apollo Link","author":{"name":"James Baxley","email":"james@meteor.com"},"license":"MIT","main":"./lib/index.js","module":"./lib/bundle.esm.js","typings":"./lib/index.d.ts","sideEffects":false,"repository":{"type":"git","url":"git+https://github.com/apollographql/apollo-link.git"},"bugs":{"url":"https://github.com/apollographql/apollo-link/issues"},"homepage":"https://github.com/apollographql/apollo-link#readme","scripts":{"build":"tsc && rollup -c","clean":"rimraf lib/* && rimraf coverage/*","coverage":"jest --coverage","filesize":"../../scripts/minify","lint":"tslint -c \"../../tslint.json\" -p tsconfig.json -c ../../tslint.json src/*.ts","prebuild":"npm run clean","prepare":"npm run build","test":"npm run lint && jest","watch":"tsc -w -p . & rollup -c -w"},"dependencies":{"apollo-link":"^1.2.12","tslib":"^1.9.3"},"devDependencies":{"@types/graphql":"14.2.0","@types/jest":"24.0.14","graphql":"14.3.1","graphql-tag":"2.10.1","jest":"24.8.0","rimraf":"2.6.3","rollup":"1.15.4","ts-jest":"22.4.6","tslint":"5.17.0","typescript":"3.0.3"},"jest":{"transform":{".(ts|tsx)":"ts-jest"},"testRegex":"(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$","moduleFileExtensions":["ts","tsx","js","json"],"testURL":"http://localhost"},"gitHead":"f902ab977d7d173951528a0bc2e38521b2afc096","_id":"apollo-link-context@1.0.18","_nodeVersion":"8.16.0","_npmVersion":"lerna/3.13.1/node@v8.16.0+x64 (darwin)","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"dist":{"shasum":"9e700e3314da8ded50057fee0a18af2bfcedbfc3","size":5104,"noattachment":false,"key":"/apollo-link-context/-/apollo-link-context-1.0.18.tgz","tarball":"http://registry.cnpm.dingdandao.com/apollo-link-context/download/apollo-link-context-1.0.18.tgz"},"maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"peggyrayzis","email":"peggyrayzis@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/apollo-link-context_1.0.18_1560552300218_0.447980861286954"},"_hasShrinkwrap":false,"publish_time":1560552300337,"_cnpm_publish_time":1560552300337},"1.0.17":{"name":"apollo-link-context","version":"1.0.17","description":"An easy way to set and cache context changes for Apollo Link","author":{"name":"James Baxley","email":"james@meteor.com"},"license":"MIT","main":"./lib/index.js","module":"./lib/bundle.esm.js","typings":"./lib/index.d.ts","sideEffects":false,"repository":{"type":"git","url":"git+https://github.com/apollographql/apollo-link.git"},"bugs":{"url":"https://github.com/apollographql/apollo-link/issues"},"homepage":"https://github.com/apollographql/apollo-link#readme","scripts":{"build":"tsc && rollup -c","clean":"rimraf lib/* && rimraf coverage/*","coverage":"jest --coverage","filesize":"../../scripts/minify","lint":"tslint -c \"../../tslint.json\" -p tsconfig.json -c ../../tslint.json src/*.ts","prebuild":"npm run clean","prepare":"npm run build","test":"npm run lint && jest","watch":"tsc -w -p . & rollup -c -w"},"dependencies":{"apollo-link":"^1.2.11","tslib":"^1.9.3"},"devDependencies":{"@types/graphql":"14.0.7","@types/jest":"24.0.11","graphql":"14.1.1","graphql-tag":"2.10.1","jest":"24.5.0","rimraf":"2.6.3","rollup":"1.6.0","ts-jest":"22.4.6","tslint":"5.14.0","typescript":"3.0.3"},"jest":{"transform":{".(ts|tsx)":"ts-jest"},"testRegex":"(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$","moduleFileExtensions":["ts","tsx","js","json"],"testURL":"http://localhost"},"gitHead":"ed1800b4261566e91906cdb9cc45c7d004393175","_id":"apollo-link-context@1.0.17","_nodeVersion":"8.12.0","_npmVersion":"lerna/3.13.1/node@v8.12.0+x64 (darwin)","dist":{"shasum":"439272cfb43ec1891506dd175ed907845b7de36c","size":5100,"noattachment":false,"key":"/apollo-link-context/-/apollo-link-context-1.0.17.tgz","tarball":"http://registry.cnpm.dingdandao.com/apollo-link-context/download/apollo-link-context-1.0.17.tgz"},"maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"peggyrayzis","email":"peggyrayzis@gmail.com"}],"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/apollo-link-context_1.0.17_1552562069999_0.9819019771075514"},"_hasShrinkwrap":false,"publish_time":1552562070108,"_cnpm_publish_time":1552562070108},"1.0.16":{"name":"apollo-link-context","version":"1.0.16","description":"An easy way to set and cache context changes for Apollo Link","author":{"name":"James Baxley","email":"james@meteor.com"},"license":"MIT","main":"./lib/index.js","module":"./lib/bundle.esm.js","typings":"./lib/index.d.ts","sideEffects":false,"repository":{"type":"git","url":"git+https://github.com/apollographql/apollo-link.git"},"bugs":{"url":"https://github.com/apollographql/apollo-link/issues"},"homepage":"https://github.com/apollographql/apollo-link#readme","scripts":{"build":"tsc && rollup -c","clean":"rimraf lib/* && rimraf coverage/*","coverage":"jest --coverage","filesize":"../../scripts/minify","lint":"tslint -c \"../../tslint.json\" -p tsconfig.json -c ../../tslint.json src/*.ts","prebuild":"npm run clean","prepare":"npm run build","test":"npm run lint && jest","watch":"tsc -w -p . & rollup -c -w"},"dependencies":{"apollo-link":"^1.2.10","tslib":"^1.9.3"},"devDependencies":{"@types/graphql":"14.0.7","@types/jest":"24.0.11","graphql":"14.1.1","graphql-tag":"2.10.1","jest":"24.5.0","rimraf":"2.6.3","rollup":"1.6.0","ts-jest":"22.4.6","tslint":"5.13.1","typescript":"3.0.3"},"jest":{"transform":{".(ts|tsx)":"ts-jest"},"testRegex":"(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$","moduleFileExtensions":["ts","tsx","js","json"],"testURL":"http://localhost"},"gitHead":"127ab65ba89185a82c492299c7853f02fdd7e570","_id":"apollo-link-context@1.0.16","_nodeVersion":"8.12.0","_npmVersion":"lerna/3.13.1/node@v8.12.0+x64 (darwin)","dist":{"shasum":"bc0c77ba13b45d0c690705f2fa27c66371bcb4da","size":5099,"noattachment":false,"key":"/apollo-link-context/-/apollo-link-context-1.0.16.tgz","tarball":"http://registry.cnpm.dingdandao.com/apollo-link-context/download/apollo-link-context-1.0.16.tgz"},"maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"peggyrayzis","email":"peggyrayzis@gmail.com"}],"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/apollo-link-context_1.0.16_1552525987556_0.5489149012196117"},"_hasShrinkwrap":false,"publish_time":1552525987771,"_cnpm_publish_time":1552525987771},"1.0.15":{"name":"apollo-link-context","version":"1.0.15","description":"An easy way to set and cache context changes for Apollo Link","author":{"name":"James Baxley","email":"james@meteor.com"},"license":"MIT","main":"./lib/index.js","module":"./lib/bundle.esm.js","typings":"./lib/index.d.ts","sideEffects":false,"repository":{"type":"git","url":"git+https://github.com/apollographql/apollo-link.git"},"bugs":{"url":"https://github.com/apollographql/apollo-link/issues"},"homepage":"https://github.com/apollographql/apollo-link#readme","scripts":{"build":"tsc && rollup -c","clean":"rimraf lib/* && rimraf coverage/*","coverage":"jest --coverage","filesize":"../../scripts/minify","lint":"tslint -c \"../../tslint.json\" -p tsconfig.json -c ../../tslint.json src/*.ts","prebuild":"npm run clean","prepare":"npm run build","test":"npm run lint && jest","watch":"tsc -w -p . & rollup -c -w"},"dependencies":{"apollo-link":"^1.2.9","tslib":"^1.9.3"},"devDependencies":{"@types/graphql":"14.0.7","@types/jest":"22.2.3","graphql":"14.1.1","graphql-tag":"2.10.1","jest":"22.4.4","rimraf":"2.6.3","rollup":"1.4.1","ts-jest":"22.4.6","tslint":"5.13.1","typescript":"3.0.3"},"jest":{"transform":{".(ts|tsx)":"ts-jest"},"testRegex":"(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$","moduleFileExtensions":["ts","tsx","js","json"],"testURL":"http://localhost"},"gitHead":"2c960e057de9d664855bb18df4a4bd25c88bb6ef","_id":"apollo-link-context@1.0.15","_nodeVersion":"8.15.1","_npmVersion":"lerna/3.13.1/node@v8.15.1+x64 (darwin)","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"dist":{"shasum":"9e5dc3eb874b3ed975f0bb0062a65aa946fd30a2","size":7311,"noattachment":false,"key":"/apollo-link-context/-/apollo-link-context-1.0.15.tgz","tarball":"http://registry.cnpm.dingdandao.com/apollo-link-context/download/apollo-link-context-1.0.15.tgz"},"maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"peggyrayzis","email":"peggyrayzis@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/apollo-link-context_1.0.15_1551827324452_0.26012697592761413"},"_hasShrinkwrap":false,"publish_time":1551827324650,"_cnpm_publish_time":1551827324650},"1.0.14":{"name":"apollo-link-context","version":"1.0.14","description":"An easy way to set and cache context changes for Apollo Link","author":{"name":"James Baxley","email":"james@meteor.com"},"license":"MIT","main":"./lib/index.js","module":"./lib/bundle.esm.js","typings":"./lib/index.d.ts","repository":{"type":"git","url":"git+https://github.com/apollographql/apollo-link.git"},"bugs":{"url":"https://github.com/apollographql/apollo-link/issues"},"homepage":"https://github.com/apollographql/apollo-link#readme","scripts":{"build:browser":"browserify ./lib/bundle.umd.js -o=./lib/bundle.js --i apollo-link && npm run minify:browser","build":"tsc -p ./tsconfig.cjs.json","bundle":"rollup -c","clean":"rimraf lib/* && rimraf coverage/*","coverage":"jest --coverage","filesize":"npm run build && npm run build:browser","lint":"tslint -c \"../../tslint.json\" -p tsconfig.json -c ../../tslint.json src/*.ts","minify:browser":"uglifyjs -c -m -o ./lib/bundle.min.js -- ./lib/bundle.js","postbuild":"npm run bundle","prebuild":"npm run clean","prepare":"npm run lint && npm run build","prepublishOnly":"npm run clean && npm run build","test":"jest","watch":"tsc -w -p . & rollup -c -w"},"dependencies":{"apollo-link":"^1.2.8"},"devDependencies":{"@types/graphql":"14.0.5","@types/jest":"22.2.3","browserify":"16.2.3","graphql":"14.1.1","graphql-tag":"2.10.1","jest":"22.4.4","rimraf":"2.6.3","rollup":"0.68.2","ts-jest":"22.4.6","tslint":"5.12.1","typescript":"3.0.3","uglify-js":"3.4.9"},"jest":{"transform":{".(ts|tsx)":"ts-jest"},"testRegex":"(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$","moduleFileExtensions":["ts","tsx","js","json"],"testURL":"http://localhost"},"gitHead":"6f5d0cfb73e61c6f83caed9e37d37c4451a64c7b","_id":"apollo-link-context@1.0.14","_nodeVersion":"8.12.0","_npmVersion":"lerna/3.10.7/node@v8.12.0+x64 (darwin)","dist":{"shasum":"6265eef49bedadddbbcff4026d04cd351094cd6c","size":9602,"noattachment":false,"key":"/apollo-link-context/-/apollo-link-context-1.0.14.tgz","tarball":"http://registry.cnpm.dingdandao.com/apollo-link-context/download/apollo-link-context-1.0.14.tgz"},"maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"peggyrayzis","email":"peggyrayzis@gmail.com"}],"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/apollo-link-context_1.0.14_1549050524056_0.9666918841867937"},"_hasShrinkwrap":false,"publish_time":1549050524158,"_cnpm_publish_time":1549050524158},"1.0.13":{"name":"apollo-link-context","version":"1.0.13","description":"An easy way to set and cache context changes for Apollo Link","author":{"name":"James Baxley","email":"james@meteor.com"},"license":"MIT","main":"./lib/index.js","module":"./lib/bundle.esm.js","typings":"./lib/index.d.ts","repository":{"type":"git","url":"git+https://github.com/apollographql/apollo-link.git"},"bugs":{"url":"https://github.com/apollographql/apollo-link/issues"},"homepage":"https://github.com/apollographql/apollo-link#readme","scripts":{"build:browser":"browserify ./lib/bundle.umd.js -o=./lib/bundle.js --i apollo-link && npm run minify:browser","build":"tsc -p ./tsconfig.cjs.json","bundle":"rollup -c","clean":"rimraf lib/* && rimraf coverage/*","coverage":"jest --coverage","filesize":"npm run build && npm run build:browser","lint":"tslint -c \"../../tslint.json\" -p tsconfig.json -c ../../tslint.json src/*.ts","minify:browser":"uglifyjs -c -m -o ./lib/bundle.min.js -- ./lib/bundle.js","postbuild":"npm run bundle","prebuild":"npm run clean","prepare":"npm run lint && npm run build","prepublishOnly":"npm run clean && npm run build","test":"jest","watch":"tsc -w -p . & rollup -c -w"},"dependencies":{"apollo-link":"^1.2.7"},"devDependencies":{"@types/graphql":"14.0.5","@types/jest":"22.2.3","browserify":"16.2.3","graphql":"14.1.1","graphql-tag":"2.10.1","jest":"22.4.4","rimraf":"2.6.3","rollup":"0.68.2","ts-jest":"22.4.6","tslint":"5.12.1","typescript":"3.0.3","uglify-js":"3.4.9"},"jest":{"transform":{".(ts|tsx)":"ts-jest"},"testRegex":"(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$","moduleFileExtensions":["ts","tsx","js","json"],"testURL":"http://localhost"},"_id":"apollo-link-context@1.0.13","_npmVersion":"5.7.1","_nodeVersion":"8.9.2","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"dist":{"shasum":"16b811daf43295c8c9f93702a36b8c69af75e2eb","size":8753,"noattachment":false,"key":"/apollo-link-context/-/apollo-link-context-1.0.13.tgz","tarball":"http://registry.cnpm.dingdandao.com/apollo-link-context/download/apollo-link-context-1.0.13.tgz"},"maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"peggyrayzis","email":"peggyrayzis@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/apollo-link-context_1.0.13_1549043188966_0.7699634669007986"},"_hasShrinkwrap":false,"publish_time":1549043189110,"_cnpm_publish_time":1549043189110},"1.0.12":{"name":"apollo-link-context","version":"1.0.12","description":"An easy way to set and cache context changes for Apollo Link","author":{"name":"James Baxley","email":"james@meteor.com"},"license":"MIT","main":"./lib/bundle.umd.js","module":"./lib/index.js","jsnext:main":"./lib/index.js","typings":"./lib/index.d.ts","repository":{"type":"git","url":"git+https://github.com/apollographql/apollo-link.git"},"bugs":{"url":"https://github.com/apollographql/apollo-link/issues"},"homepage":"https://github.com/apollographql/apollo-link#readme","scripts":{"build:browser":"browserify ./lib/bundle.umd.js -o=./lib/bundle.js --i apollo-link && npm run minify:browser","build":"tsc -p .","bundle":"rollup -c","clean":"rimraf lib/* && rimraf coverage/*","coverage":"jest --coverage","filesize":"npm run build && npm run build:browser","lint":"tslint --type-check -p tsconfig.json -c ../../tslint.json src/*.ts","minify:browser":"uglifyjs -c -m -o ./lib/bundle.min.js -- ./lib/bundle.js","postbuild":"npm run bundle","prebuild":"npm run clean","prepublishOnly":"npm run clean && npm run build","test":"jest","watch":"tsc -w -p . & rollup -c -w"},"dependencies":{"apollo-link":"^1.2.6"},"devDependencies":{"@types/graphql":"14.0.3","@types/jest":"22.2.3","browserify":"16.2.3","graphql":"14.0.2","graphql-tag":"2.10.0","jest":"22.4.4","rimraf":"2.6.1","rollup":"0.67.4","ts-jest":"22.4.6","tslint":"5.11.0","typescript":"3.0.3","uglify-js":"3.4.9"},"jest":{"transform":{".(ts|tsx)":"ts-jest"},"testRegex":"(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$","moduleFileExtensions":["ts","tsx","js","json"],"mapCoverage":true,"testURL":"http://localhost"},"_id":"apollo-link-context@1.0.12","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"dist":{"shasum":"02d72e621a3b75239d4419a9bfd38d8bd9bb0d3f","size":3898,"noattachment":false,"key":"/apollo-link-context/-/apollo-link-context-1.0.12.tgz","tarball":"http://registry.cnpm.dingdandao.com/apollo-link-context/download/apollo-link-context-1.0.12.tgz"},"maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"peggyrayzis","email":"peggyrayzis@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/apollo-link-context_1.0.12_1544838892888_0.5502940984976858"},"_hasShrinkwrap":false,"publish_time":1544838893286,"_cnpm_publish_time":1544838893286},"1.0.11":{"name":"apollo-link-context","version":"1.0.11","description":"An easy way to set and cache context changes for Apollo Link","author":{"name":"James Baxley","email":"james@meteor.com"},"license":"MIT","main":"./lib/bundle.umd.js","module":"./lib/index.js","jsnext:main":"./lib/index.js","typings":"./lib/index.d.ts","repository":{"type":"git","url":"git+https://github.com/apollographql/apollo-link.git"},"bugs":{"url":"https://github.com/apollographql/apollo-link/issues"},"homepage":"https://github.com/apollographql/apollo-link#readme","scripts":{"build:browser":"browserify ./lib/bundle.umd.js -o=./lib/bundle.js --i apollo-link && npm run minify:browser","build":"tsc -p .","bundle":"rollup -c","clean":"rimraf lib/* && rimraf coverage/*","coverage":"jest --coverage","filesize":"npm run build && npm run build:browser","lint":"tslint --type-check -p tsconfig.json -c ../../tslint.json src/*.ts","minify:browser":"uglifyjs -c -m -o ./lib/bundle.min.js -- ./lib/bundle.js","postbuild":"npm run bundle","prebuild":"npm run clean","prepublishOnly":"npm run clean && npm run build","test":"jest","watch":"tsc -w -p . & rollup -c -w"},"dependencies":{"apollo-link":"^1.2.5"},"devDependencies":{"@types/graphql":"14.0.3","@types/jest":"22.2.3","browserify":"16.2.3","graphql":"14.0.2","graphql-tag":"2.10.0","jest":"22.4.4","rimraf":"2.6.1","rollup":"0.67.4","ts-jest":"22.4.6","tslint":"5.11.0","typescript":"3.0.3","uglify-js":"3.4.9"},"jest":{"transform":{".(ts|tsx)":"ts-jest"},"testRegex":"(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$","moduleFileExtensions":["ts","tsx","js","json"],"mapCoverage":true,"testURL":"http://localhost"},"_id":"apollo-link-context@1.0.11","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"dist":{"shasum":"b0ba1918a7e32cf0e40004781ec267568caa2e47","size":5085,"noattachment":false,"key":"/apollo-link-context/-/apollo-link-context-1.0.11.tgz","tarball":"http://registry.cnpm.dingdandao.com/apollo-link-context/download/apollo-link-context-1.0.11.tgz"},"maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"peggyrayzis","email":"peggyrayzis@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/apollo-link-context_1.0.11_1544729263131_0.43181496631296157"},"_hasShrinkwrap":false,"publish_time":1544729263254,"_cnpm_publish_time":1544729263254},"1.0.10":{"name":"apollo-link-context","version":"1.0.10","description":"An easy way to set and cache context changes for Apollo Link","author":{"name":"James Baxley","email":"james@meteor.com"},"license":"MIT","main":"./lib/bundle.umd.js","module":"./lib/index.js","jsnext:main":"./lib/index.js","typings":"./lib/index.d.ts","repository":{"type":"git","url":"git+https://github.com/apollographql/apollo-link.git"},"bugs":{"url":"https://github.com/apollographql/apollo-link/issues"},"homepage":"https://github.com/apollographql/apollo-link#readme","scripts":{"build:browser":"browserify ./lib/bundle.umd.js -o=./lib/bundle.js --i apollo-link && npm run minify:browser","build":"tsc -p .","bundle":"rollup -c","clean":"rimraf lib/* && rimraf coverage/*","coverage":"jest --coverage","filesize":"npm run build && npm run build:browser","lint":"tslint --type-check -p tsconfig.json -c ../../tslint.json src/*.ts","minify:browser":"uglifyjs -c -m -o ./lib/bundle.min.js -- ./lib/bundle.js","postbuild":"npm run bundle","prebuild":"npm run clean","prepublishOnly":"npm run clean && npm run build","test":"jest","watch":"tsc -w -p . & rollup -c -w"},"dependencies":{"apollo-link":"^1.2.4"},"devDependencies":{"@types/graphql":"14.0.3","@types/jest":"22.2.3","browserify":"16.2.3","graphql":"14.0.2","graphql-tag":"2.10.0","jest":"22.4.4","rimraf":"2.6.1","rollup":"0.67.3","ts-jest":"22.4.6","tslint":"5.11.0","typescript":"3.0.3","uglify-js":"3.4.9"},"jest":{"transform":{".(ts|tsx)":"ts-jest"},"testRegex":"(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$","moduleFileExtensions":["ts","tsx","js","json"],"mapCoverage":true,"testURL":"http://localhost"},"_id":"apollo-link-context@1.0.10","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"dist":{"shasum":"c20b0b32c6e4e08c0d3967174f9c2a897c8431fe","size":5003,"noattachment":false,"key":"/apollo-link-context/-/apollo-link-context-1.0.10.tgz","tarball":"http://registry.cnpm.dingdandao.com/apollo-link-context/download/apollo-link-context-1.0.10.tgz"},"maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"peggyrayzis","email":"peggyrayzis@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/apollo-link-context_1.0.10_1542769067222_0.8980381364965422"},"_hasShrinkwrap":false,"publish_time":1542769067302,"_cnpm_publish_time":1542769067302},"1.0.9":{"name":"apollo-link-context","version":"1.0.9","description":"An easy way to set and cache context changes for Apollo Link","author":{"name":"James Baxley","email":"james@meteor.com"},"license":"MIT","main":"./lib/bundle.umd.js","module":"./lib/index.js","jsnext:main":"./lib/index.js","typings":"./lib/index.d.ts","repository":{"type":"git","url":"git+https://github.com/apollographql/apollo-link.git"},"bugs":{"url":"https://github.com/apollographql/apollo-link/issues"},"homepage":"https://github.com/apollographql/apollo-link#readme","scripts":{"build:browser":"browserify ./lib/bundle.umd.js -o=./lib/bundle.js --i apollo-link && npm run minify:browser","build":"tsc -p .","bundle":"rollup -c","clean":"rimraf lib/* && rimraf coverage/*","coverage":"jest --coverage","filesize":"npm run build && npm run build:browser","lint":"tslint --type-check -p tsconfig.json -c ../../tslint.json src/*.ts","minify:browser":"uglifyjs -c -m -o ./lib/bundle.min.js -- ./lib/bundle.js","postbuild":"npm run bundle","prebuild":"npm run clean","prepublishOnly":"npm run clean && npm run build","test":"jest","watch":"tsc -w -p . & rollup -c -w"},"dependencies":{"apollo-link":"^1.2.3"},"devDependencies":{"@types/graphql":"14.0.0","@types/jest":"22.2.3","browserify":"16.2.2","graphql":"14.0.2","graphql-tag":"2.9.2","jest":"22.4.4","rimraf":"2.6.1","rollup":"0.65.2","ts-jest":"22.4.6","tslint":"5.11.0","typescript":"3.0.3","uglify-js":"3.4.9"},"jest":{"transform":{".(ts|tsx)":"ts-jest"},"testRegex":"(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$","moduleFileExtensions":["ts","tsx","js","json"],"mapCoverage":true,"testURL":"http://localhost"},"_id":"apollo-link-context@1.0.9","_npmVersion":"5.6.0","_nodeVersion":"8.11.2","_npmUser":{"name":"mdg","email":"npm@meteor.com"},"dist":{"shasum":"7fbc034de44546e957a840be76b2f6277c785e8f","size":5019,"noattachment":false,"key":"/apollo-link-context/-/apollo-link-context-1.0.9.tgz","tarball":"http://registry.cnpm.dingdandao.com/apollo-link-context/download/apollo-link-context-1.0.9.tgz"},"maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"peggyrayzis","email":"peggyrayzis@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/apollo-link-context_1.0.9_1537004064506_0.34126314411709546"},"_hasShrinkwrap":false,"publish_time":1537004064625,"_cnpm_publish_time":1537004064625},"1.0.8":{"name":"apollo-link-context","version":"1.0.8","description":"An easy way to set and cache context changes for Apollo Link","author":{"name":"James Baxley","email":"james@meteor.com"},"license":"MIT","main":"./lib/bundle.umd.js","module":"./lib/index.js","jsnext:main":"./lib/index.js","typings":"./lib/index.d.ts","repository":{"type":"git","url":"git+https://github.com/apollographql/apollo-link.git"},"bugs":{"url":"https://github.com/apollographql/apollo-link/issues"},"homepage":"https://github.com/apollographql/apollo-link#readme","scripts":{"build:browser":"browserify ./lib/bundle.umd.js -o=./lib/bundle.js --i apollo-link && npm run minify:browser","build":"tsc -p .","bundle":"rollup -c","clean":"rimraf lib/* && rimraf coverage/*","coverage":"jest --coverage","filesize":"npm run build && npm run build:browser","lint":"tslint --type-check -p tsconfig.json -c ../../tslint.json src/*.ts","minify:browser":"uglifyjs -c -m -o ./lib/bundle.min.js -- ./lib/bundle.js","postbuild":"npm run bundle","prebuild":"npm run clean","prepublishOnly":"npm run clean && npm run build","test":"jest","watch":"tsc -w -p . & rollup -c -w"},"dependencies":{"apollo-link":"^1.2.2"},"devDependencies":{"@types/graphql":"0.12.6","@types/jest":"22.2.2","browserify":"16.1.1","graphql":"0.13.2","graphql-tag":"2.8.0","jest":"22.4.3","rimraf":"2.6.1","rollup":"0.57.1","ts-jest":"21.2.4","tslint":"5.9.1","typescript":"2.7.2","uglify-js":"3.3.16"},"jest":{"transform":{".(ts|tsx)":"ts-jest"},"testRegex":"(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$","moduleFileExtensions":["ts","tsx","js","json"],"mapCoverage":true},"_id":"apollo-link-context@1.0.8","_npmVersion":"5.7.1","_nodeVersion":"8.9.4","_npmUser":{"name":"evanshauser","email":"evanshauser@gmail.com"},"dist":{"shasum":"c967a56ac6ed32add748937735bcb57c5cc64c95","size":4926,"noattachment":false,"key":"/apollo-link-context/-/apollo-link-context-1.0.8.tgz","tarball":"http://registry.cnpm.dingdandao.com/apollo-link-context/download/apollo-link-context-1.0.8.tgz"},"maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"peggyrayzis","email":"peggyrayzis@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/apollo-link-context_1.0.8_1523556768294_0.38653155310467646"},"_hasShrinkwrap":false,"publish_time":1523556768454,"_cnpm_publish_time":1523556768454},"1.0.7":{"name":"apollo-link-context","version":"1.0.7","description":"An easy way to set and cache context changes for Apollo Link","author":{"name":"James Baxley","email":"james@meteor.com"},"license":"MIT","main":"./lib/bundle.umd.js","module":"./lib/index.js","jsnext:main":"./lib/index.js","typings":"./lib/index.d.ts","repository":{"type":"git","url":"git+https://github.com/apollographql/apollo-link.git"},"bugs":{"url":"https://github.com/apollographql/apollo-link/issues"},"homepage":"https://github.com/apollographql/apollo-link#readme","scripts":{"build:browser":"browserify ./lib/bundle.umd.js -o=./lib/bundle.js --i apollo-link && npm run minify:browser","build":"tsc -p .","bundle":"rollup -c","clean":"rimraf lib/* && rimraf coverage/*","coverage":"jest --coverage","filesize":"npm run build && npm run build:browser","lint":"tslint --type-check -p tsconfig.json -c ../../tslint.json src/*.ts","minify:browser":"uglifyjs -c -m -o ./lib/bundle.min.js -- ./lib/bundle.js","postbuild":"npm run bundle","prebuild":"npm run clean","prepublishOnly":"npm run clean && npm run build","test":"jest","watch":"tsc -w -p . & rollup -c -w"},"dependencies":{"apollo-link":"^1.2.1"},"devDependencies":{"@types/graphql":"0.12.4","@types/jest":"21.1.10","browserify":"16.1.0","graphql":"0.13.1","graphql-tag":"2.7.3","jest":"21.2.1","rimraf":"2.6.1","rollup":"0.56.2","ts-jest":"21.2.4","tslint":"5.9.1","typescript":"2.7.2","uglify-js":"3.3.11"},"jest":{"transform":{".(ts|tsx)":"<rootDir>/node_modules/ts-jest/preprocessor.js"},"testRegex":"(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$","moduleFileExtensions":["ts","tsx","js","json"],"mapCoverage":true},"_id":"apollo-link-context@1.0.7","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"evanshauser","email":"evanshauser@gmail.com"},"dist":{"shasum":"3719697a677d3af5de500b7e4cbb6c0d0bf3bef3","size":4817,"noattachment":false,"key":"/apollo-link-context/-/apollo-link-context-1.0.7.tgz","tarball":"http://registry.cnpm.dingdandao.com/apollo-link-context/download/apollo-link-context-1.0.7.tgz"},"maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"peggyrayzis","email":"peggyrayzis@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/apollo-link-context_1.0.7_1519351275424_0.56249136559631"},"_hasShrinkwrap":false,"publish_time":1519351275505,"_cnpm_publish_time":1519351275505},"1.0.6":{"name":"apollo-link-context","version":"1.0.6","description":"An easy way to set and cache context changes for Apollo Link","author":{"name":"James Baxley","email":"james@meteor.com"},"license":"MIT","main":"./lib/bundle.umd.js","module":"./lib/index.js","jsnext:main":"./lib/index.js","typings":"./lib/index.d.ts","repository":{"type":"git","url":"git+https://github.com/apollographql/apollo-link.git"},"bugs":{"url":"https://github.com/apollographql/apollo-link/issues"},"homepage":"https://github.com/apollographql/apollo-link#readme","scripts":{"build:browser":"browserify ./lib/bundle.umd.js -o=./lib/bundle.js --i apollo-link && npm run minify:browser","build":"tsc -p .","bundle":"rollup -c","clean":"rimraf lib/* && rimraf coverage/*","coverage":"jest --coverage","filesize":"npm run build && npm run build:browser","lint":"tslint --type-check -p tsconfig.json -c ../../tslint.json src/*.ts","minify:browser":"uglifyjs -c -m -o ./lib/bundle.min.js -- ./lib/bundle.js","postbuild":"npm run bundle","prebuild":"npm run clean","prepublishOnly":"npm run clean && npm run build","test":"jest","watch":"tsc -w -p . & rollup -c -w"},"dependencies":{"apollo-link":"^1.2.0"},"devDependencies":{"@types/graphql":"0.12.4","@types/jest":"21.1.10","browserify":"16.1.0","graphql":"0.13.1","graphql-tag":"2.7.3","jest":"21.2.1","rimraf":"2.6.1","rollup":"0.56.2","ts-jest":"21.2.4","tslint":"5.9.1","typescript":"2.7.2","uglify-js":"3.3.11"},"jest":{"transform":{".(ts|tsx)":"<rootDir>/node_modules/ts-jest/preprocessor.js"},"testRegex":"(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$","moduleFileExtensions":["ts","tsx","js","json"],"mapCoverage":true},"_id":"apollo-link-context@1.0.6","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"evanshauser","email":"evanshauser@gmail.com"},"dist":{"shasum":"291a7e6717fbab473beb8008b33daefd3ca245fd","size":4775,"noattachment":false,"key":"/apollo-link-context/-/apollo-link-context-1.0.6.tgz","tarball":"http://registry.cnpm.dingdandao.com/apollo-link-context/download/apollo-link-context-1.0.6.tgz"},"maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"peggyrayzis","email":"peggyrayzis@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/apollo-link-context_1.0.6_1519175672350_0.12525627071281686"},"_hasShrinkwrap":false,"publish_time":1519175672398,"_cnpm_publish_time":1519175672398},"1.0.5":{"name":"apollo-link-context","version":"1.0.5","description":"An easy way to set and cache context changes for Apollo Link","author":{"name":"James Baxley","email":"james@meteor.com"},"license":"MIT","main":"./lib/bundle.umd.js","module":"./lib/index.js","jsnext:main":"./lib/index.js","typings":"./lib/index.d.ts","repository":{"type":"git","url":"git+https://github.com/apollographql/apollo-link.git"},"bugs":{"url":"https://github.com/apollographql/apollo-link/issues"},"homepage":"https://github.com/apollographql/apollo-link#readme","scripts":{"build:browser":"browserify ./lib/bundle.umd.js -o=./lib/bundle.js --i apollo-link && npm run minify:browser","build":"tsc -p .","bundle":"rollup -c","clean":"rimraf lib/* && rimraf coverage/*","coverage":"jest --coverage","filesize":"npm run build && npm run build:browser","lint":"tslint --type-check -p tsconfig.json -c ../../tslint.json src/*.ts","minify:browser":"uglifyjs -c -m -o ./lib/bundle.min.js -- ./lib/bundle.js","postbuild":"npm run bundle","prebuild":"npm run clean","prepublishOnly":"npm run clean && npm run build","test":"jest","watch":"tsc -w -p . & rollup -c -w"},"dependencies":{"apollo-link":"^1.1.0"},"devDependencies":{"@types/graphql":"0.12.3","@types/jest":"21.1.10","browserify":"14.5.0","graphql":"0.13.0","graphql-tag":"2.7.3","jest":"21.2.1","rimraf":"2.6.1","rollup":"0.55.3","ts-jest":"21.2.4","tslint":"5.9.1","typescript":"2.7.1","uglify-js":"3.3.9"},"jest":{"transform":{".(ts|tsx)":"<rootDir>/node_modules/ts-jest/preprocessor.js"},"testRegex":"(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$","moduleFileExtensions":["ts","tsx","js","json"]},"_id":"apollo-link-context@1.0.5","_npmVersion":"5.6.0","_nodeVersion":"9.4.0","_npmUser":{"name":"jbaxleyiii","email":"james@meteor.com"},"dist":{"shasum":"45241b508629d685b614dfc9c344932695e41e07","size":5004,"noattachment":false,"key":"/apollo-link-context/-/apollo-link-context-1.0.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/apollo-link-context/download/apollo-link-context-1.0.5.tgz"},"maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"peggyrayzis","email":"peggyrayzis@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/apollo-link-context_1.0.5_1518112926951_0.09488628321922232"},"_hasShrinkwrap":false,"publish_time":1518112927691,"_cnpm_publish_time":1518112927691},"1.0.3":{"name":"apollo-link-context","version":"1.0.3","description":"An easy way to set and cache context changes for Apollo Link","author":{"name":"James Baxley","email":"james@meteor.com"},"license":"MIT","main":"./lib/bundle.umd.js","module":"./lib/index.js","jsnext:main":"./lib/index.js","typings":"./lib/index.d.ts","repository":{"type":"git","url":"git+https://github.com/apollographql/apollo-link.git"},"bugs":{"url":"https://github.com/apollographql/apollo-link/issues"},"homepage":"https://github.com/apollographql/apollo-link#readme","scripts":{"build:browser":"browserify ./lib/bundle.umd.js -o=./lib/bundle.js --i apollo-link && npm run minify:browser","build":"tsc -p .","bundle":"rollup -c","clean":"rimraf lib/* && rimraf coverage/*","coverage":"jest --coverage","filesize":"npm run build && npm run build:browser","lint":"tslint --type-check -p tsconfig.json -c ../../tslint.json src/*.ts","minify:browser":"uglifyjs -c -m -o ./lib/bundle.min.js -- ./lib/bundle.js","postbuild":"npm run bundle","prebuild":"npm run clean","prepublishOnly":"npm run clean && npm run build","test":"jest","watch":"tsc -w -p ."},"dependencies":{"apollo-link":"^1.0.6"},"devDependencies":{"@types/graphql":"0.11.7","@types/jest":"21.1.8","browserify":"14.5.0","graphql":"0.11.7","graphql-tag":"2.5.0","jest":"21.2.1","rimraf":"2.6.1","rollup":"0.52.1","ts-jest":"21.2.4","tslint":"5.8.0","typescript":"2.6.2","uglify-js":"3.2.1"},"jest":{"transform":{".(ts|tsx)":"<rootDir>/node_modules/ts-jest/preprocessor.js"},"testRegex":"(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$","moduleFileExtensions":["ts","tsx","js","json"]},"_id":"apollo-link-context@1.0.3","_npmVersion":"5.5.1","_nodeVersion":"8.9.0","_npmUser":{"name":"jbaxleyiii","email":"james@meteor.com"},"dist":{"shasum":"9b823e26780a39655a35347f0b0e88b83acdeabe","size":4973,"noattachment":false,"key":"/apollo-link-context/-/apollo-link-context-1.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/apollo-link-context/download/apollo-link-context-1.0.3.tgz"},"maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"peggyrayzis","email":"peggyrayzis@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/apollo-link-context-1.0.3.tgz_1512734598561_0.7994540103245527"},"directories":{},"publish_time":1512734598743,"_hasShrinkwrap":false,"_cnpm_publish_time":1512734598743},"1.0.2":{"name":"apollo-link-context","version":"1.0.2","description":"An easy way to set and cache context changes for Apollo Link","author":{"name":"James Baxley","email":"james@meteor.com"},"license":"MIT","main":"./lib/bundle.umd.js","module":"./lib/index.js","jsnext:main":"./lib/index.js","typings":"./lib/index.d.ts","repository":{"type":"git","url":"git+https://github.com/apollographql/apollo-link.git"},"bugs":{"url":"https://github.com/apollographql/apollo-link/issues"},"homepage":"https://github.com/apollographql/apollo-link#readme","scripts":{"build:browser":"browserify ./lib/bundle.umd.js -o=./lib/bundle.js --i apollo-link && npm run minify:browser","build":"tsc -p .","bundle":"rollup -c","clean":"rimraf lib/* && rimraf coverage/*","coverage":"jest --coverage","filesize":"npm run build && npm run build:browser","lint":"tslint --type-check -p tsconfig.json -c ../../tslint.json src/*.ts","minify:browser":"uglifyjs -c -m -o ./lib/bundle.min.js -- ./lib/bundle.js","postbuild":"npm run bundle","prebuild":"npm run clean","prepublishOnly":"npm run clean && npm run build","test":"jest","watch":"tsc -w -p ."},"dependencies":{"apollo-link":"^1.0.4"},"devDependencies":{"@types/graphql":"0.11.7","@types/jest":"21.1.8","browserify":"14.5.0","graphql":"0.11.7","graphql-tag":"2.5.0","jest":"21.2.1","rimraf":"2.6.1","rollup":"0.52.0","ts-jest":"21.2.3","tslint":"5.8.0","typescript":"2.6.2","uglify-js":"3.2.0"},"jest":{"transform":{".(ts|tsx)":"<rootDir>/node_modules/ts-jest/preprocessor.js"},"testRegex":"(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$","moduleFileExtensions":["ts","tsx","js","json"]},"_id":"apollo-link-context@1.0.2","_npmVersion":"5.5.1","_nodeVersion":"8.9.0","_npmUser":{"name":"jbaxleyiii","email":"james@meteor.com"},"dist":{"shasum":"e9d7a1a2cfe4e21b17d36a06510d032fb85d715d","size":4964,"noattachment":false,"key":"/apollo-link-context/-/apollo-link-context-1.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/apollo-link-context/download/apollo-link-context-1.0.2.tgz"},"maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"peggyrayzis","email":"peggyrayzis@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/apollo-link-context-1.0.2.tgz_1512052414370_0.7929672340396792"},"directories":{},"publish_time":1512052415378,"_hasShrinkwrap":false,"_cnpm_publish_time":1512052415378},"1.0.1":{"name":"apollo-link-context","version":"1.0.1","description":"An easy way to set and cache context changes for Apollo Link","author":{"name":"James Baxley","email":"james@meteor.com"},"license":"MIT","main":"./lib/bundle.umd.js","module":"./lib/index.js","jsnext:main":"./lib/index.js","typings":"./lib/index.d.ts","repository":{"type":"git","url":"git+https://github.com/apollographql/apollo-link.git"},"bugs":{"url":"https://github.com/apollographql/apollo-link/issues"},"homepage":"https://github.com/apollographql/apollo-link#readme","scripts":{"build:browser":"browserify ./lib/bundle.umd.js -o=./lib/bundle.js --i apollo-link && npm run minify:browser","build":"tsc -p .","bundle":"rollup -c","clean":"rimraf lib/* && rimraf coverage/*","filesize":"npm run build && npm run build:browser","lint":"tslint --type-check -p tsconfig.json -c ../../tslint.json src/*.ts","minify:browser":"uglifyjs -c -m -o ./lib/bundle.min.js -- ./lib/bundle.js","postbuild":"npm run bundle","prebuild":"npm run clean","prepublishOnly":"npm run clean && npm run build","test":"jest","watch":"tsc -w -p ."},"peerDependencies":{"apollo-link":"^1.0.3"},"devDependencies":{"@types/graphql":"0.11.6","@types/jest":"21.1.6","apollo-link":"^1.0.3","browserify":"14.5.0","graphql":"0.11.7","graphql-tag":"2.5.0","jest":"21.2.1","rimraf":"2.6.1","rollup":"0.51.5","ts-jest":"21.2.2","tslint":"5.8.0","typescript":"2.6.1","uglify-js":"3.1.9"},"jest":{"transform":{".(ts|tsx)":"<rootDir>/node_modules/ts-jest/preprocessor.js"},"testRegex":"(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$","moduleFileExtensions":["ts","tsx","js","json"]},"_id":"apollo-link-context@1.0.1","_npmVersion":"5.5.1","_nodeVersion":"8.9.0","_npmUser":{"name":"jbaxleyiii","email":"james@meteor.com"},"dist":{"shasum":"a1a0a53c80abae36fe9cf3685360e0b9c1bb312f","size":4935,"noattachment":false,"key":"/apollo-link-context/-/apollo-link-context-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/apollo-link-context/download/apollo-link-context-1.0.1.tgz"},"maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"peggyrayzis","email":"peggyrayzis@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/apollo-link-context-1.0.1.tgz_1510761299080_0.9832534370943904"},"directories":{},"publish_time":1510761299164,"_hasShrinkwrap":false,"_cnpm_publish_time":1510761299164},"1.0.0":{"name":"apollo-link-context","version":"1.0.0","description":"An easy way to set and cache context changes for Apollo Link","author":{"name":"James Baxley","email":"james@meteor.com"},"license":"MIT","main":"./lib/bundle.umd.js","module":"./lib/index.js","jsnext:main":"./lib/index.js","typings":"./lib/index.d.ts","repository":{"type":"git","url":"git+https://github.com/apollographql/apollo-link.git"},"bugs":{"url":"https://github.com/apollographql/apollo-link/issues"},"homepage":"https://github.com/apollographql/apollo-link#readme","scripts":{"build:browser":"browserify ./lib/bundle.umd.js -o=./lib/bundle.js --i apollo-link && npm run minify:browser","build":"tsc -p .","bundle":"rollup -c","clean":"rimraf lib/* && rimraf coverage/*","filesize":"npm run build && npm run build:browser","lint":"tslint --type-check -p tsconfig.json -c ../../tslint.json src/*.ts","minify:browser":"uglifyjs -c -m -o ./lib/bundle.min.js -- ./lib/bundle.js","postbuild":"npm run bundle","prebuild":"npm run clean","prepublishOnly":"npm run clean && npm run build","test":"jest","watch":"tsc -w -p ."},"peerDependencies":{"apollo-link":"^1.0.0"},"devDependencies":{"@types/graphql":"0.11.5","@types/jest":"21.1.4","apollo-link":"^1.0.0","browserify":"14.5.0","graphql":"0.11.7","graphql-tag":"2.5.0","jest":"21.2.1","rimraf":"2.6.1","rollup":"0.45.2","ts-jest":"21.1.3","tslint":"5.8.0","typescript":"2.5.1","uglify-js":"3.1.5"},"jest":{"transform":{".(ts|tsx)":"<rootDir>/node_modules/ts-jest/preprocessor.js"},"testRegex":"(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$","moduleFileExtensions":["ts","tsx","js","json"]},"_id":"apollo-link-context@1.0.0","_npmVersion":"5.5.1","_nodeVersion":"8.7.0","_npmUser":{"name":"jbaxleyiii","email":"james@meteor.com"},"dist":{"shasum":"8e0d02c5778f95b6658a2175481c09b79ff929d6","size":5020,"noattachment":false,"key":"/apollo-link-context/-/apollo-link-context-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/apollo-link-context/download/apollo-link-context-1.0.0.tgz"},"maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"peggyrayzis","email":"peggyrayzis@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/apollo-link-context-1.0.0.tgz_1508870692875_0.1592255423311144"},"directories":{},"publish_time":1508870692968,"_hasShrinkwrap":false,"_cnpm_publish_time":1508870692968},"0.1.0":{"name":"apollo-link-context","version":"0.1.0","description":"An easy way to set and cache context changes for Apollo Link","author":{"name":"James Baxley","email":"james@meteor.com"},"license":"MIT","main":"./lib/bundle.umd.js","module":"./lib/index.js","jsnext:main":"./lib/index.js","typings":"./lib/index.d.ts","repository":{"type":"git","url":"git+https://github.com/apollographql/apollo-link.git"},"bugs":{"url":"https://github.com/apollographql/apollo-link/issues"},"homepage":"https://github.com/apollographql/apollo-link#readme","scripts":{"build:browser":"browserify ./lib/bundle.umd.js -o=./lib/bundle.js --i apollo-link && npm run minify:browser","build":"tsc -p .","bundle":"rollup -c","clean":"rimraf lib/* && rimraf coverage/*","filesize":"npm run build && npm run build:browser","lint":"tslint --type-check -p tsconfig.json -c ../../tslint.json src/*.ts","minify:browser":"uglifyjs -c -m -o ./lib/bundle.min.js -- ./lib/bundle.js","postbuild":"npm run bundle","prebuild":"npm run clean","prepublishOnly":"npm run clean && npm run build","test":"jest","watch":"tsc -w -p ."},"peerDependencies":{"apollo-link":"^0.8.0"},"devDependencies":{"@types/graphql":"0.11.5","@types/jest":"21.1.4","apollo-link":"^0.8.0","browserify":"14.5.0","graphql":"0.11.7","graphql-tag":"2.5.0","jest":"21.2.1","rimraf":"2.6.1","rollup":"0.45.2","ts-jest":"21.1.3","tslint":"5.7.0","typescript":"2.5.1","uglify-js":"3.1.4"},"jest":{"transform":{".(ts|tsx)":"<rootDir>/node_modules/ts-jest/preprocessor.js"},"testRegex":"(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$","moduleFileExtensions":["ts","tsx","js","json"]},"_id":"apollo-link-context@0.1.0","_npmVersion":"5.5.1","_nodeVersion":"8.1.2","_npmUser":{"name":"jbaxleyiii","email":"james@meteor.com"},"dist":{"shasum":"9d986ac721372b33d4312702d5a7a6e4d3abd45e","size":5024,"noattachment":false,"key":"/apollo-link-context/-/apollo-link-context-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/apollo-link-context/download/apollo-link-context-0.1.0.tgz"},"maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"peggyrayzis","email":"peggyrayzis@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/apollo-link-context-0.1.0.tgz_1508544820527_0.08832001220434904"},"directories":{},"publish_time":1508544821394,"_hasShrinkwrap":false,"_cnpm_publish_time":1508544821394}},"readme":"---\ntitle: apollo-link-context\ndescription: Easily set a context on your operation, which is used by other links further down the chain.\n---\n\nThe `setContext` function takes a function that returns either an object or a promise that returns an object to set the new context of a request.\n\nIt receives two arguments: the GraphQL request being executed, and the previous context. This link makes it easy to perform async look up of things like authentication tokens and more!\n\n```js\nimport { setContext } from \"apollo-link-context\";\n\nconst setAuthorizationLink = setContext((request, previousContext) => ({\n  headers: {authorization: \"1234\"}\n}));\n\nconst asyncAuthLink = setContext(\n  request =>\n    new Promise((success, fail) => {\n      // do some async lookup here\n      setTimeout(() => {\n        success({ token: \"async found token\" });\n      }, 10);\n    })\n);\n```\n\n## Caching lookups\n\nTypically async actions can be expensive and may not need to be called for every request, especially when a lot of request are happening at once. You can setup your own caching and invalidation outside of the link to make it faster but still flexible!\n\nTake for example a user auth token being found, cached, then removed on a 401 response:\n\n```js\nimport { setContext } from \"apollo-link-context\";\nimport { onError } from \"apollo-link-error\";\n\n// cached storage for the user token\nlet token;\nconst withToken = setContext(() => {\n  // if you have a cached value, return it immediately\n  if (token) return { token };\n\n  return AsyncTokenLookup().then(userToken => {\n    token = userToken;\n    return { token };\n  });\n});\n\nconst resetToken = onError(({ networkError }) => {\n  if (networkError && networkError.name ==='ServerError' && networkError.statusCode === 401) {\n    // remove cached token on 401 from the server\n    token = null;\n  }\n});\n\nconst authFlowLink = withToken.concat(resetToken);\n```\n","_attachments":{},"homepage":"https://github.com/apollographql/apollo-link#readme","bugs":{"url":"https://github.com/apollographql/apollo-link/issues"},"license":"MIT"}