{"_id":"safe-regex-test","_rev":"4-5856603acf5990af86ae9aae238d7b98","name":"safe-regex-test","dist-tags":{"latest":"1.1.0"},"versions":{"1.0.0":{"name":"safe-regex-test","version":"1.0.0","keywords":["regex","regexp","test","tester","safe","robust","exec"],"author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"license":"MIT","_id":"safe-regex-test@1.0.0","maintainers":[{"name":"ljharb","email":"ljharb@gmail.com"}],"homepage":"https://github.com/ljharb/safe-regex-test#readme","bugs":{"url":"https://github.com/ljharb/safe-regex-test/issues"},"dist":{"shasum":"793b874d524eb3640d1873aad03596db2d4f2295","tarball":"https://registry.npmjs.org/safe-regex-test/-/safe-regex-test-1.0.0.tgz","fileCount":8,"integrity":"sha512-JBUUzyOgEwXQY1NuPtvcj/qcBDbDmEvWufhlnXZIm75DEHp+afM1r1ujJpJsV/gSM4t59tpDyPi1sd6ZaPFfsA==","signatures":[{"sig":"MEQCIGStUqpWyJ1L3lPAOYjwERegLvJeGVVBQjj81g6ffIZqAiBYWQpgIdYM788q/+mgIvoUduzXrj6zXkX6Gl1LcNv+qA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7332,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjLMD8ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmrulw//SJv1u6N8VB6xwI+fkBHTmKDKYoGopT0zqBnBUX6dMcTw9Wgf\r\n8EA17ojV1C7n6tZU0jH18QHczHHYRuABMlTh26zThTV9cOrbp2UN87m/x6zQ\r\noSs8QZEPxvyF6RirjY3gBJ8XTenhrbguxupxGpzCGbdaAMOYd0MDHmxn3Uki\r\nlIiTt+vvGooedAFM6/LGd8jUQZ+IstMCjX2ygtDDa714FkylWOtJAz6SYIde\r\nwjrNQYW1WzVKaiIwl24YgncbhISc3r8zoZ+AwZpbnZb/7f3In4af3dmpsRyC\r\njAdZhef6mvISqd4e+YP3upkuOPNjufiZLLLblOxIVXmyQKVhxWi3mD7xlt52\r\n8NVx6xbLFCsyCSqOCHH3+KZPEBd7Totzzu0PovXFk0ulhbu2E++69kxs/uzg\r\nJmMtDoBxwuZMQHLh12UYu5JuBJiLVBRg4s6Dp/PBFE40d5PUrdR7n+tHghOy\r\nHQMGgH6W9LoDpsufjgDoB9U2qjzvKayRZtRzgeIwoTSTCLpQ2dK8v4GJDYkd\r\ntj0uWdGlqnwD7Vem6AOKVhpssVqlvBAYPK0ONCO/jqc9zEqs+RIWuSMO1lz2\r\nrRmO62DyoZdn9sFIZyzsq5Mfz+U6KsqBhAxY+1wJGLuD97CrZ6YKWNiKhFmj\r\nn1DH+veJRwwPTmvoyasZtQOOX2hskftADkg=\r\n=uMG/\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","exports":{".":"./index.js","./package.json":"./package.json"},"funding":{"url":"https://github.com/sponsors/ljharb"},"gitHead":"5ff385f943afbe6d23a0e01e5e0444d88b4bee93","scripts":{"lint":"eslint --ext=js,mjs .","test":"npm run tests-only","prepack":"npmignore --auto --commentLines=autogenerated","pretest":"npm run lint","version":"auto-changelog && git add CHANGELOG.md","posttest":"aud --production","prepublish":"not-in-publish || npm run prepublishOnly","tests-only":"tape test","postversion":"auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"","prepublishOnly":"safe-publish-latest"},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"repository":{"url":"git+https://github.com/ljharb/safe-regex-test.git","type":"git"},"_npmVersion":"8.19.1","description":"Give a regex, get a robust predicate function that tests it against a string.","directories":{},"_nodeVersion":"18.9.0","dependencies":{"is-regex":"^1.1.4","call-bind":"^1.0.2","get-intrinsic":"^1.1.3"},"publishConfig":{"ignore":[".github/workflows"]},"_hasShrinkwrap":false,"auto-changelog":{"output":"CHANGELOG.md","template":"keepachangelog","hideCredit":true,"unreleased":false,"commitLimit":false,"backfillLimit":false},"devDependencies":{"aud":"^2.0.1","tape":"^5.6.1","eslint":"=8.8.0","for-each":"^0.3.3","npmignore":"^0.3.0","in-publish":"^2.0.1","auto-changelog":"^2.4.0","object-inspect":"^1.12.2","es-value-fixtures":"^1.4.2","safe-publish-latest":"^2.0.0","@ljharb/eslint-config":"^21.0.0"},"_npmOperationalInternal":{"tmp":"tmp/safe-regex-test_1.0.0_1663877372366_0.8444957878612933","host":"s3://npm-registry-packages"}},"1.0.1":{"name":"safe-regex-test","version":"1.0.1","keywords":["regex","regexp","test","tester","safe","robust","exec"],"author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"license":"MIT","_id":"safe-regex-test@1.0.1","maintainers":[{"name":"ljharb","email":"ljharb@gmail.com"}],"homepage":"https://github.com/ljharb/safe-regex-test#readme","bugs":{"url":"https://github.com/ljharb/safe-regex-test/issues"},"dist":{"shasum":"207369b445fd007e534864635b28b2ae7b105783","tarball":"https://registry.npmjs.org/safe-regex-test/-/safe-regex-test-1.0.1.tgz","fileCount":9,"integrity":"sha512-Y5NejJTTliTyY4H7sipGqY+RX5P87i3F7c4Rcepy72nq+mNLhIsD0W4c7kEmduMDQCSqtPsXPlSTsFhh2LQv+g==","signatures":[{"sig":"MEUCIQCzT/veDWATgBLkcN+EtQE/0JuVL7Krnovs93gxVkmd/QIgWKhuAN12S5EmdwMB129cwrkY+g5nCeye6zNyiJSUJs4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":9439},"main":"index.js","engines":{"node":">= 0.4"},"exports":{".":"./index.js","./package.json":"./package.json"},"funding":{"url":"https://github.com/sponsors/ljharb"},"gitHead":"83069260d7da4d6de58ee6a1e70cc5d1866c52ea","scripts":{"lint":"eslint --ext=js,mjs .","test":"npm run tests-only","prepack":"npmignore --auto --commentLines=autogenerated","pretest":"npm run lint","version":"auto-changelog && git add CHANGELOG.md","posttest":"aud --production","prepublish":"not-in-publish || npm run prepublishOnly","tests-only":"nyc tape test","postversion":"auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"","prepublishOnly":"safe-publish-latest"},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"repository":{"url":"git+https://github.com/ljharb/safe-regex-test.git","type":"git"},"_npmVersion":"10.2.4","description":"Give a regex, get a robust predicate function that tests it against a string.","directories":{},"sideEffects":"false","_nodeVersion":"21.5.0","dependencies":{"is-regex":"^1.1.4","call-bind":"^1.0.5","get-intrinsic":"^1.2.2"},"publishConfig":{"ignore":[".github/workflows"]},"_hasShrinkwrap":false,"auto-changelog":{"output":"CHANGELOG.md","template":"keepachangelog","hideCredit":true,"unreleased":false,"commitLimit":false,"backfillLimit":false},"devDependencies":{"aud":"^2.0.4","nyc":"^10.3.2","tape":"^5.7.2","eslint":"=8.8.0","for-each":"^0.3.3","npmignore":"^0.3.1","in-publish":"^2.0.1","auto-changelog":"^2.4.0","object-inspect":"^1.13.1","es-value-fixtures":"^1.4.2","safe-publish-latest":"^2.0.0","@ljharb/eslint-config":"^21.1.0"},"_npmOperationalInternal":{"tmp":"tmp/safe-regex-test_1.0.1_1704824554658_0.2620516780988622","host":"s3://npm-registry-packages"}},"1.0.2":{"name":"safe-regex-test","version":"1.0.2","keywords":["regex","regexp","test","tester","safe","robust","exec"],"author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"license":"MIT","_id":"safe-regex-test@1.0.2","maintainers":[{"name":"ljharb","email":"ljharb@gmail.com"}],"homepage":"https://github.com/ljharb/safe-regex-test#readme","bugs":{"url":"https://github.com/ljharb/safe-regex-test/issues"},"dist":{"shasum":"3ba32bdb3ea35f940ee87e5087c60ee786c3f6c5","tarball":"https://registry.npmjs.org/safe-regex-test/-/safe-regex-test-1.0.2.tgz","fileCount":9,"integrity":"sha512-83S9w6eFq12BBIJYvjMux6/dkirb8+4zJRA9cxNBVb7Wq5fJBW+Xze48WqR8pxua7bDuAaaAxtVVd4Idjp1dBQ==","signatures":[{"sig":"MEYCIQD2wHn1u/HAwb4olIxvb/RSYhhQRvV/CQUahnxr21UDdwIhAIGKlSf1beqwVP6L3UsqVD93XjPEU4seGJYBWaROf9OG","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":9701},"main":"index.js","engines":{"node":">= 0.4"},"exports":{".":"./index.js","./package.json":"./package.json"},"funding":{"url":"https://github.com/sponsors/ljharb"},"gitHead":"db32692fd3574dd5d4b2d82fc898233843a59151","scripts":{"lint":"eslint --ext=js,mjs .","test":"npm run tests-only","prepack":"npmignore --auto --commentLines=autogenerated","pretest":"npm run lint","version":"auto-changelog && git add CHANGELOG.md","posttest":"aud --production","prepublish":"not-in-publish || npm run prepublishOnly","tests-only":"nyc tape test","postversion":"auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"","prepublishOnly":"safe-publish-latest"},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"repository":{"url":"git+https://github.com/ljharb/safe-regex-test.git","type":"git"},"_npmVersion":"10.2.4","description":"Give a regex, get a robust predicate function that tests it against a string.","directories":{},"sideEffects":false,"_nodeVersion":"21.5.0","dependencies":{"is-regex":"^1.1.4","call-bind":"^1.0.5","get-intrinsic":"^1.2.2"},"publishConfig":{"ignore":[".github/workflows"]},"_hasShrinkwrap":false,"auto-changelog":{"output":"CHANGELOG.md","template":"keepachangelog","hideCredit":true,"unreleased":false,"commitLimit":false,"backfillLimit":false},"devDependencies":{"aud":"^2.0.4","nyc":"^10.3.2","tape":"^5.7.2","eslint":"=8.8.0","for-each":"^0.3.3","npmignore":"^0.3.1","in-publish":"^2.0.1","auto-changelog":"^2.4.0","object-inspect":"^1.13.1","es-value-fixtures":"^1.4.2","safe-publish-latest":"^2.0.0","@ljharb/eslint-config":"^21.1.0"},"_npmOperationalInternal":{"tmp":"tmp/safe-regex-test_1.0.2_1704996672817_0.9234089090647064","host":"s3://npm-registry-packages"}},"1.0.3":{"name":"safe-regex-test","version":"1.0.3","keywords":["regex","regexp","test","tester","safe","robust","exec"],"author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"license":"MIT","_id":"safe-regex-test@1.0.3","maintainers":[{"name":"ljharb","email":"ljharb@gmail.com"}],"homepage":"https://github.com/ljharb/safe-regex-test#readme","bugs":{"url":"https://github.com/ljharb/safe-regex-test/issues"},"dist":{"shasum":"a5b4c0f06e0ab50ea2c395c14d8371232924c377","tarball":"https://registry.npmjs.org/safe-regex-test/-/safe-regex-test-1.0.3.tgz","fileCount":9,"integrity":"sha512-CdASjNJPvRa7roO6Ra/gLYBTzYzzPyyBXxIMdGW3USQLyjWEls2RgW5UBTXaQVp+OrpeCK3bLem8smtmheoRuw==","signatures":[{"sig":"MEUCIQCCDSDX/H3KH25mMy3yRKy3f/FBnkGbAJJs9ZiaqzV1wAIgEbZokH2wRJNTmyycN7MDAhIlqEUQzRTzt4y73HSSFdk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10227},"main":"index.js","engines":{"node":">= 0.4"},"exports":{".":"./index.js","./package.json":"./package.json"},"funding":{"url":"https://github.com/sponsors/ljharb"},"gitHead":"978388dfba128491c16ecafbbda3a1d159db7e03","scripts":{"lint":"eslint --ext=js,mjs .","test":"npm run tests-only","prepack":"npmignore --auto --commentLines=autogenerated","pretest":"npm run lint","version":"auto-changelog && git add CHANGELOG.md","posttest":"aud --production","prepublish":"not-in-publish || npm run prepublishOnly","tests-only":"nyc tape test","postversion":"auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"","prepublishOnly":"safe-publish-latest"},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"repository":{"url":"git+https://github.com/ljharb/safe-regex-test.git","type":"git"},"_npmVersion":"10.2.4","description":"Give a regex, get a robust predicate function that tests it against a string.","directories":{},"sideEffects":false,"_nodeVersion":"21.6.0","dependencies":{"is-regex":"^1.1.4","call-bind":"^1.0.6","es-errors":"^1.3.0"},"publishConfig":{"ignore":[".github/workflows"]},"_hasShrinkwrap":false,"auto-changelog":{"output":"CHANGELOG.md","template":"keepachangelog","hideCredit":true,"unreleased":false,"commitLimit":false,"backfillLimit":false},"devDependencies":{"aud":"^2.0.4","nyc":"^10.3.2","tape":"^5.7.4","eslint":"=8.8.0","for-each":"^0.3.3","npmignore":"^0.3.1","in-publish":"^2.0.1","auto-changelog":"^2.4.0","object-inspect":"^1.13.1","es-value-fixtures":"^1.4.2","safe-publish-latest":"^2.0.0","@ljharb/eslint-config":"^21.1.0"},"_npmOperationalInternal":{"tmp":"tmp/safe-regex-test_1.0.3_1707238191347_0.0823124099114323","host":"s3://npm-registry-packages"}},"1.1.0":{"name":"safe-regex-test","version":"1.1.0","description":"Give a regex, get a robust predicate function that tests it against a string.","main":"index.js","exports":{".":"./index.js","./package.json":"./package.json"},"sideEffects":false,"scripts":{"prepack":"npmignore --auto --commentLines=autogenerated","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)\")\"","lint":"eslint --ext=js,mjs .","postlint":"tsc && attw -P","prepublish":"not-in-publish || npm run prepublishOnly","prepublishOnly":"safe-publish-latest","pretest":"npm run lint","tests-only":"nyc tape test","test":"npm run tests-only","posttest":"npx npm@'>= 10.2' audit --production"},"repository":{"type":"git","url":"git+https://github.com/ljharb/safe-regex-test.git"},"keywords":["regex","regexp","test","tester","safe","robust","exec"],"author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"funding":{"url":"https://github.com/sponsors/ljharb"},"license":"MIT","bugs":{"url":"https://github.com/ljharb/safe-regex-test/issues"},"homepage":"https://github.com/ljharb/safe-regex-test#readme","dependencies":{"call-bound":"^1.0.2","es-errors":"^1.3.0","is-regex":"^1.2.1"},"devDependencies":{"@arethetypeswrong/cli":"^0.17.1","@ljharb/eslint-config":"^21.1.1","@ljharb/tsconfig":"^0.2.2","@types/for-each":"^0.3.3","@types/object-inspect":"^1.13.0","@types/tape":"^5.6.5","auto-changelog":"^2.5.0","encoding":"^0.1.13","es-value-fixtures":"^1.5.0","eslint":"=8.8.0","for-each":"^0.3.3","in-publish":"^2.0.1","npmignore":"^0.3.1","nyc":"^10.3.2","object-inspect":"^1.13.3","safe-publish-latest":"^2.0.0","tape":"^5.9.0","typescript":"next"},"auto-changelog":{"output":"CHANGELOG.md","template":"keepachangelog","unreleased":false,"commitLimit":false,"backfillLimit":false,"hideCredit":true},"publishConfig":{"ignore":[".github/workflows"]},"engines":{"node":">= 0.4"},"_id":"safe-regex-test@1.1.0","gitHead":"ea4173e88d68d8e9a95717fa5548a3ea524c2dc9","types":"./index.d.ts","_nodeVersion":"23.4.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-x/+Cz4YrimQxQccJf5mKEbIa1NzeCRNI5Ecl/ekmlYaampdNLPalVyIcCZNNH3MvmqBugV5TMYZXv0ljslUlaw==","shasum":"7f87dfb67a3150782eaaf18583ff5d1711ac10c1","tarball":"https://registry.npmjs.org/safe-regex-test/-/safe-regex-test-1.1.0.tgz","fileCount":11,"unpackedSize":11917,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHjNNVsneaKxZp7uxJRmgwYhfTO5U1DVK+Colzllb9hZAiEApID5JU65c1menUJ4ctBw23aGP/0I2Xg7kYxnoX2OJF0="}]},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"maintainers":[{"name":"ljharb","email":"ljharb@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/safe-regex-test_1.1.0_1734029346965_0.03954500135011396"},"_hasShrinkwrap":false}},"time":{"created":"2022-09-22T20:09:32.366Z","modified":"2024-12-12T18:49:07.309Z","1.0.0":"2022-09-22T20:09:32.516Z","1.0.1":"2024-01-09T18:22:34.837Z","1.0.2":"2024-01-11T18:11:12.957Z","1.0.3":"2024-02-06T16:49:51.480Z","1.1.0":"2024-12-12T18:49:07.155Z"},"bugs":{"url":"https://github.com/ljharb/safe-regex-test/issues"},"author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"license":"MIT","homepage":"https://github.com/ljharb/safe-regex-test#readme","keywords":["regex","regexp","test","tester","safe","robust","exec"],"repository":{"type":"git","url":"git+https://github.com/ljharb/safe-regex-test.git"},"description":"Give a regex, get a robust predicate function that tests it against a string.","maintainers":[{"name":"ljharb","email":"ljharb@gmail.com"}],"readme":"# safe-regex-test <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\nGive a regex, get a robust predicate function that tests it against a string. This will work even if `RegExp.prototype` is altered later.\n\n## Getting started\n\n```sh\nnpm install --save safe-regex-test\n```\n\n## Usage/Examples\n\n```js\nvar regexTester = require('safe-regex-test');\nvar assert = require('assert');\n\nvar tester = regexTester('a');\nassert.ok(tester('a'));\nassert.notOk(tester('b'));\n```\n\n## Tests\nSimply clone the repo, `npm install`, and run `npm test`\n\n[package-url]: https://npmjs.org/package/safe-regex-test\n[npm-version-svg]: https://versionbadg.es/ljharb/safe-regex-test.svg\n[deps-svg]: https://david-dm.org/ljharb/safe-regex-test.svg\n[deps-url]: https://david-dm.org/ljharb/safe-regex-test\n[dev-deps-svg]: https://david-dm.org/ljharb/safe-regex-test/dev-status.svg\n[dev-deps-url]: https://david-dm.org/ljharb/safe-regex-test#info=devDependencies\n[npm-badge-png]: https://nodei.co/npm/safe-regex-test.png?downloads=true&stars=true\n[license-image]: https://img.shields.io/npm/l/safe-regex-test.svg\n[license-url]: LICENSE\n[downloads-image]: https://img.shields.io/npm/dm/safe-regex-test.svg\n[downloads-url]: https://npm-stat.com/charts.html?package=safe-regex-test\n[codecov-image]: https://codecov.io/gh/ljharb/safe-regex-test/branch/main/graphs/badge.svg\n[codecov-url]: https://app.codecov.io/gh/ljharb/safe-regex-test/\n[actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/ljharb/safe-regex-test\n[actions-url]: https://github.com/ljharb/safe-regex-test/actions\n","readmeFilename":"README.md"}