typescript issues - is this package deprecated? #144

Open
opened 2022-05-27 17:34:34 +00:00 by pavlexander · 0 comments
pavlexander commented 2022-05-27 17:34:34 +00:00 (Migrated from github.com)

I have found an issue with what looks like typescript definition problem.

This is the JSON.stringify output of GrayMatterFile object:

{                                                                 
  content: 'test2',                          
  data: { title: 'test1' },                                       
  isEmpty: false,                                                 
  excerpt: '',                                                    
  path: 'C:\\supersecret\\public\\docs\\test1.md'
}         

However there is no path property on the object as well as other inconsistencies, according to typescript:

image

I wanted to report a bug, but based on amount of unmerged pull-requests and last commit date it looks like this project is dead?

Does anybody know if there is a better alternative that is still supported?

I have found an issue with what looks like `typescript` definition problem. This is the `JSON.stringify` output of `GrayMatterFile` object: ``` { content: 'test2', data: { title: 'test1' }, isEmpty: false, excerpt: '', path: 'C:\\supersecret\\public\\docs\\test1.md' } ``` However there is no `path` property on the object as well as other inconsistencies, according to `typescript`: ![image](https://user-images.githubusercontent.com/20644772/170761635-d7ce47dd-43ec-48ee-9384-c42f5b42a090.png) I wanted to report a bug, but based on amount of unmerged pull-requests and last commit date it looks like this project is dead? Does anybody know if there is a better alternative that is still supported?
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
rtlabs-llm-agents/gms-gray-matter#144
No description provided.