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

@lerna/create

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

@lerna/create - npm Package Compare versions

Comparing version 3.0.0-beta.9 to 3.0.0-beta.10

17

CHANGELOG.md

@@ -6,2 +6,19 @@ # Change Log

<a name="3.0.0-beta.10"></a>
# [3.0.0-beta.10](https://github.com/lerna/lerna/compare/v3.0.0-beta.9...v3.0.0-beta.10) (2018-03-27)
### Features
* **commands:** Delay require of command instantiation ([a1284f3](https://github.com/lerna/lerna/commit/a1284f3))
### BREAKING CHANGES
* **commands:** The default export of command packages is now a factory, not the subclass (which is now a named export).
<a name="3.0.0-beta.9"></a>

@@ -8,0 +25,0 @@ # [3.0.0-beta.9](https://github.com/lerna/lerna/compare/v3.0.0-beta.8...v3.0.0-beta.9) (2018-03-24)

4

command.js
"use strict";
const CreateCommand = require(".");
/**

@@ -91,3 +89,3 @@ * @see https://github.com/yargs/yargs/blob/master/docs/advanced.md#providing-a-command-module

exports.handler = function handler(argv) {
return new CreateCommand(argv);
return require(".")(argv);
};

@@ -33,2 +33,8 @@ "use strict";

module.exports = factory;
function factory(argv) {
return new CreateCommand(argv);
}
class CreateCommand extends Command {

@@ -503,2 +509,2 @@ initialize() {

module.exports = CreateCommand;
module.exports.CreateCommand = CreateCommand;
{
"name": "@lerna/create",
"version": "3.0.0-beta.9",
"version": "3.0.0-beta.10",
"description": "Create a new lerna-managed package",

@@ -36,5 +36,5 @@ "keywords": [

"@lerna/child-process": "^3.0.0-beta.0",
"@lerna/command": "^3.0.0-beta.9",
"@lerna/command": "^3.0.0-beta.10",
"@lerna/npm-conf": "^3.0.0-beta.8",
"@lerna/validation-error": "^3.0.0-beta.0",
"@lerna/validation-error": "^3.0.0-beta.10",
"camelcase": "^4.1.0",

@@ -52,3 +52,3 @@ "dedent": "^0.7.0",

},
"gitHead": "70528f23cad0186fdf7529fe32148cc1eff21272"
"gitHead": "c52f8713303b246e6d701950cd78ca6f9bd55503"
}
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