n20-common-lib 1.3.47 → 1.3.48

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "n20-common-lib",
3
- "version": "1.3.47",
3
+ "version": "1.3.48",
4
4
  "private": false,
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -82,7 +82,7 @@ function parseCA(dn) {
82
82
  if (dn == null) return cn
83
83
 
84
84
  let booked = dn.split(',')
85
- let dnC = booked.findLast((b) => mark.test(b))
85
+ let dnC = booked.find((b) => mark.test(b))
86
86
  dnC && (cn = dnC.replace(mark, ''))
87
87
  return cn
88
88
  }