Socket
Socket
Sign inDemoInstall

tiged

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tiged - npm Package Compare versions

Comparing version 2.12.6 to 2.12.7

2

package.json
{
"name": "tiged",
"version": "2.12.6",
"version": "2.12.7",
"engines": {

@@ -5,0 +5,0 @@ "node": ">=8.0.0"

@@ -42,5 +42,6 @@ const fs = require('fs-extra');

this.verbose = opts.verbose;
this.proxy = process.env.https_proxy; // TODO allow setting via --proxy
this.proxy = this._getHttpsProxy(); // TODO allow setting via --proxy
this.subgroup = opts.subgroup;
this.subdir = opts['sub-directory'];
this.repo = parse(src);

@@ -100,2 +101,14 @@ if (this.subgroup) {

// Return the HTTPS proxy address. Try to get the value by environment
// variable `https_proxy` or `HTTPS_PROXY`.
//
// TODO allow setting via --proxy
_getHttpsProxy() {
let result = process.env.https_proxy;
if (!result) {
result = process.env.HTTPS_PROXY;
}
return result
}
async _getDirectives(dest) {

@@ -102,0 +115,0 @@ const directivesPath = path.resolve(dest, degitConfigName);

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