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

npm-update

Package Overview
Dependencies
Maintainers
2
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

npm-update - npm Package Compare versions

Comparing version 1.0.5 to 1.0.6

3

lib/npm-update.js

@@ -23,5 +23,6 @@ /* ================================================================

var protocol = options.protocol || 'http';
var host = options.host || 'registry.npmjs.org';
var opt = {
uri: protocol + '://registry.npmjs.org/' + name + '/latest',
uri: `${protocol}://${host}/${name}/latest`,
method: 'get',

@@ -28,0 +29,0 @@ timeout: options.timeout || 1000

{
"name": "npm-update",
"version": "1.0.5",
"version": "1.0.6",
"description": "npm update",

@@ -24,3 +24,3 @@ "keywords": [

"mocha": "*",
"pre-commit": "1.1.1",
"pre-commit": "*",
"should": "*"

@@ -36,6 +36,3 @@ },

"homepage": "https://github.com/xudafeng/npm-update",
"author": "xudafeng",
"email": "xudafeng@126.com",
"blog": "http://xdf.me",
"license": "MIT"
}

@@ -24,3 +24,3 @@ # npm-update

```shell
``` bash
$ npm i npm-update --save

@@ -31,3 +31,3 @@ ```

```javascript
``` javascript
var update = require('npm-update');

@@ -34,0 +34,0 @@ var pkg = require('../package');

@@ -24,3 +24,3 @@ /* ================================================================

describe('#npm-update', function() {
this.timeout(50000);
this.timeout(50 * 1000);

@@ -27,0 +27,0 @@ it('only pkg', function(done) {

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