typescript-strict-plugin
Advanced tools
Comparing version 2.3.1 to 2.3.2
"use strict"; | ||
var __importDefault = (this && this.__importDefault) || function (mod) { | ||
return (mod && mod.__esModule) ? mod : { "default": mod }; | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.isFileOnPath = void 0; | ||
const path_1 = __importDefault(require("path")); | ||
const utils_1 = require("./utils"); | ||
@@ -14,4 +18,4 @@ const getAbsolutePath_1 = require("./getAbsolutePath"); | ||
const absolutePathToStrictFiles = (0, getAbsolutePath_1.getAbsolutePath)(projectPath, targetPath); | ||
return (0, utils_1.getPosixFilePath)(filePath).startsWith((0, utils_1.getPosixFilePath)(absolutePathToStrictFiles)); | ||
return (0, utils_1.getPosixFilePath)(filePath).startsWith((0, utils_1.getPosixFilePath)(absolutePathToStrictFiles) + path_1.default.posix.sep); | ||
} | ||
exports.isFileOnPath = isFileOnPath; |
{ | ||
"name": "typescript-strict-plugin", | ||
"version": "2.3.1", | ||
"version": "2.3.2", | ||
"description": "Typescript tools that help with migration to the strict mode", | ||
@@ -5,0 +5,0 @@ "author": "Allegro", |
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
59446
1175