Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

cetera

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cetera - npm Package Compare versions

Comparing version 0.0.9 to 0.0.10

18

lib/cache/production_cache.js

@@ -63,6 +63,11 @@ // Generated by CoffeeScript 1.8.0

'Content-Length': concat_script.code.length,
'Cache-Control': "max-age=" + cache_seconds + ", must-revalidate",
'Cache-Control': "max-age=" + cache_seconds,
'Expires': moment(Date.now() + cache_seconds * 1000).tz('GMT').format('ddd, DD MMM YYYY hh:mm:ss GMT'),
'Last-Modified': cache_control['Last-Modified']
'Last-Modified': cache_control['Last-Modified'],
'ETag': cache_control.md5
});
if (req.headers['if-none-match'] === cache_control.md5) {
res.sendStatus(304);
return;
}
return res.send('');

@@ -74,6 +79,11 @@ });

'Content-Length': concat_script.code.length,
'Cache-Control': "max-age=" + cache_seconds + ", must-revalidate",
'Cache-Control': "max-age=" + cache_seconds,
'Expires': moment(Date.now() + cache_seconds * 1000).tz('GMT').format('ddd, DD MMM YYYY hh:mm:ss GMT'),
'Last-Modified': cache_control['Last-Modified']
'Last-Modified': cache_control['Last-Modified'],
'ETag': cache_control.md5
});
if (req.headers['if-none-match'] === cache_control.md5) {
res.sendStatus(304);
return;
}
return res.send(concat_script.code);

@@ -80,0 +90,0 @@ });

{
"name": "cetera",
"description": "effortlessness, requirejs, packager, modules",
"version": "0.0.9",
"version": "0.0.10",
"author": "nomilous <nomilous@gmail.com",

@@ -6,0 +6,0 @@ "contributors": [

@@ -6,3 +6,3 @@ cetera

### version 0.0.9 (high alpha)
### version 0.0.10 (high alpha)

@@ -9,0 +9,0 @@

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