Socket
Socket
Sign inDemoInstall

@tinyhttp/content-disposition

Package Overview
Dependencies
Maintainers
1
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tinyhttp/content-disposition - npm Package Compare versions

Comparing version 2.0.1 to 2.0.2

3

dist/index.js

@@ -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": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc