{"_id":"create-react-context","_rev":"259763","name":"create-react-context","description":"Polyfill for the proposed React context API","dist-tags":{"latest":"0.3.0"},"maintainers":[{"name":"thejameskyle","email":"me@thejameskyle.com"}],"time":{"modified":"2021-06-03T16:40:40.000Z","created":"2017-12-08T03:46:44.761Z","0.3.0":"2019-06-05T22:40:43.994Z","0.2.3":"2018-08-27T18:12:53.678Z","0.2.2":"2018-04-13T17:42:30.917Z","0.2.1":"2018-02-27T20:50:13.966Z","0.2.0":"2018-02-26T22:12:42.357Z","0.1.6":"2018-02-02T02:28:07.636Z","0.1.5":"2018-02-01T21:51:39.591Z","0.1.4":"2018-01-16T23:46:05.387Z","0.1.3":"2018-01-07T23:19:45.453Z","0.1.2":"2017-12-08T06:09:15.061Z","0.1.1":"2017-12-08T03:54:57.196Z","0.1.0":"2017-12-08T03:46:44.761Z"},"users":{},"author":{"name":"James Kyle","email":"me@thejameskyle.com"},"repository":{"type":"git","url":"git+https://github.com/thejameskyle/create-react-context.git"},"versions":{"0.3.0":{"name":"create-react-context","version":"0.3.0","description":"Polyfill for the proposed React context API","main":"lib/index.js","typings":"lib/index.d.ts","repository":{"type":"git","url":"git+https://github.com/thejameskyle/create-react-context.git"},"author":{"name":"James Kyle","email":"me@thejameskyle.com"},"license":"MIT","keywords":["react","context","contextTypes","polyfill","ponyfill"],"scripts":{"test":"jest","flow":"flow","format":"prettier --write '**/*.{js,md,json,js.flow,d.ts}'","build":"babel src -d lib --copy-files --ignore __tests__","prepublish":"yarn build","commit":"lint-staged"},"dependencies":{"gud":"^1.0.0","warning":"^4.0.3"},"peerDependencies":{"prop-types":"^15.0.0","react":"^0.14.0 || ^15.0.0 || ^16.0.0"},"devDependencies":{"babel-cli":"^6.26.0","babel-plugin-add-module-exports":"^0.2.1","babel-plugin-transform-class-properties":"^6.24.1","babel-preset-env":"^1.6.1","babel-preset-flow":"^6.23.0","babel-preset-react":"^6.24.1","enzyme":"^3.2.0","enzyme-adapter-react-16":"^1.1.0","enzyme-to-json":"^3.2.2","flow-bin":"^0.60.1","husky":"^0.14.3","jest":"^21.2.1","lint-staged":"^6.0.0","prettier":"^1.9.1","prop-types":"^15.6.0","raf":"^3.4.0","react":"^16.2.0","react-dom":"^16.2.0"},"lint-staged":{"*.{js,md,json,js.flow,d.ts}":["prettier --write","git add"]},"jest":{"snapshotSerializers":["enzyme-to-json/serializer"]},"gitHead":"81e8d508497e6fcbc97295bb7fdd04b41ca09883","bugs":{"url":"https://github.com/thejameskyle/create-react-context/issues"},"homepage":"https://github.com/thejameskyle/create-react-context#readme","_id":"create-react-context@0.3.0","_npmVersion":"6.1.0","_nodeVersion":"10.7.0","_npmUser":{"name":"thejameskyle","email":"me@thejameskyle.com"},"dist":{"shasum":"546dede9dc422def0d3fc2fe03afe0bc0f4f7d8c","size":4829,"noattachment":false,"key":"/create-react-context/-/create-react-context-0.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/create-react-context/download/create-react-context-0.3.0.tgz"},"maintainers":[{"name":"thejameskyle","email":"me@thejameskyle.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/create-react-context_0.3.0_1559774443825_0.43316617560036863"},"_hasShrinkwrap":false,"publish_time":1559774443994,"_cnpm_publish_time":1559774443994},"0.2.3":{"name":"create-react-context","version":"0.2.3","description":"Polyfill for the proposed React context API","main":"lib/index.js","typings":"lib/index.d.ts","repository":{"type":"git","url":"git+https://github.com/thejameskyle/create-react-context.git"},"author":{"name":"James Kyle","email":"me@thejameskyle.com"},"license":"SEE LICENSE IN LICENSE","keywords":["react","context","contextTypes","polyfill","ponyfill"],"files":["lib"],"scripts":{"test":"jest","flow":"flow","format":"prettier --write '**/*.{js,md,json,js.flow,d.ts}'","build":"babel src -d lib --copy-files --ignore __tests__","prepublish":"yarn build","commit":"lint-staged"},"dependencies":{"fbjs":"^0.8.0","gud":"^1.0.0"},"peerDependencies":{"prop-types":"^15.0.0","react":"^0.14.0 || ^15.0.0 || ^16.0.0"},"devDependencies":{"babel-cli":"^6.26.0","babel-plugin-add-module-exports":"^0.2.1","babel-plugin-transform-class-properties":"^6.24.1","babel-preset-env":"^1.6.1","babel-preset-flow":"^6.23.0","babel-preset-react":"^6.24.1","enzyme":"^3.2.0","enzyme-adapter-react-16":"^1.1.0","enzyme-to-json":"^3.2.2","flow-bin":"^0.60.1","husky":"^0.14.3","jest":"^21.2.1","lint-staged":"^6.0.0","prettier":"^1.9.1","prop-types":"^15.6.0","raf":"^3.4.0","react":"^16.2.0","react-dom":"^16.2.0"},"lint-staged":{"*.{js,md,json,js.flow,d.ts}":["prettier --write","git add"]},"jest":{"snapshotSerializers":["enzyme-to-json/serializer"]},"gitHead":"43ae1133176584dbbfba4428228a4e66ef27fb5f","bugs":{"url":"https://github.com/thejameskyle/create-react-context/issues"},"homepage":"https://github.com/thejameskyle/create-react-context#readme","_id":"create-react-context@0.2.3","_npmVersion":"6.1.0","_nodeVersion":"8.9.4","_npmUser":{"name":"thejameskyle","email":"me@thejameskyle.com"},"dist":{"shasum":"9ec140a6914a22ef04b8b09b7771de89567cb6f3","size":5465,"noattachment":false,"key":"/create-react-context/-/create-react-context-0.2.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/create-react-context/download/create-react-context-0.2.3.tgz"},"maintainers":[{"name":"thejameskyle","email":"me@thejameskyle.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/create-react-context_0.2.3_1535393573583_0.4289409458013309"},"_hasShrinkwrap":false,"publish_time":1535393573678,"_cnpm_publish_time":1535393573678},"0.2.2":{"name":"create-react-context","version":"0.2.2","description":"Polyfill for the proposed React context API","main":"lib/index.js","typings":"lib/index.d.ts","repository":{"type":"git","url":"git+https://github.com/thejameskyle/create-react-context.git"},"author":{"name":"James Kyle","email":"me@thejameskyle.com"},"license":"MIT","keywords":["react","context","contextTypes","polyfill","ponyfill"],"files":["lib"],"scripts":{"test":"jest","flow":"flow","format":"prettier --write '**/*.{js,md,json,js.flow,d.ts}'","build":"babel src -d lib --copy-files --ignore __tests__","prepublish":"yarn build","commit":"lint-staged"},"dependencies":{"fbjs":"^0.8.0","gud":"^1.0.0"},"peerDependencies":{"prop-types":"^15.0.0","react":"^0.14.0 || ^15.0.0 || ^16.0.0"},"devDependencies":{"babel-cli":"^6.26.0","babel-plugin-add-module-exports":"^0.2.1","babel-plugin-transform-class-properties":"^6.24.1","babel-preset-env":"^1.6.1","babel-preset-flow":"^6.23.0","babel-preset-react":"^6.24.1","enzyme":"^3.2.0","enzyme-adapter-react-16":"^1.1.0","enzyme-to-json":"^3.2.2","flow-bin":"^0.60.1","husky":"^0.14.3","jest":"^21.2.1","lint-staged":"^6.0.0","prettier":"^1.9.1","prop-types":"^15.6.0","raf":"^3.4.0","react":"^16.2.0","react-dom":"^16.2.0"},"lint-staged":{"*.{js,md,json,js.flow,d.ts}":["prettier --write","git add"]},"jest":{"snapshotSerializers":["enzyme-to-json/serializer"]},"gitHead":"f09013029273797bf014ba8b20929e1a412169a9","bugs":{"url":"https://github.com/thejameskyle/create-react-context/issues"},"homepage":"https://github.com/thejameskyle/create-react-context#readme","_id":"create-react-context@0.2.2","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"thejameskyle","email":"me@thejameskyle.com"},"dist":{"shasum":"9836542f9aaa22868cd7d4a6f82667df38019dca","size":4951,"noattachment":false,"key":"/create-react-context/-/create-react-context-0.2.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/create-react-context/download/create-react-context-0.2.2.tgz"},"maintainers":[{"name":"thejameskyle","email":"me@thejameskyle.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/create-react-context_0.2.2_1523641350808_0.27195086157960535"},"_hasShrinkwrap":false,"publish_time":1523641350917,"_cnpm_publish_time":1523641350917},"0.2.1":{"name":"create-react-context","version":"0.2.1","description":"Polyfill for the proposed React context API","main":"lib/index.js","typings":"lib/index.d.ts","repository":{"type":"git","url":"git+https://github.com/thejameskyle/create-react-context.git"},"author":{"name":"James Kyle","email":"me@thejameskyle.com"},"license":"MIT","keywords":["react","context","contextTypes","polyfill","ponyfill"],"files":["lib"],"scripts":{"test":"jest","flow":"flow","format":"prettier --write '**/*.{js,md,json,js.flow,d.ts}'","build":"babel src -d lib --copy-files --ignore __tests__","prepublish":"yarn build","commit":"lint-staged"},"dependencies":{"fbjs":"^0.8.0","gud":"^1.0.0"},"peerDependencies":{"prop-types":"^15.0.0","react":"^14.0.0 || ^15.0.0 || ^16.0.0"},"devDependencies":{"babel-cli":"^6.26.0","babel-plugin-add-module-exports":"^0.2.1","babel-plugin-transform-class-properties":"^6.24.1","babel-preset-env":"^1.6.1","babel-preset-flow":"^6.23.0","babel-preset-react":"^6.24.1","enzyme":"^3.2.0","enzyme-adapter-react-16":"^1.1.0","enzyme-to-json":"^3.2.2","flow-bin":"^0.60.1","husky":"^0.14.3","jest":"^21.2.1","lint-staged":"^6.0.0","prettier":"^1.9.1","prop-types":"^15.6.0","raf":"^3.4.0","react":"^16.2.0","react-dom":"^16.2.0"},"lint-staged":{"*.{js,md,json,js.flow,d.ts}":["prettier --write","git add"]},"jest":{"snapshotSerializers":["enzyme-to-json/serializer"]},"gitHead":"a4a3e14dce76a16c1c5b1e720e67071234e65ebb","bugs":{"url":"https://github.com/thejameskyle/create-react-context/issues"},"homepage":"https://github.com/thejameskyle/create-react-context#readme","_id":"create-react-context@0.2.1","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"thejameskyle","email":"me@thejameskyle.com"},"dist":{"shasum":"425a3d96f4b7690c2fbf20aed5aeae2e2007a959","size":4777,"noattachment":false,"key":"/create-react-context/-/create-react-context-0.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/create-react-context/download/create-react-context-0.2.1.tgz"},"maintainers":[{"name":"thejameskyle","email":"me@thejameskyle.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/create-react-context_0.2.1_1519764613913_0.06043050100627112"},"_hasShrinkwrap":false,"publish_time":1519764613966,"_cnpm_publish_time":1519764613966},"0.2.0":{"name":"create-react-context","version":"0.2.0","description":"Polyfill for the proposed React context API","main":"lib/index.js","typings":"lib/index.d.ts","repository":{"type":"git","url":"git+https://github.com/thejameskyle/create-react-context.git"},"author":{"name":"James Kyle","email":"me@thejameskyle.com"},"license":"MIT","keywords":["react","context","contextTypes","polyfill","ponyfill"],"files":["lib"],"scripts":{"test":"jest","flow":"flow","format":"prettier --write '**/*.{js,md,json,js.flow,d.ts}'","build":"babel src -d lib --copy-files --ignore __tests__","prepublish":"yarn build","commit":"lint-staged"},"dependencies":{"fbjs":"^0.8.0","gud":"^1.0.0"},"peerDependencies":{"prop-types":"^15.0.0","react":"^14.0.0 || ^15.0.0 || ^16.0.0"},"devDependencies":{"babel-cli":"^6.26.0","babel-plugin-add-module-exports":"^0.2.1","babel-plugin-transform-class-properties":"^6.24.1","babel-preset-env":"^1.6.1","babel-preset-flow":"^6.23.0","babel-preset-react":"^6.24.1","enzyme":"^3.2.0","enzyme-adapter-react-16":"^1.1.0","enzyme-to-json":"^3.2.2","flow-bin":"^0.60.1","husky":"^0.14.3","jest":"^21.2.1","lint-staged":"^6.0.0","prettier":"^1.9.1","prop-types":"^15.6.0","raf":"^3.4.0","react":"^16.2.0","react-dom":"^16.2.0"},"lint-staged":{"*.{js,md,json,js.flow,d.ts}":["prettier --write","git add"]},"jest":{"snapshotSerializers":["enzyme-to-json/serializer"]},"gitHead":"a50a8a7875d5b4b55f2b363e04a2e792baf55907","bugs":{"url":"https://github.com/thejameskyle/create-react-context/issues"},"homepage":"https://github.com/thejameskyle/create-react-context#readme","_id":"create-react-context@0.2.0","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"thejameskyle","email":"me@thejameskyle.com"},"dist":{"shasum":"a3411a39a46984e0e4e17ac169b8e789f7555e26","size":4683,"noattachment":false,"key":"/create-react-context/-/create-react-context-0.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/create-react-context/download/create-react-context-0.2.0.tgz"},"maintainers":[{"name":"thejameskyle","email":"me@thejameskyle.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/create-react-context_0.2.0_1519683162207_0.9945690399102705"},"_hasShrinkwrap":false,"publish_time":1519683162357,"_cnpm_publish_time":1519683162357},"0.1.6":{"name":"create-react-context","version":"0.1.6","description":"Polyfill for the proposed React context API","main":"lib/index.js","typings":"lib/index.d.ts","repository":{"type":"git","url":"git+https://github.com/thejameskyle/create-react-context.git"},"author":{"name":"James Kyle","email":"me@thejameskyle.com"},"license":"MIT","keywords":["react","context","contextTypes","polyfill","ponyfill"],"files":["lib"],"scripts":{"test":"jest","flow":"flow","format":"prettier --write '**/*.{js,md,json,js.flow,d.ts}'","build":"babel src -d lib --copy-files --ignore __tests__","prepublish":"yarn build","commit":"lint-staged"},"peerDependencies":{"prop-types":"^15.0.0","react":"^14.0.0 || ^15.0.0 || ^16.0.0"},"devDependencies":{"babel-cli":"^6.26.0","babel-plugin-add-module-exports":"^0.2.1","babel-plugin-transform-class-properties":"^6.24.1","babel-preset-env":"^1.6.1","babel-preset-flow":"^6.23.0","babel-preset-react":"^6.24.1","enzyme":"^3.2.0","enzyme-adapter-react-16":"^1.1.0","enzyme-to-json":"^3.2.2","flow-bin":"^0.60.1","husky":"^0.14.3","jest":"^21.2.1","lint-staged":"^6.0.0","prettier":"^1.9.1","prop-types":"^15.6.0","raf":"^3.4.0","react":"^16.2.0","react-dom":"^16.2.0"},"lint-staged":{"*.{js,md,json,js.flow,d.ts}":["prettier --write","git add"]},"jest":{"snapshotSerializers":["enzyme-to-json/serializer"]},"dependencies":{},"gitHead":"51076a6d92575da98813cf340584dafe6d4de7d7","bugs":{"url":"https://github.com/thejameskyle/create-react-context/issues"},"homepage":"https://github.com/thejameskyle/create-react-context#readme","_id":"create-react-context@0.1.6","_npmVersion":"5.5.1","_nodeVersion":"8.9.1","_npmUser":{"name":"thejameskyle","email":"me@thejameskyle.com"},"dist":{"shasum":"0f425931d907741127acc6e31acb4f9015dd9fdc","size":3900,"noattachment":false,"key":"/create-react-context/-/create-react-context-0.1.6.tgz","tarball":"http://registry.cnpm.dingdandao.com/create-react-context/download/create-react-context-0.1.6.tgz"},"maintainers":[{"name":"thejameskyle","email":"me@thejameskyle.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/create-react-context-0.1.6.tgz_1517538487545_0.4145391930360347"},"directories":{},"publish_time":1517538487636,"_hasShrinkwrap":false,"_cnpm_publish_time":1517538487636},"0.1.5":{"name":"create-react-context","version":"0.1.5","description":"Polyfill for the proposed React context API","main":"lib/index.js","typings":"lib/index.d.ts","repository":{"type":"git","url":"git+https://github.com/thejameskyle/create-react-context.git"},"author":{"name":"James Kyle","email":"me@thejameskyle.com"},"license":"MIT","keywords":["react","context","contextTypes","polyfill","ponyfill"],"files":["lib"],"scripts":{"test":"jest","flow":"flow","format":"prettier --write '**/*.{js,md,json,js.flow,d.ts}'","build":"babel src -d lib --copy-files --ignore __tests__","prepublish":"yarn build","commit":"lint-staged"},"peerDependencies":{"prop-types":"^15.0.0","react":"^14.0.0 || ^15.0.0 || ^16.0.0"},"devDependencies":{"babel-cli":"^6.26.0","babel-plugin-add-module-exports":"^0.2.1","babel-plugin-transform-class-properties":"^6.24.1","babel-preset-env":"^1.6.1","babel-preset-flow":"^6.23.0","babel-preset-react":"^6.24.1","enzyme":"^3.2.0","enzyme-adapter-react-16":"^1.1.0","enzyme-to-json":"^3.2.2","flow-bin":"^0.60.1","husky":"^0.14.3","jest":"^21.2.1","lint-staged":"^6.0.0","prettier":"^1.9.1","prop-types":"^15.6.0","raf":"^3.4.0","react":"^16.2.0","react-dom":"^16.2.0"},"lint-staged":{"*.{js,md,json,js.flow,d.ts}":["prettier --write","git add"]},"jest":{"snapshotSerializers":["enzyme-to-json/serializer"]},"dependencies":{},"gitHead":"85c1cbde2c1a440a1fa76ebe09dc11f1c81ae5aa","bugs":{"url":"https://github.com/thejameskyle/create-react-context/issues"},"homepage":"https://github.com/thejameskyle/create-react-context#readme","_id":"create-react-context@0.1.5","_npmVersion":"5.3.0","_nodeVersion":"8.5.0","_npmUser":{"name":"thejameskyle","email":"me@thejameskyle.com"},"dist":{"shasum":"7cc6e6aa9fa64f66ba2c790f3a7f4793bfb3c838","size":5174,"noattachment":false,"key":"/create-react-context/-/create-react-context-0.1.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/create-react-context/download/create-react-context-0.1.5.tgz"},"maintainers":[{"name":"thejameskyle","email":"me@thejameskyle.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/create-react-context-0.1.5.tgz_1517521899535_0.3295104263816029"},"directories":{},"publish_time":1517521899591,"_hasShrinkwrap":false,"_cnpm_publish_time":1517521899591},"0.1.4":{"name":"create-react-context","version":"0.1.4","description":"Polyfill for the proposed React context API","main":"lib/index.js","typings":"lib/index.d.ts","repository":{"type":"git","url":"git+https://github.com/thejameskyle/create-react-context.git"},"author":{"name":"James Kyle","email":"me@thejameskyle.com"},"license":"MIT","keywords":["react","context","contextTypes","polyfill","ponyfill"],"files":["lib"],"scripts":{"test":"jest","flow":"flow","format":"prettier --write '**/*.{js,md,json,js.flow,d.ts}'","build":"babel src -d lib --copy-files --ignore __tests__","prepublish":"yarn build","commit":"lint-staged"},"peerDependencies":{"prop-types":"^15.0.0","react":"^14.0.0 || ^15.0.0 || ^16.0.0"},"devDependencies":{"babel-cli":"^6.26.0","babel-plugin-add-module-exports":"^0.2.1","babel-plugin-transform-class-properties":"^6.24.1","babel-preset-env":"^1.6.1","babel-preset-flow":"^6.23.0","babel-preset-react":"^6.24.1","enzyme":"^3.2.0","enzyme-adapter-react-16":"^1.1.0","enzyme-to-json":"^3.2.2","flow-bin":"^0.60.1","husky":"^0.14.3","jest":"^21.2.1","lint-staged":"^6.0.0","prettier":"^1.9.1","prop-types":"^15.6.0","raf":"^3.4.0","react":"^16.2.0","react-dom":"^16.2.0"},"lint-staged":{"*.{js,md,json,js.flow,d.ts}":["prettier --write","git add"]},"jest":{"snapshotSerializers":["enzyme-to-json/serializer"]},"dependencies":{},"gitHead":"50cf4c70f74790c5efcee825a9c3ab393d17492e","bugs":{"url":"https://github.com/thejameskyle/create-react-context/issues"},"homepage":"https://github.com/thejameskyle/create-react-context#readme","_id":"create-react-context@0.1.4","_shasum":"67da7ca1f5db00b7df1932f82940c468b04267cc","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.9.1","_npmUser":{"name":"thejameskyle","email":"me@thejameskyle.com"},"dist":{"shasum":"67da7ca1f5db00b7df1932f82940c468b04267cc","size":4971,"noattachment":false,"key":"/create-react-context/-/create-react-context-0.1.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/create-react-context/download/create-react-context-0.1.4.tgz"},"maintainers":[{"name":"thejameskyle","email":"me@thejameskyle.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/create-react-context-0.1.4.tgz_1516146365270_0.6569952042773366"},"directories":{},"publish_time":1516146365387,"_cnpm_publish_time":1516146365387,"_hasShrinkwrap":false},"0.1.3":{"name":"create-react-context","version":"0.1.3","description":"Polyfill for the proposed React context API","main":"lib/index.js","repository":{"type":"git","url":"git+https://github.com/thejameskyle/create-react-context.git"},"author":{"name":"James Kyle","email":"me@thejameskyle.com"},"license":"MIT","keywords":["react","context","contextTypes","polyfill","ponyfill"],"files":["lib"],"scripts":{"test":"jest","flow":"flow","format":"prettier --write '**/*.{js,md,json,js.flow,d.ts}'","build":"babel src -d lib --copy-files --ignore __tests__","prepublish":"yarn build","commit":"lint-staged"},"peerDependencies":{"prop-types":"^15.0.0","react":"^14.0.0 || ^15.0.0 || ^16.0.0"},"devDependencies":{"babel-cli":"^6.26.0","babel-plugin-add-module-exports":"^0.2.1","babel-plugin-transform-class-properties":"^6.24.1","babel-preset-env":"^1.6.1","babel-preset-flow":"^6.23.0","babel-preset-react":"^6.24.1","enzyme":"^3.2.0","enzyme-adapter-react-16":"^1.1.0","enzyme-to-json":"^3.2.2","flow-bin":"^0.60.1","husky":"^0.14.3","jest":"^21.2.1","lint-staged":"^6.0.0","prettier":"^1.9.1","prop-types":"^15.6.0","raf":"^3.4.0","react":"^16.2.0","react-dom":"^16.2.0"},"lint-staged":{"*.{js,md,json,js.flow,d.ts}":["prettier --write","git add"]},"jest":{"snapshotSerializers":["enzyme-to-json/serializer"]},"dependencies":{"mitt":"^1.1.3"},"gitHead":"fe2c9e64b37bd1467f5faa9af4d28a51bd748abc","bugs":{"url":"https://github.com/thejameskyle/create-react-context/issues"},"homepage":"https://github.com/thejameskyle/create-react-context#readme","_id":"create-react-context@0.1.3","_shasum":"943e93ad573551100bf3e99767bfb3f11c16991a","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.9.1","_npmUser":{"name":"thejameskyle","email":"me@thejameskyle.com"},"dist":{"shasum":"943e93ad573551100bf3e99767bfb3f11c16991a","size":4931,"noattachment":false,"key":"/create-react-context/-/create-react-context-0.1.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/create-react-context/download/create-react-context-0.1.3.tgz"},"maintainers":[{"name":"thejameskyle","email":"me@thejameskyle.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/create-react-context-0.1.3.tgz_1515367185387_0.5749769792892039"},"directories":{},"publish_time":1515367185453,"_hasShrinkwrap":false,"_cnpm_publish_time":1515367185453},"0.1.2":{"name":"create-react-context","version":"0.1.2","description":"Polyfill for the proposed React context API","main":"lib/index.js","repository":{"type":"git","url":"git+https://github.com/thejameskyle/create-react-context.git"},"author":{"name":"James Kyle","email":"me@thejameskyle.com"},"license":"MIT","keywords":["react","context","contextTypes","polyfill","ponyfill"],"files":["lib"],"scripts":{"test":"jest","flow":"flow","format":"prettier --write '**/*.{js,md,json,js.flow,d.ts}'","build":"babel src -d lib --copy-files --ignore __tests__","prepublish":"yarn build","commit":"lint-staged"},"peerDependencies":{"prop-types":"^15.0.0","react":"^14.0.0 || ^15.0.0 || ^16.0.0"},"devDependencies":{"babel-cli":"^6.26.0","babel-plugin-add-module-exports":"^0.2.1","babel-plugin-transform-class-properties":"^6.24.1","babel-preset-env":"^1.6.1","babel-preset-flow":"^6.23.0","babel-preset-react":"^6.24.1","enzyme":"^3.2.0","enzyme-adapter-react-16":"^1.1.0","enzyme-to-json":"^3.2.2","flow-bin":"^0.60.1","husky":"^0.14.3","jest":"^21.2.1","lint-staged":"^6.0.0","prettier":"^1.9.1","prop-types":"^15.6.0","raf":"^3.4.0","react":"^16.2.0","react-dom":"^16.2.0"},"lint-staged":{"*.{js,md,json,js.flow,d.ts}":["prettier --write","git add"]},"jest":{"snapshotSerializers":["enzyme-to-json/serializer"]},"dependencies":{"mitt":"^1.1.3"},"gitHead":"a193e05dec3d63ac484032340ece09125db820eb","bugs":{"url":"https://github.com/thejameskyle/create-react-context/issues"},"homepage":"https://github.com/thejameskyle/create-react-context#readme","_id":"create-react-context@0.1.2","_shasum":"56a1f3341f820fc355a873849c599a9c9b2e928f","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.9.1","_npmUser":{"name":"thejameskyle","email":"me@thejameskyle.com"},"dist":{"shasum":"56a1f3341f820fc355a873849c599a9c9b2e928f","size":4973,"noattachment":false,"key":"/create-react-context/-/create-react-context-0.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/create-react-context/download/create-react-context-0.1.2.tgz"},"maintainers":[{"name":"thejameskyle","email":"me@thejameskyle.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/create-react-context-0.1.2.tgz_1512713354910_0.7005647143814713"},"directories":{},"publish_time":1512713355061,"_cnpm_publish_time":1512713355061,"_hasShrinkwrap":false},"0.1.1":{"name":"create-react-context","version":"0.1.1","description":"Polyfill for the proposed React context API","main":"lib/index.js","repository":{"type":"git","url":"git+https://github.com/thejameskyle/create-react-context.git"},"author":{"name":"James Kyle","email":"me@thejameskyle.com"},"license":"MIT","keywords":["react","context","contextTypes","polyfill","ponyfill"],"files":["lib"],"scripts":{"test":"jest","flow":"flow","format":"prettier --write '**/*.{js,md,json,js.flow,d.ts}'","build":"babel src -d lib --copy-files --ignore __tests__","prepublish":"yarn build","commit":"lint-staged"},"peerDependencies":{"prop-types":"^15.0.0","react":"^14.0.0 || ^15.0.0 || ^16.0.0"},"devDependencies":{"babel-cli":"^6.26.0","babel-plugin-add-module-exports":"^0.2.1","babel-plugin-transform-class-properties":"^6.24.1","babel-preset-env":"^1.6.1","babel-preset-flow":"^6.23.0","babel-preset-react":"^6.24.1","enzyme":"^3.2.0","enzyme-adapter-react-16":"^1.1.0","enzyme-to-json":"^3.2.2","flow-bin":"^0.60.1","husky":"^0.14.3","jest":"^21.2.1","lint-staged":"^6.0.0","prettier":"^1.9.1","prop-types":"^15.6.0","raf":"^3.4.0","react":"^16.2.0","react-dom":"^16.2.0"},"lint-staged":{"*.{js,md,json,js.flow,d.ts}":["prettier --write","git add"]},"jest":{"snapshotSerializers":["enzyme-to-json/serializer"]},"gitHead":"f8765b9a4a77fed9808f7a03a70d678d6171fee3","bugs":{"url":"https://github.com/thejameskyle/create-react-context/issues"},"homepage":"https://github.com/thejameskyle/create-react-context#readme","_id":"create-react-context@0.1.1","_shasum":"67ae5be084e4e8dd2a7304e7009c0339ce697674","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.9.1","_npmUser":{"name":"thejameskyle","email":"me@thejameskyle.com"},"dist":{"shasum":"67ae5be084e4e8dd2a7304e7009c0339ce697674","size":4453,"noattachment":false,"key":"/create-react-context/-/create-react-context-0.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/create-react-context/download/create-react-context-0.1.1.tgz"},"maintainers":[{"name":"thejameskyle","email":"me@thejameskyle.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/create-react-context-0.1.1.tgz_1512705297056_0.8760087380651385"},"directories":{},"publish_time":1512705297196,"_hasShrinkwrap":false,"_cnpm_publish_time":1512705297196},"0.1.0":{"name":"create-react-context","version":"0.1.0","description":"Polyfill for the proposed React context API","main":"lib/index.js","repository":{"type":"git","url":"git+https://github.com/thejameskyle/create-react-context.git"},"author":{"name":"James Kyle","email":"me@thejameskyle.com"},"license":"MIT","keywords":["react","context","contextTypes","polyfill","ponyfill"],"files":["lib"],"scripts":{"test":"jest","flow":"flow","format":"prettier --write '**/*.{js,md,json,js.flow,d.ts}'","build":"babel src -d lib --copy-files --ignore __tests__","prepublish":"yarn build","commit":"lint-staged"},"dependencies":{"prop-types":"^15.6.0","react":"^16.2.0"},"devDependencies":{"babel-cli":"^6.26.0","babel-plugin-add-module-exports":"^0.2.1","babel-plugin-transform-class-properties":"^6.24.1","babel-preset-env":"^1.6.1","babel-preset-flow":"^6.23.0","babel-preset-react":"^6.24.1","enzyme":"^3.2.0","enzyme-adapter-react-16":"^1.1.0","enzyme-to-json":"^3.2.2","flow-bin":"^0.60.1","husky":"^0.14.3","jest":"^21.2.1","lint-staged":"^6.0.0","prettier":"^1.9.1","raf":"^3.4.0","react-dom":"^16.2.0"},"lint-staged":{"*.{js,md,json,js.flow,d.ts}":["prettier --write","git add"]},"jest":{"snapshotSerializers":["enzyme-to-json/serializer"]},"gitHead":"1a6e0d964e7eadc2d44c70468563ac1216a039c5","bugs":{"url":"https://github.com/thejameskyle/create-react-context/issues"},"homepage":"https://github.com/thejameskyle/create-react-context#readme","_id":"create-react-context@0.1.0","_shasum":"670a60400e257ae5e2c4e0212c2b596db09fe6dd","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.9.1","_npmUser":{"name":"thejameskyle","email":"me@thejameskyle.com"},"dist":{"shasum":"670a60400e257ae5e2c4e0212c2b596db09fe6dd","size":4265,"noattachment":false,"key":"/create-react-context/-/create-react-context-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/create-react-context/download/create-react-context-0.1.0.tgz"},"maintainers":[{"name":"thejameskyle","email":"me@thejameskyle.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/create-react-context-0.1.0.tgz_1512704804690_0.17496998189017177"},"directories":{},"publish_time":1512704804761,"_hasShrinkwrap":false,"_cnpm_publish_time":1512704804761}},"readme":"# create-react-context\n\n> Polyfill for the [proposed React context API](https://github.com/reactjs/rfcs/pull/2)\n\n## Install\n\n```sh\nyarn add create-react-context\n```\n\nYou'll need to also have `react` and `prop-types` installed.\n\n## API\n\n```js\nconst Context = createReactContext(defaultValue);\n// <Context.Provider value={providedValue}>{children}</Context.Provider>\n// ...\n// <Context.Consumer>{value => children}</Context.Consumer>\n```\n\n## Example\n\n```js\n// @flow\nimport React, { type Node } from 'react';\nimport createReactContext, { type Context } from 'create-react-context';\n\ntype Theme = 'light' | 'dark';\n// Pass a default theme to ensure type correctness\nconst ThemeContext: Context<Theme> = createReactContext('light');\n\nclass ThemeToggler extends React.Component<\n  { children: Node },\n  { theme: Theme }\n> {\n  state = { theme: 'light' };\n  render() {\n    return (\n      // Pass the current context value to the Provider's `value` prop.\n      // Changes are detected using strict comparison (Object.is)\n      <ThemeContext.Provider value={this.state.theme}>\n        <button\n          onClick={() => {\n            this.setState(state => ({\n              theme: state.theme === 'light' ? 'dark' : 'light'\n            }));\n          }}\n        >\n          Toggle theme\n        </button>\n        {this.props.children}\n      </ThemeContext.Provider>\n    );\n  }\n}\n\nclass Title extends React.Component<{ children: Node }> {\n  render() {\n    return (\n      // The Consumer uses a render prop API. Avoids conflicts in the\n      // props namespace.\n      <ThemeContext.Consumer>\n        {theme => (\n          <h1 style={{ color: theme === 'light' ? '#000' : '#fff' }}>\n            {this.props.children}\n          </h1>\n        )}\n      </ThemeContext.Consumer>\n    );\n  }\n}\n```\n\n## Compatibility\n\nThis package only \"ponyfills\" the `React.createContext` API, not other\nunrelated React 16+ APIs. If you are using a version of React <16, keep\nin mind that you can only use features available in that version.\n\nFor example, you cannot pass children types aren't valid pre React 16:\n\n```js\n<Context.Provider>\n  <div/>\n  <div/>\n</Context.Provider>\n```\n\nIt will throw `A valid React element (or null) must be returned. You may have returned undefined, an array or some other invalid object.` because `<Context.Provider>` can only receive a single child element. To fix the error just wrap everyting in a single `<div>`:\n\n```js\n<Context.Provider>\n  <div>\n    <div/>\n    <div/>\n  </div>\n</Context.Provider>\n```\n","_attachments":{},"homepage":"https://github.com/thejameskyle/create-react-context#readme","bugs":{"url":"https://github.com/thejameskyle/create-react-context/issues"},"license":"MIT"}