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

@package-json/types

Package Overview
Dependencies
Maintainers
0
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.6 to 0.0.7

26

dist/index.d.ts

@@ -572,4 +572,26 @@ /* eslint-disable */

declare const definePackageJson: (json: JSONSchemaForNPMPackageJsonFiles) => JSONSchemaForNPMPackageJsonFiles;
/**
* The module path prefix that is resolved when the module specifier starts with "name/", set to "./*" to allow external modules to import any subpath.
*
* This interface was referenced by `undefined`'s JSON-Schema definition
* via the `patternProperty` "^\./.+".
*/
type PatchedPackageExportsEntry = Record<`./${string}` | ({} & string), PackageExportsEntry | PackageExportsFallback>;
/**
* The "exports" field is used to restrict external access to non-exported module files, also enables a module to import itself using "name".
*/
type PatchedExports = {
/**
* The module path that is resolved when the module specifier matches "name", shadows the "main" field.
*/
'.'?: PackageExportsEntry | PackageExportsFallback;
'./package.json'?: './package.json';
} & PatchedPackageExportsEntry | (null | string) | PackageExportsEntryObject1 | PackageExportsFallback1;
export { type Dependency, type FundingUrl, type FundingWay, type JSONSchemaForNPMPackageJsonFiles, type License, type PackageExportsEntry, type PackageExportsEntryObject, type PackageExportsEntryObject1, type PackageExportsEntryPath, type PackageExportsFallback, type PackageExportsFallback1, type JSONSchemaForNPMPackageJsonFiles as PackageJSON, type JSONSchemaForNPMPackageJsonFiles as PackageJson, type Person, type Person1, type ScriptsInstallAfter, type ScriptsPublishAfter, type ScriptsRestart, type ScriptsStart, type ScriptsStop, type ScriptsTest, type ScriptsUninstallBefore, type ScriptsVersionBefore, definePackageJson as default, definePackageJson as definePackageJSON, definePackageJson };
type PackageJson = {
exports?: PatchedExports;
} & Omit<JSONSchemaForNPMPackageJsonFiles, 'exports'>;
declare const definePackageJson: (json: PackageJson) => PackageJson;
export { type Dependency, type FundingUrl, type FundingWay, type JSONSchemaForNPMPackageJsonFiles, type License, type PackageExportsEntry, type PackageExportsEntryObject, type PackageExportsEntryObject1, type PackageExportsEntryPath, type PackageExportsFallback, type PackageExportsFallback1, type PackageJson as PackageJSON, type PackageJson, type Person, type Person1, type ScriptsInstallAfter, type ScriptsPublishAfter, type ScriptsRestart, type ScriptsStart, type ScriptsStop, type ScriptsTest, type ScriptsUninstallBefore, type ScriptsVersionBefore, definePackageJson as default, definePackageJson as definePackageJSON, definePackageJson };

2

package.json
{
"name": "@package-json/types",
"type": "module",
"version": "0.0.6",
"version": "0.0.7",
"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