box / box-node-sdk

A Javascript interface for interacting with the Box API. You can find the node package at
https://www.npmjs.com/package/box-node-sdk
Apache License 2.0
187 stars 121 forks source link

fix: Update `proxy-agent` usage, drop support Node 12 #865

Closed congminh1254 closed 10 months ago

congminh1254 commented 10 months ago

Closes: box/boxcli#505

While bumping the proxy-agent from version 5 to 6, the import syntax changed from:

var ProxyAgent = require('proxy-agent');

to

import { ProxyAgent } from 'proxy-agent';

And proxy-agent is not supporting Node 12 anymore.

coveralls commented 10 months ago

Pull Request Test Coverage Report for Build 6747352852


Changes Missing Coverage Covered Lines Changed/Added Lines %
src/util/config.ts 0 1 0.0%
<!-- Total: 0 1 0.0% -->
Totals Coverage Status
Change from base Build 6744241683: 0.0%
Covered Lines: 2956
Relevant Lines: 3058

💛 - Coveralls