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

yeoman-generator

Package Overview
Dependencies
Maintainers
10
Versions
167
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

yeoman-generator - npm Package Compare versions

Comparing version 6.0.0-rc.4 to 6.0.0-rc.5

17

dist/actions/lifecycle.js

@@ -288,3 +288,18 @@ /* eslint-disable @typescript-eslint/member-ordering */

const thisAny = this;
const beforeQueueCallback = (this.features.taskPrefix && thisAny.beforeQueue) ?? thisAny._beforeQueue;
const thisPrototype = Object.getPrototypeOf(thisAny);
let beforeQueueCallback;
if (this.features.taskPrefix) {
// We want beforeQueue if beforeQueue belongs to the object or to the imediatelly extended class.
beforeQueueCallback =
Object.hasOwn(thisAny, 'beforeQueue') || Object.hasOwn(thisPrototype, 'beforeQueue')
? thisAny.beforeQueue
: undefined;
}
if (!beforeQueueCallback) {
// Fallback to _beforeQueue,
beforeQueueCallback =
Object.hasOwn(thisAny, '_beforeQueue') || Object.hasOwn(thisPrototype, '_beforeQueue')
? thisAny._beforeQueue
: undefined;
}
if (beforeQueueCallback) {

@@ -291,0 +306,0 @@ await beforeQueueCallback.call(this);

6

package.json
{
"name": "yeoman-generator",
"version": "6.0.0-rc.4",
"version": "6.0.0-rc.5",
"description": "Rails-inspired generator system that provides scaffolding for your apps",

@@ -59,3 +59,3 @@ "keywords": [

"debug": "^4.1.1",
"execa": "^7.1.1",
"execa": "^8.0.1",
"github-username": "^7.0.0",

@@ -67,3 +67,3 @@ "json-schema": "^0.4.0",

"minimist": "^1.2.8",
"read-pkg-up": "^9.1.0",
"read-pkg-up": "^10.1.0",
"semver": "^7.5.0",

@@ -70,0 +70,0 @@ "simple-git": "^3.18.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