parent
f49aa1b54c
commit
a177427adb
@ -1,6 +1,6 @@
|
|||||||
SOURCES/cjs-module-lexer-1.2.2.tar.gz
|
SOURCES/cjs-module-lexer-1.2.2.tar.gz
|
||||||
SOURCES/icu4c-71_1-src.tgz
|
SOURCES/icu4c-71_1-src.tgz
|
||||||
SOURCES/node-v16.19.1-stripped.tar.gz
|
SOURCES/node-v16.20.1-stripped.tar.gz
|
||||||
SOURCES/undici-5.19.1.tar.gz
|
SOURCES/undici-5.20.0.tar.gz
|
||||||
SOURCES/wasi-sdk-wasi-sdk-11.tar.gz
|
SOURCES/wasi-sdk-wasi-sdk-11.tar.gz
|
||||||
SOURCES/wasi-sdk-wasi-sdk-14.tar.gz
|
SOURCES/wasi-sdk-wasi-sdk-14.tar.gz
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
b0a91341ecf6c68a9d59a1c57d000fbbcc771679 SOURCES/cjs-module-lexer-1.2.2.tar.gz
|
b0a91341ecf6c68a9d59a1c57d000fbbcc771679 SOURCES/cjs-module-lexer-1.2.2.tar.gz
|
||||||
406b0c8635288b772913b6ff646451e69748878a SOURCES/icu4c-71_1-src.tgz
|
406b0c8635288b772913b6ff646451e69748878a SOURCES/icu4c-71_1-src.tgz
|
||||||
b841e32cfbbb8147f84ab25feb5e7a82f8fa1065 SOURCES/node-v16.19.1-stripped.tar.gz
|
dd58f4942a016f232a06e36fae6cc43c387e2f66 SOURCES/node-v16.20.1-stripped.tar.gz
|
||||||
4ba08daec56f2571fc8af493b3a2628d290f9390 SOURCES/undici-5.19.1.tar.gz
|
a96c780a67c578c31e9c8d291e357b2ae98a0ce5 SOURCES/undici-5.20.0.tar.gz
|
||||||
8979d177dd62e3b167a6fd7dc7185adb0128c439 SOURCES/wasi-sdk-wasi-sdk-11.tar.gz
|
8979d177dd62e3b167a6fd7dc7185adb0128c439 SOURCES/wasi-sdk-wasi-sdk-11.tar.gz
|
||||||
900a50a32f0079d53c299db92b88bb3c5d2022b8 SOURCES/wasi-sdk-wasi-sdk-14.tar.gz
|
900a50a32f0079d53c299db92b88bb3c5d2022b8 SOURCES/wasi-sdk-wasi-sdk-14.tar.gz
|
||||||
|
@ -1,45 +0,0 @@
|
|||||||
From abe534dda44a10e1b80a206c996f2e0e42298f7f Mon Sep 17 00:00:00 2001
|
|
||||||
From: Kornel <kornel@geekhood.net>
|
|
||||||
Date: Fri, 27 Jan 2023 01:20:38 +0000
|
|
||||||
Subject: [PATCH] deps(http-cache-semantics): Don't use regex to trim
|
|
||||||
whitespace
|
|
||||||
|
|
||||||
Signed-off-by: rpm-build <rpm-build>
|
|
||||||
---
|
|
||||||
deps/npm/node_modules/http-cache-semantics/index.js | 6 +++---
|
|
||||||
deps/npm/node_modules/http-cache-semantics/package.json | 2 +-
|
|
||||||
2 files changed, 4 insertions(+), 4 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/deps/npm/node_modules/http-cache-semantics/index.js b/deps/npm/node_modules/http-cache-semantics/index.js
|
|
||||||
index 4f6c2f3..39d58a7 100644
|
|
||||||
--- a/deps/npm/node_modules/http-cache-semantics/index.js
|
|
||||||
+++ b/deps/npm/node_modules/http-cache-semantics/index.js
|
|
||||||
@@ -79,10 +79,10 @@ function parseCacheControl(header) {
|
|
||||||
|
|
||||||
// TODO: When there is more than one value present for a given directive (e.g., two Expires header fields, multiple Cache-Control: max-age directives),
|
|
||||||
// the directive's value is considered invalid. Caches are encouraged to consider responses that have invalid freshness information to be stale
|
|
||||||
- const parts = header.trim().split(/\s*,\s*/); // TODO: lame parsing
|
|
||||||
+ const parts = header.trim().split(/,/);
|
|
||||||
for (const part of parts) {
|
|
||||||
- const [k, v] = part.split(/\s*=\s*/, 2);
|
|
||||||
- cc[k] = v === undefined ? true : v.replace(/^"|"$/g, ''); // TODO: lame unquoting
|
|
||||||
+ const [k, v] = part.split(/=/, 2);
|
|
||||||
+ cc[k.trim()] = v === undefined ? true : v.trim().replace(/^"|"$/g, '');
|
|
||||||
}
|
|
||||||
|
|
||||||
return cc;
|
|
||||||
diff --git a/deps/npm/node_modules/http-cache-semantics/package.json b/deps/npm/node_modules/http-cache-semantics/package.json
|
|
||||||
index 897798d..79c020a 100644
|
|
||||||
--- a/deps/npm/node_modules/http-cache-semantics/package.json
|
|
||||||
+++ b/deps/npm/node_modules/http-cache-semantics/package.json
|
|
||||||
@@ -1,6 +1,6 @@
|
|
||||||
{
|
|
||||||
"name": "http-cache-semantics",
|
|
||||||
- "version": "4.1.0",
|
|
||||||
+ "version": "4.1.1",
|
|
||||||
"description": "Parses Cache-Control and other headers. Helps building correct HTTP caches and proxies",
|
|
||||||
"repository": "https://github.com/kornelski/http-cache-semantics.git",
|
|
||||||
"main": "index.js",
|
|
||||||
--
|
|
||||||
2.40.1
|
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,5 @@
|
|||||||
|
# This is the distibution-level configuration file for npm.
|
||||||
|
# To configure NPM on a system level, use the globalconfig below (defaults to @SYSCONFDIR@/npmrc).
|
||||||
|
# vim:set filetype=dosini:
|
||||||
|
|
||||||
|
globalconfig=@SYSCONFDIR@/npmrc
|
Loading…
Reference in new issue