Skip to content

Commit 64bf939

Browse files
committed
Some more esm node imports for deno
1 parent 910965d commit 64bf939

4 files changed

Lines changed: 5 additions & 5 deletions

File tree

lib/appdir.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
import path from "path";
1+
import path from "node:path";
22
import walk from "fs-walk";
33
import plist from "simple-plist";
44
import * as bin from "./bin.js";
5-
import fs from "fs";
5+
import fs from "node:fs";
66
import { resolvePath } from "./depsolver.js";
77

88
export class AppDirectory {

lib/bin.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import isEncryptedSync from "macho-is-encrypted";
22
import fatmacho from "fatmacho";
33
import macho from "macho";
4-
import fs from "fs";
4+
import fs from "node:fs";
55
import machoEntitlements from "macho-entitlements";
66

77
const MACH0_MIN_SIZE = 1024 * 4;

lib/config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Converted to ES module
22

3-
import path from "path";
3+
import path from "node:path";
44
import idprov from "./idprov.js";
55
import minimist from "minimist";
66

lib/idprov.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"use strict";
22

3-
import fs from "fs";
3+
import fs from "node:fs";
44
import plist from "plist";
55
import * as tools from "./tools.js";
66

0 commit comments

Comments
 (0)