maskdata 1.3.3 → 1.3.5

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/README.md CHANGED
@@ -3,7 +3,7 @@ maskdata is a Node.js module to mask various kinds of data. With the help of mas
3
3
 
4
4
  # Table of Contents
5
5
  - [Install maskdata](#install-maskdata)
6
- - [Version 1.3.3 Features](#release-features)
6
+ - [Version 1.3.4 Features](#release-features)
7
7
  - [Maskdata for Typescript](#maskdata-for-typescript)
8
8
  - [How to Mask](#how-to-mask)
9
9
  - [Card number](#mask-card-number)
@@ -32,6 +32,8 @@ maskdata is a Node.js module to mask various kinds of data. With the help of mas
32
32
  <br/>
33
33
 
34
34
  # Release Features
35
+ ### Version 1.3.4
36
+ - Dependency version upgrades
35
37
  ### Version 1.3.3
36
38
  - Better documentation
37
39
  - Bug fix and enabling strings with regex characters in the string mask functionality
@@ -42,7 +42,7 @@ class StringMask {
42
42
  }
43
43
 
44
44
  static maskStringV2(string, options) {
45
- if (!string || typeof string === 'object') return string;
45
+ if (string === null || string === undefined || typeof string === 'object') return string;
46
46
  string = string + '';
47
47
  if (options) {
48
48
  options = MaskHelper.mapWithDefaultValues(options, Constants.defaultStringMaskV2Options);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "maskdata",
3
- "version": "1.3.3",
3
+ "version": "1.3.5",
4
4
  "description": "Node module to mask various kinds of data in the required formats",
5
5
  "main": "index.js",
6
6
  "typings": "index.d.ts",
@@ -45,14 +45,14 @@
45
45
  "homepage": "https://www.npmjs.com/package/maskdata?activeTab=readme",
46
46
  "license": "MIT",
47
47
  "dependencies": {
48
- "lodash": "^4.17.21"
48
+ "lodash": "^4.17.23"
49
49
  },
50
50
  "devDependencies": {
51
51
  "chai": "^4.3.10",
52
52
  "mocha": "^10.2.0",
53
53
  "mocha-junit-reporter": "^2.2.1",
54
- "nyc": "^17.0.0",
55
- "prettier": "^3.3.3",
56
- "typescript": "^5.5.4"
54
+ "nyc": "^17.1.0",
55
+ "prettier": "^3.6.2",
56
+ "typescript": "^5.9.3"
57
57
  }
58
58
  }