{"_id":"@wojtekmaj/predict-input-value","_rev":"12-a6f2ad3fb8e27f286da8e3aa5c75d310","name":"@wojtekmaj/predict-input-value","dist-tags":{"latest":"2.0.0"},"versions":{"1.1.0":{"name":"@wojtekmaj/predict-input-value","version":"1.1.0","keywords":["input","event"],"author":{"name":"Wojciech Maj","email":"kontakt@wojtekmaj.pl"},"license":"MIT","_id":"@wojtekmaj/predict-input-value@1.1.0","maintainers":[{"name":"wojtekmaj","email":"kontakt@wojtekmaj.pl"}],"homepage":"https://github.com/wojtekmaj/predict-input-value#readme","bugs":{"url":"https://github.com/wojtekmaj/predict-input-value/issues"},"dist":{"shasum":"d24e6114abdd21bb6ea8e58f208d77f21224c133","tarball":"https://registry.npmjs.org/@wojtekmaj/predict-input-value/-/predict-input-value-1.1.0.tgz","fileCount":7,"integrity":"sha512-CurHXdd0snbGDDZhGx2NowvfBz/KL5r3wTPQHcNfLynv6HB6VvGujIxaICrEfYIy3t87upJlIlOK/Hg/VAuxbg==","signatures":[{"sig":"MEQCICRyncaDzykjVWjYZkyjrA/qm0xsedWadL5sbpWGln1cAiBoVESxLXdHJWB3jl9S1lYoFDw2xleQn1izVFQLzwXYaA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11654,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe18QNCRA9TVsSAnZWagAA03gP/2rJlTc9B/Sxq/BePkt7\nc8Pilxay7W3hkojvMxleEi1lZqemWVzqZIzzQMagFbeSYmX9Ge4OugThbPd1\nsH5OMBfB3dNB7yfqyymIqjOC7xvXP31XuY8Po+nuUS5gMa4mhTWUd4gxTssX\nMt4kga1A8eQhaKi8A2r/43i+TOOs63v+Nfkzb3BeFdhn9shu7pJKZDEoanVO\nyFgSHEOKb98h0tw8mEEfrNYPttPerpWyr1d9Wu/BWoHsx6ZwKmqyAstC/aPt\nstdUOuNC/Pzsqq2hGmfArScj+ji2MBFzQkFPoYBWoHBsQILF3TVEmftl/Hpj\nWUW1wX9nLZsobZHC172vc+A1nk7OtTw96khdc2PMa7u9jAKKmLOJbP2js4IN\nC//o+bnqRWBz9xK1fElmnLaN39AT4RbCsCvL8kY1AsZfANWIudOF3/wXC057\nASymhPvXbwpnGrgc/9hAQpKqAHKVLBkMUNVkLYb1JgactGFJwgEfyoOX004y\nUNllPYnXVn20WxDkwfrGr60+Fr7MkNv2QwW3IKbzD9BrqurgbpqWY5Yq7690\nzbKtsPNjClLoNdX00/uNFXgID+TdUx0/Kq8YnLpLUlmEImAp7hs8Yj0q5OD9\nlPzwQ2waMvUS2V4pltsDvI0VKtNLbuU/PrUbQr2dTiwuRU6W38E2ZkO4XNf6\nZm7t\r\n=ajSg\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/umd/index.js","module":"dist/esm/index.js","source":"src/index.js","scripts":{"jest":"jest","lint":"eslint src/ --ext .jsx,.js","test":"yarn lint && yarn jest","build":"yarn build-esm && yarn build-umd","clean":"rimraf dist","build-esm":"cross-env BABEL_ENV=production-esm babel src -d dist/esm --ignore **/*.spec.js","build-umd":"cross-env BABEL_ENV=production-umd babel src -d dist/umd --ignore **/*.spec.js","prepublishOnly":"yarn clean && yarn build"},"_npmUser":{"name":"wojtekmaj","email":"kontakt@wojtekmaj.pl"},"deprecated":"Mistakenly released","repository":{"url":"git+https://github.com/wojtekmaj/predict-input-value.git","type":"git"},"_npmVersion":"6.14.4","description":"Predicts the input value during KeyDown or KeyPress events, before the input is actually changed","directories":{},"sideEffects":false,"_nodeVersion":"12.16.2","_hasShrinkwrap":false,"devDependencies":{"jest":"^26.0.0","eslint":"^6.8.0","cross-env":"^7.0.0","@babel/cli":"^7.4.0","@babel/core":"^7.4.0","@babel/preset-env":"^7.4.0","eslint-plugin-import":"^2.20.0","eslint-config-airbnb-base":"^14.1.0"},"_npmOperationalInternal":{"tmp":"tmp/predict-input-value_1.1.0_1591198732857_0.7178362108336547","host":"s3://npm-registry-packages"}},"1.0.0":{"name":"@wojtekmaj/predict-input-value","version":"1.0.0","keywords":["input","event"],"author":{"name":"Wojciech Maj","email":"kontakt@wojtekmaj.pl"},"license":"MIT","_id":"@wojtekmaj/predict-input-value@1.0.0","maintainers":[{"name":"wojtekmaj","email":"kontakt@wojtekmaj.pl"}],"dist":{"shasum":"dab4b6fa18f7247843f2f1d7065e182efd715f6c","tarball":"https://registry.npmjs.org/@wojtekmaj/predict-input-value/-/predict-input-value-1.0.0.tgz","fileCount":12,"integrity":"sha512-cAMCkp0Qv0BZdnSeTER66xW2LeCkf1H2NgVYoblb/F/TzewqbugTc/GeXsUQK79875GXIPSaAypo0sbKX0jwVQ==","signatures":[{"sig":"MEUCIQDGcpLdSv859wQK3StqRFEVolJr55GXzckRJ8koX+DYiAIgCY9M3OjyFyfD/tSsu+iKG29Ryh0UODIMgDFXeqxf2oU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11654,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe18ZjCRA9TVsSAnZWagAAejcP/01FHCsCHWuyjEgV9SQr\n3gJ5hDVRcp6gxQMt5ss35TZvGH00kCwQRC85PctoXcQtkQGEtK79ZFsUphjg\noYbLoXre6rMUgRKOH8oGrsLmHIb1Rat4qqmHEnaQVebOpfMw0/gkUELx0JMO\nyZlcCpLXN5o5u65Fb/JmDGfOZz+63NLDePLY5cYFBYkbNX47+5fPNmVusnUK\nUC3wx+KyzjzQ5ytgvMscxySfR+X0YvbzFX7pyw4401U6goeUOimew1j7tLJu\ntCA+DxTGz0LcH7+lB4hUrl00MIFkH+MYoEwHLPLNiOgHjD7SXy6dBmXYRy+7\nnXAfne8T7Gxfk9+IVYxOB+6IF4hleiR8AmGD9FpHXVVh2lN4GfmKysjqzddd\nCVEjiU+6i/Pv4eStp4U67vUycWzHx99Gs9j3O7VADEmXtkpuESsl3wy6SI3u\nhim/DsMzezIWN0yD2qvjO81MX7uwjnvUsG5ZjeeG1aFKie6S16kfJVjhM1Mc\nIW8SKVPlBoveAL30oPMb5s9Egst1ExKmcGEhfogH62oTGudqnyoH+APPr+YI\n16lU/J34AyEl4AkiqIxDoka0X6Ael63yjhTGBMLx7vD6AbHU337psm8ypzUP\nYXdslqNtG1w4wbKXu96+5korl2F5aZVx4lT2Andp+6+o7rvksdihr9PZn9Qu\nMGDw\r\n=sw8D\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/umd/index.js","module":"dist/esm/index.js","source":"src/index.js","scripts":{"jest":"jest","lint":"eslint src/ --ext .jsx,.js","test":"yarn lint && yarn jest","build":"yarn build-esm && yarn build-umd","clean":"rimraf dist","build-esm":"cross-env BABEL_ENV=production-esm babel src -d dist/esm --ignore **/*.spec.js","build-umd":"cross-env BABEL_ENV=production-umd babel src -d dist/umd --ignore **/*.spec.js","prepublishOnly":"yarn clean && yarn build"},"_npmUser":{"name":"wojtekmaj","email":"kontakt@wojtekmaj.pl"},"repository":{"url":"https://github.com/wojtekmaj/predict-input-value.git","type":"git"},"description":"Predicts the input value during KeyDown or KeyPress events, before the input is actually changed","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2020 Wojciech Maj\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","sideEffects":false,"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.0.0","eslint":"^6.8.0","cross-env":"^7.0.0","@babel/cli":"^7.4.0","@babel/core":"^7.4.0","@babel/preset-env":"^7.4.0","eslint-plugin-import":"^2.20.0","eslint-config-airbnb-base":"^14.1.0"},"_npmOperationalInternal":{"tmp":"tmp/predict-input-value_1.0.0_1591199331455_0.47611338329105","host":"s3://npm-registry-packages"}},"1.0.1":{"name":"@wojtekmaj/predict-input-value","version":"1.0.1","keywords":["input","event"],"author":{"name":"Wojciech Maj","email":"kontakt@wojtekmaj.pl"},"license":"MIT","_id":"@wojtekmaj/predict-input-value@1.0.1","maintainers":[{"name":"wojtekmaj","email":"kontakt@wojtekmaj.pl"}],"homepage":"https://github.com/wojtekmaj/predict-input-value#readme","bugs":{"url":"https://github.com/wojtekmaj/predict-input-value/issues"},"dist":{"shasum":"a9d82d3291eb941283da6b7f07b06f61b86e3056","tarball":"https://registry.npmjs.org/@wojtekmaj/predict-input-value/-/predict-input-value-1.0.1.tgz","fileCount":7,"integrity":"sha512-e2+ll5MCrSFTRxAeCm/oo0ihbljOvm/nypcNd1MMRQn39JXZy1ZjojV2U2uHC6R7cgeAf/K/9bxqh+D/ZkzgkA==","signatures":[{"sig":"MEUCICkfH2kUdw6Fyew2r/LdYSxUs2s6d3pJiUCRPv5Gvck7AiEAz0n1iapKBaIZ9okPvgn371CMh5KT1/mlQMdb+VGXVZM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13053,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfiBt9CRA9TVsSAnZWagAAwF4P/2NrhzZHtTSTfVPB+W0n\n0vSXCOKW80zEfvQszHuljkOHkznkDBdZBZG0aiVpc3Nz6EOR2jkB/3sJnpvJ\ngtspPzP3uVfCInFfcPiZUYDPh6zt6WuHsG0kb5kRnMu701FMJVhSPg8qfSSW\nOy1CjO63KlzJJMrMkNt5OfD15UgdCo4RYy3Pg1d6bgytFVTXlRTl36eXiCR+\nskzbhlY/1JKh67PXdoMz09IRgtG6r0HC5kxd18ODfWyKJ2eAU3ZEfVo0sH5e\n8KQC3Gp2T7ZDN43PWK3cEDLK8E34nlsFU1pQg5FEomfss7aRSyVDriTZrXoJ\nrb13lYeT6y2RDpCAOYZyR0Oslqibhd5RlPzpRx8PEzKkLAmB/mCZBFI7gOuS\nhm+zynx3BjkyLfzZqyD01GOAfj9CYqItnUUKtRqXfMh20B1AbjIHyrDb4tM7\n8sdqMemRWDw9HXFgdiLQpXHFbYcMmhovKY0vSIOkk3N58nDzeCS+CcDzxCIl\nMoCDprR50lHRIdh3KYvNBZ42pPNo21vuOcemQbqfVvaPRBIaIuH+4nwi5Yyv\nQ+FyvpMM4zX4d/Odd8yKI/2RtwkyADnGz0PG7qByFtCjEc7grgpWjj+wSXvv\n+CGm0VAaPNk0CbX9NfwH7DZ5jXhpS9Y+c8oEs8kIXx5XpBbYTSHhIpl08h3n\nRuHB\r\n=8ik3\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/umd/index.js","module":"dist/esm/index.js","source":"src/index.js","funding":"https://github.com/wojtekmaj/predict-input-value?sponsor=1","gitHead":"1494f2b0f5d53b71f457112867da54f0527a6b11","scripts":{"jest":"jest","lint":"eslint src/ --ext .jsx,.js","test":"yarn lint && yarn jest","build":"yarn build-esm && yarn build-umd","clean":"rimraf dist","build-esm":"cross-env BABEL_ENV=production-esm babel src -d dist/esm --ignore \"**/*.spec.js\"","build-umd":"cross-env BABEL_ENV=production-umd babel src -d dist/umd --ignore \"**/*.spec.js\"","prepublishOnly":"yarn clean && yarn build"},"_npmUser":{"name":"wojtekmaj","email":"kontakt@wojtekmaj.pl"},"repository":{"url":"git+https://github.com/wojtekmaj/predict-input-value.git","type":"git"},"_npmVersion":"6.14.5","description":"Predicts the input value during KeyDown or KeyPress events, before the input is actually changed","directories":{},"sideEffects":false,"_nodeVersion":"14.5.0","_hasShrinkwrap":false,"devDependencies":{"jest":"^26.0.0","eslint":"~7.2.0","rimraf":"^3.0.0","cross-env":"^7.0.0","@babel/cli":"^7.4.0","@babel/core":"^7.4.0","@babel/preset-env":"^7.4.0","eslint-plugin-import":"^2.21.2","eslint-config-airbnb-base":"^14.2.0"},"_npmOperationalInternal":{"tmp":"tmp/predict-input-value_1.0.1_1602755452583_0.4231888526519181","host":"s3://npm-registry-packages"}},"1.2.0":{"name":"@wojtekmaj/predict-input-value","version":"1.2.0","keywords":["input","event"],"author":{"name":"Wojciech Maj","email":"kontakt@wojtekmaj.pl"},"license":"MIT","_id":"@wojtekmaj/predict-input-value@1.2.0","maintainers":[{"name":"wojtekmaj","email":"kontakt@wojtekmaj.pl"}],"dist":{"shasum":"4e23d394deabee5341b29513ed766886183b9453","tarball":"https://registry.npmjs.org/@wojtekmaj/predict-input-value/-/predict-input-value-1.2.0.tgz","fileCount":9,"integrity":"sha512-YDtQ5ywBhA3ABhJFBXa6+RC3tu8t6VIVI9NZOTSfiQNlg9HDttWgIDDSaVMbgkPfaLn22+7O8m2rgyKaQZoeZw==","signatures":[{"sig":"MEQCIBad8odiPxC6x/ly5oNRIHvl1yf+6VM4c3eHJZcTPVaVAiBOfpMxbPsV/+WHC9WzpHRSVi502mxVZnSE/dKRnMGJmA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":15668,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjvR9lACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq2IhAAh1BOn1h/6xWqWBHBOE/UE/njlUWbqCknVCi1k2dS0+joOrLP\r\niBwli5BQmFKLxlmXjYWJc+05Q24K39BgHG5gOBjQ2y77+AJ/h2IbGy1M73Eh\r\nHg5JyC7UC/uXFv1DNt4RqQeX0gui3j2WYO+1NXUzSWNcaV79y7n8nf/baC/S\r\nNojZU3VH5rkw1rg4r/AlUVhlAqUEESAPRKOg84ZUU/HKhgklQeBTh3E9f4wR\r\nLNd6c6GjkafsoItTZKBJRvxsBSwy2vv7nphUawKsxuFqiHa0Uq5ery7q+SfP\r\nvxvz6Qy62mHQ8qvQALFuynNhyRM4+uwK1nGgmH5lbjKkGUelopwHsHtqPibI\r\nCvOmZTq4S0PWciurXEq+M8d41OBqe2RIfYCxGl9ntBChRCduYVdojglzVHZo\r\nldd1KyPG4w/CcnGqtJNa1EW6yvvXW8Mn1JQvHtg/zHv/78tIz/BsT9fnI1KM\r\nmzcYNIun2U3xhBQLcBqwOB5NIb+pmzCybPKpGXRXfZvuqSs/v8B0Qs22Ql4O\r\n4eT8s1x/rXwZxbH8HUr1BUbxJP0rRlaGKhy1Rntg2CMzo6eWhpvuqeWjACg2\r\nNUTRimxHsfbRszPh/Ru9OENwuVjv1Sq5qR2mF5Pr4SimlJDd9xVXwqpSjxKS\r\ng+Y//Cg32D/8yT9DmcLEyJyq70BEmuEooTo=\r\n=psyG\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/cjs/index.js","types":"src/index.ts","module":"dist/esm/index.js","source":"src/index.ts","funding":"https://github.com/wojtekmaj/predict-input-value?sponsor=1","gitHead":"8169d47ebcf235ca7b094b1f5631a2bec6bc8f92","scripts":{"tsc":"tsc --noEmit","jest":"jest","lint":"eslint src","test":"yarn lint && yarn tsc && yarn prettier && yarn jest","build":"yarn build-esm && yarn build-cjs","clean":"rimraf dist","prepack":"yarn clean && yarn build","prettier":"prettier --check . --cache","build-cjs":"tsc --project tsconfig.build.json --outDir dist/cjs --module commonjs","build-esm":"tsc --project tsconfig.build.json --outDir dist/esm --module esnext"},"_npmUser":{"name":"wojtekmaj","email":"kontakt@wojtekmaj.pl"},"repository":{"url":"https://github.com/wojtekmaj/predict-input-value.git","type":"git"},"description":"Predicts the input value during KeyDown or KeyPress events, before the input is actually changed","directories":{},"resolutions":{"semver@7.0.0":"^7.0.0"},"sideEffects":false,"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"yarn@3.1.0","devDependencies":{"jest":"^29.0.0","husky":"^8.0.0","eslint":"^8.26.0","rimraf":"^3.0.0","prettier":"^2.7.0","typescript":"^4.9.4","@babel/core":"^7.15.0","@types/jest":"^29.0.0","pretty-quick":"^3.1.0","@babel/preset-env":"^7.15.0","jest-environment-jsdom":"^29.0.0","eslint-config-wojtekmaj":"^0.7.1","@babel/preset-typescript":"^7.18.6","@typescript-eslint/parser":"^5.44.0","@typescript-eslint/eslint-plugin":"^5.41.0"},"_npmOperationalInternal":{"tmp":"tmp/predict-input-value_1.2.0_1673338725335_0.398957109555645","host":"s3://npm-registry-packages"}},"1.2.1":{"name":"@wojtekmaj/predict-input-value","version":"1.2.1","keywords":["input","event"],"author":{"name":"Wojciech Maj","email":"kontakt@wojtekmaj.pl"},"license":"MIT","_id":"@wojtekmaj/predict-input-value@1.2.1","maintainers":[{"name":"wojtekmaj","email":"kontakt@wojtekmaj.pl"}],"dist":{"shasum":"d377bc4f7be739a27ec10950886c3a258302dbe6","tarball":"https://registry.npmjs.org/@wojtekmaj/predict-input-value/-/predict-input-value-1.2.1.tgz","fileCount":9,"integrity":"sha512-1eFUiva70ggdllgQ0MWapxr3mzvs4r49p0n7k9kYIM38m4XpH+DyyYeKOqXFnEY0bgLM7DSFc80QboTaNHgB4g==","signatures":[{"sig":"MEUCIQCj1L+uuaXaxjT6VcrAkOwbv+WE7zzI4Em3RzpWne75hwIgZIxvlA4xFWNMoRn7iEgrzj64gHy9sT6nvRSlciaDKOQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":15708,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj23SfACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrbPA/8D2QdeuwwCgWRHhwytemadL4jAdt8SOb+lPHVhTt3M2qioxBa\r\nPVdDRh6PwIlc4k6EcoIq7a+xAm9bteUvGVAcqGyMWIeGfxwbHBYRJmFdQJ9g\r\n2xWeDWSy8n0KHK5lggLYlNALzZkk6w7iJQCXsBUOSi7ayPzMJjTfIP7kJ0VI\r\nrj2/5L+17xpWfYnLlfjDJWkCpAWcQ5qxJjIp1lUo1nHRUOLkOsT60UIwxfNQ\r\nZuWLdM7LSN2Ma8uoTuVXrFpvv/St+G7zgk+0etejummw4/OIPLI12pec1ZJJ\r\ntgFbb6lUNyupkRFlVPqkZmBTmJcIn1XQzixa6NMIeKMoRD3r+m+yM3jRWqaS\r\n3ZrMmeFmxKHV+k3ST2GbrDLUiNogM1IdTJn71esUSDKB8fYT21Xgq9zOTQfQ\r\n9hsXll1hbm4Kqf0CHJfAbfoxujlgPJhm8nBjdNtaFoIP+PzznP9awq1gvHF1\r\nLs1jdX6PhiGtIVvpdHaxlu0J23AAFpm+dWxS4d/T2n+bP8ysc6zTjf2/rJjR\r\nCzsQvCq2DJfANGHbFkQisR0ZFONC2tVBIIE5WFaF0DDe5165zIKrOCluZrxA\r\nipKeM7c/Evhk2m1tTCg9oRMXSmNoqUIrHciY6c/Kn/L2HJd1o63Tn9r7MkxB\r\n5j+Q+5FMsDk+M6pZXkyC4tB5AAvjOrthCqI=\r\n=LfSp\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/cjs/index.js","types":"dist/cjs/index.d.ts","module":"dist/esm/index.js","source":"src/index.ts","funding":"https://github.com/wojtekmaj/predict-input-value?sponsor=1","gitHead":"ccc7777edd879c3784857a6c70d6ea0fff059d96","scripts":{"tsc":"tsc --noEmit","jest":"jest","lint":"eslint src","test":"yarn lint && yarn tsc && yarn prettier && yarn jest","build":"yarn build-esm && yarn build-cjs","clean":"rimraf dist","prepack":"yarn clean && yarn build","prettier":"prettier --check . --cache","build-cjs":"tsc --project tsconfig.build.json --outDir dist/cjs --module commonjs","build-esm":"tsc --project tsconfig.build.json --outDir dist/esm --module esnext"},"_npmUser":{"name":"wojtekmaj","email":"kontakt@wojtekmaj.pl"},"repository":{"url":"https://github.com/wojtekmaj/predict-input-value.git","type":"git"},"description":"Predicts the input value during KeyDown or KeyPress events, before the input is actually changed","directories":{},"resolutions":{"semver@7.0.0":"^7.0.0"},"sideEffects":false,"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"yarn@3.1.0","devDependencies":{"jest":"^29.0.0","husky":"^8.0.0","eslint":"^8.26.0","rimraf":"^3.0.0","prettier":"^2.7.0","typescript":"^4.9.4","@babel/core":"^7.15.0","@types/jest":"^29.0.0","pretty-quick":"^3.1.0","@babel/preset-env":"^7.15.0","jest-environment-jsdom":"^29.0.0","eslint-config-wojtekmaj":"^0.7.1","@babel/preset-typescript":"^7.18.6","@typescript-eslint/parser":"^5.44.0","@typescript-eslint/eslint-plugin":"^5.41.0"},"_npmOperationalInternal":{"tmp":"tmp/predict-input-value_1.2.1_1675326622893_0.5321895471855376","host":"s3://npm-registry-packages"}},"1.3.0":{"name":"@wojtekmaj/predict-input-value","version":"1.3.0","keywords":["input","event"],"author":{"name":"Wojciech Maj","email":"kontakt@wojtekmaj.pl"},"license":"MIT","_id":"@wojtekmaj/predict-input-value@1.3.0","maintainers":[{"name":"wojtekmaj","email":"kontakt@wojtekmaj.pl"}],"dist":{"shasum":"d1958ade0a6a46d9f768bf4f8edaf5e803742f1b","tarball":"https://registry.npmjs.org/@wojtekmaj/predict-input-value/-/predict-input-value-1.3.0.tgz","fileCount":9,"integrity":"sha512-z43UjHrOXxVsiCQ/J9yImvPH9eFUInS0C9cmmst89WiJKt3EcpUfUinYpiAWXb12RwJz4RYfTkFWnjEybUDjdQ==","signatures":[{"sig":"MEQCIHvAoIWbVTpZEtPCo0zrPsyNQmkiyhqLY7cic/OLDmPuAiAJW/KHSqOGdUZDk063PeJ1LKPN6foLWV3tP+lIcPpfqA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":15465},"main":"./dist/cjs/index.js","type":"module","types":"./dist/cjs/index.d.ts","module":"./dist/esm/index.js","source":"./src/index.ts","exports":{"import":"./dist/esm/index.js","require":"./dist/cjs/index.js"},"funding":"https://github.com/wojtekmaj/predict-input-value?sponsor=1","gitHead":"be38265a0168924b2b12450aca1ef8809f0666e8","scripts":{"tsc":"tsc --noEmit","lint":"eslint .","test":"yarn lint && yarn tsc && yarn prettier && yarn unit","unit":"vitest run","build":"yarn build-esm && yarn build-cjs","clean":"rimraf dist","prepack":"yarn clean && yarn build","prettier":"prettier --check . --cache","build-cjs":"tsc --project tsconfig.build.json --outDir dist/cjs --module commonjs","build-esm":"tsc --project tsconfig.build.json --outDir dist/esm --module esnext"},"_npmUser":{"name":"wojtekmaj","email":"kontakt@wojtekmaj.pl"},"repository":{"url":"https://github.com/wojtekmaj/predict-input-value.git","type":"git"},"description":"Predicts the input value during KeyDown or KeyPress events, before the input is actually changed","directories":{},"sideEffects":false,"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"yarn@3.1.0","devDependencies":{"husky":"^8.0.0","jsdom":"^21.1.0","eslint":"^8.26.0","rimraf":"^3.0.0","vitest":"^0.30.1","prettier":"^2.7.0","typescript":"^5.0.0","pretty-quick":"^3.1.0","eslint-config-wojtekmaj":"^0.8.4"},"_npmOperationalInternal":{"tmp":"tmp/predict-input-value_1.3.0_1685369262062_0.6075909992003818","host":"s3://npm-registry-packages"}},"1.3.1":{"name":"@wojtekmaj/predict-input-value","version":"1.3.1","keywords":["input","event"],"author":{"name":"Wojciech Maj","email":"kontakt@wojtekmaj.pl"},"license":"MIT","_id":"@wojtekmaj/predict-input-value@1.3.1","maintainers":[{"name":"wojtekmaj","email":"kontakt@wojtekmaj.pl"}],"dist":{"shasum":"18ab6098623cd02a2edba784192390045ad711cd","tarball":"https://registry.npmjs.org/@wojtekmaj/predict-input-value/-/predict-input-value-1.3.1.tgz","fileCount":10,"integrity":"sha512-sDPQVbyXSwgLSBJZbPE3bXYZLCecwrj0cULjaZAlxTphNMdKXxHoooVzpATjOje3I1HsOGnYz6eVD1PfXXR8WA==","signatures":[{"sig":"MEUCIDTY1COHzpVhYbwsSW1SNUfMCTkD1bZ3eB6Q88B9KG6ZAiEAliyrDwn24p77F8gnUBWsbR5wA4nvR2GB/KcNk8j4L6M=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":15559},"main":"./dist/cjs/index.js","type":"module","types":"./dist/cjs/index.d.ts","module":"./dist/esm/index.js","source":"./src/index.ts","exports":{"import":"./dist/esm/index.js","require":"./dist/cjs/index.js"},"funding":"https://github.com/wojtekmaj/predict-input-value?sponsor=1","gitHead":"c765fac4a38da12b2b1ccafa516d0abfc92e9153","scripts":{"tsc":"tsc --noEmit","lint":"eslint .","test":"yarn lint && yarn tsc && yarn prettier && yarn unit","unit":"vitest run","build":"yarn build-esm && yarn build-cjs","clean":"rimraf dist","prepack":"yarn clean && yarn build","prettier":"prettier --check . --cache","build-cjs":"tsc --project tsconfig.build.json --outDir dist/cjs --module commonjs && echo '{\n  \"type\": \"commonjs\"\n}' > dist/cjs/package.json","build-esm":"tsc --project tsconfig.build.json --outDir dist/esm --module esnext"},"_npmUser":{"name":"wojtekmaj","email":"kontakt@wojtekmaj.pl"},"repository":{"url":"https://github.com/wojtekmaj/predict-input-value.git","type":"git"},"description":"Predicts the input value during KeyDown or KeyPress events, before the input is actually changed","directories":{},"sideEffects":false,"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"yarn@3.1.0","devDependencies":{"husky":"^8.0.0","jsdom":"^21.1.0","eslint":"^8.26.0","rimraf":"^3.0.0","vitest":"^0.30.1","prettier":"^2.7.0","typescript":"^5.0.0","pretty-quick":"^3.1.0","eslint-config-wojtekmaj":"^0.8.4"},"_npmOperationalInternal":{"tmp":"tmp/predict-input-value_1.3.1_1685381286217_0.6132768660479955","host":"s3://npm-registry-packages"}},"1.3.2":{"name":"@wojtekmaj/predict-input-value","version":"1.3.2","keywords":["input","event"],"author":{"name":"Wojciech Maj","email":"kontakt@wojtekmaj.pl"},"license":"MIT","_id":"@wojtekmaj/predict-input-value@1.3.2","maintainers":[{"name":"wojtekmaj","email":"kontakt@wojtekmaj.pl"}],"homepage":"https://github.com/wojtekmaj/predict-input-value#readme","bugs":{"url":"https://github.com/wojtekmaj/predict-input-value/issues"},"dist":{"shasum":"d424c5f54d971aef631de5089adc8fa8d0475162","tarball":"https://registry.npmjs.org/@wojtekmaj/predict-input-value/-/predict-input-value-1.3.2.tgz","fileCount":10,"integrity":"sha512-J22jesszSwIKFlGYq8NtkM3yspdVkhoUxpTvEAjxBpBY/G2CBdGPWRy6kW/9zF9usfNMB01ITrKlcdAVOvcRUA==","signatures":[{"sig":"MEYCIQCzymeTRwAClJqZQZCcf9hd+7ghqPEI8i0iY/MnqgaU4QIhAPH8zOe343jO4T/QNIcNN5PrDsvVokr+KxmTupsVKVEa","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@wojtekmaj%2fpredict-input-value@1.3.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":15642},"main":"./dist/cjs/index.js","type":"module","_from":"file:package.tgz","types":"./dist/cjs/index.d.ts","module":"./dist/esm/index.js","source":"./src/index.ts","exports":{"import":"./dist/esm/index.js","require":"./dist/cjs/index.js"},"funding":"https://github.com/wojtekmaj/predict-input-value?sponsor=1","scripts":{"tsc":"tsc --noEmit","lint":"eslint .","test":"yarn lint && yarn tsc && yarn prettier && yarn unit","unit":"vitest","build":"yarn build-esm && yarn build-cjs && yarn build-cjs-package","clean":"rimraf dist","prepack":"yarn clean && yarn build","prettier":"prettier --check . --cache","build-cjs":"tsc --project tsconfig.build.json --outDir dist/cjs --module commonjs --verbatimModuleSyntax false","build-esm":"tsc --project tsconfig.build.json --outDir dist/esm","build-cjs-package":"echo '{\n  \"type\": \"commonjs\"\n}' > dist/cjs/package.json"},"_npmUser":{"name":"wojtekmaj","email":"kontakt@wojtekmaj.pl"},"_resolved":"/home/runner/work/predict-input-value/predict-input-value/package.tgz","_integrity":"sha512-J22jesszSwIKFlGYq8NtkM3yspdVkhoUxpTvEAjxBpBY/G2CBdGPWRy6kW/9zF9usfNMB01ITrKlcdAVOvcRUA==","repository":{"url":"git+https://github.com/wojtekmaj/predict-input-value.git","type":"git"},"_npmVersion":"10.1.0","description":"Predicts the input value during KeyDown or KeyPress events, before the input is actually changed","directories":{},"sideEffects":false,"_nodeVersion":"20.8.0","publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"packageManager":"yarn@3.1.0","devDependencies":{"husky":"^8.0.0","eslint":"^8.26.0","rimraf":"^3.0.0","vitest":"^0.34.0","prettier":"^3.0.0","happy-dom":"^12.6.0","typescript":"^5.0.0","lint-staged":"^14.0.0","eslint-config-wojtekmaj":"^0.9.0"},"_npmOperationalInternal":{"tmp":"tmp/predict-input-value_1.3.2_1697635371696_0.8791317559897547","host":"s3://npm-registry-packages"}},"2.0.0":{"name":"@wojtekmaj/predict-input-value","version":"2.0.0","description":"Predicts the input value during KeyDown or KeyPress events, before the input is actually changed","type":"module","sideEffects":false,"main":"./dist/index.js","source":"./src/index.ts","types":"./dist/index.d.ts","exports":{".":"./dist/index.js","./*":"./*"},"scripts":{"build":"tsc --project tsconfig.build.json","clean":"rimraf dist","format":"biome format","lint":"biome lint","prepack":"yarn clean && yarn build","test":"yarn lint && yarn tsc && yarn format && yarn unit","tsc":"tsc","unit":"vitest"},"keywords":["input","event"],"author":{"name":"Wojciech Maj","email":"kontakt@wojtekmaj.pl"},"license":"MIT","devDependencies":{"@biomejs/biome":"1.9.0","happy-dom":"^15.10.2","husky":"^9.0.0","rimraf":"^6.0.0","typescript":"^5.5.2","vitest":"^3.0.5"},"publishConfig":{"access":"public","provenance":true},"repository":{"type":"git","url":"git+https://github.com/wojtekmaj/predict-input-value.git"},"funding":"https://github.com/wojtekmaj/predict-input-value?sponsor=1","packageManager":"yarn@4.3.1","_id":"@wojtekmaj/predict-input-value@2.0.0","bugs":{"url":"https://github.com/wojtekmaj/predict-input-value/issues"},"homepage":"https://github.com/wojtekmaj/predict-input-value#readme","_integrity":"sha512-AT1w+R22oqkTxyl1BQecZuIpBJ3ykGfcTA8KPkg+t/4IT46dWMeEXQsEDZ6f4AMAyO8OxfrSECJoTBfrF/7KxQ==","_resolved":"/home/runner/work/predict-input-value/predict-input-value/package.tgz","_from":"file:package.tgz","_nodeVersion":"22.14.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-AT1w+R22oqkTxyl1BQecZuIpBJ3ykGfcTA8KPkg+t/4IT46dWMeEXQsEDZ6f4AMAyO8OxfrSECJoTBfrF/7KxQ==","shasum":"ab64023b254bc6a19d1d67913919f83de1b4d065","tarball":"https://registry.npmjs.org/@wojtekmaj/predict-input-value/-/predict-input-value-2.0.0.tgz","fileCount":7,"unpackedSize":13884,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@wojtekmaj%2fpredict-input-value@2.0.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDiuMJ+O5uHvkjG4hLhX9PiK+nUtPat9i9gURwvFAavRgIhAKSpiv6l3j0Uk+DLaYM+5IAeUN8Dy5n2JdTCFOsT7nZD"}]},"_npmUser":{"name":"wojtekmaj","email":"kontakt@wojtekmaj.pl"},"directories":{},"maintainers":[{"name":"wojtekmaj","email":"kontakt@wojtekmaj.pl"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/predict-input-value_2.0.0_1742511963582_0.024902249991089365"},"_hasShrinkwrap":false}},"time":{"created":"2020-06-03T15:38:52.822Z","modified":"2025-03-20T23:06:04.194Z","1.1.0":"2020-06-03T15:38:52.988Z","1.0.0":"2020-06-03T15:48:51.669Z","1.0.1":"2020-10-15T09:50:52.762Z","1.2.0":"2023-01-10T08:18:45.501Z","1.2.1":"2023-02-02T08:30:23.108Z","1.3.0":"2023-05-29T14:07:42.306Z","1.3.1":"2023-05-29T17:28:06.380Z","1.3.2":"2023-10-18T13:22:51.932Z","2.0.0":"2025-03-20T23:06:03.788Z"},"bugs":{"url":"https://github.com/wojtekmaj/predict-input-value/issues"},"author":{"name":"Wojciech Maj","email":"kontakt@wojtekmaj.pl"},"license":"MIT","homepage":"https://github.com/wojtekmaj/predict-input-value#readme","keywords":["input","event"],"repository":{"type":"git","url":"git+https://github.com/wojtekmaj/predict-input-value.git"},"description":"Predicts the input value during KeyDown or KeyPress events, before the input is actually changed","maintainers":[{"name":"wojtekmaj","email":"kontakt@wojtekmaj.pl"}],"readme":"[![npm](https://img.shields.io/npm/v/@wojtekmaj/predict-input-value.svg)](https://www.npmjs.com/package/@wojtekmaj/predict-input-value) ![downloads](https://img.shields.io/npm/dt/@wojtekmaj/predict-input-value.svg) [![CI](https://github.com/wojtekmaj/predict-input-value/actions/workflows/ci.yml/badge.svg)](https://github.com/wojtekmaj/predict-input-value/actions)\n\n# Predict-Input-Value\n\nPredicts the input value during KeyDown or KeyPress events, before the input is actually changed.\n\n## tl;dr\n\n- Install by executing `npm install @wojtekmaj/predict-input-value` or `yarn add @wojtekmaj/predict-input-value`.\n- Import by adding `import predictInputValue from '@wojtekmaj/predict-input-value'`.\n- Use it by writing `const nextValue = predictInputValue(event)`.\n\n## Example\n\nConditions:\n\n- Input: value `\"hello\"`\n- Selected text: `\"ello\"`\n- Key pressed: `i`\n\n```ts\nfunction onKeyPress(event: React.KeyboardEvent<HTMLInputElement>): void {\n  const nextValue = predictInputValue(event); // \"hi\"\n}\n```\n\n## License\n\nThe MIT License.\n\n## Author\n\n<table>\n  <tr>\n    <td >\n      <img src=\"https://avatars.githubusercontent.com/u/5426427?v=4&s=128\" width=\"64\" height=\"64\" alt=\"Wojciech Maj\">\n    </td>\n    <td>\n      <a href=\"https://github.com/wojtekmaj\">Wojciech Maj</a>\n    </td>\n  </tr>\n</table>\n","readmeFilename":"README.md"}