Socket
Socket
Sign inDemoInstall

@types/node

Package Overview
Dependencies
Maintainers
1
Versions
1894
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 18.19.40 to 18.19.41

21

node v18.19/module.d.ts

@@ -275,18 +275,11 @@ /**

}
type ImportMetaDOMCompat = typeof globalThis extends { onmessage: any } ? {
resolve(specifier: string): string;
}
: {
resolve?(specifier: string, parent?: string | URL): Promise<string>;
};
global {
interface ImportMeta {
interface ImportMeta extends ImportMetaDOMCompat {
url: string;
/**
* @experimental
* This feature is only available with the `--experimental-import-meta-resolve`
* command flag enabled.
*
* Provides a module-relative resolution function scoped to each module, returning
* the URL string.
*
* @param specified The module specifier to resolve relative to `parent`.
* @param parent The absolute parent module URL to resolve from. If none
* is specified, the value of `import.meta.url` is used as the default.
*/
resolve?(specified: string, parent?: string | URL): Promise<string>;
}

@@ -293,0 +286,0 @@ }

{
"name": "@types/node",
"version": "18.19.40",
"version": "18.19.41",
"description": "TypeScript definitions for node",

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

},
"typesPublisherContentHash": "66d6b061541c7ad111b7ddb83bd9aecbbd950c26f2b1903c2381246f0bc10d7b",
"typesPublisherContentHash": "1bba4b67e320cd62e059125efa70ea35d3af301b4291c2b3f23df7aa3b42a9a0",
"typeScriptVersion": "4.8"
}

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

### Additional Details
* Last updated: Tue, 16 Jul 2024 20:07:33 GMT
* Last updated: Thu, 18 Jul 2024 18:38:10 GMT
* Dependencies: [undici-types](https://npmjs.com/package/undici-types)

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

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc