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

fetch-node-website

Package Overview
Dependencies
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fetch-node-website - npm Package Compare versions

Comparing version 4.1.1 to 5.0.0

4

build/src/main.js

@@ -1,2 +0,2 @@

"use strict";require("core-js/modules/es.promise");require("core-js/modules/es.string.replace");var _got=_interopRequireDefault(require("got"));
"use strict";var _got=_interopRequireDefault(require("got"));

@@ -11,3 +11,3 @@ var _options=require("./options.js");

const pathA=path.replace(LEADING_SLASH_REGEXP,"");
const response=await(0,_got.default)(pathA,{prefixUrl:mirror,stream:true});
const response=await _got.default.stream(pathA,{prefixUrl:mirror});

@@ -14,0 +14,0 @@ (0,_progress.addProgress)(response,progress,path);

@@ -1,10 +0,9 @@

"use strict";require("core-js/modules/es.promise");Object.defineProperty(exports,"__esModule",{value:true});exports.addProgress=void 0;var _util=require("util");
"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.addProgress=void 0;var _stream=require("stream");
var _util=require("util");
var _cliProgress=require("cli-progress");
var _endOfStream=_interopRequireDefault(require("end-of-stream"));
var _chalk=require("chalk");
var _figures=require("figures");function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}
var _figures=require("figures");
const pEndOfStream=(0,_util.promisify)(_endOfStream.default);
const pFinished=(0,_util.promisify)(_stream.finished);

@@ -25,4 +24,4 @@

try{
await pEndOfStream(response,{writable:false});
}catch(_unused){}
await pFinished(response,{writable:false});
}catch{}

@@ -29,0 +28,0 @@ stopBar(bar);

@@ -0,1 +1,7 @@

# 5.0.0
## Breaking changes
- Minimal supported Node.js version is now `10.17.0`
# 4.1.1

@@ -2,0 +8,0 @@

{
"name": "fetch-node-website",
"version": "4.1.1",
"version": "5.0.0",
"main": "build/src/main.js",

@@ -55,10 +55,9 @@ "files": [

"cli-progress": "^3.4.0",
"core-js": "^3.4.7",
"end-of-stream": "^1.4.4",
"core-js": "^3.6.0",
"figures": "^3.1.0",
"got": "10.0.0-alpha.2.2",
"got": "^10.2.0",
"jest-validate": "^24.9.0"
},
"devDependencies": {
"@ehmicky/dev-tasks": "^0.30.61",
"@ehmicky/dev-tasks": "^0.30.71",
"ava": "^2.4.0",

@@ -72,4 +71,4 @@ "get-stream": "^5.1.0",

"engines": {
"node": ">=8.12.0"
"node": ">=10.17.0"
}
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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