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

@oxc-resolver/binding-wasm32-wasi

Package Overview
Dependencies
Maintainers
0
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@oxc-resolver/binding-wasm32-wasi - npm Package Compare versions

Comparing version 2.1.1 to 3.0.0

2

package.json
{
"name": "@oxc-resolver/binding-wasm32-wasi",
"version": "2.1.1",
"version": "3.0.0",
"cpu": [

@@ -5,0 +5,0 @@ "wasm32"

import {
createOnMessage as __wasmCreateOnMessageForFsProxy,
getDefaultContext as __emnapiGetDefaultContext,
instantiateNapiModuleSync as __emnapiInstantiateNapiModuleSync,
getDefaultContext as __emnapiGetDefaultContext,
WASI as __WASI,
createOnMessage as __wasmCreateOnMessageForFsProxy,
} from '@napi-rs/wasm-runtime'
import { memfs } from '@napi-rs/wasm-runtime/fs'
import __wasmUrl from './resolver.wasm32-wasi.wasm?url'
} from '@napi-rs/wasm-runtime';
import { memfs } from '@napi-rs/wasm-runtime/fs';
import __wasmUrl from './resolver.wasm32-wasi.wasm?url';
export const { fs: __fs, vol: __volume } = memfs()
export const { fs: __fs, vol: __volume } = memfs();

@@ -17,6 +17,6 @@ const __wasi = new __WASI({

'/': '/',
}
})
},
});
const __emnapiContext = __emnapiGetDefaultContext()
const __emnapiContext = __emnapiGetDefaultContext();

@@ -27,5 +27,5 @@ const __sharedMemory = new WebAssembly.Memory({

shared: true,
})
});
const __wasmFile = await fetch(__wasmUrl).then((res) => res.arrayBuffer())
const __wasmFile = await fetch(__wasmUrl).then((res) => res.arrayBuffer());

@@ -43,6 +43,6 @@ const {

type: 'module',
})
worker.addEventListener('message', __wasmCreateOnMessageForFsProxy(__fs))
});
worker.addEventListener('message', __wasmCreateOnMessageForFsProxy(__fs));
return worker
return worker;
},

@@ -55,23 +55,23 @@ overwriteImports(importObject) {

memory: __sharedMemory,
}
return importObject
};
return importObject;
},
beforeInit({ instance }) {
__napi_rs_initialize_modules(instance)
__napi_rs_initialize_modules(instance);
},
})
});
function __napi_rs_initialize_modules(__napiInstance) {
__napiInstance.exports['__napi_register__NapiResolveOptions_struct_0']?.()
__napiInstance.exports['__napi_register__EnforceExtension_1']?.()
__napiInstance.exports['__napi_register__Restriction_struct_2']?.()
__napiInstance.exports['__napi_register__TsconfigOptions_struct_3']?.()
__napiInstance.exports['__napi_register__ResolveResult_struct_4']?.()
__napiInstance.exports['__napi_register__sync_5']?.()
__napiInstance.exports['__napi_register__ResolveTask_impl_6']?.()
__napiInstance.exports['__napi_register__ResolverFactory_struct_7']?.()
__napiInstance.exports['__napi_register__ResolverFactory_impl_14']?.()
__napiInstance.exports['__napi_register__NapiResolveOptions_struct_0']?.();
__napiInstance.exports['__napi_register__EnforceExtension_1']?.();
__napiInstance.exports['__napi_register__Restriction_struct_2']?.();
__napiInstance.exports['__napi_register__TsconfigOptions_struct_3']?.();
__napiInstance.exports['__napi_register__ResolveResult_struct_4']?.();
__napiInstance.exports['__napi_register__sync_5']?.();
__napiInstance.exports['__napi_register__ResolveTask_impl_6']?.();
__napiInstance.exports['__napi_register__ResolverFactory_struct_7']?.();
__napiInstance.exports['__napi_register__ResolverFactory_impl_14']?.();
}
export const ResolverFactory = __napiModule.exports.ResolverFactory
export const EnforceExtension = __napiModule.exports.EnforceExtension
export const sync = __napiModule.exports.sync
export const ResolverFactory = __napiModule.exports.ResolverFactory;
export const EnforceExtension = __napiModule.exports.EnforceExtension;
export const sync = __napiModule.exports.sync;

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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