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.2.0 to 3.2.1

10

CHANGELOG.md

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

<a name="3.2.1"></a>
## [3.2.1](https://github.com/s-panferov/awesome-typescript-loader/compare/v3.2.0...v3.2.1) (2017-06-28)
### Bug Fixes
* speedup caching by pre-hashing cacheIdentifier ([589683f](https://github.com/s-panferov/awesome-typescript-loader/commit/589683f))
<a name="3.2.0"></a>

@@ -7,0 +17,0 @@ # [3.2.0](https://github.com/s-panferov/awesome-typescript-loader/compare/v3.2.0-rc.0...v3.2.0) (2017-06-28)

2

dist/instance.d.ts

@@ -16,3 +16,3 @@ /// <reference types="node" />

checker: Checker;
cacheIdentifier: any;
cacheIdentifier: string;
context: string;

@@ -19,0 +19,0 @@ times: Dict<number>;

@@ -9,2 +9,3 @@ "use strict";

var watch_mode_1 = require("./watch-mode");
var crypto_1 = require("crypto");
var colors = require('colors/safe');

@@ -108,3 +109,4 @@ var pkg = require('../package.json');

}
return {
var hash = crypto_1.createHash('sha512');
var contents = JSON.stringify({
typescript: tsImpl.version,

@@ -116,3 +118,5 @@ 'awesome-typescript-loader': pkg.version,

env: process.env.BABEL_ENV || process.env.NODE_ENV || 'development'
};
});
hash.end(contents);
return hash.read().toString('hex');
}

@@ -119,0 +123,0 @@ }

{
"name": "awesome-typescript-loader",
"version": "3.2.0",
"version": "3.2.1",
"description": "Awesome TS loader for webpack",

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

@@ -9,2 +9,3 @@ import * as fs from 'fs';

import { WatchModeSymbol } from './watch-mode';
import { createHash } from 'crypto';

@@ -23,3 +24,3 @@ let colors = require('colors/safe');

checker: Checker;
cacheIdentifier: any;
cacheIdentifier: string;
context: string;

@@ -202,3 +203,3 @@

context: string
) {
): string {
if (loaderConfig.useCache) {

@@ -213,3 +214,4 @@ if (!loaderConfig.cacheDirectory) {

return {
let hash = createHash('sha512') as any;
let contents = JSON.stringify({
typescript: tsImpl.version,

@@ -222,3 +224,6 @@ 'awesome-typescript-loader': pkg.version,

env: process.env.BABEL_ENV || process.env.NODE_ENV || 'development'
};
});
hash.end(contents);
return hash.read().toString('hex');
}

@@ -225,0 +230,0 @@ }

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