New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

absolute-version

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

absolute-version - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

7

CHANGELOG.md

@@ -5,2 +5,9 @@ # Changelog

## [1.0.2](https://github.com/absolute-version/absolute-version-js/compare/v1.0.1...v1.0.2) (2023-03-17)
### Bug Fixes
* Fix a bug where the git hash was inappropriately truncated when there were no tags (fixes [#3](https://github.com/absolute-version/absolute-version-js/issues/3)) ([aad13ca](https://github.com/absolute-version/absolute-version-js/commit/aad13ca6f59c9145696b53f81dbb0f99d3d663db))
### [1.0.1](https://github.com/absolute-version/absolute-version-js/compare/v1.0.0...v1.0.1) (2022-05-25)

@@ -7,0 +14,0 @@

4

dist/gitTagDescriptor.js

@@ -33,3 +33,5 @@ "use strict";

};
var gitHash = function (gitInfo) { return gitInfo.hash.substring(1); };
var gitHash = function (gitInfo) {
return gitInfo.hash.startsWith('g') ? gitInfo.hash.substring(1) : gitInfo.hash;
};
var tagOrHash = function (gitInfo) {

@@ -36,0 +38,0 @@ return gitInfo.tag ? gitInfo.tag : gitHash(gitInfo);

{
"name": "absolute-version",
"version": "1.0.1",
"version": "1.0.2",
"description": "Reads your git tags to generate a unique human-readable version for every git commit",

@@ -29,2 +29,3 @@ "main": "dist/index.js",

"license": "MIT",
"repository": "https://github.com/absolute-version/absolute-version-js",
"devDependencies": {

@@ -31,0 +32,0 @@ "@pact-foundation/pact-js-prettier-config": "^1.0.0",

Sorry, the diff of this file is not supported yet

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