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

@fimbul/ymir

Package Overview
Dependencies
Maintainers
2
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fimbul/ymir - npm Package Compare versions

Comparing version 0.22.0 to 0.24.0-dev.20210214

2

package.json
{
"name": "@fimbul/ymir",
"version": "0.22.0",
"version": "0.24.0-dev.20210214",
"description": "Core library for the Fimbullinter project",

@@ -5,0 +5,0 @@ "publishConfig": {

@@ -366,1 +366,42 @@ import 'reflect-metadata';

}
export interface StatePersistence {
loadState(project: string): StaticProgramState | undefined;
saveState(project: string, state: StaticProgramState): void;
}
export declare abstract class StatePersistence {
}
export interface StaticProgramState {
/** Version of the cache format */
readonly v: number;
/** TypeScript version */
readonly ts: string;
/** Whether the state was created using case-sensitive file names */
readonly cs: boolean;
/** Hash of compilerOptions */
readonly options: string;
/** Maps filename to index in 'files' array */
readonly lookup: Readonly<Record<string, number>>;
/** Index of files that affect global scope */
readonly global: readonly number[];
/** Information about all files in the program */
readonly files: readonly StaticProgramState.FileState[];
}
export declare namespace StaticProgramState {
interface FileState {
/** Hash of file contents */
readonly hash: string;
/**
* Key: module specifier as referenced in the file, order may be random
* Value: - `null` if dependency could not be resolved
* - List of files (or rather their index) that the module specifier resolves to.
* That is the actual file at that path and/or files containing `declare module "..."` for that module specifier.
* May contain the current file.
* This list is ordered by the hash of the files ascending,
*/
readonly dependencies?: Readonly<Record<string, null | readonly number[]>>;
/** The list of findings if this file has up-to-date results */
readonly result?: readonly Finding[];
/** Hash of the configuration used to produce `result` for this file */
readonly config?: string;
}
}
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
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.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 StatePersistence {
}
exports.StatePersistence = StatePersistence;
//# sourceMappingURL=index.js.map

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