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

cnpm

Package Overview
Dependencies
Maintainers
1
Versions
116
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cnpm - npm Package Compare versions

Comparing version 0.0.21 to 0.0.22

5

History.md
0.0.22 / 2014-01-10
==================
* Sync package as publish.
0.0.21 / 2013-12-23

@@ -3,0 +8,0 @@ ==================

@@ -21,2 +21,3 @@ /**!

var spawn = require('child_process').spawn;
var fs = require('fs');
var config = require('./config');

@@ -31,2 +32,8 @@ var parseArgv = require('./parse_argv');

if (program.userconfig && !fs.existsSync(program.userconfig)) {
// make sure userconfig exists
// or it will throw: npm ERR! Error: default value must be string or number
fs.writeFileSync(program.userconfig, 'email =\n');
}
args.unshift('--registry=' + program.registry);

@@ -33,0 +40,0 @@ args.unshift('--cache=' + program.cache);

2

package.json
{
"name": "cnpm",
"version": "0.0.21",
"version": "0.0.22",
"description": "cnpm: npm client for cnpmjs.org",

@@ -5,0 +5,0 @@ "main": "bin/cnpm",

@@ -34,3 +34,6 @@ /**!

.option('-u, --userconfig [userconfig]', 'userconfig file, default is ' + config.userconfig)
.option('-y, --yes', 'yes all confirm');
.option('-y, --yes', 'yes all confirm')
.option('--publish', '[sync options] sync as publish')
.option('--no-deps', '[sync options] do not sync dependencies and devDependencies')
;

@@ -37,0 +40,0 @@ // commander's bug, fix here

@@ -6,3 +6,3 @@ cnpm

![logo](https://raw.github.com/fengmk2/cnpmjs.org/master/logo.png)
![logo](https://raw.github.com/cnpm/cnpmjs.org/master/logo.png)

@@ -29,3 +29,3 @@ cnpm: npm client for [cnpmjs.org](http://cnpmjs.org)

```
```bash
$ npm install cnpm -g

@@ -32,0 +32,0 @@

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