Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

lockfile-lint-api

Package Overview
Dependencies
Maintainers
1
Versions
55
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lockfile-lint-api - npm Package Compare versions

Comparing version 5.0.11 to 5.0.12

8

CHANGELOG.md

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

## [5.0.12](https://github.com/lirantal/lockfile-lint/compare/lockfile-lint-api@5.0.11...lockfile-lint-api@5.0.12) (2020-02-10)
**Note:** Version bump only for package lockfile-lint-api
## [5.0.11](https://github.com/lirantal/lockfile-lint/compare/lockfile-lint-api@5.0.10...lockfile-lint-api@5.0.11) (2020-02-10)

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

4

package.json
{
"name": "lockfile-lint-api",
"version": "5.0.11",
"version": "5.0.12",
"description": "Lint an npm or yarn lockfile to analyze and detect issues",

@@ -177,3 +177,3 @@ "main": "index.js",

},
"gitHead": "7af59d72446a5e66bae3a23d7235984350d5a3e2"
"gitHead": "03b557f0662d711e10a9f268ccaa5aab0abdc0cb"
}

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

if (allowedHosts.indexOf(packageResolvedURL.host) === -1) {
if (!allowedHosts.includes(packageResolvedURL.host)) {
if (!packageResolvedURL.host && options && options.emptyHostname) {

@@ -44,0 +44,0 @@ debug(`detected empty hostname but allowing because emptyHostname is not false`)

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

if (packageResolvedURL.protocol && schemes.indexOf(packageResolvedURL.protocol) === -1) {
if (packageResolvedURL.protocol && !schemes.includes(packageResolvedURL.protocol)) {
validationResult.errors.push({

@@ -37,0 +37,0 @@ message: `detected invalid scheme(s) for package: ${packageName}\n expected: ${schemes}\n actual: ${

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