datasus 0.5.3 → 0.5.4

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.
Files changed (2) hide show
  1. package/package.json +2 -2
  2. package/src/utils.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "datasus",
3
- "version": "0.5.3",
3
+ "version": "0.5.4",
4
4
  "description": "Library with helpers for datasus",
5
5
  "type": "module",
6
6
  "repository": "blikblum/datasus",
@@ -24,7 +24,7 @@
24
24
  "sinon": "^9.2.4"
25
25
  },
26
26
  "scripts": {
27
- "lint": "eslint src test tools",
27
+ "lint": "eslint src test",
28
28
  "test": "mocha test/*.spec.js",
29
29
  "test:watch": "mocha --watch --parallel test/*.spec.js"
30
30
  },
package/src/utils.js CHANGED
@@ -1,5 +1,5 @@
1
1
  const punctuationRegex = /\D/g
2
- const diacriticsRegex = /[\u0300-\u036f]/g
2
+ const diacriticsRegex = /[\u0300-\u036f\u00b0]/g
3
3
 
4
4
  export const padStartNumber = (number = '', maxLength, fillString) => {
5
5
  return number.toString().padStart(maxLength, fillString)