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

@alterior/command-line

Package Overview
Dependencies
Maintainers
0
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@alterior/command-line - npm Package Versions

3.13.0

Diff

Changelog

Source

v3.13.0

  • @/command-line
    • CommandLineProcesser.process() now obeys promises returned from run() methods, so that lifecycle can be observed and code can reliably run after they all have completed.
rezonant
published 3.2.0 •

Changelog

Source

🚀3.2.0

  • All packages now depend on RxJS 7.8.0 or later.
rezonant
published 3.1.4 •

rezonant
published 3.1.2 •

rezonant
published 3.0.0-rc.5 •

Changelog

Source

🚀 3.0.0-rc.5

  • Documentation improvements
  • Factors out Express and Fastify specific code to @alterior/express and @alterior/fastify. As part of this, you must now import @alterior/express or @alterior/fastify and specify it as the web server engine from this version on. For example:
    // main.ts
    import { WebServerEngine } from '@alterior/web-server';
    import { ExpressEngine } from '@alterior/express';
    
    WebServerEngine.default = ExpressEngine;
    
    Alternatively you can specify an engine via dependency injection:
    @WebService({
        providers: [
            { provide: WebServerEngine, useClass: ExpressEngine }
        ]
    })
    export class MyService {
        // ...
    }
    
    This change reduces the complexity of Alterior's dependency tree by ensuring that excess web server dependencies will not be present (ie fastify on an express app or express on a fastify app). It also fixes an issue where Alterior users were required to install a lot of Express-related @types/* packages to avoid Typescript errors during development.

@/annotations

  • The @NgMetadataName() and related Angular compatibility features have been entirely removed. They do not work with newer versions of Angular. The recommended way to use Alterior with Angular is via @alterior/platform-angular

@/runtime

  • The --self-test option no longer starts the application (so the OnStart lifecycle method does not execute)

@/web-server

  • Adds support for boolean values on input parameters (ie @QueryParam()) when a parameter annotated with boolean type is used. The values '', 'no', '0', 'false', and 'off' produce false, all other values produce true.
  • Adds support for Date values on input parameters (ie @QueryParam et al) when a parameter annotated with Date type is used. Any string value that produces a valid Date object via new Date(str) will be accepted, otherwise a 400 Bad Request will be returned without executing the route method. Caution: Because this accepts values in milliseconds (not seconds), it is not suitable for receiving UNIX timestamps.
  • Adds support for receiving the ID for the request from a request header (ie X-Trace or so). Not enabled by default. Use requestIdHeader option when configuring the web server to enable this functionality.
  • Fixes an issue where request ID was wastefully generated twice
  • Removed the engine option from WebServerOptions. Either set WebServerEngine.default or provide WebServerEngine as a dependency to specify the web engine. See above for details.
  • @QueryParam() no longer requires the name parameter. Similar to the offer input decorators, @QueryParam() already supported auto-detecting name, this just adjusts the function signature to match the behavior.
  • CertificateGenerator is now properly exported for external use
  • Routes which do not return any result content now generate 204 No Content, provided the headers have not already been sent, and the status code selected by the end of the request is 200 OK. If you need to return an empty body with status 200 OK instead of 204 No Content, call WebEvent.response.end() before completing the request.
rezonant
published 3.0.0-rc.1 •

Changelog

Source

3.0.0-rc.1

  • First release candidate for v3.0.0
rezonant
published 3.0.0-beta.85 •

rezonant
published 3.0.0-beta.80 •

rezonant
published 3.0.0-beta.79 •

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