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 2.5.0 to 2.6.0

4

config-utils.js

@@ -52,3 +52,3 @@ "use strict";

case '.yml':
configParsed = yaml.safeLoad(configRaw);
configParsed = yaml.load(configRaw);
break;

@@ -86,3 +86,3 @@ case '.js':

case '.yml':
configStringified = yaml.safeDump(config, { indent: 2 });
configStringified = yaml.dump(config, { indent: 2 });
break;

@@ -89,0 +89,0 @@ }

{
"name": "typescript-strictly-typed",
"version": "2.5.0",
"version": "2.6.0",
"description": "Enable configurations for strictly typed TypeScript, ESLint or TSLint, and optionally Angular.",

@@ -49,3 +49,3 @@ "funding": {

"chalk": "4.1.0",
"js-yaml": "3.14.1",
"js-yaml": "4.0.0",
"json5": "2.1.3",

@@ -56,10 +56,10 @@ "pkg-up": "3.1.0",

"devDependencies": {
"@types/js-yaml": "3.12.5",
"@types/js-yaml": "4.0.0",
"@types/json5": "0.0.30",
"@types/node": "14.14.17",
"@types/node": "14.14.21",
"@types/semver": "7.3.4",
"@typescript-eslint/eslint-plugin": "4.11.1",
"@typescript-eslint/parser": "4.11.1",
"@typescript-eslint/eslint-plugin": "4.13.0",
"@typescript-eslint/parser": "4.13.0",
"copyfiles": "2.4.1",
"eslint": "7.16.0",
"eslint": "7.17.0",
"rimraf": "3.0.2",

@@ -66,0 +66,0 @@ "typescript": "4.1.3"

@@ -43,3 +43,2 @@ # TypeScript Strictly Typed

- `noImplicitReturns`
- `noUncheckedIndexedAccess`
- `forceConsistentCasingInFileNames`

@@ -46,0 +45,0 @@ - [ESLint rules](https://github.com/typescript-eslint/typescript-eslint/tree/master/packages/eslint-plugin)

@@ -9,3 +9,2 @@ "use strict";

* - `noImplicitReturns`
* - `noUncheckedIndexedAccess`
* - `forceConsistentCasingInFileNames`

@@ -34,5 +33,7 @@ * {@link https://www.typescriptlang.org/docs/handbook/compiler-options.html}

config.compilerOptions.forceConsistentCasingInFileNames = true;
if (config_utils_1.checkDependencyVersion(cwd, 'typescript', '>=4.1.0')) {
config.compilerOptions.noUncheckedIndexedAccess = true;
/*
if (checkDependencyVersion(cwd, 'typescript', '>=4.1.0')) {
config.compilerOptions.noUncheckedIndexedAccess = true;
}
*/
/* Clean up options included in strict mode */

@@ -39,0 +40,0 @@ if (config.compilerOptions.alwaysStrict) {

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