Socket
Socket
Sign inDemoInstall

audit-resolve-core

Package Overview
Dependencies
21
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.0 to 1.1.0

5

package.json
{
"name": "audit-resolve-core",
"version": "1.0.0",
"version": "1.1.0",
"description": "Core modules for audit-resolve.json file and logic of its processing",

@@ -33,4 +33,3 @@ "scripts": {

},
"devDependencies": {
}
"devDependencies": {}
}

7

pkgFacade/mock.js
const fs = require('fs')
const argv = require('../arguments').get()

@@ -6,4 +7,8 @@ module.exports = {

console.log('>>>mock get audit')
return Promise.resolve(fs.readFileSync(`mock-audit.json`))
if (typeof argv.mock === 'string') {
return Promise.resolve(fs.readFileSync(argv.mock))
} else {
return Promise.resolve(fs.readFileSync('mock-audit.json'))
}
}
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc