@tinyhttp/app
Advanced tools
Comparing version 1.3.9 to 1.3.10
@@ -120,3 +120,3 @@ import { STATUS_CODES, createServer } from 'http'; | ||
if (settings === null || settings === void 0 ? void 0 : settings.freshnessTesting) { | ||
req.fresh = getFreshOrStale.bind(null, req, res); | ||
Object.defineProperty(req, 'fresh', { get: getFreshOrStale.bind(null, req, res) }); | ||
req.stale = !req.fresh; | ||
@@ -123,0 +123,0 @@ } |
104
package.json
{ | ||
"name": "@tinyhttp/app", | ||
"version": "1.3.9", | ||
"description": "0-legacy, tiny & fast web framework as a replacement of Express", | ||
"type": "module", | ||
"homepage": "https://tinyhttp.v1rtl.site", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/talentlessguy/tinyhttp.git", | ||
"directory": "packages/app" | ||
}, | ||
"funding": { | ||
"type": "individual", | ||
"url": "https://github.com/talentlessguy/tinyhttp?sponsor=1" | ||
}, | ||
"main": "./dist/index.cjs", | ||
"types": "./dist/index.d.ts", | ||
"module": "./dist/index.js", | ||
"exports": { | ||
".": { | ||
"import": "./dist/index.js", | ||
"require": "./dist/index.cjs" | ||
}, | ||
"./package.json": "./package.json", | ||
"./": "./" | ||
}, | ||
"files": [ | ||
"dist" | ||
], | ||
"engines": { | ||
"node": ">=12.x" | ||
}, | ||
"keywords": [ | ||
"tinyhttp", | ||
"router", | ||
"backend", | ||
"http", | ||
"framework", | ||
"api" | ||
], | ||
"author": "v1rtl", | ||
"license": "MIT", | ||
"dependencies": { | ||
"@tinyhttp/cookie": "1.3.0", | ||
"@tinyhttp/proxy-addr": "1.3.0", | ||
"@tinyhttp/req": "1.3.1", | ||
"@tinyhttp/res": "1.3.2", | ||
"@tinyhttp/router": "1.3.3", | ||
"regexparam": "^2.0.0" | ||
}, | ||
"scripts": { | ||
"build": "rollup -c" | ||
} | ||
"name": "@tinyhttp/app", | ||
"version": "1.3.10", | ||
"description": "0-legacy, tiny & fast web framework as a replacement of Express", | ||
"type": "module", | ||
"homepage": "https://tinyhttp.v1rtl.site", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/tinyhttp/tinyhttp.git", | ||
"directory": "packages/app" | ||
}, | ||
"funding": { | ||
"type": "individual", | ||
"url": "https://github.com/tinyhttp/tinyhttp?sponsor=1" | ||
}, | ||
"main": "./dist/index.cjs", | ||
"types": "./dist/index.d.ts", | ||
"module": "./dist/index.js", | ||
"exports": { | ||
".": { | ||
"import": "./dist/index.js", | ||
"require": "./dist/index.cjs" | ||
}, | ||
"./package.json": "./package.json", | ||
"./": "./" | ||
}, | ||
"files": [ | ||
"dist" | ||
], | ||
"engines": { | ||
"node": ">=12.x" | ||
}, | ||
"keywords": [ | ||
"tinyhttp", | ||
"router", | ||
"backend", | ||
"http", | ||
"framework", | ||
"api" | ||
], | ||
"author": "v1rtl", | ||
"license": "MIT", | ||
"dependencies": { | ||
"@tinyhttp/cookie": "1.3.0", | ||
"@tinyhttp/proxy-addr": "1.3.0", | ||
"@tinyhttp/req": "1.3.1", | ||
"@tinyhttp/res": "1.3.2", | ||
"@tinyhttp/router": "1.3.3", | ||
"regexparam": "^2.0.0" | ||
}, | ||
"scripts": { | ||
"build": "rollup -c" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
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
40570