Socket
Socket
Sign inDemoInstall

@yeoman/types

Package Overview
Dependencies
Maintainers
9
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@yeoman/types - npm Package Compare versions

Comparing version 0.2.0 to 0.3.0

4

package.json
{
"name": "@yeoman/types",
"version": "0.2.0",
"version": "0.3.0",
"private": false,

@@ -58,3 +58,3 @@ "description": "Common API for yeoman's generator/environment stack",

},
"gitHead": "1982816cfe6af4e92f999e344cf9b8539ff308eb"
"gitHead": "6d33420db41115e6d1867dede74000470d245a6e"
}

@@ -5,3 +5,3 @@ import type { Transform } from 'node:stream';

import type { GeneratorBaseOptions } from '../generator/generator-options.js';
import type { BaseGeneratorOptions } from '../generator/generator-options.js';
import type { BaseGenerator } from '../generator/generator.js';

@@ -16,3 +16,3 @@ import type { GetGeneratorConstructor, GetGeneratorOptions } from '../generator/utils.js';

export type BaseEnvironmentOptions = GeneratorBaseOptions & {
export type BaseEnvironmentOptions = BaseGeneratorOptions & {
/**

@@ -31,3 +31,3 @@ * The working-directory of the environment.

*/
sharedOptions?: GeneratorBaseOptions;
sharedOptions?: BaseGeneratorOptions;

@@ -47,3 +47,3 @@ /**

export type BaseEnvironment<A = InputOutputAdapter, S extends Store = Store> = {
export type BaseEnvironment<A = InputOutputAdapter, S extends Store<MemFsEditorFile> = Store<MemFsEditorFile>> = {
cwd: string;

@@ -60,3 +60,3 @@ adapter: A;

args: string[],
options?: Partial<Omit<GetGeneratorOptions<G>, 'env' | 'resolved' | 'resolvec'>>,
options?: Partial<Omit<GetGeneratorOptions<G>, 'env' | 'resolved' | 'namespace'>>,
): Promise<G>;

@@ -67,3 +67,3 @@

args: string[],
options?: Partial<Omit<GetGeneratorOptions<G>, 'env' | 'resolved' | 'resolvec'>>,
options?: Partial<Omit<GetGeneratorOptions<G>, 'env' | 'resolved' | 'namespace'>>,
): Promise<G>;

@@ -106,3 +106,3 @@

*/
register(filePath: string, namespace?: string, packagePath?: string): Promise<void>;
register(filePath: string, namespace?: string, packagePath?: string): void;

@@ -109,0 +109,0 @@ /**

@@ -5,3 +5,3 @@ import type { BaseEnvironment } from '../environment/environment.js';

export type GeneratorBaseOptions = {
export type BaseGeneratorOptions = {
/**

@@ -62,3 +62,3 @@ * Skip package manager install task.

export type GeneratorOptions = GeneratorBaseOptions &
export type GeneratorOptions = BaseGeneratorOptions &
GeneratorNamespace &

@@ -65,0 +65,0 @@ (

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