From cd927723bc98bd56f23119b8bcc011139a382702 Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Mon, 5 Feb 2024 16:43:29 +0100 Subject: [PATCH] Fix import of "commander" The default import was deprecated ages ago, and in v12 it has now finally been changed in a breaking way. Change the code to import things the proper way. --- utils/convert.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/convert.js b/utils/convert.js index aeba49d9f..617f4ed65 100755 --- a/utils/convert.js +++ b/utils/convert.js @@ -1,7 +1,7 @@ #!/usr/bin/env node const path = require('path'); -const program = require('commander'); +const { program } = require('commander'); const fs = require('fs'); const fse = require('fs-extra'); const babel = require('@babel/core');