Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

git-describeify

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

git-describeify - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

8

index.js
'use strict';
const _ = require('lodash');
const first = require('lodash/first');
const slice = require('lodash/slice');
const transformtools = require('browserify-transform-tools');

@@ -11,6 +13,6 @@ const gitDescribeSync = require('git-describe').gitDescribeSync;

(args, opts, cb) => {
if (_.first(args) === packageJson.name) {
if (first(args) === packageJson.name) {
let gitInfo = {};
try {
gitInfo = gitDescribeSync.apply(this, _.slice(args, 1));
gitInfo = gitDescribeSync.apply(this, slice(args, 1));
} catch (err) {

@@ -17,0 +19,0 @@ console.log('Failed to retrieve git info:', err);

{
"name": "git-describeify",
"version": "1.0.2",
"version": "1.0.3",
"description": "A Browserify tranform to require Git describe information at transform time",

@@ -20,3 +20,3 @@ "keywords": [

"type": "git",
"url": "git+https://github.com/idelsink/browserify-git-describe.git"
"url": "git+https://github.com/idelsink/git-describeify.git"
},

@@ -26,5 +26,5 @@ "author": "Ingmar Delsink",

"bugs": {
"url": "https://github.com/idelsink/browserify-git-describe.git/issues"
"url": "https://github.com/idelsink/git-describeify.git/issues"
},
"homepage": "https://github.com/idelsink/browserify-git-describe#readme",
"homepage": "https://github.com/idelsink/git-describeify#readme",
"dependencies": {

@@ -31,0 +31,0 @@ "browserify-transform-tools": "^1.7.0",

@@ -52,3 +52,3 @@ # git-describeify

```js
// Require the module the arguments passed to git-describe
// Require the module the arguments passed to git-describe
require('git-describeify', argument1, argument2, argument3, ...);

@@ -55,0 +55,0 @@

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