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

awesome-typescript-loader

Package Overview
Dependencies
Maintainers
1
Versions
185
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

awesome-typescript-loader - npm Package Compare versions

Comparing version 3.1.1 to 3.1.2

10

CHANGELOG.md

@@ -5,2 +5,12 @@ # Change Log

<a name="3.1.2"></a>
## [3.1.2](https://github.com/s-panferov/awesome-typescript-loader/compare/v3.1.1...v3.1.2) (2017-03-07)
### Bug Fixes
* properly handle declarationDir ([0742e1a](https://github.com/s-panferov/awesome-typescript-loader/commit/0742e1a))
<a name="3.1.1"></a>

@@ -7,0 +17,0 @@ ## [3.1.1](https://github.com/s-panferov/awesome-typescript-loader/compare/v3.1.0...v3.1.1) (2017-03-07)

9

dist/instance.js

@@ -132,9 +132,12 @@ "use strict";

function applyDefaults(configFilePath, compilerConfig, loaderConfig, context) {
_.defaults(compilerConfig.options, {
var def = {
sourceMap: true,
verbose: false,
declarationDir: compilerConfig.options.outDir,
skipDefaultLibCheck: true,
suppressOutputPathCheck: true
});
};
if (compilerConfig.options.outDir && compilerConfig.options.declaration) {
def.declarationDir = compilerConfig.options.outDir;
}
_.defaults(compilerConfig.options, def);
if (loaderConfig.transpileOnly) {

@@ -141,0 +144,0 @@ compilerConfig.options.isolatedModules = true;

{
"name": "awesome-typescript-loader",
"version": "3.1.1",
"version": "3.1.2",
"description": "Awesome TS loader for webpack",

@@ -5,0 +5,0 @@ "main": "dist/entry.js",

@@ -235,10 +235,15 @@ import * as fs from 'fs';

) {
_.defaults(compilerConfig.options, {
const def: any = {
sourceMap: true,
verbose: false,
declarationDir: compilerConfig.options.outDir,
skipDefaultLibCheck: true,
suppressOutputPathCheck: true
});
};
if (compilerConfig.options.outDir && compilerConfig.options.declaration) {
def.declarationDir = compilerConfig.options.outDir;
}
_.defaults(compilerConfig.options, def);
if (loaderConfig.transpileOnly) {

@@ -245,0 +250,0 @@ compilerConfig.options.isolatedModules = true;

Sorry, the diff of this file is not supported yet

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