Socket
Socket
Sign inDemoInstall

ts-configurable

Package Overview
Dependencies
21
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
2Next

2.1.0

Diff

Changelog

Source

2.1.0

  • In case a property is an object create a new instance of that object instead of using a POJO (https://github.com/derbenoo/ts-configurable/issues/37)
derbenoo
published 2.0.1 •

Changelog

Source

2.0.1

  • Fix a bug where non-ciphertext string values where set to null with setNullOnDecryptionFailure=true
derbenoo
published 2.0.0 •

Changelog

Source

2.0.0

  • Breaking changes: options object for decryption changed: from decryptionSecrets to decryption: secrets, setNullOnDecryptionFailure
  • Implement setNullOnDecryptionFailure flag
derbenoo
published 1.0.0 •

Changelog

Source

1.0.0

  • Breaking changes: values are base64 encoded before being encrypted and base64 decoded after being decrypted. This way, when providing multiple keys, a correct decryption can be determined by checking whether the plaintext only contains charactesr from the base64 characterset.
  • Export the decrypt method from the package so the consumer can test the correct functionality of encryption and decryption.
derbenoo
published 0.3.1 •

Changelog

Source

0.3.1

  • Fixed error during packaging/ publishing which made the package unusable.
derbenoo
published 0.3.0 •

Changelog

Source

0.3.0

  • Add the decrypt option for specifying decryption secrets that are used to decrypt configuration values that are provided encrypted.
derbenoo
published 0.2.1 •

Changelog

Source

0.2.1

  • Fix wrong packing of npm package
derbenoo
published 0.2.0 •

Changelog

Source

0.2.0

  • Add the strictObjectStructureChecking option
derbenoo
published 0.1.1 •

Changelog

Source

0.1.1

  • Bugfix: remove the "is-plain-object" dependency and replace it with a simple object check as class instances should be treated as objects as well but are not "plain" objects
  • Add example for a NestJS webserver using the ts-configurable package
  • Update documentation
derbenoo
published 0.1.0 •

Changelog

Source

0.1.0

  • Update documentation
  • Additionally export IDecoratorOptions and IEnvOptions from package
  • Change throwing "Error" to "TypeError"
2Next
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc