Socket
Socket
Sign inDemoInstall

git-revision-webpack-plugin

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

git-revision-webpack-plugin - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

lib/build-file.js

7

lib/index.js

@@ -1,3 +0,2 @@

var writeCommithashFile = require('./write-commithash-file')
var writeVersionFile = require('./write-version-file')
var buildFile = require('./build-file')

@@ -7,6 +6,6 @@ function GitRevisionPlugin () {}

GitRevisionPlugin.prototype.apply = function (compiler) {
writeCommithashFile(compiler)
writeVersionFile(compiler)
buildFile(compiler, 'git rev-parse HEAD', 'COMMITHASH')
buildFile(compiler, 'git describe', 'VERSION')
}
module.exports = GitRevisionPlugin
{
"name": "git-revision-webpack-plugin",
"version": "1.0.0",
"version": "1.0.1",
"description": "Simple webpack plugin that generates VERSION and COMMITHASH files during build",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc