New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@fimbul/wotan

Package Overview
Dependencies
Maintainers
2
Versions
180
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fimbul/wotan - npm Package Compare versions

Comparing version 0.7.0 to 0.8.0-dev.20180410

6

package.json
{
"name": "@fimbul/wotan",
"version": "0.7.0",
"version": "0.8.0-dev.20180410",
"description": "Pluggable TypeScript and JavaScript linter",

@@ -48,4 +48,4 @@ "bin": "bin/main.js",

"dependencies": {
"@fimbul/mimir": "^0.7.0",
"@fimbul/ymir": "^0.6.0",
"@fimbul/mimir": "0.8.0-dev.20180410",
"@fimbul/ymir": "0.6.0",
"bind-decorator": "^1.0.11",

@@ -52,0 +52,0 @@ "chalk": "^2.3.0",

@@ -41,3 +41,3 @@ import * as ts from 'typescript';

getDirectories(dir: string): string[];
getSourceFile(fileName: string, languageVersion: ts.ScriptTarget): ts.SourceFile;
getSourceFile(fileName: string, languageVersion: ts.ScriptTarget): ts.SourceFile | undefined;
updateSourceFile(sourceFile: ts.SourceFile, program: ts.Program, newContent: string, changeRange: ts.TextChangeRange): {

@@ -44,0 +44,0 @@ sourceFile: ts.SourceFile;

@@ -118,2 +118,4 @@ "use strict";

const realFile = this.getFileSystemFile(file);
if (realFile === undefined)
return;
let content = this.fs.readFile(realFile);

@@ -158,3 +160,6 @@ const config = this.config || this.tryFindConfig(realFile);

getSourceFile(fileName, languageVersion) {
return utils_1.resolveCachedResult(this.sourceFileCache, fileName, () => ts.createSourceFile(fileName, this.readProcessedFile(fileName), languageVersion, true));
return utils_1.resolveCachedResult(this.sourceFileCache, fileName, () => {
const content = this.readProcessedFile(fileName);
return content !== undefined ? ts.createSourceFile(fileName, content, languageVersion, true) : undefined;
});
}

@@ -161,0 +166,0 @@ updateSourceFile(sourceFile, program, newContent, changeRange) {

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