Socket
Socket
Sign inDemoInstall

@secrez/crypto

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@secrez/crypto - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

2

package.json
{
"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

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