@parca/utilities
Advanced tools
Comparing version 0.0.15 to 0.0.16
@@ -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 @@ |
@@ -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('/'); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
69414