From faec87b8ee11432a0ffbc3667ac17542d6005182 Mon Sep 17 00:00:00 2001 From: Sindre Sorhus Date: Fri, 31 May 2019 22:24:10 +0700 Subject: [PATCH] Tidelift tasks --- .github/funding.yml | 1 + .github/security.md | 3 +++ readme.md | 16 ++++++++++++---- 3 files changed, 16 insertions(+), 4 deletions(-) create mode 100644 .github/security.md diff --git a/.github/funding.yml b/.github/funding.yml index 1a630e9..8ec4782 100644 --- a/.github/funding.yml +++ b/.github/funding.yml @@ -1,3 +1,4 @@ github: sindresorhus open_collective: sindresorhus +tidelift: npm/normalize-url custom: https://sindresorhus.com/donate diff --git a/.github/security.md b/.github/security.md new file mode 100644 index 0000000..5358dc5 --- /dev/null +++ b/.github/security.md @@ -0,0 +1,3 @@ +# Security Policy + +To report a security vulnerability, please use the [Tidelift security contact](https://tidelift.com/security). Tidelift will coordinate the fix and disclosure. diff --git a/readme.md b/readme.md index 3cc353e..4d9e5eb 100644 --- a/readme.md +++ b/readme.md @@ -27,7 +27,7 @@ normalizeUrl('HTTP://xn--xample-hva.com:80/?b=bar&a=foo'); ## API -### normalizeUrl(url, [options]) +### normalizeUrl(url, options?) #### url @@ -37,7 +37,7 @@ URL to normalize. #### options -Type: `Object` +Type: `object` ##### defaultProtocol @@ -219,6 +219,14 @@ normalizeUrl('www.sindresorhus.com?b=two&a=one&c=three', { - [compare-urls](https://github.com/sindresorhus/compare-urls) - Compare URLs by first normalizing them -## License +--- -MIT © [Sindre Sorhus](https://sindresorhus.com) +
+ + Get professional support for this package with a Tidelift subscription + +
+ + Tidelift helps make open source sustainable for maintainers while giving companies
assurances about security, maintenance, and licensing for their dependencies. +
+