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

ghost-static

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ghost-static - npm Package Compare versions

Comparing version 0.1.4 to 0.1.5

10

bin/scrap.js

@@ -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"
}
}
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