@types/node
Advanced tools
Comparing version 18.19.40 to 18.19.41
@@ -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 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1968489
44224