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

typescript-strictly-typed

Package Overview
Dependencies
Maintainers
1
Versions
61
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

typescript-strictly-typed - npm Package Compare versions

Comparing version 3.13.0 to 3.13.1

9

config-utils.js

@@ -28,2 +28,11 @@ import { dump, load } from "js-yaml";

}
export function getSource(cwd, file) {
try {
const filePath = join(cwd, file);
return readFileSync(filePath, { encoding: "utf8" });
}
catch {
return "";
}
}
/**

@@ -30,0 +39,0 @@ * Get the config of a tool

6

eslint-strict.js
import {} from "jsonc-parser";
import { dependencyExists, findConfig, getConfig, modifyJSON, saveConfig } from "./config-utils.js";
import { dependencyExists, findConfig, getConfig, getSource, modifyJSON, saveConfig } from "./config-utils.js";
import { logWarning } from "./log-utils.js";

@@ -38,3 +38,3 @@ /**

config = {
source: file,
source: getSource(cwd, file),
raw: JSON.stringify({ rules: {} }),

@@ -50,3 +50,3 @@ json: { rules: {} },

config = {
source: file,
source: getSource(cwd, file),
raw: JSON.stringify(packageJSONConfig.json.eslintConfig),

@@ -53,0 +53,0 @@ json: packageJSONConfig.json.eslintConfig,

{
"name": "typescript-strictly-typed",
"version": "3.13.0",
"version": "3.13.1",
"description": "Enable configurations for strictly typed TypeScript, ESLint, and optionally Angular.",

@@ -5,0 +5,0 @@ "funding": {

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