@fimbul/ymir
Advanced tools
Comparing version 0.11.0 to 0.13.0-dev.20180718
{ | ||
"name": "@fimbul/ymir", | ||
"version": "0.11.0", | ||
"version": "0.13.0-dev.20180718", | ||
"description": "Core library for the Fimbullinter project", | ||
@@ -28,8 +28,9 @@ "publishConfig": { | ||
"reflect-metadata": "^0.1.12", | ||
"tslib": "^1.8.1" | ||
"tslib": "^1.8.1", | ||
"tsutils": "^2.28.0" | ||
}, | ||
"peerDependencies": { | ||
"typescript": ">= 2.7.1 || >= 3.0.0-dev || >= 3.0.0-insiders || 3.0.0-rc || >= 3.1.0-dev", | ||
"tsutils": ">2.19.0" | ||
"tsutils": ">2.19.0", | ||
"typescript": ">= 2.7.1 || >= 3.0.0-dev || >= 3.0.0-insiders || 3.0.0-rc || >= 3.1.0-dev" | ||
} | ||
} |
@@ -5,2 +5,3 @@ "use strict"; | ||
const ts = require("typescript"); | ||
const tsutils_1 = require("tsutils"); | ||
const path = require("path"); | ||
@@ -73,8 +74,5 @@ class ConfigurationError extends Error { | ||
function requiresStrictNullChecks(target) { | ||
target.supports = combinePredicates(target.supports, (_, context) => isStrictNullChecksEnabled(context.program.getCompilerOptions())); | ||
target.supports = combinePredicates(target.supports, (_, context) => tsutils_1.isStrictCompilerOptionEnabled(context.program.getCompilerOptions(), 'strictNullChecks')); | ||
} | ||
exports.requiresStrictNullChecks = requiresStrictNullChecks; | ||
function isStrictNullChecksEnabled(options) { | ||
return options.strict ? options.strictNullChecks !== false : options.strictNullChecks === true; | ||
} | ||
class AbstractRule { | ||
@@ -81,0 +79,0 @@ constructor(context) { |
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
34494
6
485
+ Addedtsutils@^2.28.0
+ Addedtsutils@2.29.0(transitive)
- Removedtsutils@3.21.0(transitive)