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

spm

Package Overview
Dependencies
Maintainers
7
Versions
154
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

spm - npm Package Compare versions

Comparing version 2.1.0 to 2.1.1-a1

2

lib/install.js

@@ -82,2 +82,4 @@ /* install package from spmjs.org */

}
} else {
pkg = pkg + '@stable';
}

@@ -84,0 +86,0 @@ if (_.contains(Object.keys(_cache), pkg)) {

@@ -82,6 +82,12 @@ /*

exports.findNodePath = function(nodepath) {
nodepath = path.normalize(nodepath);
if (process.env.NODE_PATH) {
if (process.platform === 'win32' && path.normalize(process.env.NODE_PATH) === nodepath) {
return;
}
var paths = process.env.NODE_PATH.split(':');
var ret = paths.filter(function(p) {
return p.replace(/\/$/, '') === nodepath;
return path.normalize(p) === nodepath;
});

@@ -88,0 +94,0 @@

2

package.json
{
"name": "spm",
"version": "2.1.0",
"version": "2.1.1a1",
"preferGlobal": "true",

@@ -5,0 +5,0 @@ "description": "Static Package Manager",

Sorry, the diff of this file is not supported yet

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