@tinyhttp/content-disposition
Advanced tools
Comparing version 2.0.1 to 2.0.2
@@ -1,3 +0,1 @@ | ||
import { basename } from 'path'; | ||
// eslint-disable-next-line no-control-regex | ||
@@ -35,2 +33,3 @@ const ENCODE_URL_ATTR_CHAR_REGEXP = /[\x00-\x20"'()*,/:;<=>?@[\\\]{}\x7f]/g; | ||
} | ||
const basename = (str) => str.slice(str.lastIndexOf('/') + 1); | ||
function format({ parameters, type }) { | ||
@@ -37,0 +36,0 @@ if (!type || typeof type !== 'string' || !TOKEN_REGEXP.test(type)) |
{ | ||
"name": "@tinyhttp/content-disposition", | ||
"description": "content-disposition rewrite in TypeScript with ESM and CommonJS targets", | ||
"version": "2.0.1", | ||
"version": "2.0.2", | ||
"homepage": "https://tinyhttp.v1rtl.site", | ||
@@ -6,0 +6,0 @@ "funding": { |
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
12074