google / clasp

🔗 Command Line Apps Script Projects
https://developers.google.com/apps-script/guides/clasp
Apache License 2.0
4.59k stars 428 forks source link

(node:17396) [DEP0066] DeprecationWarning: OutgoingMessage.prototype._headers is deprecated #657

Open JeanRemiDelteil opened 5 years ago

JeanRemiDelteil commented 5 years ago

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

  1. update Node to the current version (12.x)
  2. use clasp push in a project

Specifications

PopGoesTheWza commented 5 years ago

@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?

PopGoesTheWza commented 5 years ago

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 clasp@2.1.0 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.

JeanRemiDelteil commented 5 years ago

Great !

grant commented 5 years ago

Note: I've published @google/clasp@2.2

koconnor3 commented 4 years ago

any updates on this? I'm still seeing "(node:...) [DEP0066] DeprecationWarning: OutgoingMessage.prototype._headers is deprecated"

PopGoesTheWza commented 4 years ago

@koconnor3 what version of nodejs and clasp are you using?

koconnor3 commented 4 years ago

@koconnor3 what version of nodejs and clasp are you using?

my bad, looks like I had only updated clasp on my other machine 🤦‍♂️