Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@package-json/types

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@package-json/types - npm Package Compare versions

Comparing version 0.0.10 to 0.0.11

13

dist/index.d.ts

@@ -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 = {

2

package.json
{
"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",

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