miijs 1.5.7 → 1.5.8

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/index.js +1 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -896,7 +896,7 @@ module.exports={
896
896
  glasses:{},
897
897
  facialHair:{}
898
898
  };
899
- if(binOrPath.test(/[^01]/ig)){
899
+ if(/[^01]/ig.test(binOrPath)){
900
900
  binary = fs.readFileSync(binOrPath);
901
901
  }
902
902
  else{
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "miijs",
3
- "version": "1.5.7",
3
+ "version": "1.5.8",
4
4
  "description": "Read, Edit, Write, and make Special Miis from a Wiimote binary file or 3DS QR Code to a binary file or QR code",
5
5
  "main": "index.js",
6
6
  "scripts": {