@fimbul/valtyr
Advanced tools
Comparing version 0.2.0-dev.20180220 to 0.2.0-dev.20180221
{ | ||
"name": "@fimbul/valtyr", | ||
"version": "0.2.0-dev.20180220", | ||
"version": "0.2.0-dev.20180221", | ||
"description": "Wotan plugin to behave almost like TSLint", | ||
@@ -22,7 +22,7 @@ "author": "Klaus Meinhardt", | ||
"peerDependencies": { | ||
"@fimbul/wotan": "0.2.0-dev.20180220", | ||
"@fimbul/wotan": "0.2.0-dev.20180221", | ||
"typescript": "^2.4.1" | ||
}, | ||
"dependencies": { | ||
"@fimbul/bifrost": "0.2.0-dev.20180220", | ||
"@fimbul/bifrost": "0.2.0-dev.20180221", | ||
"inversify": "^4.10.0", | ||
@@ -29,0 +29,0 @@ "tslib": "^1.8.1", |
@@ -1,2 +0,2 @@ | ||
import { ConfigurationProvider, Resolver, Configuration, CacheManager } from '@fimbul/wotan'; | ||
import { ConfigurationProvider, Resolver, Configuration, CacheFactory } from '@fimbul/wotan'; | ||
import * as TSLint from 'tslint'; | ||
@@ -7,3 +7,3 @@ export declare class TslintConfigurationProvider implements ConfigurationProvider { | ||
private tslintConfigDir; | ||
constructor(resolver: Resolver, cache: CacheManager); | ||
constructor(resolver: Resolver, cache: CacheFactory); | ||
find(fileName: string): string | undefined; | ||
@@ -10,0 +10,0 @@ resolve(name: string, basedir: string): string; |
@@ -9,7 +9,6 @@ "use strict"; | ||
const OFFSET_TO_NODE_MODULES = 3; | ||
const cacheId = new wotan_1.CacheIdentifier('configPath'); | ||
let TslintConfigurationProvider = class TslintConfigurationProvider { | ||
constructor(resolver, cache) { | ||
this.resolver = resolver; | ||
this.cache = cache.create(cacheId); | ||
this.cache = cache.create(); | ||
} | ||
@@ -82,3 +81,3 @@ find(fileName) { | ||
inversify_1.injectable(), | ||
tslib_1.__metadata("design:paramtypes", [wotan_1.Resolver, wotan_1.CacheManager]) | ||
tslib_1.__metadata("design:paramtypes", [wotan_1.Resolver, wotan_1.CacheFactory]) | ||
], TslintConfigurationProvider); | ||
@@ -85,0 +84,0 @@ exports.TslintConfigurationProvider = TslintConfigurationProvider; |
Sorry, the diff of this file is not supported yet
36184
253
+ Added@fimbul/bifrost@0.2.0-dev.20180221(transitive)
+ Added@fimbul/wotan@0.2.0-dev.20180221(transitive)
- Removed@fimbul/bifrost@0.2.0-dev.20180220(transitive)
- Removed@fimbul/wotan@0.2.0-dev.20180220(transitive)