Huge News!Announcing our $40M Series B led by Abstract Ventures.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.23.0 to 0.24.0-dev.20210120

6

package.json
{
"name": "@fimbul/wotan",
"version": "0.23.0",
"version": "0.24.0-dev.20210120",
"description": "Pluggable TypeScript and JavaScript linter",

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

"dependencies": {
"@fimbul/mimir": "^0.23.0",
"@fimbul/ymir": "^0.22.0",
"@fimbul/mimir": "0.24.0-dev.20210120",
"@fimbul/ymir": "0.22.0",
"bind-decorator": "^1.0.11",

@@ -47,0 +47,0 @@ "chalk": "^4.0.0",

@@ -100,5 +100,4 @@ "use strict";

getFindings(sourceFile, config, programFactory, processor, options) {
if (programFactory !== undefined)
// make sure that all rules get the same Program and CompilerOptions for this run
programFactory = new CachedProgramFactory(programFactory);
// make sure that all rules get the same Program and CompilerOptions for this run
programFactory && (programFactory = new CachedProgramFactory(programFactory));
let suppressMissingTypeInfoWarning = false;

@@ -181,4 +180,3 @@ log('Linting file %s', sourceFile.fileName);

const getFindingFilter = () => {
return findingFilter ||
(findingFilter = this.filterFactory.create({ sourceFile, getWrappedAst, ruleNames: rules.map((r) => r.ruleName) }));
return findingFilter !== null && findingFilter !== void 0 ? findingFilter : (findingFilter = this.filterFactory.create({ sourceFile, getWrappedAst, ruleNames: rules.map((r) => r.ruleName) }));
};

@@ -213,4 +211,4 @@ const addFinding = (pos, end, message, fix) => {

getWrappedAst,
get program() { return programFactory && programFactory.getProgram(); },
get compilerOptions() { return programFactory && programFactory.getCompilerOptions(); },
get program() { return programFactory === null || programFactory === void 0 ? void 0 : programFactory.getProgram(); },
get compilerOptions() { return programFactory === null || programFactory === void 0 ? void 0 : programFactory.getCompilerOptions(); },
sourceFile,

@@ -217,0 +215,0 @@ settings,

@@ -55,4 +55,4 @@ "use strict";

isOutputOfReferencedProject(fileName) {
if (this.outputsOfReferencedProjects === undefined)
this.outputsOfReferencedProjects = utils_1.flatMap(utils_1.iterateProjectReferences(this.program.getResolvedProjectReferences()), utils_1.getOutputFileNamesOfProjectReference);
var _a;
(_a = this.outputsOfReferencedProjects) !== null && _a !== void 0 ? _a : (this.outputsOfReferencedProjects = utils_1.flatMap(utils_1.iterateProjectReferences(this.program.getResolvedProjectReferences()), utils_1.getOutputFileNamesOfProjectReference));
return this.outputsOfReferencedProjects.includes(fileName);

@@ -59,0 +59,0 @@ }

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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