Socket
Socket
Sign inDemoInstall

lockfile-lint

Package Overview
Dependencies
Maintainers
1
Versions
74
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lockfile-lint - npm Package Compare versions

Comparing version 1.3.0 to 1.3.1

6

__tests__/main.test.js

@@ -27,2 +27,8 @@ 'use strict'

})
test('should handle exceptions when validators arent provided for runValidators method', () => {
expect(() => {
main.runValidators()
}).toThrow('provided object must have a validators array list')
})
})

@@ -29,0 +35,0 @@

@@ -6,2 +6,10 @@ # Change Log

## [1.3.1](https://github.com/lirantal/lockfile-lint/tree/master/packages/lockfile-lint/compare/lockfile-lint@1.3.0...lockfile-lint@1.3.1) (2019-06-18)
**Note:** Version bump only for package lockfile-lint
# 1.3.0 (2019-06-18)

@@ -8,0 +16,0 @@

6

package.json
{
"name": "lockfile-lint",
"version": "1.3.0",
"version": "1.3.1",
"description": "A CLI to lint a lockfile for security policies",

@@ -59,3 +59,3 @@ "bin": {

"debug": "^4.1.0",
"lockfile-lint-api": "^1.0.4",
"lockfile-lint-api": "^1.0.5",
"yargs": "^13.2.4"

@@ -185,3 +185,3 @@ },

},
"gitHead": "85dbcdc5d12d314bfeb2d02149beec0d63ddd458"
"gitHead": "3f7ae3e99df958b0fe8b72e6f9efbc8f655f2d52"
}

@@ -16,2 +16,6 @@ 'use strict'

if (!Array.isArray(validators)) {
throw new Error('provided object must have a validators array list')
}
validators.forEach(validator => {

@@ -18,0 +22,0 @@ const validatorFunction = validatorFunctions.get(validator.name)

@@ -11,3 +11,3 @@ 'use strict'

function ValidateHostManager ({path, type, validatorOptions} = {}) {
function ValidateHostManager ({path, type, validatorOptions}) {
debug('validate-host-manager')(

@@ -28,3 +28,3 @@ `invoked with validator options: ${JSON.stringify(validatorOptions)}`

function ValidateHttpsManager ({path, type, validatorOptions} = {}) {
function ValidateHttpsManager ({path, type, validatorOptions}) {
debug('validate-host-manager')(

@@ -31,0 +31,0 @@ `invoked with validator options: ${JSON.stringify(validatorOptions)}`

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc