Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

accept-webp

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

accept-webp - npm Package Compare versions

Comparing version 1.2.1 to 1.3.0

1

index.js

@@ -24,2 +24,3 @@ /*!

return function(req, res, next) {
if (req.method.toUpperCase() !== 'GET') {next(); return;}
var pathname = urlParse(req.url).pathname;

@@ -26,0 +27,0 @@ var extpos = pathname.lastIndexOf('.');

2

package.json
{
"name": "accept-webp",
"version": "1.2.1",
"version": "1.3.0",
"description": "Connect/Express middleware for serving webp images when support is detected",

@@ -5,0 +5,0 @@ "main": "index.js",

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