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

@hong97/tslint

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hong97/tslint - npm Package Compare versions

Comparing version 0.0.3 to 0.0.4

2

package.json
{
"name": "@hong97/tslint",
"version": "0.0.3",
"version": "0.0.4",
"author": "hongding",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -24,3 +24,3 @@ #!/usr/bin/env node

// run tsc first
const runTsc = tscFiles(inputFiles, TSC_OUTPUT_FILE_NAME)
const runTsc = tscFiles(inputFiles, TSC_OUTPUT_FILE_NAME, config?.alwaysInclude)
// if tsc exit with 0, than do nothing

@@ -27,0 +27,0 @@ if (runTsc === 0) {

@@ -5,3 +5,3 @@ const { spawnSync } = require("child_process");

module.exports = function tscFiles(args, tscOutputFileName) {
module.exports = function tscFiles(args, tscOutputFileName, alwaysInclude) {
const randomChars = () => {

@@ -56,3 +56,3 @@ return Math.random().toString(36).slice(2);

files,
include: [],
include: Array.isArray(alwaysInclude) ? alwaysInclude : [],
};

@@ -59,0 +59,0 @@ fs.writeFileSync(tmpTsconfigPath, JSON.stringify(tmpTsconfig, null, 2));

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