@aikidosec/safe-chain 1.1.8 → 1.1.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -87,6 +87,9 @@ export function modifyNpmInfoResponse(body, headers) {
|
|
|
87
87
|
// no longer match the content so they needs to be removed before sending the response.
|
|
88
88
|
delete headers["etag"];
|
|
89
89
|
delete headers["last-modified"];
|
|
90
|
+
// Removing the cache-control header will prevent the package manager from caching
|
|
91
|
+
// the modified response.
|
|
92
|
+
delete headers["cache-control"];
|
|
90
93
|
}
|
|
91
94
|
}
|
|
92
95
|
}
|