New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

citizen

Package Overview
Dependencies
Maintainers
1
Versions
123
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

citizen - npm Package Compare versions

Comparing version 0.7.2 to 0.7.3

11

CHANGELOG.txt

@@ -0,1 +1,7 @@

[0.7.3]
* BREAKING CHANGES (These were intended for 0.7.0, but were lost in the merge and I missed it. Sorry for the breakage in a point release.):
* All config options can now be overwritten at app startup, including config settings in your own namespaces. This breaks the HTTP and HTTPS overwrite options that were available previously.
* By default, app.start() starts an HTTP server. To start an HTTPS server, you must enable it manually inline or via a config file and provide key/cert/pfx files. You can disable HTTP entirely via config as well. Consult the readme for details.
* HTTPS key/cert/pfx files should now be passed as a string representing the path to the file, not the contents of the files themselves. citizen reads these files itself now.
[0.7.2]

@@ -21,5 +27,2 @@ * Removed errant console.log() from the server module

* Added individual settings for application and static asset error and status logging. For example, you can now log application error messages in production mode without also logging static errors (404) or the typically verbose framework status messages.
* All config options can now be overwritten at app startup. This breaks the few http- and https-specific overwrite options that were available previously.
* By default, app.start() starts an HTTP server. To start an HTTPS server, you must enable it manually inline or via a config file and provide key/cert/pfx files. You can disable HTTP entirely via config as well. Consult the readme for details.
* HTTPS key/cert/pfx files should now be passed as a string representing the path to the file, not the contents of the files themselves. citizen reads these files itself now.
* listen() now accepts a single argument consisting of an object containing functions (flow and callback are optional)

@@ -29,3 +32,3 @@ * Added ability to end a specific user session based on a session property key/value pair using app.session.end('key', 'value')

* All citizen-scoped cookie and session variables (starting with "ctzn") have been changed to "ctzn_camelCase" format (ctznReferer is now ctzn_referer).
* isInteger() and isFloat() have been removed from helpers. There are libraries better suited for this.
* dashes(), isInteger(), and isFloat() have been removed from helpers. There are libraries better suited for this.

@@ -32,0 +35,0 @@ [0.6.9]

@@ -19,2 +19,3 @@ // Initializes the framework

http: {
enable: true,
hostname: '127.0.0.1',

@@ -24,2 +25,3 @@ port: 80

https: {
enable: false,
hostname: '127.0.0.1',

@@ -26,0 +28,0 @@ port: 443,

{
"name": "citizen",
"version": "0.7.2",
"version": "0.7.3",
"description": "A server-side MVC and caching framework for Node.js web applications.",

@@ -5,0 +5,0 @@ "keywords": [

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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