Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

oxc-resolver

Package Overview
Dependencies
Maintainers
0
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

oxc-resolver - npm Package Compare versions

Comparing version 1.8.1 to 1.8.2

11

index.d.ts
/* auto-generated by NAPI-RS */
/* eslint-disable */
export class ResolverFactory {

@@ -12,2 +11,3 @@ constructor(options: NapiResolveOptions)

sync(path: string, request: string): ResolveResult
async(path: string, request: string): Promise<ResolveResult>
}

@@ -85,2 +85,11 @@

/**
* Fields from `package.json` which are used to provide the internal requests of a package
* (requests starting with # are considered internal).
*
* Can be a path to a JSON object such as `["path", "to", "imports"]`.
*
* Default `[["imports"]]`.
*/
importsFields?: (string | string[])[]
/**
* An object which maps extension to extension aliases.

@@ -87,0 +96,0 @@ *

@@ -249,3 +249,16 @@ // prettier-ignore

} else if (process.arch === 'arm') {
if (isMusl()) {
try {
return require('./resolver.linux-arm-musleabihf.node')
} catch (e) {
loadErrors.push(e)
}
try {
return require('@oxc-resolver/binding-linux-arm-musleabihf')
} catch (e) {
loadErrors.push(e)
}
} else {
try {
return require('./resolver.linux-arm-gnueabihf.node')

@@ -261,2 +274,3 @@ } catch (e) {

}
} else if (process.arch === 'riscv64') {

@@ -288,2 +302,14 @@ if (isMusl()) {

}
} else if (process.arch === 'ppc64') {
try {
return require('./resolver.linux-ppc64-gnu.node')
} catch (e) {
loadErrors.push(e)
}
try {
return require('@oxc-resolver/binding-linux-ppc64-gnu')
} catch (e) {
loadErrors.push(e)
}
} else if (process.arch === 's390x') {

@@ -290,0 +316,0 @@ try {

24

package.json
{
"name": "oxc-resolver",
"version": "1.8.1",
"version": "1.8.2",
"description": "Oxc Resolver Node API",

@@ -13,3 +13,3 @@ "main": "index.js",

"license": "MIT",
"homepage": "https://oxc-project.github.io",
"homepage": "https://oxc.rs",
"repository": {

@@ -43,13 +43,13 @@ "type": "git",

"optionalDependencies": {
"@oxc-resolver/binding-win32-x64-msvc": "1.8.1",
"@oxc-resolver/binding-win32-arm64-msvc": "1.8.1",
"@oxc-resolver/binding-linux-x64-gnu": "1.8.1",
"@oxc-resolver/binding-linux-x64-musl": "1.8.1",
"@oxc-resolver/binding-linux-arm64-gnu": "1.8.1",
"@oxc-resolver/binding-linux-arm64-musl": "1.8.1",
"@oxc-resolver/binding-linux-arm-gnueabihf": "1.8.1",
"@oxc-resolver/binding-darwin-x64": "1.8.1",
"@oxc-resolver/binding-darwin-arm64": "1.8.1",
"@oxc-resolver/binding-wasm32-wasi": "1.8.1"
"@oxc-resolver/binding-win32-x64-msvc": "1.8.2",
"@oxc-resolver/binding-win32-arm64-msvc": "1.8.2",
"@oxc-resolver/binding-linux-x64-gnu": "1.8.2",
"@oxc-resolver/binding-linux-x64-musl": "1.8.2",
"@oxc-resolver/binding-linux-arm64-gnu": "1.8.2",
"@oxc-resolver/binding-linux-arm64-musl": "1.8.2",
"@oxc-resolver/binding-linux-arm-gnueabihf": "1.8.2",
"@oxc-resolver/binding-darwin-x64": "1.8.2",
"@oxc-resolver/binding-darwin-arm64": "1.8.2",
"@oxc-resolver/binding-wasm32-wasi": "1.8.2"
}
}

@@ -1,5 +0,8 @@

# The JavaScript Oxidation Compiler
# Oxc Resolver Napi Binding
See index.d.ts for `resolveSync` and `ResolverFactory` API.
See
* index.d.ts for `resolveSync` and `ResolverFactory` API.
* [README.md](https://github.com/oxc-project/oxc-resolver?tab=readme-ov-file#oxc-resolver) for options.
## ESM

@@ -6,0 +9,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc