typescript-strictly-typed
Advanced tools
Comparing version 2.5.0 to 2.6.0
@@ -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) { |
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
478
25893
133
+ Addedargparse@2.0.1(transitive)
+ Addedjs-yaml@4.0.0(transitive)
- Removedargparse@1.0.10(transitive)
- Removedesprima@4.0.1(transitive)
- Removedjs-yaml@3.14.1(transitive)
- Removedsprintf-js@1.0.3(transitive)
Updatedjs-yaml@4.0.0