Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Data Management for Changelists CLI Tools.
This package is designed for the purpose of serving other changelist packages, and reducing code duplication.
There are two storage options for Changelists.
.idea/workspace.xml
file associated with popular IDEs..changelists/data.xml
file managed by changelist-data on behalf of other changelist tools.Each changelist tool must be compatible with both storage options. The goal of this package is to provide access to both storage options, and support the file reading and writing needs of all changelist tools.
The Data Storage needs of the Changelist Tools:
Call the public methods of the appropriate package for the level of detail required.
changelist_data/
contains shared data classes.changelist_data/storage/
contains storage methods for read and write access.changelist_data/xml/
contains some xml tree abstractions and modules.changelist_data/xml/changelists/
changelists data xml management.changelist_data/xml/workspace/
workspace xml management.The highest level package does not import anything during initialization, or provide package level methods. It contains the common data classes shared by Changelist packages.
class FileChange
: Individual Files
class Changelist
: Lists of Files
This package contains modules for both workspace and changelist storage options. The storage option is passed in as an enum. Sensible default values are included.
read_storage(StorageType, Path) -> list[Changelist]
load_storage(StorageType, Path) -> ChangelistsDataStorage
Storage File Management:
Read-Only Changelist Requirements:
Loading Changelist Data Tree Structures:
This module determines if a storage option is already in use (one of those files exists).
.idea/workspace.xml
exists.changelists/data.xml
existsThis package provides all the methods one may need for processing Changelists XML.
read_xml(changelists_xml: str) -> list[Changelist]
load_tree(changelists_xml: str) -> ChangelistsTree
new_tree() -> ChangelistsTree
The new_tree
method is a shortcut for creating a Changelists XML Tree.
This is to be used when initializing changelist workflows for the first time in a project.
This package provides methods for processing Workspace XML.
read_xml(workspace_xml: str) -> list[Changelist]
load_tree(workspace_xml: str) -> WorkspaceTree
FAQs
Data Management base package for Changelists CLI Tools
We found that changelist-data demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.