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

@bytecodealliance/preview2-shim

Package Overview
Dependencies
Maintainers
0
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bytecodealliance/preview2-shim - npm Package Compare versions

Comparing version 0.16.5 to 0.16.6

2

lib/browser/filesystem.js

@@ -201,3 +201,3 @@ import { streams } from './io.js';

statAt(_pathFlags, path) {
const entry = getChildEntry(this.#entry, path);
const entry = getChildEntry(this.#entry, path, { create: false, directory: false });
let type = 'unknown', size = BigInt(0);

@@ -204,0 +204,0 @@ if (entry.source) {

@@ -170,2 +170,3 @@ import { fileURLToPath } from "node:url";

read(len) {
process._rawDebug('read', len);
return streamIoErrorCall(

@@ -172,0 +173,0 @@ INPUT_STREAM_READ | this.#streamType,

@@ -355,3 +355,3 @@ import {

isSymlink = lstatSync(fullPath).isSymbolicLink();
} catch (e) {
} catch {
//

@@ -365,3 +365,3 @@ }

isFile = !statSync(fullPath).isDirectory();
} catch (e) {
} catch {
//

@@ -435,3 +435,3 @@ }

isDir = statSync(fullPath).isDirectory();
} catch (_) {
} catch {
//

@@ -455,3 +455,3 @@ }

isDir = statSync(fullPath).isDirectory();
} catch (e) {
} catch {
//

@@ -458,0 +458,0 @@ }

@@ -543,3 +543,3 @@ import {

validateHeaderValue(name, new TextDecoder().decode(value));
} catch (e) {
} catch {
throw { tag: "invalid-syntax" };

@@ -546,0 +546,0 @@ }

{
"name": "@bytecodealliance/preview2-shim",
"version": "0.16.5",
"version": "0.16.6",
"description": "WASI Preview2 shim for JS environments",

@@ -5,0 +5,0 @@ "author": "Guy Bedford, Eduardo Rodrigues<16357187+eduardomourar@users.noreply.github.com>",

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