esbootstrap
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -50,5 +50,2 @@ var elasticsearch = require('elasticsearch'); | ||
.then(function(){ | ||
client.close(); | ||
}) | ||
.then(function(){ | ||
if (options.fixtures) { | ||
@@ -59,2 +56,4 @@ self.loadFixtures(options, callback); | ||
} | ||
})['finally'](function(){ | ||
client.close(); | ||
}); | ||
@@ -61,0 +60,0 @@ }); |
{ | ||
"name": "esbootstrap", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "Helper to bootstrap an index and load fixtures to an elasticsearch instance", | ||
@@ -18,4 +18,12 @@ "main": "esbootstrap.js", | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git://github.com/namshi/esbootstrap.git" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/namshi/esbootstrap/issues" | ||
}, | ||
"homepage": "https://github.com/namshi/esbootstrap", | ||
"author": "Filippo De Santis <filippo.desantis@namshi.com>", | ||
"license": "MIT" | ||
} |
@@ -5,3 +5,2 @@ # esbootstrap | ||
## Installation | ||
@@ -11,18 +10,8 @@ | ||
```bash | ||
npm install esbootstrap --save-dev | ||
``` | ||
"devDependencies": { | ||
... | ||
"esbootstrap": ">=1.0.0" | ||
}, | ||
``` | ||
and run | ||
``` | ||
npm update esbootstrap | ||
``` | ||
## Usage | ||
```javascript | ||
@@ -29,0 +18,0 @@ var esbootstrap = require('esbootstrap'); |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
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 bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
22076
1
0
0
0
89
57