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

typed-function

Package Overview
Dependencies
Maintainers
1
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

typed-function - npm Package Versions

123

0.6.3

Diff

Changelog

Source

2015-03-08, version 0.6.3

  • Fixed generated internal Signature and Param objects not being cleaned up after the typed function has been generated.
josdejong
published 0.6.2 •

Changelog

Source

2015-02-26, version 0.6.2

  • Fixed a bug sometimes not ordering the handling of any type arguments last.
  • Fixed a bug sometimes not choosing the signature with the lowest number of conversions.
josdejong
published 0.6.1 •

Changelog

Source

2015-02-07, version 0.6.1

  • Large code refactoring.
  • Fixed bugs related to any type parameters.
josdejong
published 0.6.0 •

Changelog

Source

2015-01-16, version 0.6.0

  • Removed the configuration option minify (it's not clear yet whether minifying really improves the performance).
  • Internal code simplifications.
  • Bug fixes.
josdejong
published 0.5.0 •

Changelog

Source

2015-01-07, version 0.5.0

  • Implemented support for merging typed functions.
  • Typed functions inherit the name of the function in case of one signature.
  • Fixed a bug where a regular argument was not matched when there was a signature with variable arguments too.
  • Slightly changed the error messages.
josdejong
published 0.4.0 •

Changelog

Source

2014-12-17, version 0.4.0

  • Introduced new constructor options, create a typed function as typed([name,] signature, fn) or typed([name,] signatures).
  • Support for multiple types per parameter like number | string, number'.
  • Support for variable parameters like sting, ...number'.
  • Changed any type notation '*' to 'any'.
  • Implemented detailed error messages.
  • Implemented option typed.config.minify.
josdejong
published 0.3.1 •

Changelog

Source

2014-11-05, version 0.3.1

  • Renamed module to typed-function.
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