Skip to content

Commit

Permalink
apacheGH-39482: [JS] Refactor imports (apache#39483)
Browse files Browse the repository at this point in the history
* use `node:` prefix for node imports
* remove `import` for types where it makes sense

* Closes: apache#39482
* GitHub Issue: apache#39482

---------

Co-authored-by: Paul Taylor <178183+trxcllnt@users.noreply.github.com>
  • Loading branch information
2 people authored and tolleybot committed May 4, 2024
1 parent f40a097 commit 4a0e225
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions js/gulp/closure-task.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@ import { targetDir, mainExport, esmRequire, gCCLanguageNames, publicModulePaths,

import fs from 'node:fs';
import gulp from 'gulp';
import Path from 'node:path';
import https from 'node:https';
import path from 'node:path';
import { mkdirp } from 'mkdirp';
import { PassThrough } from 'node:stream';
import sourcemaps from 'gulp-sourcemaps';
Expand Down

0 comments on commit 4a0e225

Please sign in to comment.