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

@tsconfig/bun

Package Overview
Dependencies
Maintainers
2
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tsconfig/bun - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

2

package.json

@@ -14,3 +14,3 @@ {

],
"version": "1.0.3"
"version": "1.0.4"
}

@@ -22,28 +22,31 @@ ### A base TSConfig for working with Bun.

{
// This is based on https://bun.sh/docs/runtime/typescript#recommended-compileroptions
// This is based on https://bun.sh/docs/typescript#suggested-compileroptions
"$schema": "https://json.schemastore.org/tsconfig",
"display": "Bun",
"docs": "https://bun.sh/docs/runtime/typescript",
"docs": "https://bun.sh/docs/typescript",
"compilerOptions": {
// enable latest features
"lib": [
"ESNext"
],
"module": "esnext",
"target": "esnext",
// Enable latest features
"lib": ["ESNext"],
"target": "ESNext",
"module": "ESNext",
"moduleDetection": "force",
"jsx": "react-jsx",
"allowJs": true,
// if TS 5.x+
// Bundler mode
"moduleResolution": "bundler",
"allowImportingTsExtensions": true,
"verbatimModuleSyntax": true,
"noEmit": true,
"allowImportingTsExtensions": true,
"moduleDetection": "force",
// support JSX
"jsx": "react-jsx",
// Best practices
"strict": true,
"skipLibCheck": true,
"noFallthroughCasesInSwitch": true,
// best practices
"strict": true,
"forceConsistentCasingInFileNames": true,
"skipLibCheck": true
// Some stricter flags
"noUnusedLocals": true,
"noUnusedParameters": true,
"noPropertyAccessFromIndexSignature": true
}

@@ -50,0 +53,0 @@ }

{
// This is based on https://bun.sh/docs/runtime/typescript#recommended-compileroptions
// This is based on https://bun.sh/docs/typescript#suggested-compileroptions
"$schema": "https://json.schemastore.org/tsconfig",
"display": "Bun",
"docs": "https://bun.sh/docs/runtime/typescript",
"docs": "https://bun.sh/docs/typescript",
"compilerOptions": {
// enable latest features
"lib": [
"ESNext"
],
"module": "esnext",
"target": "esnext",
// Enable latest features
"lib": ["ESNext"],
"target": "ESNext",
"module": "ESNext",
"moduleDetection": "force",
"jsx": "react-jsx",
"allowJs": true,
// if TS 5.x+
// Bundler mode
"moduleResolution": "bundler",
"allowImportingTsExtensions": true,
"verbatimModuleSyntax": true,
"noEmit": true,
"allowImportingTsExtensions": true,
"moduleDetection": "force",
// support JSX
"jsx": "react-jsx",
// Best practices
"strict": true,
"skipLibCheck": true,
"noFallthroughCasesInSwitch": true,
// best practices
"strict": true,
"forceConsistentCasingInFileNames": true,
"skipLibCheck": true
// Some stricter flags
"noUnusedLocals": true,
"noUnusedParameters": true,
"noPropertyAccessFromIndexSignature": true
}
}
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