safe-regex-test
Advanced tools
Comparing version 1.0.2 to 1.0.3
@@ -8,2 +8,10 @@ # Changelog | ||
## [v1.0.3](https://github.com/ljharb/safe-regex-test/compare/v1.0.2...v1.0.3) - 2024-02-06 | ||
### Commits | ||
- [Refactor] use `es-errors`, so things that only need those do not need `get-intrinsic` [`d6ba2f9`](https://github.com/ljharb/safe-regex-test/commit/d6ba2f948c679c3104ce6d6c897bedff0f1c5b74) | ||
- [Deps] update `call-bind`, `get-intrinsic` [`5a3b1d7`](https://github.com/ljharb/safe-regex-test/commit/5a3b1d755e46f010e6930f15ec30eae023feffd3) | ||
- [Dev Deps] update `tape` [`75fb719`](https://github.com/ljharb/safe-regex-test/commit/75fb71937c5daf1326052c59d6f251f439cd9332) | ||
## [v1.0.2](https://github.com/ljharb/safe-regex-test/compare/v1.0.1...v1.0.2) - 2024-01-11 | ||
@@ -10,0 +18,0 @@ |
'use strict'; | ||
var callBound = require('call-bind/callBound'); | ||
var GetIntrinsic = require('get-intrinsic'); | ||
var isRegex = require('is-regex'); | ||
var $exec = callBound('RegExp.prototype.exec'); | ||
var $TypeError = GetIntrinsic('%TypeError%'); | ||
var $TypeError = require('es-errors/type'); | ||
@@ -10,0 +9,0 @@ module.exports = function regexTester(regex) { |
{ | ||
"name": "safe-regex-test", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "Give a regex, get a robust predicate function that tests it against a string.", | ||
@@ -46,4 +46,4 @@ "main": "index.js", | ||
"dependencies": { | ||
"call-bind": "^1.0.5", | ||
"get-intrinsic": "^1.2.2", | ||
"call-bind": "^1.0.6", | ||
"es-errors": "^1.3.0", | ||
"is-regex": "^1.1.4" | ||
@@ -63,3 +63,3 @@ }, | ||
"safe-publish-latest": "^2.0.0", | ||
"tape": "^5.7.2" | ||
"tape": "^5.7.4" | ||
}, | ||
@@ -66,0 +66,0 @@ "auto-changelog": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
10227
41
+ Addedes-errors@^1.3.0
- Removedget-intrinsic@^1.2.2
Updatedcall-bind@^1.0.6