git-split-diffs icon indicating copy to clipboard operation
git-split-diffs copied to clipboard

ExperimentalWarning message being displayed

Open jaypuk opened this issue 4 years ago • 1 comments

Hi I'm getting the following warning displayed whenever I run git-split-diff (node:364) ExperimentalWarning: Conditional exports is an experimental feature. This feature could change at any time

Functionally though all seems fine.

fyi I'm on MacOs with node v13.7.0, and I'm running the app via iTerm2 using git diff | git-split-diffs --color (Unfortunately I'm not a node developer so can't help in trying to fix this.)

jaypuk avatar Jul 26 '21 16:07 jaypuk

Yeah I can repro this on v13.7.0. This warning seems to be coming from some dependency but it's hard to track down which one. So I see two options for you to get rid of these:

  • Update to v13.10.0, which removes these warnings (https://nodejs.org/en/blog/release/v13.10.0/, https://github.com/nodejs/node/pull/31845)
  • Disable all node warnings by setting the NODE_NO_WARNINGS environment variable

Hope that helps

banga avatar Jul 31 '21 19:07 banga