Comparing version 1.0.1 to 1.0.3
@@ -0,1 +1,8 @@ | ||
# 1.0.3 | ||
## Misc | ||
- update README [37f45441](https://github.com/lekterable/is-regexy/commit/37f45441b309e174430e6559d1f06a19ce81c034) | ||
- bump jest from 25.5.4 to 26.0.1 (#6) [9d703175](https://github.com/lekterable/is-regexy/commit/9d70317522e539fd905423533b4e9d5eaa4c4aa4) | ||
# 1.0.1 | ||
@@ -2,0 +9,0 @@ |
{ | ||
"name": "is-regexy", | ||
"version": "1.0.1", | ||
"version": "1.0.3", | ||
"description": "Check if a string could be a regular expression", | ||
@@ -33,4 +33,4 @@ "main": "index.js", | ||
"devDependencies": { | ||
"jest": "^25.3.0" | ||
"jest": "^26.0.1" | ||
} | ||
} |
@@ -1,2 +0,2 @@ | ||
# is-regexy ![npm](https://img.shields.io/npm/v/is-regexy) ![Travis (.org)](https://img.shields.io/travis/lekterable/is-regexy) [![codecov](https://codecov.io/gh/lekterable/is-regexy/branch/master/graph/badge.svg)](https://codecov.io/gh/lekterable/is-regexy) [![management: perfekt👌](https://img.shields.io/badge/management-perfekt👌-red.svg?style=flat-square)](https://github.com/lekterable/perfekt) | ||
# is-regexy [![npm](https://img.shields.io/npm/v/is-regexy)](https://www.npmjs.com/package/is-regexy) [![build](https://img.shields.io/travis/lekterable/is-regexy)](https://travis-ci.com/github/lekterable/is-regexy) [![codecov](https://codecov.io/gh/lekterable/is-regexy/branch/master/graph/badge.svg)](https://codecov.io/gh/lekterable/is-regexy) [![management: perfekt👌](https://img.shields.io/badge/management-perfekt👌-red.svg?style=flat-square)](https://github.com/lekterable/perfekt) | ||
@@ -10,12 +10,12 @@ A very simple library for checking if given value (Regex object OR string) could be a valid regular expression. | ||
```js | ||
const isRegex = require('is-regex') // CommonJS | ||
const isRegexy = require('is-regexy') // CommonJS | ||
// OR | ||
import isRegex from 'is-regex' // ES modules | ||
import isRegexy from 'is-regexy' // ES modules | ||
isRegex('foo') // false | ||
isRegexy('foo') // false | ||
isRegex(/foo/) // true | ||
isRegex(new RegExp('foo')) // true | ||
isRegex('/foo/') // true | ||
isRegex('/foo/ig') // true | ||
isRegexy(/foo/) // true | ||
isRegexy(new RegExp('foo')) // true | ||
isRegexy('/foo/') // true | ||
isRegexy('/foo/ig') // true | ||
isRegexy('/(epic|feat|fix|chore)/DEV-\\d{4}/i') //true | ||
@@ -22,0 +22,0 @@ ``` |
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
7015