Comparing version 0.10.0 to 1.0.0
@@ -9,3 +9,8 @@ var path = require('path'); | ||
process.addListener('exit', function() { | ||
self.verify('process exit'); | ||
try { | ||
self.verify('process exit'); | ||
} catch (err) { | ||
process.exitCode = 1; | ||
throw err; | ||
} | ||
}); | ||
@@ -12,0 +17,0 @@ } |
{ | ||
"name": "gently", | ||
"version": "0.10.0", | ||
"version": "1.0.0", | ||
"directories": { | ||
@@ -5,0 +5,0 @@ "lib": "./lib/gently" |
@@ -6,4 +6,4 @@ # Gently | ||
[![npm](https://img.shields.io/npm/v/gently.svg)](https://www.npmjs.com/package/gently) | ||
[![Dependency Status](https://david-dm.org/felixge/node-gently.png?theme=shields.io)](https://david-dm.org/felixge/node-gently) | ||
[![Development Dependency Status](https://david-dm.org/felixge/node-gently/dev-status.png?theme=shields.io)](https://david-dm.org/felixge/node-gently#info=devDependencies) | ||
[![Dependency Status](https://david-dm.org/felixge/node-gently.svg?theme=shields.io)](https://david-dm.org/felixge/node-gently) | ||
[![Development Dependency Status](https://david-dm.org/felixge/node-gently/dev-status.svg?theme=shields.io)](https://david-dm.org/felixge/node-gently#info=devDependencies) | ||
<!-- /badges --> | ||
@@ -44,3 +44,3 @@ | ||
var gently = new (require('gently')) | ||
const gently = new (require('gently')) | ||
, assert = require('assert') | ||
@@ -58,3 +58,3 @@ , dog = new Dog(); | ||
```javascript | ||
var gently = new (require('gently')) | ||
const gently = new (require('gently')) | ||
, stream = new (require('fs').WriteStream)('my_file.txt'); | ||
@@ -106,3 +106,3 @@ | ||
var sys = require('sys'); | ||
const sys = require('sys'); | ||
exports.hello = function() { | ||
@@ -114,3 +114,3 @@ sys.log('world'); | ||
```javascript | ||
var gently = global.GENTLY = new (require('gently')) | ||
const gently = global.GENTLY = new (require('gently')) | ||
, myModule = require('./my-module'); | ||
@@ -132,6 +132,6 @@ | ||
var World = require('./world'); | ||
const World = require('./world'); | ||
exports.hello = function() { | ||
var world = new World(); | ||
const world = new World(); | ||
world.hello(); | ||
@@ -142,3 +142,3 @@ } | ||
```javascript | ||
var sys = require('sys'); | ||
const sys = require('sys'); | ||
@@ -156,3 +156,3 @@ function World() { | ||
```javascript | ||
var gently = global.GENTLY = new (require('gently')) | ||
const gently = global.GENTLY = new (require('gently')) | ||
, WorldStub = gently.stub('./world') | ||
@@ -159,0 +159,0 @@ , myModule = require('./my-module') |
Sorry, the diff of this file is not supported yet
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
21510
488
1