ghost-static
Advanced tools
Comparing version 0.1.4 to 0.1.5
@@ -10,4 +10,3 @@ #!/usr/bin/env node | ||
url = require('url'), | ||
isBinary = require('isbinaryfile'), | ||
syncRequest = require('sync-request'); | ||
isBinary = require('isbinaryfile'); | ||
@@ -85,7 +84,4 @@ /** | ||
httpResponseHandler: response => { | ||
console.log(`Downloading ${response.request.href}`); | ||
// Fetch items synchronously to avoid some handlebars-related bugs | ||
const request = syncRequest('GET', response.request.href); | ||
return Promise.resolve(request.getBody('utf8')); | ||
onResourceError: e => { | ||
if (e) console.error(e); | ||
} | ||
@@ -92,0 +88,0 @@ }; |
{ | ||
"name": "ghost-static", | ||
"version": "0.1.4", | ||
"version": "0.1.5", | ||
"description": "A tool to convert you Ghost blog to a static website", | ||
@@ -25,5 +25,4 @@ "main": "index.js", | ||
"rimraf": "^2.6.1", | ||
"sync-request": "^4.1.0", | ||
"website-scraper": "^3.1.0" | ||
} | ||
} |
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
4
6202
125
+ Addedsafe-buffer@5.2.1(transitive)
+ Addedstring_decoder@1.3.0(transitive)
- Removedsync-request@^4.1.0
- Removedasap@2.0.6(transitive)
- Removedbuffer-from@1.1.2(transitive)
- Removedcall-bind@1.0.7(transitive)
- Removedcaseless@0.11.0(transitive)
- Removedcommand-exists@1.2.9(transitive)
- Removedconcat-stream@1.6.2(transitive)
- Removedcore-util-is@1.0.3(transitive)
- Removeddefine-data-property@1.1.4(transitive)
- Removedes-define-property@1.0.0(transitive)
- Removedes-errors@1.3.0(transitive)
- Removedfunction-bind@1.1.2(transitive)
- Removedget-intrinsic@1.2.4(transitive)
- Removedget-port@3.2.0(transitive)
- Removedgopd@1.0.1(transitive)
- Removedhas-property-descriptors@1.0.2(transitive)
- Removedhas-proto@1.0.3(transitive)
- Removedhas-symbols@1.0.3(transitive)
- Removedhasown@2.0.2(transitive)
- Removedhttp-basic@2.5.1(transitive)
- Removedhttp-response-object@1.1.0(transitive)
- Removedisarray@1.0.0(transitive)
- Removedobject-inspect@1.13.3(transitive)
- Removedprocess-nextick-args@2.0.1(transitive)
- Removedpromise@7.3.1(transitive)
- Removedqs@6.13.1(transitive)
- Removedreadable-stream@2.3.8(transitive)
- Removedsafe-buffer@5.1.2(transitive)
- Removedset-function-length@1.2.2(transitive)
- Removedside-channel@1.0.6(transitive)
- Removedstring_decoder@1.1.1(transitive)
- Removedsync-request@4.1.0(transitive)
- Removedthen-request@2.2.0(transitive)
- Removedtypedarray@0.0.6(transitive)