https://github.com/naugtur/audit-resolve-core
Core modules for audit-resolve.json file and logic of its processing
https://github.com/naugtur/audit-resolve-core
Last synced: 7 months ago
JSON representation
Core modules for audit-resolve.json file and logic of its processing
- Host: GitHub
- URL: https://github.com/naugtur/audit-resolve-core
- Owner: naugtur
- Created: 2019-07-27T13:04:39.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2023-12-13T08:07:31.000Z (almost 2 years ago)
- Last Synced: 2025-02-28T23:10:30.024Z (7 months ago)
- Language: JavaScript
- Homepage:
- Size: 40 KB
- Stars: 1
- Watchers: 3
- Forks: 6
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- Audit: auditFile/FILE.js
Awesome Lists containing this project
README
# audit-resolve-core
Core modules for audit-resolve.json file and logic of its processing
See also: [npm-audit-resolver]()## Embedding
In a package manager or a tool responsible for downloading audit information from NPM and processing it, do the following to introduce audit-resolve.json support:
```js
const { dropResolvedActions } = require('audit-resolve-core/statusManager');
const audit = downoadAudit();
audit.actions = dropResolvedActions(audit.actions);
```Decisions from audit-resolve.json file will be used to skip some of the items.
audit-resolve.json can be created manually or generated with a tool like [npm-audit-resolver]()
## audit-resolve.json manipulation
TBD
This library also provides support for anyone wanting to create content for audit-resolve.json files.
See the interface exposed in 'audit-resolve-core/statusManager'