Socket
Socket
Sign inDemoInstall

@types/node

Package Overview
Dependencies
1
Maintainers
1
Versions
1817
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 18.19.25 to 18.19.26

4

node v18.19/package.json
{
"name": "@types/node",
"version": "18.19.25",
"version": "18.19.26",
"description": "TypeScript definitions for node",

@@ -220,4 +220,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",

},
"typesPublisherContentHash": "d8e1b681bf4c7b28e70179727f6248e1a63660e126e5c4743f8f44b29df3f323",
"typesPublisherContentHash": "d865d9e8b8eeacad3c30eb521f8013803059b8b517e651723a26234eca451004",
"typeScriptVersion": "4.7"
}

@@ -11,3 +11,3 @@ # Installation

### Additional Details
* Last updated: Mon, 18 Mar 2024 19:35:28 GMT
* Last updated: Tue, 19 Mar 2024 12:41:20 GMT
* Dependencies: [undici-types](https://npmjs.com/package/undici-types)

@@ -14,0 +14,0 @@

@@ -6,5 +6,5 @@ /**

* ```js
* import { readFile } from 'fs/promises';
* import { readFile } from 'node:fs/promises';
* import { WASI } from 'wasi';
* import { argv, env } from 'process';
* import { argv, env } from 'node:process';
*

@@ -31,3 +31,3 @@ * const wasi = new WASI({

*
* To run the above example, create a new WebAssembly text format file named`demo.wat`:
* To run the above example, create a new WebAssembly text format file named `demo.wat`:
*

@@ -73,3 +73,3 @@ * ```text

* @experimental
* @see [source](https://github.com/nodejs/node/blob/v18.0.0/lib/wasi.js)
* @see [source](https://github.com/nodejs/node/blob/v18.19.1/lib/wasi.js)
*/

@@ -82,2 +82,3 @@ declare module "wasi" {

* WASI command itself.
* @default []
*/

@@ -88,2 +89,3 @@ args?: string[] | undefined;

* application will see as its environment.
* @default {}
*/

@@ -125,3 +127,3 @@ env?: object | undefined;

* methods for working with WASI-based applications. Each `WASI` instance
* represents a distinct sandbox environment. For security purposes, each `WASI`instance must have its command-line arguments, environment variables, and
* represents a distinct sandbox environment. For security purposes, each `WASI` instance must have its command-line arguments, environment variables, and
* sandbox directory structure configured explicitly.

@@ -133,6 +135,6 @@ * @since v13.3.0, v12.16.0

/**
* Attempt to begin execution of `instance` as a WASI command by invoking its`_start()` export. If `instance` does not contain a `_start()` export, or if`instance` contains an `_initialize()`
* Attempt to begin execution of `instance` as a WASI command by invoking its `_start()` export. If `instance` does not contain a `_start()` export, or if `instance` contains an `_initialize()`
* export, then an exception is thrown.
*
* `start()` requires that `instance` exports a [`WebAssembly.Memory`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WebAssembly/Memory) named`memory`. If
* `start()` requires that `instance` exports a [`WebAssembly.Memory`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WebAssembly/Memory) named `memory`. If
* `instance` does not have a `memory` export an exception is thrown.

@@ -145,5 +147,5 @@ *

/**
* Attempt to initialize `instance` as a WASI reactor by invoking its`_initialize()` export, if it is present. If `instance` contains a `_start()`export, then an exception is thrown.
* Attempt to initialize `instance` as a WASI reactor by invoking its `_initialize()` export, if it is present. If `instance` contains a `_start()` export, then an exception is thrown.
*
* `initialize()` requires that `instance` exports a [`WebAssembly.Memory`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WebAssembly/Memory) named`memory`.
* `initialize()` requires that `instance` exports a [`WebAssembly.Memory`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WebAssembly/Memory) named `memory`.
* If `instance` does not have a `memory` export an exception is thrown.

@@ -150,0 +152,0 @@ *

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc