Socket
Socket
Sign inDemoInstall

pkg-types

Package Overview
Dependencies
Maintainers
2
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pkg-types - npm Package Compare versions

Comparing version 0.1.2 to 0.1.3

CHANGELOG.md

2

lib/index.d.ts
export { TSConfig } from './tsconfig'
export { PackageJSON } from './packagejson'
export * from './packagejson'
import type { CompilerOptions, TypeAcquisition } from 'typescript'
type StripEnums<T extends Record<string, any>> = {
[K in keyof T]: T[K] extends boolean
? T[K]
: T[K] extends string
? T[K]
: T[K] extends object
? T[K]
: T[K] extends Array<any>
? T[K]
: T[K] extends undefined
? undefined
: any
}
export interface TSConfig {
compilerOptions: CompilerOptions;
exclude: string[];
compileOnSave: boolean;
extends: string;
files: string[];
include: string[];
typeAcquisition: TypeAcquisition
compilerOptions?: StripEnums<CompilerOptions>
exclude?: string[]
compileOnSave?: boolean
extends?: string
files?: string[]
include?: string[]
typeAcquisition?: TypeAcquisition
}
{
"name": "pkg-types",
"version": "0.1.2",
"version": "0.1.3",
"description": "TypeScript definitions for tsconfig.json and package.json",

@@ -5,0 +5,0 @@ "license": "MIT",

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