Socket
Socket
Sign inDemoInstall

@parca/utilities

Package Overview
Dependencies
Maintainers
4
Versions
81
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@parca/utilities - npm Package Compare versions

Comparing version 0.0.15 to 0.0.16

4

CHANGELOG.md

@@ -6,2 +6,6 @@ # Change Log

## [0.0.16](https://github.com/parca-dev/parca/compare/@parca/utilities@0.0.15...@parca/utilities@0.0.16) (2023-07-05)
**Note:** Version bump only for package @parca/utilities
## [0.0.15](https://github.com/parca-dev/parca/compare/@parca/utilities@0.0.9...@parca/utilities@0.0.15) (2023-07-03)

@@ -8,0 +12,0 @@

2

dist/index.js

@@ -71,3 +71,3 @@ // Copyright 2022 The Parca Authors

export const getLastItem = (thePath) => {
if (thePath === undefined || thePath === '')
if (thePath === undefined || thePath === null || thePath === '')
return;

@@ -74,0 +74,0 @@ const index = thePath.lastIndexOf('/');

{
"name": "@parca/utilities",
"version": "0.0.15",
"version": "0.0.16",
"description": "A set of reusable functions for Parca",

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

},
"gitHead": "6fb652a4800d7a5263b4af5a0eec2b9bc0f86658"
"gitHead": "f6a5f9e44f81f6722e3aed6629e4a47491562ea6"
}

@@ -100,3 +100,3 @@ // Copyright 2022 The Parca Authors

export const getLastItem = (thePath: string | undefined): string | undefined => {
if (thePath === undefined || thePath === '') return;
if (thePath === undefined || thePath === null || thePath === '') return;

@@ -103,0 +103,0 @@ const index = thePath.lastIndexOf('/');

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