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 16.18.102 to 16.18.103

21

node v16.18/module.d.ts

@@ -198,18 +198,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>;
}

@@ -216,0 +209,0 @@ }

{
"name": "@types/node",
"version": "16.18.102",
"version": "16.18.103",
"description": "TypeScript definitions for node",

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

"dependencies": {},
"typesPublisherContentHash": "a27ff62c2cecf5a12bb841df4f1a3c2a6fe58740d28d73d02e914cabd80e3e00",
"typesPublisherContentHash": "ae435c06d80fefd29e8912da780485466353336a512ae7a4f7a89ac8baf60714",
"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: none

@@ -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