New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@sindresorhus/tsconfig

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sindresorhus/tsconfig - npm Package Compare versions

Comparing version 2.0.0 to 3.0.0

4

package.json
{
"name": "@sindresorhus/tsconfig",
"version": "2.0.0",
"version": "3.0.0",
"description": "Shared TypeScript config for my projects",

@@ -14,3 +14,3 @@ "license": "MIT",

"engines": {
"node": ">=12"
"node": ">=14"
},

@@ -17,0 +17,0 @@ "files": [

@@ -7,6 +7,8 @@ # tsconfig

```sh
npm install --save-dev @sindresorhus/tsconfig
```
$ npm install --save-dev @sindresorhus/tsconfig
```
*This config requires TypeScript 4.7 or later.*
## Usage

@@ -18,3 +20,3 @@

{
"extends": "@sindresorhus/tsconfig/tsconfig.json",
"extends": "@sindresorhus/tsconfig",
"compilerOptions": {

@@ -30,3 +32,3 @@ "outDir": "dist"

{
"extends": "@sindresorhus/tsconfig/tsconfig.json",
"extends": "@sindresorhus/tsconfig",
"compilerOptions": {

@@ -33,0 +35,0 @@ "outDir": "dist",

@@ -6,11 +6,10 @@ {

"module": "ES2020",
"target": "ES2019", // Node.js 12
"module": "node16",
"moduleDetection": "force",
"target": "ES2020", // Node.js 14
"lib": [
"ES2019",
"ES2020.String",
"DOM",
"DOM.Iterable"
"DOM.Iterable",
"ES2020"
],
"moduleResolution": "node",
"allowSyntheticDefaultImports": true, // To provide backwards compatibility, Node.js allows you to import most CommonJS packages with a default import. This flag tells TypeScript that it's okay to use import on CommonJS modules.

@@ -17,0 +16,0 @@ "resolveJsonModule": false, // ESM doesn't yet support JSON modules.

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