@types/webpack-env
Advanced tools
Comparing version 1.18.0 to 1.18.1
@@ -13,4 +13,6 @@ // Type definitions for webpack (module API) 1.18 | ||
declare namespace __WebpackModuleApi { | ||
type ModuleId = string|number; | ||
interface RequireResolve { | ||
(id: string): string | number; | ||
(id: string): ModuleId; | ||
} | ||
@@ -24,3 +26,3 @@ | ||
/** The module id of the context module. This may be useful for module.hot.accept. */ | ||
id: string; | ||
id: ModuleId; | ||
} | ||
@@ -55,3 +57,3 @@ | ||
*/ | ||
resolveWeak(path: string): number | string; | ||
resolveWeak(path: string): ModuleId; | ||
/** | ||
@@ -71,3 +73,3 @@ * Ensures that the dependency is available, but don’t execute it. This can be use for optimizing the position of a module in the chunks. | ||
exports: any; | ||
id: string; | ||
id: ModuleId; | ||
filename: string; | ||
@@ -79,3 +81,2 @@ loaded: boolean; | ||
} | ||
type ModuleId = string|number; | ||
@@ -82,0 +83,0 @@ interface HotNotifierInfo { |
{ | ||
"name": "@types/webpack-env", | ||
"version": "1.18.0", | ||
"version": "1.18.1", | ||
"description": "TypeScript definitions for webpack (module API)", | ||
@@ -28,4 +28,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/webpack-env", | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "b7d1cd0b1bf1b8458759e2d8881c68f0b3f441867491a14dba4fc84937135805", | ||
"typeScriptVersion": "4.0" | ||
"typesPublisherContentHash": "7ecb35e8832eb07acd8ef223a8c43b2e141f28bf1f5fa2cd7c73a6d3460e5df6", | ||
"typeScriptVersion": "4.3" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Tue, 16 Aug 2022 11:32:32 GMT | ||
* Last updated: Wed, 24 May 2023 14:32:47 GMT | ||
* Dependencies: none | ||
@@ -14,0 +14,0 @@ * Global values: `DEBUG`, `__non_webpack_require__`, `__resourceQuery`, `__webpack_chunk_load__`, `__webpack_hash__`, `__webpack_init_sharing__`, `__webpack_modules__`, `__webpack_nonce__`, `__webpack_public_path__`, `__webpack_require__`, `module`, `process`, `require` |
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
17060