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

woodland

Package Overview
Dependencies
Maintainers
0
Versions
352
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

woodland - npm Package Compare versions

Comparing version 18.2.5 to 18.2.6

4

dist/woodland.js

@@ -6,3 +6,3 @@ /**

* @license BSD-3-Clause
* @version 18.2.5
* @version 18.2.6
*/

@@ -302,3 +302,3 @@ import {STATUS_CODES,METHODS}from'node:http';import {join,extname,resolve}from'node:path';import {EventEmitter}from'node:events';import {stat,readdir}from'node:fs/promises';import {etag}from'tiny-etag';import {precise}from'precise';import {lru}from'tiny-lru';import {createRequire}from'node:module';import {fileURLToPath,URL}from'node:url';import {readFileSync,createReadStream}from'node:fs';import {coerce}from'tiny-coerce';import mimeDb from'mime-db';const __dirname$1 = fileURLToPath(new URL(".", import.meta.url));

if (req.method === GET) {
if ((file.etag.length > INT_0 && req.headers[IF_NONE_MATCH] === file.etag) || (req.headers[IF_NONE_MATCH] === void 0 && Date.parse(req.headers[IF_MODIFIED_SINCE]) >= file.stats.mtime)) {
if (file.etag.length > INT_0 && req.headers[IF_NONE_MATCH] === file.etag || req.headers[IF_NONE_MATCH] === void 0 && Date.parse(req.headers[IF_MODIFIED_SINCE]) >= file.stats.mtime) {
res.removeHeader(CONTENT_LENGTH);

@@ -305,0 +305,0 @@ res.send(EMPTY, INT_304);

{
"name": "woodland",
"version": "18.2.5",
"version": "18.2.6",
"description": "Lightweight HTTP framework with automatic headers",

@@ -29,3 +29,3 @@ "type": "module",

"types": "npx -p typescript tsc src/woodland.js --declaration --allowJs --emitDeclarationOnly --outDir types",
"prepare": "husky install"
"prepare": "husky"
},

@@ -60,7 +60,7 @@ "repository": {

"dependencies": {
"mime-db": "^1.52.0",
"mime-db": "^1.53.0",
"precise": "^4.0.3",
"tiny-coerce": "^3.0.2",
"tiny-etag": "^4.0.5",
"tiny-lru": "^11.2.6"
"tiny-lru": "^11.2.11"
},

@@ -71,10 +71,10 @@ "devDependencies": {

"concurrently": "^8.2.2",
"eslint": "^9.5.0",
"husky": "^9.0.11",
"mocha": "^10.4.0",
"eslint": "^9.7.0",
"husky": "^9.1.1",
"mocha": "^10.7.0",
"nyc": "^17.0.0",
"rollup": "^4.18.0",
"rollup": "^4.19.0",
"tiny-httptest": "^4.0.11",
"typescript": "^5.4.5"
"typescript": "^5.5.4"
}
}

@@ -0,0 +0,0 @@ <img src="https://avoidwork.github.io/woodland/logo.svg" width="108" />

@@ -0,0 +0,0 @@ export const ACCESS_CONTROL_ALLOW_CREDENTIALS: "access-control-allow-credentials";

@@ -0,0 +0,0 @@ export function autoindex(title?: string, files?: any[]): any;

@@ -0,0 +0,0 @@ export function woodland(arg: any): Woodland;

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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