Merge branch 'switch-to-es-module-publish-and-use-exports' of github.com:elikoga/noVNC

This commit is contained in:
Pierre Ossman
2025-09-15 15:47:58 +02:00
6 changed files with 13 additions and 157 deletions

View File

@@ -17,9 +17,9 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
const { program } = require('commander');
const fs = require('fs');
const pofile = require("pofile");
import { program } from 'commander';
import fs from 'fs';
import pofile from "pofile";
program
.argument('<input>')

View File

@@ -5,9 +5,9 @@
* Licensed under MPL 2.0 (see LICENSE.txt)
*/
const { program } = require('commander');
const jsdom = require("jsdom");
const fs = require("fs");
import { program } from 'commander';
import jsdom from 'jsdom';
import fs from 'fs';
program
.argument('<INPUT...>')
@@ -106,7 +106,7 @@ let output = "";
for (let str in strings) {
output += "#:";
for (location in strings[str]) {
for (let location in strings[str]) {
output += " " + location;
}
output += "\n";