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

yeoman-environment

Package Overview
Dependencies
Maintainers
6
Versions
128
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

yeoman-environment - npm Package Compare versions

Comparing version 1.4.0 to 1.5.1

10

lib/environment.js

@@ -243,5 +243,13 @@ 'use strict';

// Legacy yeoman-generator `#hookFor()` function is passing the generator path as part
// of the namespace. If we find a path delimiter in the namespace, then ignore the
// last part of the namespace.
var parts = namespace.split(':');
if (parts.length > 1 && parts[parts.length - 1].indexOf('/') >= 0) {
parts.pop();
namespace = parts.join(':');
}
return this.store.get(namespace) ||
this.store.get(this.alias(namespace)) ||
this.get(namespace.split(':').slice(0, -1).join(':')) ||
this.getByPath(namespace);

@@ -248,0 +256,0 @@ };

2

package.json
{
"name": "yeoman-environment",
"version": "1.4.0",
"version": "1.5.1",
"description": "Handles the lifecyle and bootstrapping of generators in a specific environment",

@@ -5,0 +5,0 @@ "homepage": "http://yeoman.io",

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