Changeset 79a0317 for imaps-frontend/node_modules/safe-regex-test
- Timestamp:
- 01/21/25 03:08:24 (3 days ago)
- Branches:
- main
- Parents:
- 0c6b92a
- Location:
- imaps-frontend/node_modules/safe-regex-test
- Files:
-
- 2 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
imaps-frontend/node_modules/safe-regex-test/CHANGELOG.md
r0c6b92a r79a0317 5 5 The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) 6 6 and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). 7 8 ## [v1.1.0](https://github.com/ljharb/safe-regex-test/compare/v1.0.3...v1.1.0) - 2024-12-12 9 10 ### Commits 11 12 - [actions] split out node 10-20, and 20+ [`b4a46bb`](https://github.com/ljharb/safe-regex-test/commit/b4a46bb30542251df8051aec52561ce2bb162f85) 13 - [New] add types [`5cb24eb`](https://github.com/ljharb/safe-regex-test/commit/5cb24eb6d074fdae200446e172f1ab485460c34e) 14 - [Dev Deps] update `@ljharb/eslint-config`, `auto-changelog`, `es-value-fixtures`, `object-inspect`, `tape` [`e225ca0`](https://github.com/ljharb/safe-regex-test/commit/e225ca081b77ea105b5e913a00473066efeb471d) 15 - [Refactor] use `call-bound` directly [`9be3cd2`](https://github.com/ljharb/safe-regex-test/commit/9be3cd2f390f23c0075ec93e5abdace0ee5d9d9d) 16 - [Deps] update `call-bind`, `is-regex` [`524b736`](https://github.com/ljharb/safe-regex-test/commit/524b73677e16de9dde27dfb8f30ac4760071bbda) 17 - [Tests] replace `aud` with `npm audit` [`f3cd537`](https://github.com/ljharb/safe-regex-test/commit/f3cd5379e48152daeb51fdd09e15d3ec74797761) 18 - [Dev Deps] add missing peer dep [`14da559`](https://github.com/ljharb/safe-regex-test/commit/14da559a0620b99a262ab9610dba13720915360f) 7 19 8 20 ## [v1.0.3](https://github.com/ljharb/safe-regex-test/compare/v1.0.2...v1.0.3) - 2024-02-06 -
imaps-frontend/node_modules/safe-regex-test/index.js
r0c6b92a r79a0317 1 1 'use strict'; 2 2 3 var callBound = require('call-b ind/callBound');3 var callBound = require('call-bound'); 4 4 var isRegex = require('is-regex'); 5 5 … … 7 7 var $TypeError = require('es-errors/type'); 8 8 9 /** @type {import('.')} */ 9 10 module.exports = function regexTester(regex) { 10 11 if (!isRegex(regex)) { -
imaps-frontend/node_modules/safe-regex-test/package.json
r0c6b92a r79a0317 1 1 { 2 "name": "safe-regex-test", 3 "version": "1.0.3", 4 "description": "Give a regex, get a robust predicate function that tests it against a string.", 5 "main": "index.js", 6 "exports": { 7 ".": "./index.js", 8 "./package.json": "./package.json" 9 }, 10 "sideEffects": false, 11 "scripts": { 12 "prepack": "npmignore --auto --commentLines=autogenerated", 13 "version": "auto-changelog && git add CHANGELOG.md", 14 "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"", 15 "lint": "eslint --ext=js,mjs .", 16 "prepublish": "not-in-publish || npm run prepublishOnly", 17 "prepublishOnly": "safe-publish-latest", 18 "pretest": "npm run lint", 19 "tests-only": "nyc tape test", 20 "test": "npm run tests-only", 21 "posttest": "aud --production" 22 }, 23 "repository": { 24 "type": "git", 25 "url": "git+https://github.com/ljharb/safe-regex-test.git" 26 }, 27 "keywords": [ 28 "regex", 29 "regexp", 30 "test", 31 "tester", 32 "safe", 33 "robust", 34 "exec" 35 ], 36 "author": "Jordan Harband <ljharb@gmail.com>", 37 "funding": { 38 "url": "https://github.com/sponsors/ljharb" 39 }, 40 "license": "MIT", 41 "bugs": { 42 "url": "https://github.com/ljharb/safe-regex-test/issues" 43 }, 44 "homepage": "https://github.com/ljharb/safe-regex-test#readme", 45 "dependencies": { 46 "call-bind": "^1.0.6", 47 "es-errors": "^1.3.0", 48 "is-regex": "^1.1.4" 49 }, 50 "devDependencies": { 51 "@ljharb/eslint-config": "^21.1.0", 52 "aud": "^2.0.4", 53 "auto-changelog": "^2.4.0", 54 "es-value-fixtures": "^1.4.2", 55 "eslint": "=8.8.0", 56 "for-each": "^0.3.3", 57 "in-publish": "^2.0.1", 58 "npmignore": "^0.3.1", 59 "nyc": "^10.3.2", 60 "object-inspect": "^1.13.1", 61 "safe-publish-latest": "^2.0.0", 62 "tape": "^5.7.4" 63 }, 64 "auto-changelog": { 65 "output": "CHANGELOG.md", 66 "template": "keepachangelog", 67 "unreleased": false, 68 "commitLimit": false, 69 "backfillLimit": false, 70 "hideCredit": true 71 }, 72 "publishConfig": { 73 "ignore": [ 74 ".github/workflows" 75 ] 76 }, 77 "engines": { 78 "node": ">= 0.4" 79 } 2 "_from": "safe-regex-test@^1.1.0", 3 "_id": "safe-regex-test@1.1.0", 4 "_inBundle": false, 5 "_integrity": "sha512-x/+Cz4YrimQxQccJf5mKEbIa1NzeCRNI5Ecl/ekmlYaampdNLPalVyIcCZNNH3MvmqBugV5TMYZXv0ljslUlaw==", 6 "_location": "/safe-regex-test", 7 "_phantomChildren": {}, 8 "_requested": { 9 "type": "range", 10 "registry": true, 11 "raw": "safe-regex-test@^1.1.0", 12 "name": "safe-regex-test", 13 "escapedName": "safe-regex-test", 14 "rawSpec": "^1.1.0", 15 "saveSpec": null, 16 "fetchSpec": "^1.1.0" 17 }, 18 "_requiredBy": [ 19 "/es-abstract", 20 "/is-async-function", 21 "/is-generator-function", 22 "/is-symbol" 23 ], 24 "_resolved": "https://registry.npmjs.org/safe-regex-test/-/safe-regex-test-1.1.0.tgz", 25 "_shasum": "7f87dfb67a3150782eaaf18583ff5d1711ac10c1", 26 "_spec": "safe-regex-test@^1.1.0", 27 "_where": "/home/stevetosak/Proekt/IMaps/imaps-frontend/node_modules/es-abstract", 28 "author": { 29 "name": "Jordan Harband", 30 "email": "ljharb@gmail.com" 31 }, 32 "auto-changelog": { 33 "output": "CHANGELOG.md", 34 "template": "keepachangelog", 35 "unreleased": false, 36 "commitLimit": false, 37 "backfillLimit": false, 38 "hideCredit": true 39 }, 40 "bugs": { 41 "url": "https://github.com/ljharb/safe-regex-test/issues" 42 }, 43 "bundleDependencies": false, 44 "dependencies": { 45 "call-bound": "^1.0.2", 46 "es-errors": "^1.3.0", 47 "is-regex": "^1.2.1" 48 }, 49 "deprecated": false, 50 "description": "Give a regex, get a robust predicate function that tests it against a string.", 51 "devDependencies": { 52 "@arethetypeswrong/cli": "^0.17.1", 53 "@ljharb/eslint-config": "^21.1.1", 54 "@ljharb/tsconfig": "^0.2.2", 55 "@types/for-each": "^0.3.3", 56 "@types/object-inspect": "^1.13.0", 57 "@types/tape": "^5.6.5", 58 "auto-changelog": "^2.5.0", 59 "encoding": "^0.1.13", 60 "es-value-fixtures": "^1.5.0", 61 "eslint": "=8.8.0", 62 "for-each": "^0.3.3", 63 "in-publish": "^2.0.1", 64 "npmignore": "^0.3.1", 65 "nyc": "^10.3.2", 66 "object-inspect": "^1.13.3", 67 "safe-publish-latest": "^2.0.0", 68 "tape": "^5.9.0", 69 "typescript": "next" 70 }, 71 "engines": { 72 "node": ">= 0.4" 73 }, 74 "exports": { 75 ".": "./index.js", 76 "./package.json": "./package.json" 77 }, 78 "funding": { 79 "url": "https://github.com/sponsors/ljharb" 80 }, 81 "homepage": "https://github.com/ljharb/safe-regex-test#readme", 82 "keywords": [ 83 "regex", 84 "regexp", 85 "test", 86 "tester", 87 "safe", 88 "robust", 89 "exec" 90 ], 91 "license": "MIT", 92 "main": "index.js", 93 "name": "safe-regex-test", 94 "publishConfig": { 95 "ignore": [ 96 ".github/workflows" 97 ] 98 }, 99 "repository": { 100 "type": "git", 101 "url": "git+https://github.com/ljharb/safe-regex-test.git" 102 }, 103 "scripts": { 104 "lint": "eslint --ext=js,mjs .", 105 "postlint": "tsc && attw -P", 106 "posttest": "npx npm@'>= 10.2' audit --production", 107 "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"", 108 "prepack": "npmignore --auto --commentLines=autogenerated", 109 "prepublish": "not-in-publish || npm run prepublishOnly", 110 "prepublishOnly": "safe-publish-latest", 111 "pretest": "npm run lint", 112 "test": "npm run tests-only", 113 "tests-only": "nyc tape test", 114 "version": "auto-changelog && git add CHANGELOG.md" 115 }, 116 "sideEffects": false, 117 "version": "1.1.0" 80 118 } -
imaps-frontend/node_modules/safe-regex-test/test/index.js
r0c6b92a r79a0317 12 12 13 13 t.test('non-regexes', function (st) { 14 forEach(v.primitives.concat(v.objects), function (val) { 14 forEach([].concat( 15 // @ts-expect-error TS sucks with concat 16 v.primitives, 17 v.objects 18 ), function (val) { 15 19 st['throws']( 16 20 function () { regexTester(val); },
Note:
See TracChangeset
for help on using the changeset viewer.