File tree Expand file tree Collapse file tree 6 files changed +13
-157
lines changed
Expand file tree Collapse file tree 6 files changed +13
-157
lines changed File renamed without changes.
Original file line number Diff line number Diff line change 22 "name" : " @novnc/novnc" ,
33 "version" : " 1.6.0" ,
44 "description" : " An HTML5 VNC client" ,
5- "browser" : " lib/rfb" ,
6- "directories" : {
7- "lib" : " lib" ,
8- "doc" : " docs" ,
9- "test" : " tests"
10- },
5+ "type" : " module" ,
116 "files" : [
12- " lib" ,
7+ " core" ,
8+ " vendor" ,
139 " AUTHORS" ,
1410 " VERSION" ,
1511 " docs/API.md" ,
1612 " docs/LIBRARY.md" ,
1713 " docs/LICENSE*"
1814 ],
15+ "exports" : " ./core/rfb.js" ,
1916 "scripts" : {
2017 "lint" : " eslint app core po/po2js po/xgettext-html tests utils" ,
21- "test" : " karma start karma.conf.js" ,
22- "prepublish" : " node ./utils/convert.js --clean"
18+ "test" : " karma start karma.conf.cjs"
2319 },
2420 "repository" : {
2521 "type" : " git" ,
Original file line number Diff line number Diff line change 1717 * along with this program. If not, see <http://www.gnu.org/licenses/>.
1818 */
1919
20- const { program } = require ( 'commander' ) ;
21- const fs = require ( 'fs' ) ;
22- const pofile = require ( "pofile" ) ;
20+ import { program } from 'commander' ;
21+ import fs from 'fs' ;
22+ import pofile from "pofile" ;
2323
2424program
2525 . argument ( '<input>' )
Original file line number Diff line number Diff line change 55 * Licensed under MPL 2.0 (see LICENSE.txt)
66 */
77
8- const { program } = require ( 'commander' ) ;
9- const jsdom = require ( " jsdom" ) ;
10- const fs = require ( "fs" ) ;
8+ import { program } from 'commander' ;
9+ import jsdom from ' jsdom' ;
10+ import fs from 'fs' ;
1111
1212program
1313 . argument ( '<INPUT...>' )
@@ -106,7 +106,7 @@ let output = "";
106106
107107for ( let str in strings ) {
108108 output += "#:" ;
109- for ( location in strings [ str ] ) {
109+ for ( let location in strings [ str ] ) {
110110 output += " " + location ;
111111 }
112112 output += "\n" ;
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 77
88"use strict" ;
99
10- const fs = require ( 'fs' ) ;
10+ import fs from 'fs' ;
1111
1212let showHelp = process . argv . length === 2 ;
1313let filename ;
You can’t perform that action at this time.
0 commit comments