@package-json/types
Advanced tools
Comparing version 0.0.10 to 0.0.11
@@ -460,6 +460,17 @@ /* eslint-disable */ | ||
interface Export { | ||
[k: string]: Export | string | undefined; | ||
default?: Export | string; | ||
import?: Export | string; | ||
require?: Export | string; | ||
types?: Export | string; | ||
} | ||
interface TopLevelExport extends Record<`./${string}`, Export | string | undefined> { | ||
'.'?: Export | string; | ||
'./package.json'?: './package.json'; | ||
} | ||
/** | ||
* The "exports" field is used to restrict external access to non-exported module files, also enables a module to import itself using "name". | ||
*/ | ||
type Exports = null | XOR<Record<string, unknown>, string, string[]>; | ||
type Exports = null | XOR<XOR<TopLevelExport, Export>, `./${string}`, `./${string}`[]>; | ||
@@ -466,0 +477,0 @@ type PackageJson = { |
{ | ||
"name": "@package-json/types", | ||
"type": "module", | ||
"version": "0.0.10", | ||
"version": "0.0.11", | ||
"description": "Auto-generated package.json types.", | ||
@@ -6,0 +6,0 @@ "author": "藍+85CD", |
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
17796
479