Socket
Socket
Sign inDemoInstall

impress

Package Overview
Dependencies
19
Maintainers
1
Versions
718
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.4 to 0.0.5

9

HISTORY.md

@@ -1,4 +0,11 @@

0.0.3 / 2010-06-11
0.0.5 / 2010-06-15
==================
* Fixed callback in impress.openDatabases
* Fixed impress.sendCookie
* Changed license to dual licensed the MIT or RUMI licenses
0.0.4 / 2010-06-13
==================
* Fixed .end(), .error(), .sendCookie() and impress.process()

@@ -5,0 +12,0 @@ * Added http error page template /lib/error.template

9

lib/impress.js

@@ -80,3 +80,4 @@ (function(impress) {

impress.openDatabases = function(callback) {
var databases = impress.config.databases;
var databases = impress.config.databases,
cbCount = Object.keys(databases).length, cbIndex = 0;
for (var databaseName in databases) {

@@ -89,3 +90,4 @@ var database = databases[databaseName];

}], function() {
if (callback) callback();
cbIndex++;
if (cbIndex>=cbCount && callback) callback();
});

@@ -450,3 +452,4 @@ }

impress.sendCookie = function(req, res) {
if (res.impress.cookies && res.impress.cookies.length) res.setHeader("Set-Cookie", res.impress.cookies);
if (res.impress.cookies && res.impress.cookies.length && !res.headersSent)
res.setHeader("Set-Cookie", res.impress.cookies);
}

@@ -453,0 +456,0 @@

{
"name": "impress",
"version": "0.0.4",
"version": "0.0.5",
"author": "Timur Shemsedinov <timur.shemsedinov@gmail.com>",

@@ -5,0 +5,0 @@ "description": "Impressive totalitarian style web application framework",

@@ -18,3 +18,3 @@ ![impress logo](http://habrastorage.org/storage2/c1e/1b7/190/c1e1b7190c8c6685a34d6584e936c4c9.png)

- caching server-side executable JavaScript in memory
- simple server-side templating
- simple server-side templating (template personalization for user groups)
- folder monitoring for server-side executable JavaScript changes and template changes

@@ -77,23 +77,17 @@ - sessions and cookies (memory state or persistent sessions with mongoDB)

(The MIT License)
Dual licensed under the MIT or RUMI licenses.
Copyright (c) 2012-2013 MetaSystems &lt;timur.shemsedinov@gmail.com&gt;
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
'Software'), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
License: RUMI
The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.
Do you know what you are?
You are a manuscript of a divine letter.
You are a mirror reflecting a noble face.
This universe is not outside of you.
Look inside yourself;
everything that you want,
you are already that.
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Jalal ad-Din Muhammad Rumi
"Hush, Don't Say Anything to God: Passionate Poems of Rumi"
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc