argon2-pass
Advanced tools
Comparing version 0.1.1 to 0.1.2
# Changelog | ||
All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). | ||
## 0.1.0 - 2018-09-06 | ||
## 0.1.2 - 2018-09-06 | ||
### Fixed | ||
- Moved SecurePassError and SecurePassOptionsError into a new file. | ||
## 0.1.1 - 2018-09-06 | ||
### Fixed | ||
- Fixed missing export SecurePassError. | ||
@@ -8,0 +13,0 @@ |
@@ -16,2 +16,3 @@ "use strict"; | ||
const __1 = require("../"); | ||
const error_1 = require("../error"); | ||
describe('SecurePass - Constants', () => { | ||
@@ -108,3 +109,3 @@ test('PasswordBytes* Constants should be defined.', () => { | ||
expect(e).toBeDefined(); | ||
expect(e instanceof __1.SecurePassOptionsError).toBeTruthy(); | ||
expect(e instanceof error_1.SecurePassOptionsError).toBeTruthy(); | ||
} | ||
@@ -120,3 +121,3 @@ }); | ||
expect(e).toBeDefined(); | ||
expect(e instanceof __1.SecurePassOptionsError).toBeTruthy(); | ||
expect(e instanceof error_1.SecurePassOptionsError).toBeTruthy(); | ||
} | ||
@@ -143,3 +144,3 @@ }); | ||
expect(e).toBeDefined(); | ||
expect(e instanceof __1.SecurePassError).toBeTruthy(); | ||
expect(e instanceof error_1.SecurePassError).toBeTruthy(); | ||
} | ||
@@ -163,3 +164,3 @@ })); | ||
expect(err).toBeDefined(); | ||
expect(err instanceof __1.SecurePassError).toBeTruthy(); | ||
expect(err instanceof error_1.SecurePassError).toBeTruthy(); | ||
expect(hash).toBeUndefined(); | ||
@@ -212,3 +213,3 @@ done(); | ||
expect(e).toBeDefined(); | ||
expect(e instanceof __1.SecurePassError).toBeTruthy(); | ||
expect(e instanceof error_1.SecurePassError).toBeTruthy(); | ||
} | ||
@@ -225,3 +226,3 @@ })); | ||
expect(e).toBeDefined(); | ||
expect(e instanceof __1.SecurePassError).toBeTruthy(); | ||
expect(e instanceof error_1.SecurePassError).toBeTruthy(); | ||
} | ||
@@ -320,3 +321,3 @@ })); | ||
expect(err).toBeDefined(); | ||
expect(err instanceof __1.SecurePassError).toBeTruthy(); | ||
expect(err instanceof error_1.SecurePassError).toBeTruthy(); | ||
done(); | ||
@@ -331,3 +332,3 @@ }); | ||
expect(err).toBeDefined(); | ||
expect(err instanceof __1.SecurePassError).toBeTruthy(); | ||
expect(err instanceof error_1.SecurePassError).toBeTruthy(); | ||
done(); | ||
@@ -334,0 +335,0 @@ }); |
/// <reference types="node" /> | ||
import { SecurePassError, SecurePassOptionsError } from './error'; | ||
export { SecurePassError, SecurePassOptionsError }; | ||
import { SecurePassError } from './error'; | ||
export interface SecurePassOptions { | ||
@@ -5,0 +4,0 @@ /** |
@@ -16,4 +16,2 @@ "use strict"; | ||
const error_1 = require("./error"); | ||
exports.SecurePassError = error_1.SecurePassError; | ||
exports.SecurePassOptionsError = error_1.SecurePassOptionsError; | ||
var VerificationResult; | ||
@@ -20,0 +18,0 @@ (function (VerificationResult) { |
{ | ||
"name": "argon2-pass", | ||
"version": "v0.1.1", | ||
"version": "0.1.2", | ||
"description": "State of the art password hashing and one time password reset token generation module written in TypeScript for nodejs.", | ||
@@ -5,0 +5,0 @@ "main": "./dist/index.js", |
import sodium from 'sodium-native'; | ||
import { SecurePass, SecurePassError, SecurePassOptionsError, VerificationResult } from '../'; | ||
import { SecurePass, VerificationResult } from '../'; | ||
import { SecurePassError, SecurePassOptionsError } from '../error'; | ||
@@ -4,0 +5,0 @@ describe('SecurePass - Constants', () => { |
import sodium from 'sodium-native'; | ||
import { SecurePassError, SecurePassOptionsError } from './error'; | ||
export { SecurePassError, SecurePassOptionsError }; | ||
export interface SecurePassOptions { | ||
@@ -7,0 +5,0 @@ /** |
Sorry, the diff of this file is not supported yet
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
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
0
81285
28
1347