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

@verdaccio/types

Package Overview
Dependencies
Maintainers
4
Versions
145
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@verdaccio/types - npm Package Compare versions

Comparing version 11.0.0-6-next.10 to 11.0.0-6-next.11

36

CHANGELOG.md
# Change Log
## 11.0.0-6-next.11
### Major Changes
- 82cb0f2b: feat!: config.logs throw an error, logging config not longer accept array or logs property
### 💥 Breaking change
This is valid
```yaml
log: { type: stdout, format: pretty, level: http }
```
This is invalid
```yaml
logs: { type: stdout, format: pretty, level: http }
```
or
```yaml
logs:
- [{ type: stdout, format: pretty, level: http }]
```
### Minor Changes
- 5167bb52: feat: ui search support for remote, local and private packages
The command `npm search` search globally and return all matches, with this improvement the user interface
is powered with the same capabilities.
The UI also tag where is the origin the package with a tag, also provide the latest version and description of the package.
## 11.0.0-6-next.10

@@ -4,0 +40,0 @@

70

index.d.ts

@@ -43,2 +43,4 @@ /// <reference types="node" />

host?: string;
// deprecated
basename?: string;
scope?: string;

@@ -49,2 +51,3 @@ base: string;

logoURI?: string;
flags: FlagsConfig;
} & CommonWebConf;

@@ -183,2 +186,5 @@

/**
* @deprecated use Manifest instead
*/
interface Package {

@@ -198,2 +204,16 @@ _id?: string;

interface Manifest {
_id?: string;
name: string;
versions: Versions;
'dist-tags': GenericBody;
time: GenericBody;
readme?: string;
users?: PackageUsers;
_distfiles: DistFiles;
_attachments: AttachMents;
_uplinks: UpLinks;
_rev: string;
}
interface IUploadTarball extends PassThrough {

@@ -322,6 +342,2 @@ abort(): void;

interface LoggerConf {
[key: string]: LoggerConfItem;
}
interface ListenAddress {

@@ -376,7 +392,7 @@ [key: string]: string;

interface ConfigFlags {
token?: boolean;
search?: boolean;
export type FlagsConfig = {
searchRemote?: boolean;
changePassword?: boolean;
}
};
export type RateLimit = {

@@ -409,5 +425,4 @@ windowMs: number;

uplinks: UpLinksConfList;
// @deprecated in favor of log
logs?: LoggerConf[];
log?: LoggerConf[];
// FUTURE: log should be mandatory
log?: LoggerConfItem;
web?: WebConf;

@@ -431,3 +446,3 @@ auth?: AuthConf;

server?: ServerSettingsConf;
flags?: ConfigFlags;
flags?: FlagsConfig;
}

@@ -449,2 +464,25 @@

type PublisherMaintainer = {
username: string;
email: string;
};
type SearchPackageBody = {
name: string;
scope: string;
description: string;
author: string | PublisherMaintainer;
version: string;
keywords: string | string[] | undefined;
date: string;
links?: {
npm: string; // only include placeholder for URL eg: {url}/{packageName}
homepage?: string;
repository?: string;
bugs?: string;
};
publisher?: any;
maintainers?: PublisherMaintainer[];
};
interface ConfigWithHttps extends Config {

@@ -489,2 +527,3 @@ https: HttpsConf;

removePackage(): Promise<void>;
// @deprecated
updatePackage(

@@ -497,3 +536,10 @@ pkgFileName: string,

): void;
// @deprecated
savePackage(fileName: string, json: Package, callback: CallbackAction): void;
// next packages migration (this list is meant to replace the callback parent functions)
updatePackageNext(
packageName: string,
handleUpdate: (manifest: Package) => Promise<Package>
): Promise<Package>;
savePackageNext(name: string, value: Package): Promise<void>;
}

@@ -500,0 +546,0 @@

6

package.json
{
"name": "@verdaccio/types",
"version": "11.0.0-6-next.10",
"version": "11.0.0-6-next.11",
"description": "verdaccio types definitions",

@@ -41,4 +41,4 @@ "keywords": [

"devDependencies": {
"@types/node": "14.6.0",
"tsd": "0.18.0"
"@types/node": "16.11.21",
"tsd": "0.19.1"
},

@@ -45,0 +45,0 @@ "funding": {

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