New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@types/node

Package Overview
Dependencies
Maintainers
1
Versions
2000
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/node - npm Package Compare versions

Comparing version 22.10.3 to 22.10.4

14

node/globals.d.ts

@@ -252,6 +252,9 @@ export {}; // Make this a module

/**
* A browser-compatible implementation of [`localStorage`](https://developer.mozilla.org/en-US/docs/Web/API/Window/localStorage).
* Data is stored unencrypted in the file specified by the `--localstorage-file` CLI flag.
* A browser-compatible implementation of [`localStorage`](https://developer.mozilla.org/en-US/docs/Web/API/Window/localStorage). Data is stored
* unencrypted in the file specified by the `--localstorage-file` CLI flag.
* The maximum amount of data that can be stored is 10 MB.
* Any modification of this data outside of the Web Storage API is not supported.
* Enable this API with the `--experimental-webstorage` CLI flag.
* `localStorage` data is not stored per user or per request when used in the context
* of a server, it is shared across all users and requests.
* @since v22.4.0

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

/**
* A browser-compatible implementation of [`sessionStorage`](https://developer.mozilla.org/en-US/docs/Web/API/Window/sessionStorage).
* Data is stored in memory, with a storage quota of 10 MB.
* Any modification of this data outside of the Web Storage API is not supported.
* Enable this API with the `--experimental-webstorage` CLI flag.
* A browser-compatible implementation of [`sessionStorage`](https://developer.mozilla.org/en-US/docs/Web/API/Window/sessionStorage). Data is stored in
* memory, with a storage quota of 10 MB. `sessionStorage` data persists only within
* the currently running process, and is not shared between workers.
* @since v22.4.0

@@ -268,0 +270,0 @@ */

@@ -899,2 +899,5 @@ /**

* Sets the default value of the `autoSelectFamily` option of `socket.connect(options)`.
* @param value The new default value.
* The initial default value is `true`, unless the command line option
* `--no-network-family-autoselection` is provided.
* @since v19.4.0

@@ -901,0 +904,0 @@ */

{
"name": "@types/node",
"version": "22.10.3",
"version": "22.10.4",
"description": "TypeScript definitions for node",

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

"peerDependencies": {},
"typesPublisherContentHash": "76896c403a15df2af1ad7a8d1e0064e3f19eae1221d46aa05187347cc7d544fe",
"typesPublisherContentHash": "d33a55fcd6201de40949649f382bcf0442b534ed375ad196375040c1c628fbee",
"typeScriptVersion": "5.0"
}

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

### Additional Details
* Last updated: Wed, 01 Jan 2025 01:30:02 GMT
* Last updated: Thu, 02 Jan 2025 18:37:07 GMT
* Dependencies: [undici-types](https://npmjs.com/package/undici-types)

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

@@ -48,6 +48,27 @@ /**

/**
* If `true`, the database is opened by the constructor.
* When this value is `false`, the database must be opened via the `open()` method.
* If `true`, the database is opened by the constructor. When
* this value is `false`, the database must be opened via the `open()` method.
* @since v22.5.0
* @default true
*/
open?: boolean | undefined;
/**
* If `true`, foreign key constraints
* are enabled. This is recommended but can be disabled for compatibility with
* legacy database schemas. The enforcement of foreign key constraints can be
* enabled and disabled after opening the database using
* [`PRAGMA foreign_keys`](https://www.sqlite.org/pragma.html#pragma_foreign_keys).
* @since v22.10.0
* @default true
*/
enableForeignKeyConstraints?: boolean | undefined;
/**
* If `true`, SQLite will accept
* [double-quoted string literals](https://www.sqlite.org/quirks.html#dblquote).
* This is not recommended but can be
* enabled for compatibility with legacy database schemas.
* @since v22.10.0
* @default false
*/
enableDoubleQuotedStringLiterals?: boolean | undefined;
}

@@ -144,8 +165,9 @@ /**

/**
* This method returns the source SQL of the prepared statement with parameter
* placeholders replaced by values. This method is a wrapper around [`sqlite3_expanded_sql()`](https://www.sqlite.org/c3ref/expanded_sql.html).
* The source SQL text of the prepared statement with parameter
* placeholders replaced by the values that were used during the most recent
* execution of this prepared statement. This property is a wrapper around
* [`sqlite3_expanded_sql()`](https://www.sqlite.org/c3ref/expanded_sql.html).
* @since v22.5.0
* @return The source SQL expanded to include parameter values.
*/
expandedSQL(): string;
readonly expandedSQL: string;
/**

@@ -208,9 +230,8 @@ * This method executes a prepared statement and returns the first result as an

/**
* This method returns the source SQL of the prepared statement. This method is a
* The source SQL text of the prepared statement. This property is a
* wrapper around [`sqlite3_sql()`](https://www.sqlite.org/c3ref/expanded_sql.html).
* @since v22.5.0
* @return The source SQL used to create this prepared statement.
*/
sourceSQL(): string;
readonly sourceSQL: string;
}
}
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