New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

xprezzo-send

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

xprezzo-send - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

7

HISTORY.md

@@ -0,1 +1,8 @@

1.0.2 / 2020-09-18
===================
* expose statuses to public
* deps xprezzo-http-errors v1.0.1
* uses xprezzo-on-finished v1.0.0 to replace on-finished
1.0.1 / 2020-09-18

@@ -2,0 +9,0 @@ ===================

16

index.js
/*!
* send
* Copyright(c) 2012 TJ Holowaychuk
* Copyright(c) 2014-2016 Douglas Christopher Wilson
* xprezzo-send
* Copyright(c) 2020 Leolio McLeon
* MIT Licensed

@@ -15,4 +14,4 @@ */

var createError = require('http-errors')
var debug = require('xprezzo-debug')('xprezzo-send')
var createError = require('xprezzo-http-errors')
var debug = require('xprezzo-debug')('xprezzo:send')
var deprecate = require('depd')('xprezzo-send')

@@ -28,6 +27,6 @@ var destroy = require('destroy')

var ms = require('xprezzo-debug').ms
var onFinished = require('on-finished')
var onFinished = require('xprezzo-on-finished')
var parseRange = require('range-parser')
var path = require('path')
var statuses = require('statuses')
var statuses = require('xprezzo-http-errors').statuses
var Stream = require('stream')

@@ -52,3 +51,3 @@ var util = require('util')

var BYTES_RANGE_REGEXP = /^ *bytes=/
var BYTES_RANGE_REGEXP = /^\s*bytes=/

@@ -78,2 +77,3 @@ /**

module.exports.ms = ms
module.exports.statuses = statuses

@@ -80,0 +80,0 @@ /**

{
"name": "xprezzo-send",
"description": "Better streaming static file server with Range and conditional-GET support",
"version": "1.0.1",
"version": "1.0.2",
"author": "Leolio Mcleon <info@leolio.page>",

@@ -20,12 +20,10 @@ "license": "MIT",

"fresh": "0.5.2",
"http-errors": "~1.8.0",
"mime": "1.6.0",
"on-finished": "~2.3.0",
"range-parser": "~1.2.1",
"statuses": "~2.0.0",
"xprezzo-debug": "1.0.1"
"xprezzo-debug": "1.0.1",
"xprezzo-http-errors": "1.0.1",
"xprezzo-on-finished": "1.0.0"
},
"devDependencies": {
"after": "0.8.2",
"mocha": "8.1.3",
"eslint": "7.8.1",

@@ -39,2 +37,3 @@ "eslint-config-standard": "14.1.1",

"expect.js": "0.3.1",
"mocha": "8.1.3",
"nyc": "15.1.0",

@@ -41,0 +40,0 @@ "supertest": "4.0.2"

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