Comparing version 1.0.1 to 2.0.0
@@ -22,2 +22,3 @@ 'use strict'; | ||
} | ||
if (length < 0 || length > MAX_UINT31) { | ||
@@ -24,0 +25,0 @@ return Promise.reject( |
{ | ||
"name": "@kdf/salt", | ||
"version": "1.0.1", | ||
"version": "2.0.0", | ||
"description": "Crypto secure salt generator", | ||
"license": "MIT", | ||
"homepage": "https://github.com/simonepri/kdf-salt#readme", | ||
"repository": "github:simonepri/kdf-salt", | ||
"homepage": "https://github.com/simonepri/node-kdf/tree/master/packages/salt#readme", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/simonepri/node-kdf.git", | ||
"directory": "packages/salt" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/simonepri/kdf-salt/issues", | ||
"url": "https://github.com/simonepri/node-kdf/issues", | ||
"email": "simonepri@outlook.com" | ||
@@ -30,18 +34,13 @@ }, | ||
"engines": { | ||
"node": ">=4" | ||
"node": ">=10" | ||
}, | ||
"scripts": { | ||
"test": "xo &&nyc ava", | ||
"release": "np", | ||
"update": "npm-check -u" | ||
"lint": "xo", | ||
"test": "nyc ava", | ||
"update": "npx npm-check -u" | ||
}, | ||
"publishConfig": { | ||
"access": "public" | ||
}, | ||
"devDependencies": { | ||
"ava": "*", | ||
"np": "*", | ||
"npm-check": "*", | ||
"nyc": "*", | ||
"xo": "*" | ||
"ava": "^3.9.0", | ||
"nyc": "^15.1.0", | ||
"xo": "~0.27.2" | ||
}, | ||
@@ -48,0 +47,0 @@ "ava": { |
@@ -5,10 +5,36 @@ <h1 align="center"> | ||
<p align="center"> | ||
<!-- CI - TravisCI --> | ||
<a href="https://travis-ci.com/simonepri/kdf-salt"> | ||
<img src="https://img.shields.io/travis/com/simonepri/kdf-salt/master.svg?label=MacOS%20%26%20Linux" alt="Mac/Linux Build Status" /> | ||
<!-- Version - npm --> | ||
<a href="https://www.npmjs.com/package/@kdf/salt"> | ||
<img src="https://img.shields.io/npm/v/@kdf/salt.svg" alt="Latest version on npm" /> | ||
</a> | ||
<!-- CI - AppVeyor --> | ||
<a href="https://ci.appveyor.com/project/simonepri/kdf-salt"> | ||
<img src="https://img.shields.io/appveyor/ci/simonepri/kdf-salt/master.svg?label=Windows" alt="Windows Build status" /> | ||
<!-- Downloads - npm --> | ||
<a href="https://npm-stat.com/charts.html?package=@kdf/salt"> | ||
<img src="https://img.shields.io/npm/dt/@kdf/salt.svg" alt="Downloads on npm" /> | ||
</a> | ||
<!-- License - MIT --> | ||
<a href="https://github.com/simonepri/kdf-salt/tree/master/license"> | ||
<img src="https://img.shields.io/github/license/simonepri/kdf-salt.svg" alt="Project license" /> | ||
</a> | ||
<br/> | ||
<!-- Lint --> | ||
<a href="https://github.com/simonepri/kdf-salt/actions?query=workflow:lint+branch:master"> | ||
<img src="https://github.com/simonepri/kdf-salt/workflows/lint/badge.svg?branch=master" alt="Lint status" /> | ||
</a> | ||
<!-- Test - macOS --> | ||
<a href="https://github.com/simonepri/kdf-salt/actions?query=workflow:test-macos+branch:master"> | ||
<img src="https://github.com/simonepri/kdf-salt/workflows/test-macos/badge.svg?branch=master" alt="Test macOS status" /> | ||
</a> | ||
<!-- Test - Ubuntu --> | ||
<a href="https://github.com/simonepri/kdf-salt/actions?query=workflow:test-ubuntu+branch:master"> | ||
<img src="https://github.com/simonepri/kdf-salt/workflows/test-ubuntu/badge.svg?branch=master" alt="Test Ubuntu status" /> | ||
</a> | ||
<!-- Test - Windows --> | ||
<a href="https://github.com/simonepri/kdf-salt/actions?query=workflow:test-windows+branch:master"> | ||
<img src="https://github.com/simonepri/kdf-salt/workflows/test-windows/badge.svg?branch=master" alt="Test Windows status" /> | ||
</a> | ||
<br/> | ||
<!-- Coverage - Codecov --> | ||
@@ -49,13 +75,2 @@ <a href="https://codecov.io/gh/simonepri/kdf-salt"> | ||
</a> | ||
<br/> | ||
<!-- Version - npm --> | ||
<a href="https://www.npmjs.com/package/@kdf/salt"> | ||
<img src="https://img.shields.io/npm/v/@kdf/salt.svg" alt="Latest version on npm" /> | ||
</a> | ||
<!-- License - MIT --> | ||
<a href="https://github.com/simonepri/kdf-salt/tree/master/license"> | ||
<img src="https://img.shields.io/github/license/simonepri/kdf-salt.svg" alt="Project license" /> | ||
</a> | ||
</p> | ||
@@ -62,0 +77,0 @@ <p align="center"> |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
8474
3
142
0