@napi-rs/cli 3.10.7 → 3.10.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/src/utils/misc.ts CHANGED
@@ -633,7 +633,7 @@ export async function withPackageFileSystemReconciliation<T>(
633
633
  return acquire(0)
634
634
  }
635
635
 
636
- function managedPackagePathIsWithin(root: string, path: string) {
636
+ export function managedPackagePathIsWithin(root: string, path: string) {
637
637
  const relativePath = relative(resolve(root), resolve(path))
638
638
  return (
639
639
  relativePath === '' ||
@@ -643,7 +643,7 @@ function managedPackagePathIsWithin(root: string, path: string) {
643
643
  )
644
644
  }
645
645
 
646
- function canonicalizeManagedPackagePath(path: string) {
646
+ export function canonicalizeManagedPackagePath(path: string) {
647
647
  let current = resolve(path)
648
648
  const missingSegments: string[] = []
649
649
  while (true) {
@@ -17,6 +17,7 @@ export const AVAILABLE_TARGETS = [
17
17
  'aarch64-unknown-linux-musl',
18
18
  'aarch64-unknown-linux-ohos',
19
19
  'aarch64-pc-windows-msvc',
20
+ 'aarch64-unknown-freebsd',
20
21
  'x86_64-apple-darwin',
21
22
  'x86_64-pc-windows-msvc',
22
23
  'x86_64-pc-windows-gnu',