pathname-match
Advanced tools
Comparing version 1.1.2 to 1.1.3
@@ -16,4 +16,4 @@ const assert = require('assert') | ||
.replace(/^(?:https?\:)\/\//, '') | ||
.replace(/^(?:[\w.])+(?:[\:0-9]{4,5})?/, '') | ||
.replace(/^(?:[\w+(?:-\w+)+.])+(?:[\:0-9]{4,5})?/, '') | ||
.replace(/\/$/, '') | ||
} |
{ | ||
"name": "pathname-match", | ||
"version": "1.1.2", | ||
"version": "1.1.3", | ||
"description": "Strip a url to only match the `pathname`.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
3794