normalize-url
Advanced tools
Comparing version 7.0.1 to 7.0.2
@@ -229,3 +229,3 @@ export interface Options { | ||
*/ | ||
readonly removeDirectoryIndex?: ReadonlyArray<RegExp | string>; | ||
readonly removeDirectoryIndex?: boolean | ReadonlyArray<RegExp | string>; | ||
@@ -232,0 +232,0 @@ /** |
{ | ||
"name": "normalize-url", | ||
"version": "7.0.1", | ||
"version": "7.0.2", | ||
"description": "Normalize a URL", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -7,2 +7,4 @@ # normalize-url [![Coverage Status](https://codecov.io/gh/sindresorhus/normalize-url/branch/main/graph/badge.svg)](https://codecov.io/gh/sindresorhus/normalize-url) | ||
**Note:** This package does **not** do URL sanitization. [Garbage in, garbage out.](https://en.wikipedia.org/wiki/Garbage_in,_garbage_out) If you use this in a server context and accept URLs as user input, it's up to you to protect against invalid URLs, [path traversal attacks](https://owasp.org/www-community/attacks/Path_Traversal), etc. | ||
## Install | ||
@@ -244,3 +246,2 @@ | ||
##### removeDirectoryIndex | ||
@@ -247,0 +248,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
22518
288