@systemix/password 0.1.0 → 0.3.0

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/dist/index.cjs CHANGED
@@ -60,7 +60,7 @@ var GeneratePasswordPropsEnum = /* @__PURE__ */ ((GeneratePasswordPropsEnum2) =>
60
60
  // src/utils/error.message.ts
61
61
  var lengthError = {
62
62
  invalidLength: "Invalid length. Length must be a positive number.",
63
- lengthTooLarge: "Invalid length. Length must be less than or equal to 50."
63
+ lengthTooLarge: "Invalid length. Length must be less than or equal to 100."
64
64
  };
65
65
  var useNumbersError = "Invalid useNumbers. It must be a boolean value.";
66
66
  var useUppercaseError = "Invalid useUppercase. It must be a boolean value.";
@@ -73,7 +73,7 @@ var countError = {
73
73
  countTooLarge: "Invalid count. Count must be less than or equal to 10."
74
74
  };
75
75
  var unwantedPropsError = (unwantedProps) => {
76
- return `Invalid prop(s): ${unwantedProps.join(", ")}. Only the following options are allowed: length, useNumbers, useUppercase, useLowercase, useSymbols, excludeSimilarCharacters, exclude, count.`;
76
+ return `Invalid prop(s): ${unwantedProps.join(", ")}. Only the following options are allowed: length, useNumbers, useUppercase, useLowercase, useSymbols, excludeSimilarCharacters, exclude, count, minNumbers, minUppercase, minLowercase, minSymbols, customUppercase, customLowercase, customNumbers, customSymbols.`;
77
77
  };
78
78
  var allOptionsFalseError = "At least one of the options must be true.";
79
79
 
package/dist/index.js CHANGED
@@ -22,7 +22,7 @@ var GeneratePasswordPropsEnum = /* @__PURE__ */ ((GeneratePasswordPropsEnum2) =>
22
22
  // src/utils/error.message.ts
23
23
  var lengthError = {
24
24
  invalidLength: "Invalid length. Length must be a positive number.",
25
- lengthTooLarge: "Invalid length. Length must be less than or equal to 50."
25
+ lengthTooLarge: "Invalid length. Length must be less than or equal to 100."
26
26
  };
27
27
  var useNumbersError = "Invalid useNumbers. It must be a boolean value.";
28
28
  var useUppercaseError = "Invalid useUppercase. It must be a boolean value.";
@@ -35,7 +35,7 @@ var countError = {
35
35
  countTooLarge: "Invalid count. Count must be less than or equal to 10."
36
36
  };
37
37
  var unwantedPropsError = (unwantedProps) => {
38
- return `Invalid prop(s): ${unwantedProps.join(", ")}. Only the following options are allowed: length, useNumbers, useUppercase, useLowercase, useSymbols, excludeSimilarCharacters, exclude, count.`;
38
+ return `Invalid prop(s): ${unwantedProps.join(", ")}. Only the following options are allowed: length, useNumbers, useUppercase, useLowercase, useSymbols, excludeSimilarCharacters, exclude, count, minNumbers, minUppercase, minLowercase, minSymbols, customUppercase, customLowercase, customNumbers, customSymbols.`;
39
39
  };
40
40
  var allOptionsFalseError = "At least one of the options must be true.";
41
41
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@systemix/password",
3
- "version": "0.1.0",
3
+ "version": "0.3.0",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -38,20 +38,17 @@
38
38
  "license": "MIT",
39
39
  "description": "A cryptographically secure password generator with customizable complexity. Part of the Systemix toolkit.",
40
40
  "devDependencies": {
41
- "@types/node": "^25.2.3",
42
- "eslint": "^10.0.0",
41
+ "@types/node": "^25.3.0",
42
+ "eslint": "^10.0.1",
43
43
  "tsup": "^8.5.1",
44
44
  "typescript": "^5.9.3",
45
- "@systemix/eslint": "0.2.2",
46
- "@systemix/typescript": "0.2.2"
45
+ "@systemix/eslint": "0.3.0",
46
+ "@systemix/typescript": "0.3.0"
47
47
  },
48
48
  "directories": {
49
49
  "test": "tests"
50
50
  },
51
- "sideEffects": [
52
- "*.css",
53
- "*.scss"
54
- ],
51
+ "sideEffects": false,
55
52
  "bugs": {
56
53
  "url": "https://github.com/shahadathhs/systemix/issues"
57
54
  },