@fimbul/ymir
Advanced tools
Comparing version 0.24.0-dev.20210214 to 0.24.0-dev.20210216
{ | ||
"name": "@fimbul/ymir", | ||
"version": "0.24.0-dev.20210214", | ||
"version": "0.24.0-dev.20210216", | ||
"description": "Core library for the Fimbullinter project", | ||
@@ -5,0 +5,0 @@ "publishConfig": { |
@@ -366,2 +366,8 @@ import 'reflect-metadata'; | ||
} | ||
export declare type ContentIdHost = Pick<ts.CompilerHost, 'readFile'>; | ||
export interface ContentId { | ||
forFile(fileName: string, host: ContentIdHost): string; | ||
} | ||
export declare abstract class ContentId { | ||
} | ||
export interface StatePersistence { | ||
@@ -391,4 +397,4 @@ loadState(project: string): StaticProgramState | undefined; | ||
interface FileState { | ||
/** Hash of file contents */ | ||
readonly hash: string; | ||
/** ID of file contents (typically a hash) */ | ||
readonly id: string; | ||
/** | ||
@@ -400,3 +406,3 @@ * Key: module specifier as referenced in the file, order may be random | ||
* May contain the current file. | ||
* This list is ordered by the hash of the files ascending, | ||
* This list is ordered by the ID of the files ascending, | ||
*/ | ||
@@ -403,0 +409,0 @@ readonly dependencies?: Readonly<Record<string, null | readonly number[]>>; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.StatePersistence = exports.FileFilterFactory = exports.LineSwitchParser = exports.FindingFilterFactory = exports.DirectoryService = exports.BuiltinResolver = exports.Resolver = exports.CacheFactory = exports.FormatterLoaderHost = exports.RuleLoaderHost = exports.FileSystem = exports.DeprecationTarget = exports.DeprecationHandler = exports.MessageHandler = exports.AbstractProcessor = exports.Format = exports.ConfigurationProvider = exports.AbstractFormatter = exports.ConfigurableTypedRule = exports.TypedRule = exports.ConfigurableRule = exports.AbstractRule = exports.requiresCompilerOption = exports.requireLibraryFile = exports.excludeDeclarationFiles = exports.typescriptOnly = exports.predicate = exports.Finding = exports.Replacement = exports.GlobalOptions = exports.ConfigurationError = void 0; | ||
exports.StatePersistence = exports.ContentId = exports.FileFilterFactory = exports.LineSwitchParser = exports.FindingFilterFactory = exports.DirectoryService = exports.BuiltinResolver = exports.Resolver = exports.CacheFactory = exports.FormatterLoaderHost = exports.RuleLoaderHost = exports.FileSystem = exports.DeprecationTarget = exports.DeprecationHandler = exports.MessageHandler = exports.AbstractProcessor = exports.Format = exports.ConfigurationProvider = exports.AbstractFormatter = exports.ConfigurableTypedRule = exports.TypedRule = exports.ConfigurableRule = exports.AbstractRule = exports.requiresCompilerOption = exports.requireLibraryFile = exports.excludeDeclarationFiles = exports.typescriptOnly = exports.predicate = exports.Finding = exports.Replacement = exports.GlobalOptions = exports.ConfigurationError = void 0; | ||
require("reflect-metadata"); | ||
@@ -199,2 +199,5 @@ const ts = require("typescript"); | ||
exports.FileFilterFactory = FileFilterFactory; | ||
class ContentId { | ||
} | ||
exports.ContentId = ContentId; | ||
class StatePersistence { | ||
@@ -201,0 +204,0 @@ } |
Sorry, the diff of this file is not supported yet
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
42249
619