Comparing version 3.1.2 to 3.1.3
# Changelog | ||
### [3.1.3](https://www.github.com/cheminfo/mrz/compare/v3.1.2...v3.1.3) (2021-05-17) | ||
### Bug Fixes | ||
* include XXC nationality code ([7a6e9f3](https://www.github.com/cheminfo/mrz/commit/7a6e9f340a6638c50f1114cd81771d26a5f87f88)), closes [#15](https://www.github.com/cheminfo/mrz/issues/15) | ||
### [3.1.2](https://www.github.com/cheminfo/mrz/compare/v3.1.1...v3.1.2) (2021-02-26) | ||
@@ -4,0 +11,0 @@ |
{ | ||
"name": "mrz", | ||
"version": "3.1.2", | ||
"version": "3.1.3", | ||
"description": "Parse MRZ (Machine Readable Zone) from identity documents", | ||
@@ -10,10 +10,11 @@ "main": "./src/index.js", | ||
"scripts": { | ||
"buildStates": "node builder/createStatesJs.js", | ||
"eslint": "eslint builder src", | ||
"eslint-fix": "npm run eslint -- --fix", | ||
"test": "npm run test-coverage && npm run eslint", | ||
"test": "npm run test-coverage && npm run eslint && npm run prettier", | ||
"test-coverage": "jest --coverage", | ||
"test-only": "jest", | ||
"build": "npm run buildStates && cheminfo-build", | ||
"prepublishOnly": "npm run buildStates", | ||
"buildStates": "node builder/createStatesJs.js" | ||
"prettier": "prettier --check .", | ||
"prettier-write": "prettier --write ." | ||
}, | ||
@@ -41,8 +42,8 @@ "repository": { | ||
"devDependencies": { | ||
"cheminfo-build": "^1.1.9", | ||
"eslint": "^7.20.0", | ||
"eslint-config-cheminfo": "^5.2.3", | ||
"cheminfo-build": "^1.1.10", | ||
"eslint": "^7.26.0", | ||
"eslint-config-cheminfo": "^5.2.4", | ||
"jest": "^26.6.3", | ||
"prettier": "^2.2.1" | ||
"prettier": "^2.3.0" | ||
} | ||
} |
# mrz | ||
Parse MRZ (Machine Readable Zone) from identity documents. | ||
<h3 align="center"> | ||
<a href="https://www.zakodium.com"> | ||
<img src="https://www.zakodium.com/brand/zakodium-logo-white.svg" width="50" alt="Zakodium logo" /> | ||
</a> | ||
<p> | ||
Maintained by <a href="https://www.zakodium.com">Zakodium</a> | ||
</p> | ||
[![NPM version][npm-image]][npm-url] | ||
@@ -7,3 +19,3 @@ [![build status][ci-image]][ci-url] | ||
Parse MRZ (Machine Readable Zone) from identity documents. | ||
</h3> | ||
@@ -10,0 +22,0 @@ ## Installation |
@@ -13,5 +13,5 @@ 'use strict'; | ||
} | ||
expect(codes).toHaveLength(269); | ||
expect(codes).toHaveLength(270); | ||
expect(states.CHE).toBe('Switzerland'); | ||
}); | ||
}); |
@@ -271,5 +271,6 @@ 'use strict'; | ||
"XXB": "Refugee, as defined in Article 1 of the 1951 Convention Relating to the Status of Refugees as amended by the 1967 Protocol", | ||
"XXX": "Refugee, other than as defined under the code XXB above XXC Person of unspecified nationality, for whom issuing State does not consider it necessary to specify any of the codes XXA, XXB or XXC above, whatever that person’s status may be. This category may include a person who is neither stateless nor a refugee but who is of unknown nationality and legally residing in the State of issue." | ||
"XXC": "Refugee, other than as defined under the code XXB above", | ||
"XXX": "Person of unspecified nationality, for whom issuing State does not consider it necessary to specify any of the codes XXA, XXB or XXC above, whatever that person’s status may be. This category may include a person who is neither stateless nor a refugee but who is of unknown nationality and legally residing in the State of issue." | ||
}; | ||
Object.freeze(states); | ||
module.exports = states; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
58409
2087
116