nestjs-cryptography 3.2.0 → 3.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/.codacy.yml ADDED
@@ -0,0 +1,9 @@
1
+ exclude_paths:
2
+ - 'test/**'
3
+ - 'test/**/*'
4
+ - 'wiki/**'
5
+ - 'wiki/**/*'
6
+ - 'dist/**'
7
+ - 'dist/**/*'
8
+ - '.github/**'
9
+ - '.github/**/*'
@@ -14,3 +14,4 @@ export declare const DEFAULT_HASHING_CRYPTOGRAPHY_OPTIONS: {
14
14
  timeCost: number;
15
15
  };
16
16
  };
17
+ export declare const NEST_CRYPTOGRAPHY_MODULE_OPTIONS: string | symbol;
package/dist/constants.js CHANGED
@@ -1,7 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DEFAULT_HASHING_CRYPTOGRAPHY_OPTIONS = exports.DEFAULT_KDF_CRYPTOGRAPHY_OPTIONS = exports.CRYPTOGRAPHY_OPTIONS = void 0;
3
+ exports.NEST_CRYPTOGRAPHY_MODULE_OPTIONS = exports.DEFAULT_HASHING_CRYPTOGRAPHY_OPTIONS = exports.DEFAULT_KDF_CRYPTOGRAPHY_OPTIONS = exports.CRYPTOGRAPHY_OPTIONS = void 0;
4
4
  const interfaces_1 = require("./interfaces");
5
+ const cryptography_module_definition_1 = require("./cryptography.module-definition");
5
6
  exports.CRYPTOGRAPHY_OPTIONS = 'CRYPTOGRAPHY_OPTIONS';
6
7
  exports.DEFAULT_KDF_CRYPTOGRAPHY_OPTIONS = {
7
8
  outputKeyLength: 32,
@@ -17,3 +18,4 @@ exports.DEFAULT_HASHING_CRYPTOGRAPHY_OPTIONS = {
17
18
  timeCost: 4,
18
19
  },
19
20
  };
21
+ exports.NEST_CRYPTOGRAPHY_MODULE_OPTIONS = cryptography_module_definition_1.MODULE_OPTIONS_TOKEN;
package/dist/index.d.ts CHANGED
@@ -1,3 +1,4 @@
1
1
  export * from './cryptography.module';
2
2
  export * from './interfaces';
3
3
  export * from './cryptography.service';
4
+ export * from './constants';
package/dist/index.js CHANGED
@@ -17,3 +17,4 @@ Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./cryptography.module"), exports);
18
18
  __exportStar(require("./interfaces"), exports);
19
19
  __exportStar(require("./cryptography.service"), exports);
20
+ __exportStar(require("./constants"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nestjs-cryptography",
3
- "version": "3.2.0",
3
+ "version": "3.2.2",
4
4
  "author": {
5
5
  "name": "Marc Jorge Gonzalez",
6
6
  "url": "https://github.com/mjorgegulab"
@@ -27,37 +27,37 @@
27
27
  "all": "yarn format && yarn lint && yarn test && yarn prepack"
28
28
  },
29
29
  "dependencies": {
30
- "argon2": "^0.41.1"
30
+ "argon2": "^0.43.0"
31
31
  },
32
32
  "devDependencies": {
33
33
  "@eslint/eslintrc": "^3.3.1",
34
- "@eslint/js": "^9.24.0",
35
- "@nestjs/cli": "^11.0.6",
36
- "@nestjs/common": "^11.0.13",
37
- "@nestjs/core": "^11.0.13",
38
- "@nestjs/platform-express": "^11.0.13",
39
- "@nestjs/schematics": "^11.0.4",
40
- "@nestjs/testing": "^11.0.13",
41
- "@types/express": "^5.0.1",
34
+ "@eslint/js": "^9.28.0",
35
+ "@nestjs/cli": "^11.0.7",
36
+ "@nestjs/common": "^11.1.2",
37
+ "@nestjs/core": "^11.1.2",
38
+ "@nestjs/platform-express": "^11.1.2",
39
+ "@nestjs/schematics": "^11.0.5",
40
+ "@nestjs/testing": "^11.1.2",
41
+ "@types/express": "^5.0.2",
42
42
  "@types/jest": "29.5.14",
43
- "@types/node": "22.14.0",
43
+ "@types/node": "22.15.29",
44
44
  "@types/supertest": "^6.0.3",
45
- "eslint": "^9.24.0",
46
- "eslint-config-prettier": "^10.1.1",
47
- "eslint-plugin-prettier": "^5.2.6",
45
+ "eslint": "^9.28.0",
46
+ "eslint-config-prettier": "^10.1.5",
47
+ "eslint-plugin-prettier": "^5.4.1",
48
48
  "jest": "29.7.0",
49
49
  "prettier": "^3.5.3",
50
50
  "reflect-metadata": "^0.2.2",
51
51
  "rimraf": "^6.0.1",
52
52
  "rxjs": "^7.8.2",
53
53
  "source-map-support": "^0.5.21",
54
- "supertest": "^7.1.0",
55
- "ts-jest": "29.3.1",
54
+ "supertest": "^7.1.1",
55
+ "ts-jest": "^29.3.4",
56
56
  "ts-loader": "^9.5.2",
57
57
  "ts-node": "^10.9.2",
58
58
  "tsconfig-paths": "4.2.0",
59
59
  "typescript": "^5.8.3",
60
- "typescript-eslint": "^8.29.1"
60
+ "typescript-eslint": "^8.33.1"
61
61
  },
62
62
  "peerDependencies": {
63
63
  "@nestjs/common": "^9.0.0 || ^10.0.0 || ^11.0.0",