Socket
Socket
Sign inDemoInstall

@lerna/create

Package Overview
Dependencies
Maintainers
4
Versions
144
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.11 to 3.0.0-beta.12

25

CHANGELOG.md

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

<a name="3.0.0-beta.12"></a>
# [3.0.0-beta.12](https://github.com/lerna/lerna/compare/v3.0.0-beta.11...v3.0.0-beta.12) (2018-03-30)
### Bug Fixes
* **create:** Silently ignore missing builtin npmrc ([1523520](https://github.com/lerna/lerna/commit/1523520)), closes [#1353](https://github.com/lerna/lerna/issues/1353)
### Features
* **package:** Add Map-like get/set methods, remove raw json getter ([707d1f0](https://github.com/lerna/lerna/commit/707d1f0))
* **project:** Merge `package` and `packageJson` into `manifest` ([9a47ff7](https://github.com/lerna/lerna/commit/9a47ff7))
### BREAKING CHANGES
* **package:** The `Package` class no longer provides direct access to the JSON object
used to construct the instance. Map-like `get()`/`set(val)` methods are
available to modify the internal representation.
<a name="3.0.0-beta.11"></a>

@@ -8,0 +33,0 @@ # [3.0.0-beta.11](https://github.com/lerna/lerna/compare/v3.0.0-beta.10...v3.0.0-beta.11) (2018-03-29)

2

index.js

@@ -291,3 +291,3 @@ "use strict";

// allow --homepage override, but otherwise use root pkg.homepage, if it exists
let { homepage = this.project.package.json.homepage } = this.options;
let { homepage = this.project.manifest.get("homepage") } = this.options;

@@ -294,0 +294,0 @@ if (!homepage) {

@@ -9,6 +9,15 @@ "use strict";

function builtinNpmrc() {
const globalNpmBin = path.resolve(path.dirname(process.execPath), "npm");
let resolvedPath = "";
// e.g., /usr/local/lib/node_modules/npm/npmrc
return path.resolve(fs.realpathSync(globalNpmBin), "../../npmrc");
try {
// e.g., /usr/local/lib/node_modules/npm/npmrc
resolvedPath = path.resolve(
fs.realpathSync(path.join(path.dirname(process.execPath), "npm")),
"../../npmrc"
);
} catch (err) {
// ignore
}
return resolvedPath;
}
{
"name": "@lerna/create",
"version": "3.0.0-beta.11",
"version": "3.0.0-beta.12",
"description": "Create a new lerna-managed package",

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

"dependencies": {
"@lerna/child-process": "^3.0.0-beta.11",
"@lerna/command": "^3.0.0-beta.11",
"@lerna/npm-conf": "^3.0.0-beta.8",
"@lerna/child-process": "^3.0.0-beta.12",
"@lerna/command": "^3.0.0-beta.12",
"@lerna/npm-conf": "^3.0.0-beta.12",
"@lerna/validation-error": "^3.0.0-beta.10",

@@ -52,3 +52,3 @@ "camelcase": "^4.1.0",

},
"gitHead": "197a09d58322e86f589ef7839c2438f830d72476"
"gitHead": "05dce5c0e4bca8dc894a99ed28337c85c211b37c"
}
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