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

dgeni

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dgeni - npm Package Versions

13

0.4.4

Diff

Changelog

Source

v0.4.4 (13th February 2017)

Minor docs and chores updates; in particular the @types/mocha dependency was moved to devDependencies to prevent unwanted leakage into client projects.

petebd
published 0.4.3 •

Changelog

Source

v0.4.3 (12th February 2017)

Various docs and refactorings including a complete rewrite in typescript, which enables API typings for TypeScript users.

petebd
published 0.4.2 •

Changelog

Source

v0.4.2 (6th January 2016)

Node dependency update - dgeni now cleanly support node 4 and 5 (and so npm 3)

petebd
published 0.4.1 •

Changelog

Source

v0.4.1 (4th October 2014)

Minor Bug Fix

  • fix(Package): allow use of npm link with dgeni 6698fe9f
petebd
published 0.4.0 •

Changelog

Source

v0.4.0 (10th September 2014)

Major New Release

This is a major re-architecting from v0.3.0 of how Dgeni uses Dependency Injection and configuration.

This version of Dgeni is compatible with dgeni-packages v0.10.0

  • Dgeni is now configured by Packages, which can depend on other Packages. You create an instance of Dgeni, passing in the Packages that are to be loaded.

  • Packages contain Services, Processors and Config Blocks, which are all instantiated or invoked by the DI system.

  • Dgeni specific properties on Processors are now prefixed with a $. E.g. $process(), $runBefore, $runAfter.

  • Processors themselves are special instances of DI Services. In the previous versions of dgeni the process() method was being invoked by the DI system instead. Now since the processor itself is created by a factory function that can be injected with Services, much more can be done to configure the Processor before the $process(docs) method is called.

  • Processors can now be "validated" using validatejs.org constraints, specified in the processor.$validate property.

  • Processors can now be disabled by setting processor.$enabled = false.

  • Services and Processors with the same name will override previously registered ones, say from a Package dependency. This enables custom Packages to provide alternate components and makes mocking much easier in tests.

  • New injectable helper services have been provided: dgeni, log, getInjectables.

  • Each instance of Dgeni now exposes a configureInjector() method, which returns the configured dgeni DI injector. This is useful in unit testing to easily get access to the Services and Processors to be tested.

  • Now use the injectable log service in your Processors and Services instead of requiring winston. This also means that it is easier to replace the logger implementation both in the future and for testing. Dgeni provides a "mock" logger at dgeni/lib/mocks/log, which you can require to override the standard winston logger.

  • Test coverage of the source files is now at 100%.

petebd
published 0.4.0-rc.2 •

Changelog

Source

v0.4.0-rc.2 (10th September 2014)

Minor refactoring

  • chore(tests): move tests into lib folder 607037fe
petebd
published 0.4.0-rc.1 •

Changelog

Source

v0.4.0-rc.1 (6th September 2014)

Minor refactoring

  • fix(Dgeni): handle validation and processor errors better b452b472
petebd
published 0.4.0-beta.4 •

Changelog

Source

v0.4.0-beta.4 (1st September 2014)

Minor refactoring and fixes

  • feat(Dgeni): add configureInjector method 6a37dada
  • fix(gen-docs.js): remove unnecessary reference to base package b7d7185e
  • feat(gen-docs): add log option to CLI 062ca137
  • fix(gen-docs.js): startsWith() is not ES5 compatible 22e11630
petebd
published 0.4.0-beta.3 •

Changelog

Source

v0.4.0-beta.3 (12th August 2014)

Minor refactoring

  • refact(Dgeni): remove dependency on 'es6-shim' and Map a8fa07eb
petebd
published 0.4.0-beta.2 •

Changelog

Source

v0.4.0-beta.2 (7th August 2014)

Minor bug fixes

  • fix(Dgeni): require Package not package fc2be818
  • fix(Dgeni): do not modify package.dependencies property 61449389
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