npm karma-typescript 2.1.6
v.2.1.6

latest releases: 5.5.4, 5.5.3, 5.5.2...
7 years ago

Changes

New features

  • Option for toggling node environment in bundle: #40, #41 (thanks @hmil)
  • Support for module.exports.default: #42, #54 (thanks @Bjeaurn, @sir-marc)
  • Support for module.id and module.uri: #47 (thanks @fchiumeo)
  • Support for requiring files without module.exports: #54 (thanks @sir-marc)
  • Improved and restructured documentation: #50, #52 (big thanks to @moshmage)
  • Experimental! Rudimentary support for dynamic require, ie require('a' + 'b'): #53 (thanks @moshmage)
  • Option for replacing modules with a stub in the bundle: #53 (thanks @moshmage)
  • Report destination options with directory and filename, #56, #61 (thanks @muthuramj, @Ritzlgrmft)
  • Support for running bundle in browser (window) or Node (global): #57 (thanks @magar91)
  • Custom extensions and directories for resolving modules: #57 (thanks @magar91)

Bugfixes

  • Importing interfaces from typings files: #42 (thanks @Bjeaurn)
  • Running karma run: #58 (thanks @segrey)
  • Proper detection of typings files for Typescript older than 2.0: #48 (thanks @kylestlb)
  • Requiring JSON from a node_modules module: #57 (thanks @magar91)

Deprecated

  • karmaTypescriptConfig.bundlerOptions.ignoredModuleNames has been moved to karmaTypescriptConfig.bundlerOptions.exclude
  • karmaTypescriptConfig.excludeFromCoverage has been moved to karmaTypescriptConfig.coverageOptions.exclude
  • karmaTypescriptConfig.disableCodeCoverageInstrumentation has been moved to karmaTypescriptConfig.coverageOptions.instrumentation

Don't miss a new karma-typescript release

NewReleases is sending notifications on new releases.