@ts-type/package-dts
Advanced tools
Comparing version 2.0.7 to 2.0.8
@@ -6,2 +6,12 @@ # Change Log | ||
## [2.0.8](https://github.com/bluelovers/ws-ts-type/compare/@ts-type/package-dts@2.0.7...@ts-type/package-dts@2.0.8) (2022-10-10) | ||
### 🔖 Miscellaneous | ||
* . ([8ea01fd](https://github.com/bluelovers/ws-ts-type/commit/8ea01fd2c12b7cb0d853532b4e50af937128613c)) | ||
## [2.0.7](https://github.com/bluelovers/ws-ts-type/compare/@ts-type/package-dts@2.0.6...@ts-type/package-dts@2.0.7) (2022-10-10) | ||
@@ -8,0 +18,0 @@ |
@@ -1,9 +0,9 @@ | ||
import { PackageExportsEntry, PackageExportsEntryObject, PackageExportsFallback, JSONSchemaForNPMPackageJsonFiles2 as CoreProperties } from '../../types/package.json'; | ||
import { PackageExportsEntryObject, PackageExportsFallback, PackageExportsEntryPath } from '../../types/package.json'; | ||
import { ITSPartialRecord } from 'ts-type/lib/type/record/partial'; | ||
type _IConditions = 'node-addons' | 'node' | 'default' | 'types' | 'import' | 'require'; | ||
interface _IPackageExportsEntryObjectExtend extends ITSPartialRecord<_IConditions, PackageExportsEntry | PackageExportsFallback> { | ||
interface _IPackageExportsEntryObjectExtend extends ITSPartialRecord<_IConditions, IPackageExportsValue> { | ||
} | ||
declare module '../../types/package.json' { | ||
interface PackageExportsEntryObject extends _IPackageExportsEntryObjectExtend { | ||
[k: string]: PackageExportsEntry | PackageExportsFallback; | ||
[k: string]: IPackageExportsValue; | ||
} | ||
@@ -13,2 +13,4 @@ } | ||
} | ||
export type IPackageExportsValueFallback = PackageExportsEntryPath | PackageExportsFallback; | ||
export type IPackageExportsValue = IPackageExportsValueFallback | IPackageExportsEntryObject; | ||
/** | ||
@@ -20,7 +22,7 @@ * The module path prefix that is resolved when the module specifier starts with "name/", set to "./*" to allow external modules to import any subpath. | ||
*/ | ||
export interface IPackageJsonExportsEntryObjectRoot extends ITSPartialRecord<'default' | './package.json' | `./${string}` | _IConditions, PackageExportsEntry | PackageExportsFallback | IPackageExportsEntryObject> { | ||
export interface IPackageJsonExportsEntryObjectRoot extends ITSPartialRecord<'default' | './package.json' | `./${string}` | _IConditions, IPackageExportsValue> { | ||
/** | ||
* The module path that is resolved when the module specifier matches "name", shadows the "main" field. | ||
*/ | ||
"."?: PackageExportsEntry | PackageExportsFallback | IPackageExportsEntryObject; | ||
"."?: IPackageExportsValue; | ||
/** | ||
@@ -32,7 +34,7 @@ * The module path prefix that is resolved when the module specifier starts with "name/", set to "./*" to allow external modules to import any subpath. | ||
*/ | ||
[k: string]: PackageExportsEntry | PackageExportsFallback | IPackageExportsEntryObject; | ||
[k: string]: IPackageExportsValue; | ||
} | ||
export interface IPackageJsonExports { | ||
exports?: IPackageJsonExportsEntryObjectRoot | CoreProperties["exports"]; | ||
exports?: IPackageExportsValueFallback | IPackageJsonExportsEntryObjectRoot; | ||
} | ||
export {}; |
{ | ||
"name": "@ts-type/package-dts", | ||
"version": "2.0.7", | ||
"version": "2.0.8", | ||
"private": false, | ||
@@ -75,3 +75,3 @@ "description": "A Typescript type definition for NPM package json", | ||
}, | ||
"gitHead": "122ee606a2a51957a589d2183f7db79ec81a3123", | ||
"gitHead": "43b5ab99d930cf25cc4b8f36133c575dba9c7017", | ||
"sharedDependencies": { | ||
@@ -78,0 +78,0 @@ "eslint-config-bluelovers": "latest" |
Sorry, the diff of this file is not supported yet
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
995793
7828