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

@adonisjs/hash

Package Overview
Dependencies
Maintainers
2
Versions
63
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@adonisjs/hash - npm Package Compare versions

Comparing version 3.0.0 to 3.1.0

build/src/Drivers/Fake.d.ts

12

build/adonis-typings/hash.d.ts

@@ -66,2 +66,5 @@ declare module '@ioc:Adonis/Core/Hash' {

}
export interface FakeContract extends HashDriverContract {
ids: ['fake'];
}
/**

@@ -83,2 +86,5 @@ * Default list of available drivers. One can you reference this type

};
fake: {
implementation: FakeContract;
};
};

@@ -108,2 +114,3 @@ /**

}> {
readonly isFaked: boolean;
/**

@@ -115,2 +122,7 @@ * Hash plain text value using the default mapping

/**
* Fake/restore hash implementations
*/
fake(): void;
restore(): void;
/**
* Verify plain value against the hashed value to find if it's

@@ -117,0 +129,0 @@ * valid or not

1

build/src/Drivers/Argon.js

@@ -14,2 +14,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.Argon = void 0;
/// <reference path="../../adonis-typings/hash.ts" />

@@ -16,0 +17,0 @@ const format_1 = __importDefault(require("@phc/format"));

@@ -14,2 +14,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.Bcrypt = void 0;
/// <reference path="../../adonis-typings/hash.ts" />

@@ -16,0 +17,0 @@ const format_1 = __importDefault(require("@phc/format"));

2

build/standalone.js

@@ -12,2 +12,2 @@ "use strict";

var Hash_1 = require("./src/Hash");
exports.Hash = Hash_1.Hash;
Object.defineProperty(exports, "Hash", { enumerable: true, get: function () { return Hash_1.Hash; } });
{
"name": "@adonisjs/hash",
"version": "3.0.0",
"version": "3.1.0",
"description": "Multi driver hash module with support for PHC string formats",

@@ -43,3 +43,3 @@ "main": "build/providers/HashProvider",

"@adonisjs/mrm-preset": "^2.3.0",
"@types/node": "^13.13.5",
"@types/node": "^14.0.1",
"argon2": "^0.26.2",

@@ -52,3 +52,3 @@ "bcrypt": "^4.0.1",

"eslint": "^7.0.0",
"eslint-plugin-adonis": "^1.0.9",
"eslint-plugin-adonis": "^1.0.10",
"husky": "^4.2.5",

@@ -61,3 +61,3 @@ "japa": "^3.0.1",

"ts-node": "^8.10.1",
"typescript": "^3.8.3"
"typescript": "^3.9.2"
},

@@ -89,3 +89,3 @@ "nyc": {

"@phc/format": "^0.5.0",
"@poppinss/manager": "^2.1.7",
"@poppinss/manager": "^2.1.8",
"@poppinss/utils": "^2.2.6"

@@ -92,0 +92,0 @@ },

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