@types/git-revision-webpack-plugin
Advanced tools
| { | ||
| "name": "@types/git-revision-webpack-plugin", | ||
| "version": "3.0.6", | ||
| "description": "TypeScript definitions for git-revision-webpack-plugin", | ||
| "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/git-revision-webpack-plugin", | ||
| "license": "MIT", | ||
| "contributors": [ | ||
| { | ||
| "name": "Anders Kaseorg", | ||
| "githubUsername": "andersk", | ||
| "url": "https://github.com/andersk" | ||
| } | ||
| ], | ||
| "version": "4.0.0", | ||
| "description": "Stub TypeScript definitions entry for git-revision-webpack-plugin, which provides its own types definitions", | ||
| "main": "", | ||
| "types": "index.d.ts", | ||
| "repository": { | ||
| "type": "git", | ||
| "url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git", | ||
| "directory": "types/git-revision-webpack-plugin" | ||
| }, | ||
| "scripts": {}, | ||
| "license": "MIT", | ||
| "dependencies": { | ||
| "@types/webpack": "^4" | ||
| "git-revision-webpack-plugin": "*" | ||
| }, | ||
| "typesPublisherContentHash": "60e2095350d75cb61c24e4bdce8fbd7141f57adb597d48d4dd214662f9da76cc", | ||
| "typeScriptVersion": "4.5" | ||
| "deprecated": "This is a stub types definition. git-revision-webpack-plugin provides its own type definitions, so you do not need this installed." | ||
| } |
@@ -1,41 +0,3 @@ | ||
| # Installation | ||
| > `npm install --save @types/git-revision-webpack-plugin` | ||
| This is a stub types definition for @types/git-revision-webpack-plugin (https://github.com/pirelenito/git-revision-webpack-plugin). | ||
| # Summary | ||
| This package contains type definitions for git-revision-webpack-plugin (https://github.com/pirelenito/git-revision-webpack-plugin). | ||
| # Details | ||
| Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/git-revision-webpack-plugin. | ||
| ## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/git-revision-webpack-plugin/index.d.ts) | ||
| ````ts | ||
| import { Compiler, WebpackPluginInstance } from "webpack"; | ||
| declare namespace GitRevisionPlugin { | ||
| interface Options { | ||
| lightweightTags?: boolean | undefined; | ||
| branch?: boolean | undefined; | ||
| commithashCommand?: string | undefined; | ||
| versionCommand?: string | undefined; | ||
| branchCommand?: string | undefined; | ||
| gitWorkTree?: string | undefined; | ||
| } | ||
| } | ||
| declare class GitRevisionPlugin implements WebpackPluginInstance { | ||
| constructor(options?: GitRevisionPlugin.Options); | ||
| apply(compiler: Compiler): void; | ||
| version(): string; | ||
| commithash(): string; | ||
| branch(): string; | ||
| } | ||
| export = GitRevisionPlugin; | ||
| ```` | ||
| ### Additional Details | ||
| * Last updated: Tue, 07 Nov 2023 03:09:37 GMT | ||
| * Dependencies: [@types/webpack](https://npmjs.com/package/@types/webpack) | ||
| # Credits | ||
| These definitions were written by [Anders Kaseorg](https://github.com/andersk). | ||
| git-revision-webpack-plugin provides its own type definitions, so you don't need @types/git-revision-webpack-plugin installed! |
| import { Compiler, WebpackPluginInstance } from "webpack"; | ||
| declare namespace GitRevisionPlugin { | ||
| interface Options { | ||
| lightweightTags?: boolean | undefined; | ||
| branch?: boolean | undefined; | ||
| commithashCommand?: string | undefined; | ||
| versionCommand?: string | undefined; | ||
| branchCommand?: string | undefined; | ||
| gitWorkTree?: string | undefined; | ||
| } | ||
| } | ||
| declare class GitRevisionPlugin implements WebpackPluginInstance { | ||
| constructor(options?: GitRevisionPlugin.Options); | ||
| apply(compiler: Compiler): void; | ||
| version(): string; | ||
| commithash(): string; | ||
| branch(): string; | ||
| } | ||
| export = GitRevisionPlugin; |
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
Found 1 instance in 1 package
Empty package
Supply chain riskPackage does not contain any code. It may be removed, is name squatting, or the result of a faulty package publish.
Found 1 instance in 1 package
Wildcard dependency
QualityPackage has a dependency with a floating version range. This can cause issues if the dependency publishes a new major version.
Found 1 instance in 1 package
No contributors or author data
MaintenancePackage does not specify a list of contributors or an author in package.json.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
1887
-53.95%3
-25%0
-100%2
100%1
Infinity%1
Infinity%3
-92.86%1
Infinity%1
Infinity%+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed