Socket
Socket
Sign inDemoInstall

@alterior/platform-nodejs

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@alterior/platform-nodejs - npm Package Versions

2

3.6.4

Diff

rezonant
published 3.6.0 •

Changelog

Source

v3.6.0

  • @/runtime: Allow specifying additional providers when bootstrapping an application
  • @/platform-nodejs
    • dotenv version 16.3.1
      • Please note these changes
        • Comments are now supported
        • Multiline strings are now supported
        • Backtick quotes are now supported
    • ws version 8.16.0
    • source-map-support version 0.5.21
  • @/logging:
    • Added missing fatal() convenience function
    • Added static shortcuts to Logger (ie Logger.info() means Logger.current.info())
rezonant
published 3.4.2 •

Changelog

Source

3.4.2

  • @/platform-nodejs: Add support for dotenv-flow style usage of the NODE_ENV environment variable. When NODE_ENV is set, the filename searched is .env.{NODE_ENV} to allow you to configure multiple environments in separate .env files.
rezonant
published 3.1.4 •

rezonant
published 3.0.5 •

Changelog

Source

🚀 3.0.5

  • @/web-server: Fixes a crash in WebEvent.request et al when called outside of an @alterior/web-server request context
  • @/platform-nodejs: Support loading .env files from parent directories of the current working directory
rezonant
published 3.0.2 •

Changelog

Source

🚀 3.0.2

  • Released all packages under 3.0.2 for consistency
rezonant
published 3.0.0-rc.7 •

Changelog

Source

🚀 3.0.0-rc.7

  • @/web-server: WebServer#httpServer is now public (read only)
  • @/web-server: Service classes can now receive an altOnListen(server : WebServer) event, useful for configuring aspects of the underlying Node.js http.Server instance directly.
rezonant
published 3.0.0-rc.6 •

Changelog

Source

🚀 3.0.0-rc.6

  • Alterior is now built using Typescript 4.5.4, previous versions used Typescript 4.1.5.
  • @alterior/platform-nodejs now provides a global implementation of WebSocket implementation using ws if one is not already available
  • Fixes deepClone() to handle cyclical object graphs correctly
  • The @SessionValue() parameter decorator has been removed in preparation for the 3.0.0 release. This decorator was deprecated in v3.0.0-beta.76 released on 2/27/2021. Use the Session class instead.
  • Added @QueryParams() parameter decorator as a way to get a Record<string,string> containing all query parameters passed via URL. You can use a specific interface type for such parameters, but please note that Alterior does not perform automatic coercion of the fields of the @QueryParmas() object- all values will be strings.
  • The accessControl() built-in middleware has been removed in preparation for the 3.0.0 release. This feature was deprecated in v3.0.0-beta.2 released on 9/6/2018. Please use a Connect-compatible middleware package or create your own instead. Feel free to start from Alterior's implementation, you can find it at https://github.com/alterior-mvc/alterior/blob/c4e6730c98d7f2a6d20764612af0b7b2cd51c1e6/packages/web-server/src/accesscontrol.ts.
  • The @Request() parameter decorator has been removed in preparation for the 3.0.0 release. This decorator was deprecated in v3.0.0-beta.76 released on 2/27/2021. Use WebEvent.request instead to access parameters of the underlying HTTP request.
  • The RolesService#getRoleForModule() method has been renamed to RolesService#getForModule()
  • RolesService#getById() has been added.
  • The RolesService#start() and RolesService#stop() methods have been removed. Use RolesService#getById() or RolesService#getForModule() and call start/stop on the resulting Role object instead.
rezonant
published 3.0.0-rc.3 •

rezonant
published 3.0.0-rc.2 •

Changelog

Source

3.0.0-rc.2

3.0.0-rc.3 hotfixes CommonJS support via downgrade to node-fetch@2

@/platform-nodejs

  • fetch() is now made available globally using node-fetch
2
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