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 1.0.0 to 1.1.0

12

package.json
{
"name": "typescript-strictly-typed",
"version": "1.0.0",
"version": "1.1.0",
"description": "Enable configurations for strictly typed TypeScript, ESLint or TSLint, and optionally Angular.",

@@ -53,10 +53,10 @@ "funding": {

"@types/minimist": "1.2.0",
"@types/node": "12.12.24",
"@typescript-eslint/eslint-plugin": "2.15.0",
"@typescript-eslint/parser": "2.15.0",
"copyfiles": "2.1.1",
"@types/node": "12.12.25",
"@typescript-eslint/eslint-plugin": "2.17.0",
"@typescript-eslint/parser": "2.17.0",
"copyfiles": "2.2.0",
"eslint": "6.8.0",
"rimraf": "3.0.0",
"typescript": "3.7.4"
"typescript": "3.7.5"
}
}

@@ -130,4 +130,8 @@ # TypeScript Strictly Typed

### Changelog
[Changelog available here](./CHANGELOG.md).
## License
MIT

@@ -26,4 +26,26 @@ "use strict";

config.compilerOptions.strict = true;
/* Clean up options included in strict mode */
if (config.compilerOptions.alwaysStrict) {
delete config.compilerOptions.alwaysStrict;
}
if (config.compilerOptions.noImplicitAny) {
delete config.compilerOptions.noImplicitAny;
}
if (config.compilerOptions.noImplicitThis) {
delete config.compilerOptions.noImplicitThis;
}
if (config.compilerOptions.strictBindCallApply) {
delete config.compilerOptions.strictBindCallApply;
}
if (config.compilerOptions.strictFunctionTypes) {
delete config.compilerOptions.strictFunctionTypes;
}
if (config.compilerOptions.strictNullChecks) {
delete config.compilerOptions.strictNullChecks;
}
if (config.compilerOptions.strictPropertyInitialization) {
delete config.compilerOptions.strictPropertyInitialization;
}
return config_utils_1.saveConfig(cwd, file, config);
}
exports.default = enableTypescriptStrict;
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