@fimbul/wotan
Advanced tools
Comparing version 0.10.0-dev.20180517 to 0.10.0
{ | ||
"name": "@fimbul/wotan", | ||
"version": "0.10.0-dev.20180517", | ||
"version": "0.10.0", | ||
"description": "Pluggable TypeScript and JavaScript linter", | ||
@@ -48,4 +48,4 @@ "bin": "bin/main.js", | ||
"dependencies": { | ||
"@fimbul/mimir": "0.10.0-dev.20180517", | ||
"@fimbul/ymir": "0.9.0", | ||
"@fimbul/mimir": "^0.10.0", | ||
"@fimbul/ymir": "^0.9.0", | ||
"bind-decorator": "^1.0.11", | ||
@@ -69,4 +69,4 @@ "chalk": "^2.3.0", | ||
"peerDependencies": { | ||
"typescript": "^2.4.1 || >= 2.8.0-dev" | ||
"typescript": "^2.4.1 || >= 2.9.0-dev || >= 2.9.1-insiders || >= 3.0.0-dev" | ||
} | ||
} |
@@ -18,4 +18,4 @@ import * as ts from 'typescript'; | ||
getFailures(sourceFile: ts.SourceFile, config: EffectiveConfiguration, program: ts.Program | undefined, processor: AbstractProcessor | undefined): ReadonlyArray<Failure>; | ||
private prepareRules(config, sourceFile, program); | ||
private applyRules(sourceFile, program, rules, settings); | ||
private prepareRules; | ||
private applyRules; | ||
} |
@@ -26,4 +26,4 @@ import * as ts from 'typescript'; | ||
getDirectoryEntries(dir: string): ts.FileSystemEntries; | ||
private tryFindConfig(file); | ||
private processDirectory(dir); | ||
private tryFindConfig; | ||
private processDirectory; | ||
fileExists(file: string): boolean; | ||
@@ -33,3 +33,3 @@ directoryExists(dir: string): boolean; | ||
readFile(file: string): string; | ||
private readProcessedFile(file); | ||
private readProcessedFile; | ||
writeFile(): void; | ||
@@ -36,0 +36,0 @@ useCaseSensitiveFileNames(): boolean; |
@@ -24,7 +24,7 @@ import { Linter } from './linter'; | ||
lintCollection(options: LintOptions): LintResult; | ||
private lintProject(options, config); | ||
private lintFiles(options, config); | ||
private getFilesAndProgram(project, patterns, exclude, host); | ||
private checkConfigDirectory(fileOrDirName); | ||
private createProgram(configFile, host); | ||
private lintProject; | ||
private lintFiles; | ||
private getFilesAndProgram; | ||
private checkConfigDirectory; | ||
private createProgram; | ||
} | ||
@@ -31,0 +31,0 @@ declare module 'typescript' { |
@@ -6,3 +6,3 @@ import { FileSystem, CacheFactory } from '@fimbul/ymir'; | ||
Directory = 2, | ||
Other = 3, | ||
Other = 3 | ||
} | ||
@@ -17,3 +17,3 @@ export declare class CachedFileSystem { | ||
getKind(file: string): FileKind; | ||
private doGetKind(file); | ||
private doGetKind; | ||
readDirectory(dir: string): string[]; | ||
@@ -25,3 +25,3 @@ readFile(file: string): string; | ||
createDirectory(dir: string): void; | ||
private doCreateDirectory(dir); | ||
private doCreateDirectory; | ||
} |
@@ -54,3 +54,3 @@ import { ConfigurationProvider, Resolver, LoadConfigurationContext, Configuration, CacheFactory, BuiltinResolver } from '@fimbul/ymir'; | ||
find(fileToLint: string): string | undefined; | ||
private findConfigForDirectory(dir); | ||
private findConfigForDirectory; | ||
resolve(name: string, basedir: string): string; | ||
@@ -60,4 +60,4 @@ load(filename: string, context: LoadConfigurationContext): Configuration; | ||
read(filename: string): RawConfiguration; | ||
private mapOverride(raw, index, basedir, aliases, rulesDirectoryMap); | ||
private mapProcessor(processor, basedir); | ||
private mapOverride; | ||
private mapProcessor; | ||
} |
@@ -12,3 +12,3 @@ import * as ts from 'typescript'; | ||
parse(context: LineSwitchParserContext): Map<string, RawLineSwitch[]>; | ||
private switch(map, enabled, rules, s); | ||
private switch; | ||
} |
@@ -7,3 +7,3 @@ import { ProcessorConstructor, Resolver, CacheFactory } from '@fimbul/ymir'; | ||
loadProcessor(path: string): ProcessorConstructor; | ||
private requireProcessor(path); | ||
private requireProcessor; | ||
} |
@@ -8,4 +8,4 @@ import { RuleLoaderHost, RuleConstructor, MessageHandler, CacheFactory } from '@fimbul/ymir'; | ||
loadRule(name: string, directories: ReadonlyArray<string> | undefined): RuleConstructor | undefined; | ||
private loadCoreRule(name); | ||
private loadCustomRule(cacheKey); | ||
private loadCoreRule; | ||
private loadCustomRule; | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
246937
+ Added@fimbul/mimir@0.10.0(transitive)
- Removed@fimbul/mimir@0.10.0-dev.20180517(transitive)
Updated@fimbul/mimir@^0.10.0
Updated@fimbul/ymir@^0.9.0