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

pnpm

Package Overview
Dependencies
Maintainers
1
Versions
1075
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pnpm - npm Package Compare versions

Comparing version 0.19.0 to 0.20.0

lib/runtime_error.js

7

HISTORY.md

@@ -0,1 +1,8 @@

## [v0.20.0]
> Apr 3, 2016
- [#155] - Print user-friendly errors when `package.json` isn't present.
[v0.20.0]: https://github.com/rstacruz/pnpm/compare/v0.19.0...v0.20.0
## [v0.19.0]

@@ -2,0 +9,0 @@ > Mar 22, 2016

4

lib/cmd/install.js

@@ -13,2 +13,3 @@ var readPkgUp = require('read-pkg-up');

var linkPeers = require('../install/link_peers');
var runtimeError = require('../runtime_error');

@@ -44,2 +45,3 @@ /*

} else {
if (!pkg.pkg) throw runtimeError('No package.json found');
packagesToInstall = assign({}, pkg.pkg.dependencies || {});

@@ -82,2 +84,2 @@ if (!isProductionInstall) assign(packagesToInstall, pkg.pkg.devDependencies || {});

module.exports = installCmd;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL2xpYn4vY21kL2luc3RhbGwuanMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsSUFBSSxZQUFZLFFBQVEsYUFBUixDQUFaO0FBQ0osSUFBSSxVQUFVLFFBQVEsTUFBUixFQUFnQixPQUFoQjtBQUNkLElBQUksT0FBTyxRQUFRLE1BQVIsRUFBZ0IsSUFBaEI7QUFDWCxJQUFJLFVBQVUsUUFBUSxNQUFSLEVBQWdCLE9BQWhCO0FBQ2QsSUFBSSxTQUFTLFFBQVEsZUFBUixDQUFUO0FBQ0osSUFBSSxNQUFNLFFBQVEsaUJBQVIsQ0FBTjs7QUFFSixJQUFJLFNBQVMsUUFBUSxXQUFSLENBQVQ7QUFDSixJQUFJLGtCQUFrQixRQUFRLHFCQUFSLENBQW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5jd2QoKVxuICAgIGN0eC5yb290ID0gcm9vdFxuICAgIGN0eC5zdG9yZSA9IHJlc29sdmUocm9vdCwgY29uZmlnLnN0b3JlX3BhdGgpXG4gICAgaWYgKCFmbGFncy5xdWlldCkgY3R4LmxvZyA9IGxvZ2dlcigpXG4gICAgZWxzZSBjdHgubG9nID0gZnVuY3Rpb24gKCkgeyByZXR1cm4gZnVuY3Rpb24gKCkge30gfVxuICB9XG5cbiAgZnVuY3Rpb24gc2F2ZVBrZ3MgKHBhY2thZ2VzKSB7XG4gICAgdmFyIHNhdmVUeXBlID0gZ2V0U2F2ZVR5cGUoZmxhZ3MpXG4gICAgaWYgKHNhdmVUeXBlICYmIGluc3RhbGxUeXBlID09PSAnbmFtZWQnKSB7XG4gICAgICB2YXIgaW5wdXROYW1lcyA9IGlucHV0Lm1hcChwa2dOYW1lID0+IG5wYShwa2dOYW1lKS5uYW1lKVxuICAgICAgdmFyIHNhdmVkUGFja2FnZXMgPSBwYWNrYWdlcy5maWx0ZXIocGtnID0+IGlucHV0TmFtZXMuaW5kZXhPZihwa2cubmFtZSkgPiAtMSlcbiAgICAgIHJldHVybiBzYXZlKHBrZywgc2F2ZWRQYWNrYWdlcywgc2F2ZVR5cGUsIGZsYWdzLnNhdmVFeGFjdClcbiAgICB9XG4gIH1cbn1cblxuZnVuY3Rpb24gZ2V0U2F2ZVR5cGUgKGZsYWdzKSB7XG4gIGlmIChmbGFncy5zYXZlKSByZXR1cm4gJ2RlcGVuZGVuY2llcydcbiAgaWYgKGZsYWdzLnNhdmVEZXYpIHJldHVybiAnZGV2RGVwZW5kZW5jaWVzJ1xuICBpZiAoZmxhZ3Muc2F2ZU9wdGlvbmFsKSByZXR1cm4gJ29wdGlvbmFsRGVwZW5kZW5jaWVzJ1xufVxuXG5tb2R1bGUuZXhwb3J0cyA9IGluc3RhbGxDbWRcbiJdfQ==

@@ -10,3 +10,3 @@ var chalk = require('chalk');

console.error(chalk.red(' ! ' + (error.message || error)));
if (process.env.BLUEBIRD_DEBUG && error.stack) {
if (process.env.BLUEBIRD_DEBUG && error.stack && !error.silent) {
console.error(chalk.red(error.stack));

@@ -18,2 +18,2 @@ }

};
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL2xpYn4vZXJyLmpzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLElBQUksUUFBUSxRQUFRLE9BQVIsQ0FBUjs7QUFFSixPQUFPLE9BQVAsR0FBaUIsU0FBUyxHQUFULENBQWMsS0FBZCxFQUFxQjtBQUNwQyxVQUFRLEtBQVIsQ0FBYyxFQUFkLEVBRG9DO0FBRXBDLE1BQUksTUFBTSxJQUFOLElBQWMsTUFBTSxJQUFOLEVBQVk7QUFDNUIsWUFBUSxLQUFSLENBQWMsS0FBSyxNQUFNLE9BQU4sQ0FBbkIsQ0FENEI7QUFFNUIsWUFBUSxLQUFSLENBQWMsS0FBSyxNQUFNLE1BQU4sR0FBZSxHQUFwQixHQUEwQixNQUFNLElBQU4sR0FBYSxNQUFNLElBQU4sQ0FBckQsQ0FGNEI7R0FBOUIsTUFHTztBQUNMLFlBQVEsS0FBUixDQUFjLE1BQU0sR0FBTixDQUFVLFNBQVMsTUFBTSxPQUFOLElBQWlCLEtBQWpCLENBQVQsQ0FBeEIsRUFESztBQUVMLFFBQUksUUFBUSxHQUFSLENBQVksY0FBWixJQUE4QixNQUFNLEtBQU4sRUFBYTtBQUM3QyxjQUFRLEtBQVIsQ0FBYyxNQUFNLEdBQU4sQ0FBVSxNQUFNLEtBQU4sQ0FBeEIsRUFENkM7S0FBL0M7R0FMRjtBQVNBLFVBQVEsS0FBUixDQUFjLEVBQWQsRUFYb0M7QUFZcEMsVUFBUSxJQUFSLENBQWEsQ0FBYixFQVpvQztDQUFyQiIsImZpbGUiOiJlcnIuanMiLCJzb3VyY2VzQ29udGVudCI6WyJ2YXIgY2hhbGsgPSByZXF1aXJlKCdjaGFsaycpXG5cbm1vZHV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name": "pnpm",
"description": "A fast implementation of npm install",
"version": "0.19.0",
"version": "0.20.0",
"author": "Rico Sta. Cruz <rico@ricostacruz.com>",

@@ -28,3 +28,3 @@ "bin": {

"mkdirp": "0.5.1",
"mz": "2.3.1",
"mz": "2.4.0",
"node-gyp": "3.3.0",

@@ -42,3 +42,3 @@ "node-uuid": "1.4.7",

"supports-color": "^3.1.2",
"tar-fs": "1.11.0",
"tar-fs": "1.12.0",
"thenify": "3.1.1",

@@ -58,3 +58,3 @@ "throat": "2.0.2"

"nixt": "0.5.0",
"npm": "3.8.2",
"npm": "3.8.5",
"sepia": "2.0.1",

@@ -61,0 +61,0 @@ "tap-spec": "4.1.1",

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