privateai / deid-examples

Examples scripts that showcase how to use Private AI Text to de-identify, redact, hash, tokenize, mask and synthesize PII in text.
MIT License
75 stars 1 forks source link

Resolve axios CVE #34

Closed bryanbellsmith closed 2 months ago

bryanbellsmith commented 2 months ago

List of changes

Bump axios to 1.7.4 to resolve CVE-2024-39338 Removed example for Process File by URI; it does not exist for Community or Professional API keys Added PAI_URL to the environment file Renamed fake entity generation to synthetic entity generation Added README with node setup and run instructions Switched synchronous to be a function call (commented out by default) Updated the outputs to include all objects with JSON.stringify() Added a sample file for the process file base64 sample Minor comments and log changes

Testing

Ran all javascript examples against the Community API with version 3.9.0