Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

typescript-strict-plugin

Package Overview
Dependencies
Maintainers
1
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

typescript-strict-plugin - npm Package Compare versions

Comparing version 2.3.1 to 2.3.2

6

dist/common/isFileOnPath.js
"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;

2

package.json
{
"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",

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