@namchee/dependent
Advanced tools
Comparing version 0.4.0 to 0.5.0
@@ -10,3 +10,3 @@ "use strict"; | ||
module ? 'mjs' : 'cjs' : | ||
file.name.split('.')[1]; | ||
file.name.split('.').pop(); | ||
try { | ||
@@ -20,2 +20,3 @@ const parse = parser_1.getParser(ext); | ||
catch (err) { | ||
console.log(err.message); | ||
if (silent) { | ||
@@ -22,0 +23,0 @@ continue; |
@@ -9,2 +9,4 @@ # v0.2.0 (Sat Jul 31 2021) | ||
- fix: Use pop() instead of element access to get file extension [#10](https://github.com/Namchee/dependent/pull/10) ([@Namchee](https://github.com/Namchee)) | ||
- docs: Add pull request template [#8](https://github.com/Namchee/dependent/pull/8) ([@Namchee](https://github.com/Namchee)) | ||
- fix: Remove duplicate issue template [#6](https://github.com/Namchee/dependent/pull/6) ([@Namchee](https://github.com/Namchee)) | ||
@@ -11,0 +13,0 @@ - docs: Add issue templates [#5](https://github.com/Namchee/dependent/pull/5) ([@Namchee](https://github.com/Namchee)) |
{ | ||
"name": "@namchee/dependent", | ||
"version": "0.4.0", | ||
"version": "0.5.0", | ||
"description": "Simple utility CLI tool to analyze which files are using a Node dependency 🚀", | ||
@@ -5,0 +5,0 @@ "repository": "git@github.com:Namchee/dependent.git", |
@@ -27,3 +27,3 @@ import { getParser } from './parser'; | ||
module ? 'mjs' : 'cjs' : | ||
file.name.split('.')[1]; | ||
(file.name.split('.').pop() as string); | ||
@@ -41,2 +41,3 @@ try { | ||
} catch (err) { | ||
console.log(err.message); | ||
if (silent) { | ||
@@ -43,0 +44,0 @@ continue; |
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
56623
44
1286