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

utilium

Package Overview
Dependencies
Maintainers
1
Versions
69
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

utilium - npm Package Compare versions

Comparing version 0.5.0 to 0.5.1

2

dist/fs.js

@@ -155,3 +155,3 @@ import { isJSON } from './objects.js';

export function gitCommitHash(repo = '.') {
repo = repo.replaceAll(/\/+/, '/').replaceAll(/\/$/, '');
repo = repo.replaceAll(/\/+/g, '/').replaceAll(/\/$/g, '');
const rev = fs

@@ -158,0 +158,0 @@ .readFileSync(repo + '.git/HEAD')

{
"name": "utilium",
"version": "0.5.0",
"version": "0.5.1",
"description": "Typescript utilies",

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

@@ -221,3 +221,3 @@ import { isJSON } from './objects.js';

export function gitCommitHash(repo: string = '.'): string {
repo = repo.replaceAll(/\/+/, '/').replaceAll(/\/$/, '');
repo = repo.replaceAll(/\/+/g, '/').replaceAll(/\/$/g, '');
const rev = fs

@@ -224,0 +224,0 @@ .readFileSync(repo + '.git/HEAD')

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