use std::path::{Path,PathBuf};use es_resolve::*;// Provide an exact path to the file from which we resolvelet source = PathBuf::from("tests/fixtures/relative/js.js");// Construct an `es_resolve::EsResolver`, then call `resolve` to get the result.// Also check `es_resolve::EsResolverError` for a list of errors that might occur!let target = EsResolver::new("./ts",&source,TargetEnv::Browser).resolve().unwrap();let expected_target_path = Path::new("tests/fixtures/relative/ts.ts").canonicalize().unwrap();let expected_target = expected_target_path.to_string_lossy();// We expect to get the absolute path to the resolved target module!assert_eq!(target, expected_target);
Features
General Features
Feature
Status
Since
Note
Relative Module Import
π
0.1.0
import './App' when there is an ./App.ts ./App.tsx ./App.js etc.
Non-relative Module Import
π
0.1.0
import '@angular/core'. See also Package.json Supports.
NovaLdr is a Threadless Module Stomping written in Rust, designed as a learning project while exploring the world of malware development. It uses advanced techniques like indirect syscalls and string encryption to achieve its functionalities. This project is not intended to be a complete or polished product but rather a journey into the technical aspects of malware, showcasing various techniques and features.
This is the source code repository for the COCONUT Secure VM Service Module (SVSM), a software which aims to provide secure services and device emulations to guest operating systems in confidential virtual machines (CVMs). It requires AMD Secure Encrypted Virtualization with Secure Nested Paging (AMD SEV-SNP), especially the VM Privilege Level (VMPL) feature.
Lapce Plugin for Rome Lapce-rome is a Lapce plugin for rome, The Rome is faster β‘ , A formatter, linter, compiler, bundler, and more for JavaScript, T