is-mp3 1.1.2 → 1.1.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/index.js +1 -1
  2. package/package.json +5 -5
package/index.js CHANGED
@@ -8,7 +8,7 @@ module.exports = function (buf) {
8
8
  buf[1] === 68 &&
9
9
  buf[2] === 51) || (
10
10
  buf[0] === 255 &&
11
- buf[1] === 251
11
+ (buf[1] === 251 || buf[1] === 250)
12
12
  );
13
13
 
14
14
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "is-mp3",
3
- "version": "1.1.2",
3
+ "version": "1.1.4",
4
4
  "description": "Check if a Buffer/Uint8Array is a MP3 file.",
5
5
  "license": "MIT",
6
6
  "repository": "hemanth/is-mp3",
@@ -13,7 +13,7 @@
13
13
  "node": ">=4"
14
14
  },
15
15
  "scripts": {
16
- "test": "mocha",
16
+ "test": "mocha --exit test.js",
17
17
  "browser": "browserify -s $npm_package_name -o browser.js ."
18
18
  },
19
19
  "files": [
@@ -30,8 +30,8 @@
30
30
  "uint8array"
31
31
  ],
32
32
  "devDependencies": {
33
- "browserify": "^8.1.0",
34
- "mocha": "*",
35
- "read-chunk": "^2.0.0"
33
+ "browserify": "^17.0.1",
34
+ "mocha": "^11.7.0",
35
+ "read-chunk": "^3.2.0"
36
36
  }
37
37
  }