@bytecodealliance/preview2-shim
Advanced tools
@@ -7,1 +7,5 @@ // eslint-disable-next-line no-unused-vars | ||
| } | ||
| export function _getCwd() { | ||
| return _cwd; | ||
| } |
| import { streams } from './io.js'; | ||
| import { environment } from './environment.js'; | ||
| import { _setCwd } from './config.js'; | ||
| import { _setCwd, _getCwd } from './config.js'; | ||
| export { _setCwd } from './config.js'; | ||
@@ -33,3 +33,3 @@ | ||
| ) { | ||
| subpath = _cwd; | ||
| subpath = _getCwd(); | ||
| if (subpath.startsWith('/') && subpath !== '/') { | ||
@@ -36,0 +36,0 @@ subpath = subpath.slice(1); |
+33
-14
| { | ||
| "name": "@bytecodealliance/preview2-shim", | ||
| "version": "0.17.4", | ||
| "version": "0.17.5", | ||
| "description": "WASI Preview2 shim for JS environments", | ||
| "author": "Guy Bedford, Eduardo Rodrigues<16357187+eduardomourar@users.noreply.github.com>", | ||
| "contributors": [ | ||
| { | ||
| "name": "Guy Bedford" | ||
| }, | ||
| { | ||
| "name": "Eduardo Rodrigues", | ||
| "email": "16357187+eduardomourar@users.noreply.github.com" | ||
| }, | ||
| { | ||
| "name": "Victor Adossi", | ||
| "email": "vadossi@cosmonic.com" | ||
| } | ||
| ], | ||
| "repository": { | ||
| "type": "git", | ||
| "url": "git+https://github.com/bytecodealliance/jco.git" | ||
| }, | ||
| "license": "(Apache-2.0 WITH LLVM-exception)", | ||
| "bugs": { | ||
| "url": "https://github.com/bytecodealliance/jco/issues" | ||
| }, | ||
| "homepage": "https://github.com/bytecodealliance/jco#readme", | ||
| "type": "module", | ||
| "types": "./types/index.d.ts", | ||
| "files": [ | ||
| "types", | ||
| "lib" | ||
| ], | ||
| "exports": { | ||
@@ -32,15 +58,8 @@ ".": { | ||
| }, | ||
| "files": [ | ||
| "types", | ||
| "lib" | ||
| ], | ||
| "repository": { | ||
| "type": "git", | ||
| "url": "git+https://github.com/bytecodealliance/jco.git" | ||
| }, | ||
| "license": "(Apache-2.0 WITH LLVM-exception)", | ||
| "bugs": { | ||
| "url": "https://github.com/bytecodealliance/jco/issues" | ||
| }, | ||
| "homepage": "https://github.com/bytecodealliance/jco#readme" | ||
| "devDependencies": { | ||
| "@bytecodealliance/componentize-js": "0.19.3", | ||
| "@bytecodealliance/jco": "1.15.2", | ||
| "mime": "^4.0.7", | ||
| "puppeteer": "^24.16.2" | ||
| } | ||
| } |
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
347225
0.14%9817
0.03%4
Infinity%