@fimbul/wotan
Advanced tools
Comparing version 0.23.0-dev.20210111 to 0.23.0-dev.20210112
{ | ||
"name": "@fimbul/wotan", | ||
"version": "0.23.0-dev.20210111", | ||
"version": "0.23.0-dev.20210112", | ||
"description": "Pluggable TypeScript and JavaScript linter", | ||
@@ -43,3 +43,3 @@ "bin": "bin/main.js", | ||
"dependencies": { | ||
"@fimbul/mimir": "0.23.0-dev.20210111", | ||
"@fimbul/mimir": "0.23.0-dev.20210112", | ||
"@fimbul/ymir": "0.22.0", | ||
@@ -46,0 +46,0 @@ "bind-decorator": "^1.0.11", |
@@ -32,3 +32,4 @@ "use strict"; | ||
getCompilerOptions() { | ||
return this.options || (this.options = this.factory.getCompilerOptions()); | ||
var _a; | ||
return (_a = this.options) !== null && _a !== void 0 ? _a : (this.options = this.factory.getCompilerOptions()); | ||
} | ||
@@ -229,6 +230,6 @@ getProgram() { | ||
function getFlatAst() { | ||
return (convertedAst || (convertedAst = tsutils_1.convertAst(sourceFile))).flat; | ||
return (convertedAst !== null && convertedAst !== void 0 ? convertedAst : (convertedAst = tsutils_1.convertAst(sourceFile))).flat; | ||
} | ||
function getWrappedAst() { | ||
return (convertedAst || (convertedAst = tsutils_1.convertAst(sourceFile))).wrapped; | ||
return (convertedAst !== null && convertedAst !== void 0 ? convertedAst : (convertedAst = tsutils_1.convertAst(sourceFile))).wrapped; | ||
} | ||
@@ -235,0 +236,0 @@ } |
@@ -31,3 +31,3 @@ "use strict"; | ||
getCommentAtPosition(pos) { | ||
const wrap = tsutils_1.getWrappedNodeAtPosition(wrappedAst || (wrappedAst = context.getWrappedAst()), pos); | ||
const wrap = tsutils_1.getWrappedNodeAtPosition(wrappedAst !== null && wrappedAst !== void 0 ? wrappedAst : (wrappedAst = context.getWrappedAst()), pos); | ||
if (wrap === undefined) | ||
@@ -34,0 +34,0 @@ return; |
Sorry, the diff of this file is not supported yet
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
336698
4208
+ Added@fimbul/mimir@0.23.0-dev.20210112(transitive)
- Removed@fimbul/mimir@0.23.0-dev.20210111(transitive)