@electron/get
Advanced tools
Comparing version 1.7.1 to 1.7.2
@@ -51,2 +51,3 @@ "use strict"; | ||
var path = require("path"); | ||
var sumchecker = require("sumchecker"); | ||
var artifact_utils_1 = require("./artifact-utils"); | ||
@@ -62,3 +63,2 @@ var Cache_1 = require("./Cache"); | ||
var d = debug_1.default('@electron/get:index'); | ||
var sumchecker = require('sumchecker'); | ||
if (process.env.ELECTRON_GET_USE_PROXY) { | ||
@@ -65,0 +65,0 @@ proxy_1.initializeProxy(); |
@@ -49,2 +49,3 @@ var __assign = (this && this.__assign) || function () { | ||
import * as path from 'path'; | ||
import * as sumchecker from 'sumchecker'; | ||
import { getArtifactFileName, getArtifactRemoteURL } from './artifact-utils'; | ||
@@ -58,3 +59,2 @@ import { Cache } from './Cache'; | ||
var d = debug('@electron/get:index'); | ||
var sumchecker = require('sumchecker'); | ||
if (process.env.ELECTRON_GET_USE_PROXY) { | ||
@@ -61,0 +61,0 @@ initializeProxy(); |
{ | ||
"name": "@electron/get", | ||
"version": "1.7.1", | ||
"version": "1.7.2", | ||
"description": "Utility for downloading artifacts from different versions of Electron", | ||
@@ -12,5 +12,4 @@ "main": "dist/cjs/index.js", | ||
"build": "tsc && tsc -p tsconfig.esm.json", | ||
"build:docs": "typedoc --plugin typedoc-plugin-nojekyll --out docs", | ||
"build:docs": "typedoc --out docs", | ||
"prepublishOnly": "npm run build", | ||
"publish:docs": "gh-pages-clean && node script/publish-docs.js", | ||
"test": "prettier --check \"src/**/*.ts\" && jest --coverage" | ||
@@ -31,6 +30,6 @@ }, | ||
"sanitize-filename": "^1.6.2", | ||
"sumchecker": "^3.0.0" | ||
"sumchecker": "^3.0.1" | ||
}, | ||
"devDependencies": { | ||
"@continuous-auth/semantic-release-npm": "^1.0.3", | ||
"@continuous-auth/semantic-release-npm": "^2.0.0", | ||
"@types/debug": "^4.1.4", | ||
@@ -42,3 +41,2 @@ "@types/fs-extra": "^8.0.0", | ||
"@types/sanitize-filename": "^1.1.28", | ||
"gh-pages": "^2.0.1", | ||
"husky": "^2.3.0", | ||
@@ -51,3 +49,2 @@ "jest": "^24.8.0", | ||
"typedoc": "^0.14.2", | ||
"typedoc-plugin-nojekyll": "^1.0.1", | ||
"typescript": "^3.4.5" | ||
@@ -54,0 +51,0 @@ }, |
@@ -91,7 +91,8 @@ # @electron/get | ||
Downstream packages should utilize the `initializeProxy` function to add HTTP(S) proxy support. A | ||
different proxy module is used, depending on the version of Node in use, and as such, there are | ||
slightly different ways to set the proxy environment variables. For Node 10 and above, | ||
Downstream packages should utilize the `initializeProxy` function to add HTTP(S) proxy support. If | ||
the environment variable `ELECTRON_GET_USE_PROXY` is set, it is called automatically. A different | ||
proxy module is used, depending on the version of Node in use, and as such, there are slightly | ||
different ways to set the proxy environment variables. For Node 10 and above, | ||
[`global-agent`](https://github.com/gajus/global-agent#environment-variables) is used. Otherwise, | ||
[`global-tunnel-ng`](https://github.com/np-maintain/global-tunnel#auto-config) is used. Refer to the | ||
appropriate linked module to determine how to configure proxy support. |
Sorry, the diff of this file is not supported yet
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
15
98
96946
Updatedsumchecker@^3.0.1