update dependency
This commit is contained in:
parent
5c007e630b
commit
c50a08e4fc
12
package-lock.json
generated
12
package-lock.json
generated
@ -1,15 +1,15 @@
|
|||||||
{
|
{
|
||||||
"name": "@apihub24/password-hasher",
|
"name": "@apihub24/password-hasher",
|
||||||
"version": "1.0.9",
|
"version": "2.0.0-alpha.0",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "@apihub24/password-hasher",
|
"name": "@apihub24/password-hasher",
|
||||||
"version": "1.0.9",
|
"version": "2.0.0-alpha.0",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@apihub24/authentication": "^1.0.1",
|
"@apihub24/authentication": "2.0.0-alpha.0",
|
||||||
"@nestjs/common": "^11.1.6",
|
"@nestjs/common": "^11.1.6",
|
||||||
"@nestjs/config": "^4.0.2",
|
"@nestjs/config": "^4.0.2",
|
||||||
"bcrypt": "^6.0.0"
|
"bcrypt": "^6.0.0"
|
||||||
@ -38,9 +38,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@apihub24/authentication": {
|
"node_modules/@apihub24/authentication": {
|
||||||
"version": "1.0.1",
|
"version": "2.0.0-alpha.0",
|
||||||
"resolved": "https://registry.npmjs.org/@apihub24/authentication/-/authentication-1.0.1.tgz",
|
"resolved": "https://registry.npmjs.org/@apihub24/authentication/-/authentication-2.0.0-alpha.0.tgz",
|
||||||
"integrity": "sha512-nWw75ofQKHxE0dI7PzvNBQNcQrX/HSrzuAJTYNu42BoCROba1NUz8QAodTn5+3dIeQEzw127gtSb6D7yW0B8Jg==",
|
"integrity": "sha512-e7ZGD2fHSo2LJFuu9/6lJ4JMq52anK1jUe5btusVbNRzAP+8lrFcwytlctLUF2Adtlg/DgLGrLzCgSm+g19TVw==",
|
||||||
"license": "MIT"
|
"license": "MIT"
|
||||||
},
|
},
|
||||||
"node_modules/@babel/code-frame": {
|
"node_modules/@babel/code-frame": {
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@apihub24/password-hasher",
|
"name": "@apihub24/password-hasher",
|
||||||
"version": "1.0.9",
|
"version": "2.0.0-alpha.0",
|
||||||
"description": "",
|
"description": "",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"types": "./dist/index.d.ts",
|
"types": "./dist/index.d.ts",
|
||||||
@ -14,7 +14,7 @@
|
|||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@nestjs/common": "^11.1.6",
|
"@nestjs/common": "^11.1.6",
|
||||||
"@nestjs/config": "^4.0.2",
|
"@nestjs/config": "^4.0.2",
|
||||||
"@apihub24/authentication": "^1.0.1",
|
"@apihub24/authentication": "2.0.0-alpha.0",
|
||||||
"bcrypt": "^6.0.0"
|
"bcrypt": "^6.0.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
|||||||
@ -1,5 +1,6 @@
|
|||||||
import { Test, TestingModule } from "@nestjs/testing";
|
import { Test, TestingModule } from "@nestjs/testing";
|
||||||
import { PasswordHasherModule } from "./";
|
import { PasswordHasherModule } from "./";
|
||||||
|
import { APIHUB24_PASSWORD_SERVICE } from "@apihub24/authentication";
|
||||||
|
|
||||||
describe("PasswordHasherModule Tests", () => {
|
describe("PasswordHasherModule Tests", () => {
|
||||||
let module: TestingModule | null = null;
|
let module: TestingModule | null = null;
|
||||||
@ -12,7 +13,7 @@ describe("PasswordHasherModule Tests", () => {
|
|||||||
|
|
||||||
it("should get PasswordHasherService by injection Key @apihub24/password_service", () => {
|
it("should get PasswordHasherService by injection Key @apihub24/password_service", () => {
|
||||||
expect(module).toBeDefined();
|
expect(module).toBeDefined();
|
||||||
const service = module?.get("@apihub24/password_service");
|
const service = module?.get(APIHUB24_PASSWORD_SERVICE);
|
||||||
expect(service).toBeDefined();
|
expect(service).toBeDefined();
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user