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

@yeoman/types

Package Overview
Dependencies
Maintainers
9
Versions
20
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 1.3.0 to 1.4.0

16

package.json
{
"name": "@yeoman/types",
"version": "1.3.0",
"version": "1.4.0",
"private": false,

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

"dependencies": {
"@types/node": "^16.18.26"
"@types/node": "^16.18.26",
"@yeoman/adapter": "^1.6.0"
},
"devDependencies": {
"@types/inquirer": "^9.0.3",
"inquirer": "^9.3.6",
"@yeoman/adapter": "^1.6.0",
"mem-fs": "^3.0.0",

@@ -38,4 +38,3 @@ "mem-fs-editor": "^10.0.2"

"peerDependencies": {
"@types/inquirer": "^9.0.3",
"inquirer": "^9.2.2",
"@yeoman/adapter": "^1.6.0",
"mem-fs": "^3.0.0",

@@ -45,5 +44,2 @@ "mem-fs-editor": "^10.0.2"

"peerDependenciesMeta": {
"inquirer": {
"optional": true
},
"mem-fs": {

@@ -67,3 +63,3 @@ "optional": true

},
"gitHead": "27aa4d0f591e1591ba0cadff64664e67dea32e5b"
"gitHead": "7c9c24374b1b166bd01b3dbcfdd6ce6976de87b3"
}

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

import type { GetGeneratorConstructor } from '../generator/utils.js';
import type { InputOutputAdapter } from './adapter.js';
import type { InputOutputAdapter } from '@yeoman/adapter/types';
import type {

@@ -76,5 +76,5 @@ BaseGeneratorMeta,

emit(eventName: string | symbol, ...args: any[]): boolean;
on(eventName: string | symbol, listener: (...args: any[]) => void): unknown;
once(eventName: string | symbol, listener: (...args: any[]) => void): unknown;
emit(eventName: string | symbol, ...arguments_: any[]): boolean;
on(eventName: string | symbol, listener: (...arguments_: any[]) => void): unknown;
once(eventName: string | symbol, listener: (...arguments_: any[]) => void): unknown;

@@ -183,3 +183,7 @@ applyTransforms(transformStreams: Transform[], options?: ApplyTransformsOptions): Promise<void>;

*/
queueTask(priority: string, task: (...args: any[]) => void | Promise<void>, options?: { once?: string; startQueue?: boolean }): void;
queueTask(
priority: string,
task: (...arguments_: any[]) => void | Promise<void>,
options?: { once?: string; startQueue?: boolean },
): void;

@@ -186,0 +190,0 @@ /**

@@ -74,3 +74,3 @@ import type { BaseGenerator, GetGeneratorConstructor, GetGeneratorOptions } from '../index.js';

/** Intantiate the Generator `env.instantiate(await meta.importGenerator())` */
instantiate: (args?: string[], options?: any) => Promise<BaseGenerator>;
instantiate: (arguments_?: string[], options?: any) => Promise<BaseGenerator>;
/** Intantiate the Generator passing help option */

@@ -77,0 +77,0 @@ instantiateHelp: () => Promise<BaseGenerator>;

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

emit(eventName: string | symbol, ...args: any[]): boolean;
on(eventName: string | symbol, listener: (...args: any[]) => void): unknown;
once(eventName: string | symbol, listener: (...args: any[]) => void): unknown;
emit(eventName: string | symbol, ...arguments_: any[]): boolean;
on(eventName: string | symbol, listener: (...arguments_: any[]) => void): unknown;
once(eventName: string | symbol, listener: (...arguments_: any[]) => void): unknown;

@@ -42,2 +42,3 @@ _postConstruct?(): Promise<void>;

F extends GeneratorFeatures = GeneratorFeatures,
> = (new (args?: string[], options?: O, features?: F) => BaseGenerator<O, F>) & (new (options?: O, features?: F) => BaseGenerator<O, F>);
> = (new (arguments_?: string[], options?: O, features?: F) => BaseGenerator<O, F>) &
(new (options?: O, features?: F) => BaseGenerator<O, F>);

@@ -1,4 +0,3 @@

export * from './environment/adapter.js';
export * from '@yeoman/adapter/types';
export * from './environment/environment.js';
export * from './environment/logger.js';
export * from './environment/methods-options.js';

@@ -5,0 +4,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