Skip to content

Commit

Permalink
fix: Use std@0.177.0 on hostile.js because of std/node deprecation
Browse files Browse the repository at this point in the history
  • Loading branch information
DPS0340 committed Dec 3, 2023
1 parent 0067a84 commit 917c9b5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions host-manager/hostile.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// Original code from https://github.com/feross/hostile
// Ported to deno by DPS0340 https://github.com/DPS0340
/*! hostile. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
import fs from 'https://deno.land/std/node/fs.ts'
import process from 'https://deno.land/std/node/process.ts'
import fs from 'https://deno.land/std@0.177.0/node/fs.ts'
import process from 'https://deno.land/std@0.177.0/node/process.ts'
import once from 'https://cdn.skypack.dev/once'
import split from 'https://cdn.skypack.dev/split'
import string_decoder from 'https://cdn.skypack.dev/string_decoder'
Expand Down Expand Up @@ -190,4 +190,4 @@ export function writeFile(lines, cb) {
})
s.end()
})
}
}

0 comments on commit 917c9b5

Please sign in to comment.