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

citizen

Package Overview
Dependencies
Maintainers
1
Versions
122
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

citizen - npm Package Versions

1
13

0.5.4

Diff

Changelog

Source

0.5.4

  • Readme fixes related to cache syntax changes
jaysylvester
published 0.5.3 •

Changelog

Source

0.5.3

  • Fixed a bug in https.secureCookies that prevented the cookie directive from overriding it. You can now tell citizen to intentionally set an insecure cookie in a secure environment.
  • Changed the default cookie path to urlPaths.app (cookies were being set to the root path "/" by default previously). This is technically a breaking change, but the worst that will happen is that cookies set prior to this change will no longer be accessible if your app path is something other than "/".
jaysylvester
published 0.5.2 •

Changelog

Source

0.5.2

  • Added "secureCookies" option to "https" config. By default, all cookies set during an HTTPS request are secure. Setting this option to false allows non-secure cookies to be set by secure pages.
jaysylvester
published 0.5.1 •

Changelog

Source

0.5.1

  • Forgot to update the config builder in util/scaffold.js with the new HTTP config
jaysylvester
published 0.5.0 •

Changelog

Source

0.5.0

  • BREAKING CHANGE: Secure server support (HTTPS) has been added, resulting in minor changes to the way default hostnames and ports are stored in the config file. See "Configuration" and "HTTPS" in the readme for details.
  • BREAKING CHANGE (potentially): The default setting for citizen.urlPaths.app has been changed to "/" (previously an empty string). If you're referencing this variable within your own app to build URLs, it might cause problems.
  • Added a "path" option under "log" in the config so you can specify an alternate location for log files
  • Fixed a bug in error handling caused by the addition of helpers.public
jaysylvester
published 0.4.1 •

Changelog

Source

0.4.1

  • Seems silly to change version numbers just for a readme fix, but that's the world we live in.
jaysylvester
published 0.4.0 •

Changelog

Source

0.4.0

  • BREAKING CHANGE: Views rendered in a controller chain using handoff are now stored in the route.chain scope instead of the include scope (details in the readme under the "Controller Handoff" section)
  • BREAKING CHANGE: The syntax for the cache directive has been changed to make it a bit easier to understand. See the "Caching Routes and Controllers" section in the readme.
  • Fixed a bug in controller caching that threw an error when trying to cache a controller that also used the include directive
  • The "includeThisView" attribute within the handoff directive has been deprecated. If a controller in a handoff chain has a matching view, it's rendered automatically. If you leave this attribute in place, it won't break anything, but it will be ignored.
  • Added an error handler for EADDRNOTAVAIL at server startup (hostname unavailable/already in use)
  • Moved hasOwnProperty check in app.extend() to outer if statement so it covers both conditions
  • Added clearTimeout to session.end() so timers are cleared when a session is ended manually
jaysylvester
published 0.3.8 •

Changelog

Source

0.3.8

  • app.copy() and app.extend() bug fixes and performance improvements
  • Made startup messaging consistent with actual settings
jaysylvester
published 0.3.7 •

Changelog

Source

0.3.7

  • Fixed a bug in log()
  • app.config.hostname can be set to an empty string, allowing responses from any host
  • Switched object "deletions" to use null instead of undefined
  • Added config descriptions to readme
  • Removed index entry point (redundant)
jaysylvester
published 0.3.6 •

Changelog

Source

0.3.6

  • Added another error scenario for HTTP port availability
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