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.20.0 to 0.21.0

8

HISTORY.md

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

## [v0.21.0]
> Apr 6, 2016
- [#174] - Fix some rare symlink problems.
[v0.21.0]: https://github.com/rstacruz/pnpm/compare/v0.20.0...v0.21.0
## [v0.20.0]

@@ -254,1 +261,2 @@ > Apr 3, 2016

[@rstacruz]: https://github.com/rstacruz
[#174]: https://github.com/rstacruz/pnpm/issues/174

11

lib/fs/force_symlink.js

@@ -16,4 +16,7 @@ 'use strict';

cb = arguments[arguments.length - 1] || function () {};
fs.symlink(srcPath, dstPath, type, function (err) {
if (!err || err.code !== 'EEXIST') return cb(err);
try {
fs.symlinkSync(srcPath, dstPath, type);
cb();
} catch (err) {
if (err.code !== 'EEXIST') return cb(err);

@@ -28,6 +31,6 @@ fs.readlink(dstPath, function (err, linkString) {

});
});
}
}
module.exports = thenify(forceSymlink);
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL2xpYn4vZnMvZm9yY2Vfc3ltbGluay5qcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7QUFFQSxJQUFJLEtBQUssUUFBUSxJQUFSLENBQUw7QUFDSixJQUFJLFVBQVUsUUFBUSxTQUFSLENBQVY7QUFDSixJQUFJLFFBQVEsUUFBUSxPQUFSLEVBQWlCLGNBQWpCLENBQVI7Ozs7Ozs7QUFPSixTQUFTLFlBQVQsQ0FBdUIsT0FBdkIsRUFBZ0MsT0FBaEMsRUFBeUMsSUFBekMsRUFBK0MsRUFBL0MsRUFBbUQ7QUFDakQsUUFBTSxVQUFOLEVBQWtCLE9BQWxCLEVBQTJCLE9BQTNCLEVBRGlE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RQYXRoLCB0eXBlKVxuICAgIGNiKClcbiAgfSBjYXRjaCAoZXJyKSB7XG4gICAgaWYgKGVyci5jb2RlICE9PSAnRUVYSVNUJykgcmV0dXJuIGNiKGVycilcblxuICAgIGZzLnJlYWRsaW5rKGRzdFBhdGgsIGZ1bmN0aW9uIChlcnIsIGxpbmtTdHJpbmcpIHtcbiAgICAgIGlmIChlcnIgfHwgc3JjUGF0aCA9PT0gbGlua1N0cmluZykgcmV0dXJuIGNiKGVycilcblxuICAgICAgZnMudW5saW5rKGRzdFBhdGgsIGZ1bmN0aW9uIChlcnIpIHtcbiAgICAgICAgaWYgKGVycikgcmV0dXJuIGNiKGVycilcbiAgICAgICAgZm9yY2VTeW1saW5rKHNyY1BhdGgsIGRzdFBhdGgsIGNiKVxuICAgICAgfSlcbiAgICB9KVxuICB9XG59XG5cbm1vZHVsZS5leHBvcnRzID0gdGhlbmlmeShmb3JjZVN5bWxpbmspXG4iXX0=
{
"name": "pnpm",
"description": "A fast implementation of npm install",
"version": "0.20.0",
"version": "0.21.0",
"author": "Rico Sta. Cruz <rico@ricostacruz.com>",

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

"caw": "^1.2.0",
"chalk": "1.1.1",
"chalk": "1.1.3",
"commondir": "1.0.1",

@@ -24,0 +24,0 @@ "debug": "2.2.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