mirror of
https://github.com/denoland/deno.git
synced 2025-01-21 04:52:26 -05:00
Compare commits
16 commits
10b4dec6de
...
46a4ff8029
Author | SHA1 | Date | |
---|---|---|---|
|
46a4ff8029 | ||
|
e4a16e91fa | ||
|
b9b7163c46 | ||
|
aa56715d1d | ||
|
b4e11b6b37 | ||
|
dc619d09d8 | ||
|
b104d1085e | ||
|
f3456f1871 | ||
|
587b09a6fa | ||
|
53395acb26 | ||
|
033370da71 | ||
|
b4fd2c3e84 | ||
|
a725fe25a2 | ||
|
9d733782de | ||
|
735026c507 | ||
|
246271cbfe |
3 changed files with 12 additions and 4 deletions
|
@ -6,8 +6,8 @@
|
|||
|
||||
<img align="right" src="https://deno.land/logo.svg" height="150px" alt="the deno mascot dinosaur standing in the rain">
|
||||
|
||||
[Deno](https://www.deno.com)
|
||||
([/ˈdiːnoʊ/](http://ipa-reader.xyz/?text=%CB%88di%CB%90no%CA%8A), pronounced
|
||||
[Deno](https://deno.com)
|
||||
([/ˈdiːnoʊ/](https://ipa-reader.com/?text=%CB%88di%CB%90no%CA%8A), pronounced
|
||||
`dee-no`) is a JavaScript, TypeScript, and WebAssembly runtime with secure
|
||||
defaults and a great developer experience. It's built on [V8](https://v8.dev/),
|
||||
[Rust](https://www.rust-lang.org/), and [Tokio](https://tokio.rs/).
|
||||
|
|
|
@ -2884,6 +2884,14 @@ impl PermissionsContainer {
|
|||
|
||||
fn is_normalized_windows_drive_path(path: &Path) -> bool {
|
||||
let s = path.as_os_str().as_encoded_bytes();
|
||||
|
||||
// Check if the path is a UNC path (e.g., \\Server\Share\Folder)
|
||||
// UNC paths typically contain "\\" at the start or somewhere in the middle
|
||||
if s.windows(2).any(|window| window == b"\\\\") {
|
||||
return true;
|
||||
}
|
||||
|
||||
// Original check for normalized drive paths (e.g., \\?\C:\)
|
||||
// \\?\X:\
|
||||
if s.len() < 7 {
|
||||
false
|
||||
|
|
|
@ -48,8 +48,8 @@ const packages: Package[] = [{
|
|||
|
||||
const markdownText = `# Deno
|
||||
|
||||
[Deno](https://www.deno.com)
|
||||
([/ˈdiːnoʊ/](http://ipa-reader.xyz/?text=%CB%88di%CB%90no%CA%8A), pronounced
|
||||
[Deno](https://deno.com)
|
||||
([/ˈdiːnoʊ/](https://ipa-reader.com/?text=%CB%88di%CB%90no%CA%8A), pronounced
|
||||
\`dee-no\`) is a JavaScript, TypeScript, and WebAssembly runtime with secure
|
||||
defaults and a great developer experience. It's built on [V8](https://v8.dev/),
|
||||
[Rust](https://www.rust-lang.org/), and [Tokio](https://tokio.rs/).
|
||||
|
|
Loading…
Add table
Reference in a new issue