clasp
clasp copied to clipboard
(node:17396) [DEP0066] DeprecationWarning: OutgoingMessage.prototype._headers is deprecated
Expected Behavior
No deprecation warrning when using clasp push
Actual Behavior
when using clasp push we have a deprecation warrning on Node v12.3.1
(node:17396) [DEP0066] DeprecationWarning: OutgoingMessage.prototype._headers is deprecated
Steps to Reproduce the Problem
- update Node to the current version (12.x)
- use
clasp pushin a project
Specifications
- Node version (
node -v): v12.3.1 - Version (
clasp -v): 2.1.0 - OS (Mac/Linux/Windows): Windows10
@JeanRemiDelteil just to be certain, this issue occurs with the latest npm? Have you tried using a local build from the current master of this repository?
For reference: DEP0066: OutgoingMessage.prototype._headers, OutgoingMessage.prototype._headerNames
@JeanRemiDelteil @grant I was able to reproduce this issue on Mac OS, using Node 12.3.1 and npm's [email protected] I then used a local build from this repository and the deprecation warning no longer occured.
This issue is likely to be closed with next release of clasp.
Great !
Note: I've published @google/[email protected]
any updates on this? I'm still seeing "(node:...) [DEP0066] DeprecationWarning: OutgoingMessage.prototype._headers is deprecated"
@koconnor3 what version of nodejs and clasp are you using?
@koconnor3 what version of nodejs and clasp are you using?
my bad, looks like I had only updated clasp on my other machine 🤦♂️