@secrez/crypto
Advanced tools
Comparing version 1.0.0 to 1.0.1
{ | ||
"name": "@secrez/crypto", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "publishConfig": { |
@@ -15,2 +15,5 @@ # @secrez/crypto | ||
__0.1.5__ | ||
* adds `bufferToUnti8Array` | ||
__0.1.4__ | ||
@@ -29,15 +32,16 @@ * adds more methods to encrypt and decrypt buffers too | ||
``` | ||
33 passing (734ms) | ||
33 passing (682ms) | ||
2 pending | ||
----------|---------|----------|---------|---------|-------------------------------------- | ||
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s | ||
----------|---------|----------|---------|---------|-------------------------------------- | ||
All files | 100 | 86.9 | 100 | 100 | | ||
index.js | 100 | 86.9 | 100 | 100 | 42-53,82,108-134,184-185,204,354-358 | ||
----------|---------|----------|---------|---------|-------------------------------------- | ||
----------|---------|----------|---------|---------|------------------- | ||
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s | ||
----------|---------|----------|---------|---------|------------------- | ||
All files | 99.42 | 86.9 | 98.21 | 99.39 | | ||
index.js | 99.42 | 86.9 | 98.21 | 99.39 | 141 | ||
----------|---------|----------|---------|---------|------------------- | ||
> @secrez/crypto@1.0.0 posttest /Users/sullof/Projects/Personal/secrez/packages/crypto | ||
> @secrez/crypto@1.0.1 posttest /Users/sullof/Projects/Personal/secrez/packages/crypto | ||
> nyc check-coverage --statements 99 --branches 85 --functions 99 --lines 99 | ||
ERROR Command failed with exit code 1. | ||
@@ -44,0 +48,0 @@ ``` |
@@ -140,2 +140,6 @@ const crypto = require('crypto') | ||
static bufferToUint8Array(buf) { | ||
return new Uint8Array(buf) | ||
} | ||
static uint8ArrayToHex(uint8) { | ||
@@ -142,0 +146,0 @@ return Buffer.from(uint8).toString('hex') |
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
349
56
94400