{"name":"prop-types-exact","version":"1.2.7","description":"For use with React PropTypes. Will error on any prop not explicitly specified.","main":"src","sideEffects":false,"scripts":{"prepack":"npmignore --auto --commentLines=autogenerated","prepublishOnly":"safe-publish-latest","prepublish":"not-in-publish || npm run prepublishOnly","lint":"eslint --ext js,jsx src test","tape":"tape --require ./test-build/helpers/_failTestsOnErrors","tests:build":"babel test --out-dir=test-build","tests-only":"nyc npm run tape './test-build/*.*'","pretest":"npm run react && npm run tests:build && npm run lint","test":"npm run tests-only","posttest":"npx npm@'>= 10.2' audit --production","react":"enzyme-adapter-react-install 16","version":"auto-changelog && git add CHANGELOG.md","postversion":"auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""},"repository":{"type":"git","url":"git+https://github.com/ljharb/prop-types-exact.git"},"keywords":["react","propTypes","prop","types","validator","validation","exact"],"author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/ljharb/prop-types-exact/issues"},"homepage":"https://github.com/ljharb/prop-types-exact#readme","funding":{"url":"https://github.com/sponsors/ljharb"},"dependencies":{"call-bound":"^1.0.3","es-errors":"^1.3.0","hasown":"^2.0.2","isarray":"^2.0.5","object.assign":"^4.1.7","own-keys":"^1.0.0"},"devDependencies":{"@babel/cli":"^7.26.4","@ljharb/eslint-config":"^21.1.1","auto-changelog":"^2.5.0","babel-preset-airbnb":"^5.0.0","encoding":"^0.1.13","enzyme-adapter-react-helper":"^1.3.10","eslint":"=8.8.0","eslint-plugin-react":"^7.37.3","in-publish":"^2.0.1","npmignore":"^0.3.1","nyc":"^10.3.2","prop-types":"^15.8.1","psl":"=1.9.0","react":"^0.13 || ^0.14 || ^15 || ^16.0.0-alpha.12","rimraf":"^2.7.1","safe-publish-latest":"^2.0.0","tape":"^5.9.0"},"engines":{"node":">= 0.8"},"auto-changelog":{"output":"CHANGELOG.md","template":"keepachangelog","unreleased":false,"commitLimit":false,"backfillLimit":false,"hideCredit":true,"startingVersion":"1.2.1"},"publishConfig":{"ignore":[".github/workflows"]},"_id":"prop-types-exact@1.2.7","gitHead":"446b915ea01911666b0e1f2ea35512ac6389360c","_nodeVersion":"23.5.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-A4RaV6mg3jocQqBYmqi2ojJ2VnV4AKTEHhl3xHsud08/u87gcVJc8DUOtgnPegoOCQv/shUqEk4eZGYibjnHzQ==","shasum":"dba4509df22b72f79583bb82e22cce663b05f0e3","tarball":"http://registry-npm.ywwl.com/prop-types-exact/download/prop-types-exact-1.2.7.tgz","fileCount":14,"unpackedSize":22888,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCrRgF+axCAUzGzx6pf3o/uUW2hVmji4djRskvl+9HaAAIhAMfBDFZAewnD6G5Ks2vDeL51xt022nwpZl8rLPWUvllJ"}],"size":8360,"noattachment":false,"key":"/prop-types-exact/-/prop-types-exact-1.2.7.tgz"},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"maintainers":[{"name":"lencioni","email":"joe.lencioni@gmail.com"},{"name":"ljharb","email":"ljharb@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/prop-types-exact_1.2.7_1735456456978_0.4558264816099473"},"_hasShrinkwrap":false,"readme":"# prop-types-exact <sup>[![Version Badge][npm-version-svg]][package-url]</sup>\n\n[![github actions][actions-image]][actions-url]\n[![coverage][codecov-image]][codecov-url]\n[![License][license-image]][license-url]\n[![Downloads][downloads-image]][downloads-url]\n\n[![npm badge][npm-badge-png]][package-url]\n\nFor use with React PropTypes. Will error on any prop not explicitly specified.\n\n## Usage\n\n```jsx\nimport PropTypes from 'prop-types';\nimport exact from 'prop-types-exact';\n\nfunction Foo({ foo, bar }) {\n  return <div>{foo}{bar}</div>\n}\nFoo.propTypes = exact({\n  foo: PropTypes.string,\n  bar: PropTypes.number,\n});\n\n<Foo foo=\"hi\" bar={3} /> // no warnings\n\n<Foo foo=\"hi\" bar={3} baz=\"extra\" /> // propTypes warning!\n```\n\n## Tests\nSimply clone the repo, `npm install`, and run `npm test`\n\n[package-url]: https://npmjs.org/package/prop-types-exact\n[npm-version-svg]: http://versionbadg.es/ljharb/prop-types-exact.svg\n[deps-svg]: https://david-dm.org/ljharb/prop-types-exact.svg\n[deps-url]: https://david-dm.org/ljharb/prop-types-exact\n[dev-deps-svg]: https://david-dm.org/ljharb/prop-types-exact/dev-status.svg\n[dev-deps-url]: https://david-dm.org/ljharb/prop-types-exact#info=devDependencies\n[npm-badge-png]: https://nodei.co/npm/prop-types-exact.png?downloads=true&stars=true\n[license-image]: http://img.shields.io/npm/l/prop-types-exact.svg\n[license-url]: LICENSE\n[downloads-image]: http://img.shields.io/npm/dm/prop-types-exact.svg\n[downloads-url]: http://npm-stat.com/charts.html?package=prop-types-exact\n[codecov-image]: https://codecov.io/gh/ljharb/prop-types-exact/branch/main/graphs/badge.svg\n[codecov-url]: https://app.codecov.io/gh/ljharb/prop-types-exact/\n[actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/ljharb/prop-types-exact\n[actions-url]: https://github.com/ljharb/prop-types-exact/actions\n","publish_time":1735456457148,"_cnpm_publish_time":1735456457148,"dist-tags":{"latest":"1.2.7"}}