corifeus-utils
Advanced tools
Comparing version 2021.10.101 to 2021.10.105
{ | ||
"name": "corifeus-utils", | ||
"version": "2021.10.101", | ||
"version": "2021.10.105", | ||
"corifeus": { | ||
@@ -8,3 +8,3 @@ "icon": "far fa-lightbulb", | ||
"publish": true, | ||
"nodejs": "v14.17.2", | ||
"nodejs": "v14.17.6", | ||
"reponame": "corifeus-utils", | ||
@@ -40,3 +40,3 @@ "opencollective": false, | ||
"devDependencies": { | ||
"corifeus-builder": "^2021.4.141" | ||
"corifeus-builder": "^2021.10.101" | ||
}, | ||
@@ -43,0 +43,0 @@ "peerDependencies": { |
@@ -13,3 +13,3 @@ [//]: #@corifeus-header | ||
--- | ||
# ❤️ Corifeus Utils v2021.10.101 | ||
# ❤️ Corifeus Utils v2021.10.105 | ||
@@ -28,3 +28,3 @@ | ||
```txt | ||
v14.17.2 | ||
v14.17.6 | ||
``` | ||
@@ -115,3 +115,3 @@ | ||
[**CORIFEUS-UTILS**](https://corifeus.com/corifeus-utils) Build v2021.10.101 | ||
[**CORIFEUS-UTILS**](https://corifeus.com/corifeus-utils) Build v2021.10.105 | ||
@@ -118,0 +118,0 @@ [![Donate for Corifeus / P3X](https://img.shields.io/badge/Donate-Corifeus-003087.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=QZVM4V6HVZJW6) [![Contact Corifeus / P3X](https://img.shields.io/badge/Contact-P3X-ff9900.svg)](https://www.patrikx3.com/en/front/contact) [![Like Corifeus @ Facebook](https://img.shields.io/badge/LIKE-Corifeus-3b5998.svg)](https://www.facebook.com/corifeus.software) |
@@ -1,5 +0,13 @@ | ||
const escape = function (s) { | ||
return String(s).replace(/[\\^$*+?.()|[\]{}]/g, '\\$&'); | ||
}; | ||
const escape = string => { | ||
if (typeof string !== 'string') { | ||
throw new TypeError('Expected a string'); | ||
} | ||
// Escape characters with special meaning either inside or outside character sets. | ||
// Use a simple backslash escape when it’s always valid, and a \unnnn escape when the simpler form would be disallowed by Unicode patterns’ stricter grammar. | ||
return string | ||
.replace(/[|\\{}()[\]^$+*?.]/g, '\\$&') | ||
.replace(/-/g, '\\x2d'); | ||
} | ||
if (!RegExp.escape) { | ||
@@ -6,0 +14,0 @@ RegExp.escape = escape; |
Sorry, the diff of this file is not supported yet
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
39504
974